:root {
  --ink: #1f1f1f;
  --paper: #ffffff;
  --muted: #4d4d4d;
  --accent: #e2b382;
  --focus: #ffd166;
}

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

html {
  min-height: 100%;
  word-wrap: break-word;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Courier, "Courier New", monospace;
  font-size: 18px;
  line-height: 1.8;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  transform: translateY(-160%);
  padding: .6rem .8rem;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.brand {
  display: inline-block;
  color: rgba(255, 255, 255, .92);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.2;
  text-decoration: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .45);
}

.site-main {
  min-height: calc(100svh - 112px);
}

.hero {
  min-height: calc(100svh - 112px);
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .36), rgba(0, 0, 0, .12) 48%, rgba(0, 0, 0, .06)),
    url("/assets/background.jpeg") center / cover no-repeat #2d2d2d;
}

.hero__content {
  display: flex;
  width: min(100%, 1000px);
  min-height: calc(100svh - 112px);
  margin: 0 auto;
  padding: 180px 24px 110px;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__loading,
.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .95;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .36);
}

.hero__loading {
  margin-bottom: 2.1em;
}

.site-footer {
  display: grid;
  min-height: 112px;
  place-items: center;
  gap: .35rem;
  padding: 18px 24px 20px;
  color: var(--ink);
  background: var(--paper);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.social-group {
  display: inline-flex;
  grid-column: 2;
  align-items: center;
  gap: .55rem;
}

.social-label,
.footer-links a {
  font-size: .82rem;
  line-height: 1.2;
}

.footer-links a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.privacy-link {
  grid-column: 3;
  justify-self: end;
}

.instagram {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #3c3c3c;
}

.instagram svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.content-page {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 96px 0;
}

.content-page h1,
.content-page h2 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.1;
}

.content-page h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

.content-page h2 {
  margin: 2.25rem 0 .75rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.content-page p {
  margin: 0 0 1rem;
}

.content-page .back-link {
  display: inline-block;
  margin-top: 2rem;
}

@media (max-width: 650px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding-top: 24px;
  }

  .site-main,
  .hero,
  .hero__content {
    min-height: calc(100svh - 108px);
  }

  .hero__content {
    padding: 128px 22px 76px;
  }

  .hero__loading,
  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 17vw, 5.2rem);
  }

  .hero__loading {
    margin-bottom: 1.7em;
  }

  .footer-links {
    grid-template-columns: 1fr auto 1fr;
  }

  .privacy-link {
    font-size: .78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
