:root {
  --dry-season-grass: #fdefda;
  --night-sky: #364c62;
  --dark-sea: #4f6276;
  --impala: #b69b74;
  --dusk: #909aa5;
  --charcoal: #222222;
  --deep-charcoal: #191a1b;
  --focus: #e2c99f;
  --line: rgba(253, 239, 218, 0.18);
  --page-gutter: clamp(1.25rem, 4vw, 4.5rem);
  --content-width: 78rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--deep-charcoal);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--dry-season-grass);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 0.2rem;
  background: var(--dry-season-grass);
  color: var(--charcoal);
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 160ms ease;
}

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

.hero {
  position: relative;
  min-height: min(52rem, 92svh);
  isolation: isolate;
  overflow: hidden;
  background: var(--night-sky);
}

.hero__media,
.hero__media img,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  z-index: -3;
}

.hero__media img {
  display: block;
  object-fit: cover;
  object-position: center 58%;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 23, 25, 0.86) 0%, rgba(20, 23, 25, 0.52) 50%, transparent 80%),
    linear-gradient(0deg, rgba(20, 23, 25, 0.68) 0%, transparent 46%),
    linear-gradient(180deg, rgba(20, 23, 25, 0.36) 0%, transparent 24%);
}

.hero__inner {
  width: min(100%, var(--content-width));
  min-height: min(52rem, 92svh);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.25rem) var(--page-gutter) clamp(2rem, 5vw, 4.25rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--impala);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--dry-season-grass);
}

.eyebrow span {
  width: 2.4rem;
  height: 1px;
  background: var(--impala);
}

.hero__copy {
  align-self: end;
  max-width: 48rem;
  padding: 5rem 0 3rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
  text-wrap: balance;
}

.hero__description {
  max-width: 39rem;
  margin-bottom: 2.1rem;
  color: rgba(253, 239, 218, 0.91);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
  text-wrap: balance;
}

.primary-action {
  display: flex;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 3.75rem;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.15rem;
  font-size: 0.98rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button--primary {
  background: var(--dry-season-grass);
  color: var(--charcoal);
}

.button--primary:hover {
  background: var(--focus);
}

.button__arrow {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(34, 34, 34, 0.32);
  border-radius: 50%;
  font-size: 1rem;
}

.hero__location {
  justify-self: end;
  margin: 0;
  color: rgba(253, 239, 218, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.connections {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7.5rem) var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(20rem, 1.35fr);
  column-gap: clamp(3rem, 9vw, 9rem);
}

.connections__intro h2 {
  max-width: 8ch;
  margin: 0.8rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.link-list {
  border-top: 1px solid var(--line);
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: rgba(253, 239, 218, 0.86);
  text-decoration: none;
  transition:
    color 160ms ease,
    padding 160ms ease;
}

.link-list a:hover {
  padding-right: 0;
  padding-left: 0.7rem;
  color: var(--dry-season-grass);
}

.link-list a span:last-child {
  color: var(--impala);
}

.creator {
  grid-column: 2;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--dark-sea);
}

.creator > p:last-child {
  max-width: 34rem;
  margin: 0.75rem 0 0;
  color: var(--dusk);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.creator strong {
  color: var(--dry-season-grass);
  font-weight: 650;
}

footer {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 1.5rem var(--page-gutter) 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--dusk);
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  :root {
    --page-gutter: clamp(1.5rem, 6vw, 2rem);
  }

  .hero,
  .hero__inner {
    min-height: 47rem;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(20, 23, 25, 0.9) 0%, rgba(20, 23, 25, 0.24) 66%, rgba(20, 23, 25, 0.48) 100%),
      linear-gradient(90deg, rgba(20, 23, 25, 0.28), transparent);
  }

  .hero__media img {
    object-position: 52% center;
  }

  .hero__copy {
    width: 100%;
    min-width: 0;
    padding: 7rem 0 2.25rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 16.5vw, 4.75rem);
    letter-spacing: -0.055em;
  }

  .hero__description {
    font-size: 1.08rem;
  }

  .button {
    width: 100%;
    max-width: 100%;
    gap: 0.75rem;
    padding-right: 0.75rem;
    padding-left: 1rem;
  }

  .hero__location {
    justify-self: start;
  }

  .connections {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }

  .connections__intro h2 {
    max-width: none;
  }

  .creator {
    grid-column: 1;
    margin-top: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
