:root {
  --bg: #fcf1d8;
  --ink: #4d424c;
  --blue: #1e4a68;
  --gutter: 1.25rem;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
  color-scheme: only light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  background: var(--ink);
  color: var(--bg);
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

main {
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  width: 100%;
  padding: clamp(1.25rem, 4vh, 2.5rem) 0 clamp(1rem, 3vh, 1.75rem);
}

.hero__layout {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  width: min(calc(100% - var(--gutter) * 2), calc((100dvh - 22rem) * 2.09));
  min-height: 0;
  text-align: center;
}

.hero__content {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.logo-frame {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 0;
  margin-top: clamp(1rem, 3vh, 1.75rem);
}

.logo {
  width: 78%;
  height: auto;
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.7rem, 8.2vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.rule {
  display: block;
  width: 3rem;
  height: 1px;
  margin: 1.35rem auto 0;
  background: var(--ink);
}

.lede {
  margin: 1.2rem 0 0;
  font-weight: 300;
  font-size: 1.28rem;
  line-height: 1.7;
}

.lede strong {
  font-weight: 500;
}

.hero__aside {
  margin: 1.35rem 0 0;
  font-weight: 300;
  font-size: 1.2rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.social-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .social-link,
  .social-icon {
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .social-link:hover {
    color: var(--blue);
    border-bottom-color: currentColor;
  }

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

@media (min-width: 860px) {
  :root {
    --gutter: 2.5rem;
  }
}

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