:root {
  --green: #214E43;
  --ivory: #FAF8F3;
  --gold: #B08D57;
  --soft-ivory: rgba(250, 248, 243, 0.88);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--green);
}

body {
  color: var(--ivory);
  font-family: "Inter", Arial, sans-serif;
}

a {
  color: inherit;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(2.25rem, 6vw, 5rem) 1.5rem;
}

.hero {
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.honeycomb {
  width: clamp(58px, 6vw, 78px);
  height: auto;
  overflow: visible;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.wordmark {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.55em;
  transform: translateX(0.275em);
}

.copy {
  width: 100%;
  margin-top: clamp(2.7rem, 7vh, 5.4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}

.subhead {
  display: block;
  width: 100%;
  margin: 1.25rem auto 0;
  color: var(--soft-ivory);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.2;
  text-align: center !important;
}

.divider {
  width: 58px;
  height: 1px;
  margin: clamp(2.25rem, 5vh, 3.5rem) 0;
  background: var(--gold);
  opacity: 0.8;
}

.connect {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.connect h2 {
  color: var(--soft-ivory);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  font-weight: 400;
  text-align: center;
}

.desktop-connect {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-link {
  display: block;
  width: clamp(220px, 31vw, 320px);
  margin-top: 1.4rem;
  border-radius: 4px;
  outline-offset: 6px;
  transition: transform 160ms ease;
}

.qr-link:hover {
  transform: translateY(-2px);
}

.qr-link img {
  display: block;
  width: 100%;
  height: auto;
}

.linkedin-label {
  margin-top: 0.7rem;
  color: var(--soft-ivory);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 160ms ease;
}

.linkedin-label::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.18em;
  background: var(--gold);
  opacity: 0.7;
  transition: opacity 160ms ease, transform 160ms ease;
}

.linkedin-label:hover::after,
.linkedin-label:focus-visible::after {
  opacity: 1;
  transform: scaleX(1.05);
}

.mobile-linkedin-button {
  display: none;
}

.qr-link:focus-visible,
.linkedin-label:focus-visible,
.mobile-linkedin-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.version {
  margin-top: clamp(2rem, 5vh, 3rem);
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.025em;
  opacity: 0.78;
}

@media (max-width: 600px) {
  .page {
    padding: 2rem 1.25rem;
  }

  .hero {
    width: 100%;
  }

  .copy {
    width: 100%;
    margin-top: 2.75rem;
  }

  h1 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .subhead {
    width: 100%;
    max-width: none;
    margin: 1.25rem auto 0;
    padding: 0;
    text-align: center !important;
  }

  .divider {
    margin: 2.15rem 0;
  }

  .desktop-connect {
    display: none !important;
  }

  .mobile-linkedin-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.9rem 1.5rem;
    border: 1px solid var(--gold);
    color: var(--ivory);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
  }

  .mobile-linkedin-button:hover {
    background: rgba(176, 141, 87, 0.08);
    transform: translateY(-1px);
  }

  .version {
    margin-top: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qr-link,
  .linkedin-label,
  .mobile-linkedin-button {
    transition: none;
  }
}
