:root {
  --ink: #17201f;
  --paper: #f6f2e8;
  --line: rgba(25, 32, 31, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #121716;
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

.hero {
  isolation: isolate;
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  background-color: #c9c1b4;
  background-image: url("/hero-desktop.webp");
  background-position: center center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(244, 240, 232, 0.48) 0%, transparent 18%),
    linear-gradient(180deg, transparent 64%, rgba(8, 13, 12, 0.67) 100%);
  content: "";
  pointer-events: none;
}

.site-header {
  display: grid;
  width: min(100% - 4rem, 1440px);
  margin: 0 auto;
  padding: 1.55rem 0 1.15rem;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.65);
}

.wordmark span {
  font-style: italic;
}

.desktop-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  gap: clamp(1.8rem, 4vw, 4.5rem);
  list-style: none;
}

.desktop-nav-right ul {
  justify-content: flex-end;
}

.desktop-nav span {
  cursor: default;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-copy {
  position: relative;
  z-index: 0;
  width: min(100% - 3rem, 650px);
  margin: clamp(2.25rem, 6vh, 4.7rem) auto auto;
  text-align: center;
}

.hero-copy::before {
  position: absolute;
  z-index: -1;
  inset: -1.5rem -4rem -2.2rem;
  background: radial-gradient(
    ellipse at center,
    rgba(248, 245, 238, 0.52) 0%,
    rgba(248, 245, 238, 0.28) 48%,
    transparent 76%
  );
  content: "";
  filter: blur(12px);
  pointer-events: none;
}

.status {
  display: inline-flex;
  margin: 0 0 1.1rem;
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(19, 26, 25, 0.7);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 10px 35px rgba(20, 29, 27, 0.14);
  align-items: center;
  gap: 0.52rem;
  backdrop-filter: blur(10px);
}

.status span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #d7b56d;
  box-shadow: 0 0 0 4px rgba(215, 181, 109, 0.15);
}

.hero-copy h1 {
  max-width: 610px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 3.9vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 1px 20px rgba(255, 255, 255, 0.68);
}

.intro {
  max-width: 540px;
  margin: 1.35rem auto 0;
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  line-height: 1.65;
  text-wrap: balance;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.9);
}

.mobile-nav {
  display: none;
}

footer {
  display: flex;
  width: min(100% - 4rem, 1440px);
  margin: 2rem auto 0;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.35);
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.footer-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 760px) {
  .hero {
    display: grid;
    min-height: 100svh;
    padding-top: 0;
    background-color: #111716;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto 68vw;
    grid-template-rows: 68vw 1fr auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(245, 240, 230, 0.2) 0%, transparent 16vw),
      linear-gradient(180deg, transparent 38vw, #111716 68vw);
  }

  .site-header {
    position: absolute;
    top: 0;
    left: 50%;
    width: calc(100% - 2rem);
    padding: 1rem 0 0.8rem;
    border-color: rgba(25, 32, 31, 0.16);
    grid-template-columns: 1fr;
    transform: translateX(-50%);
  }

  .desktop-nav {
    display: none;
  }

  .wordmark {
    justify-self: center;
    font-size: 1rem;
  }

  .hero-copy {
    align-self: center;
    grid-row: 2;
    width: min(100% - 2.5rem, 540px);
    margin: 0 auto;
    padding: 1.35rem 0 2.5rem;
    color: #f7f3eb;
  }

  .hero-copy::before {
    display: none;
  }

  .status {
    margin-bottom: 1.25rem;
    background: rgba(247, 243, 235, 0.1);
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.7rem);
    line-height: 1;
    text-shadow: none;
  }

  .intro {
    max-width: 430px;
    color: rgba(247, 243, 235, 0.78);
    font-size: 0.98rem;
    text-shadow: none;
  }

  .mobile-nav {
    display: grid;
    max-width: 420px;
    margin: 2rem auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-nav span {
    padding: 0.85rem 0.4rem;
    color: rgba(247, 243, 235, 0.75);
    font-size: 0.65rem;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .mobile-nav span:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .mobile-nav span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  footer {
    grid-row: 3;
    width: calc(100% - 2.5rem);
    margin-top: 0;
    padding: 1.25rem 0;
    flex-wrap: wrap;
    line-height: 1.4;
    text-align: center;
  }
}

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