:root {
  --page-bg: #ede8df;
  --text: #fbf7ef;
  --muted: rgba(251, 247, 239, 0.78);
  --line: rgba(251, 247, 239, 0.28);
  --button-bg: rgba(251, 247, 239, 0.12);
  --button-bg-hover: rgba(251, 247, 239, 0.22);
  --button-border: rgba(251, 247, 239, 0.34);
  --shadow: rgba(31, 28, 23, 0.28);
  --content-width: 60rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: #ede8df;
  color: #4b473f;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: grid;
  gap: 1.1rem;
  justify-items: center;
  transform: translateY(-0.35rem);
}

.preloader__mark {
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid rgba(75, 71, 63, 0.2);
  border-top-color: rgba(75, 71, 63, 0.72);
  border-radius: 999px;
  animation: breathe 1600ms ease-in-out infinite;
}

.preloader__text {
  margin: 0;
  font: 500 0.72rem/1.2 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

@keyframes breathe {
  0%, 100% {
    transform: scale(0.92) rotate(0deg);
    opacity: 0.55;
  }

  50% {
    transform: scale(1) rotate(180deg);
    opacity: 1;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  overflow: hidden;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media {
  display: block;
  background: #686957;
}

.hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.88) contrast(0.92) brightness(0.76);
  transform: scale(1.018);
}

.hero__shade {
  z-index: -1;
  background:
    radial-gradient(circle at 52% 50%, rgba(31, 28, 23, 0.03), rgba(31, 28, 23, 0.48) 72%),
    linear-gradient(180deg, rgba(25, 24, 21, 0.2), rgba(25, 24, 21, 0.58)),
    linear-gradient(90deg, rgba(25, 24, 21, 0.28), rgba(25, 24, 21, 0.04) 44%, rgba(25, 24, 21, 0.28));
  backdrop-filter: saturate(90%);
}

.hero__topbar {
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  font: 500 0.75rem/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__brand,
.hero__note {
  margin: 0;
}

.hero__note {
  text-align: right;
}

.hero__content {
  place-self: center;
  width: min(100%, var(--content-width));
  padding: clamp(4rem, 10vw, 7.5rem) 0;
  text-align: center;
  animation: appear 1100ms ease 300ms both;
}

.hero__eyebrow {
  margin: 0 0 clamp(1.1rem, 2.6vw, 1.8rem);
  color: var(--muted);
  font: 600 clamp(0.72rem, 1.1vw, 0.86rem)/1.4 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero__title {
  max-width: 13ch;
  margin: 0 auto;
  text-wrap: balance;
  font-size: clamp(3rem, 8.8vw, 8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-shadow: 0 1.4rem 4rem var(--shadow);
}

.hero__lead {
  max-width: 39rem;
  margin: clamp(1.5rem, 3vw, 2.2rem) auto 0;
  color: var(--muted);
  font: 400 clamp(1rem, 1.5vw, 1.18rem)/1.8 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.7rem, 4vw, 2.7rem);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.35rem;
  padding: 0 1.35rem;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  color: var(--text);
  background: var(--button-bg);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
  font: 600 0.76rem/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(251, 247, 239, 0.58);
  background: var(--button-bg-hover);
  outline: none;
}

.hero__cta span {
  transform: translateY(-0.02rem);
}

.hero__bottom {
  align-self: end;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero__scroll {
  width: 1px;
  height: clamp(2rem, 6vw, 4.5rem);
  background: linear-gradient(to bottom, transparent, var(--line), transparent);
  opacity: 0.9;
}

.seo-summary {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(1rem);
    filter: blur(0.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 1.1rem;
  }

  .hero__image {
    object-position: 57% center;
  }

  .hero__topbar {
    letter-spacing: 0.18em;
  }

  .hero__note {
    display: none;
  }

  .hero__content {
    padding: 4.5rem 0 3.5rem;
  }

  .hero__title {
    max-width: 9.5ch;
    font-size: clamp(3.15rem, 17.5vw, 5.6rem);
  }

  .hero__lead {
    max-width: 21rem;
    line-height: 1.7;
  }

  .hero__cta {
    width: min(100%, 20rem);
    padding-inline: 1rem;
    letter-spacing: 0.12em;
  }
}

@media (min-width: 1440px) {
  .hero__image {
    object-position: 56% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
