:root {
  --landing-ink: #f7f1e7;
  --landing-muted: rgba(247, 241, 231, 0.72);
  --landing-line: rgba(247, 241, 231, 0.28);
  --landing-accent: #f4aa57;
  --landing-night: #121514;
}

body.landing-page {
  max-width: none;
  min-height: 100%;
  margin: 0;
  padding: 0;
  color: var(--landing-ink);
  background: var(--landing-night);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-page main {
  min-height: 100svh;
}

.landing-page > nav {
  display: none;
}

.landing-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--landing-night);
}

.site-header {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: clamp(1.4rem, 3vw, 2.5rem) clamp(1.25rem, 4.5vw, 4.75rem);
}

.brand,
.header-contact,
.email-link {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  overflow: visible;
}

.brand-mark path,
.brand-mark circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.header-contact {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--landing-line);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.header-contact:hover,
.header-contact:focus-visible {
  color: var(--landing-accent);
  border-color: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  box-sizing: border-box;
  padding: 7.5rem clamp(1.25rem, 4.5vw, 4.75rem) 6.5rem;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.82) contrast(1.04);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 13, 12, 0.94) 0%, rgba(10, 13, 12, 0.78) 31%, rgba(10, 13, 12, 0.18) 65%, rgba(10, 13, 12, 0.15) 100%),
    linear-gradient(180deg, rgba(10, 13, 12, 0.62) 0%, transparent 28%, transparent 67%, rgba(10, 13, 12, 0.72) 100%);
}

.hero-content {
  width: min(43rem, 54vw);
  animation: landing-reveal 720ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 clamp(1.15rem, 2vw, 1.75rem);
  color: var(--landing-accent);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.35rem;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(3.35rem, 7.5vw, 8.4rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--landing-accent);
  font-weight: 400;
}

.changing-word {
  display: inline-grid;
  min-width: 5ch;
  color: var(--landing-accent);
  font-size: 0.88em;
  font-style: italic;
  vertical-align: bottom;
}

.changing-word > span {
  grid-area: 1 / 1;
  opacity: 0;
  animation: change-word 12s infinite;
}

.changing-word > span:nth-child(2) {
  animation-delay: 3s;
}

.changing-word > span:nth-child(3) {
  animation-delay: 6s;
}

.changing-word > span:nth-child(4) {
  animation-delay: 9s;
}

.intro {
  max-width: 33rem;
  margin: clamp(1.65rem, 3.5vw, 2.8rem) 0 0;
  color: var(--landing-muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.68;
}

.contact-block {
  margin-top: clamp(1.9rem, 4vw, 3.25rem);
}

.contact-block p {
  margin: 0 0 0.55rem;
  color: var(--landing-muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--landing-line);
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  transition: border-color 180ms ease, color 180ms ease;
}

.email-link svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--landing-accent);
  border-color: currentColor;
}

.email-link:hover svg,
.email-link:focus-visible svg {
  transform: translateX(0.25rem);
}

.brand:focus-visible,
.header-contact:focus-visible,
.email-link:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 0.4rem;
}

.side-note {
  position: absolute;
  right: clamp(1.1rem, 2.5vw, 2.5rem);
  top: 50%;
  margin: 0;
  color: rgba(247, 241, 231, 0.68);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translate(46%, -50%) rotate(90deg);
}

.site-footer {
  position: absolute;
  right: clamp(1.25rem, 4.5vw, 4.75rem);
  bottom: clamp(1.4rem, 3vw, 2.4rem);
  left: clamp(1.25rem, 4.5vw, 4.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--landing-line);
  color: rgba(247, 241, 231, 0.58);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer span:last-child {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-footer i {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--landing-accent);
}

@keyframes landing-reveal {
  from {
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes change-word {
  0%,
  20% {
    opacity: 1;
    transform: translateY(0);
  }

  25%,
  95% {
    opacity: 0;
    transform: translateY(-0.18em);
  }

  96% {
    opacity: 0;
    transform: translateY(0.18em);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 1.35rem 1.2rem;
  }

  .brand {
    font-size: 0.76rem;
  }

  .brand-mark {
    width: 1.5rem;
    height: 1.5rem;
  }

  .hero {
    align-items: end;
    min-height: 100svh;
    padding: 7rem 1.2rem 6.6rem;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 13, 12, 0.48) 0%, rgba(10, 13, 12, 0.08) 30%, rgba(10, 13, 12, 0.77) 57%, rgba(10, 13, 12, 0.98) 100%),
      linear-gradient(90deg, rgba(10, 13, 12, 0.42), transparent 75%);
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15.5vw, 5.6rem);
    line-height: 0.88;
  }

  .intro {
    max-width: 29rem;
    margin-top: 1.35rem;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .contact-block {
    margin-top: 1.5rem;
  }

  .side-note {
    display: none;
  }

  .site-footer {
    right: 1.2rem;
    bottom: 1.3rem;
    left: 1.2rem;
  }

  .site-footer span:last-child {
    display: none;
  }
}

@media (max-height: 680px) and (min-width: 761px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 8.5vh, 5.5rem);
  }

  .intro {
    margin-top: 1.2rem;
  }

  .contact-block {
    margin-top: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }

  .header-contact,
  .email-link,
  .email-link svg {
    transition: none;
  }

  .changing-word > span {
    display: none;
    animation: none;
  }

  .changing-word > span:first-child {
    display: inline;
    opacity: 1;
  }
}
