:root {
  --sand: #f6eee4;
  --sand-soft: rgba(246, 238, 228, 0.72);
  --gold: #e8b86d;
  --gold-bright: #f3d19a;
  --terracotta: #c45c32;
  --pine: #244a3a;
  --dusk: #120e0b;
  --ink: #0a0806;
  --glass: rgba(18, 14, 11, 0.42);
  --stroke: rgba(246, 238, 228, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: var(--ink);
  height: 100%;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--sand);
  background: var(--ink);
  height: 100%;
  margin: 0;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* Atmosphere */
.grain,
.dust {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
}

.grain {
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  animation: grain 0.9s steps(2) infinite;
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0);
  }
  50% {
    transform: translate(-1%, 1%);
  }
}

.stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(1.1rem, 2.4vw, 2rem) clamp(1.2rem, 4vw, 3.5rem);
  padding-left: max(clamp(1.2rem, 4vw, 3.5rem), env(safe-area-inset-left));
  padding-right: max(clamp(1.2rem, 4vw, 3.5rem), env(safe-area-inset-right));
  padding-bottom: max(clamp(1.1rem, 2.4vw, 2rem), env(safe-area-inset-bottom));
  overflow: hidden;
}

.hero {
  position: absolute;
  inset: -4%;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  transform: scale(1.08);
  animation: kenburns 28s var(--ease) forwards;
  filter: saturate(1.08) contrast(1.05);
}

@keyframes kenburns {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-1.4%, -0.6%, 0);
  }
}

.hero__wash,
.hero__flare,
.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__wash {
  background:
    linear-gradient(
      90deg,
      rgba(10, 8, 6, 0.78) 0%,
      rgba(10, 8, 6, 0.5) 28%,
      rgba(10, 8, 6, 0.12) 52%,
      rgba(10, 8, 6, 0.08) 70%,
      rgba(18, 12, 8, 0.28) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 8, 6, 0.38) 0%,
      transparent 22%,
      transparent 62%,
      rgba(10, 8, 6, 0.72) 100%
    );
}

.hero__flare {
  background: radial-gradient(
    42% 38% at 18% 42%,
    rgba(232, 184, 109, 0.22),
    transparent 70%
  );
  mix-blend-mode: screen;
}

.hero__vignette {
  box-shadow: inset 0 0 18vw 4vw rgba(8, 6, 5, 0.45);
}

.top,
.content,
.foot {
  position: relative;
  z-index: 2;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  animation: rise 1.1s var(--ease) both;
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mark__mono {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--stroke);
  border-radius: 0.45rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.mark__name {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.42rem 0.8rem 0.42rem 0.65rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-soft);
  white-space: nowrap;
}

.soon-pill__short {
  display: none;
}

.soon-pill__dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(232, 184, 109, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 184, 109, 0.55);
  }
  70% {
    box-shadow: 0 0 0 0.55rem rgba(232, 184, 109, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 184, 109, 0);
  }
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  max-width: min(38rem, 100%);
  padding: 3vh 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.15rem;
  animation: rise 1.15s 0.12s var(--ease) both;
}

.eyebrow__line {
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.headline {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 300;
  font-optical-sizing: auto;
  font-size: clamp(3.6rem, 9.4vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--sand);
  margin-bottom: 1.25rem;
  text-shadow: 0 10px 40px rgba(10, 8, 6, 0.35);
  max-width: 100%;
}

.headline__line {
  display: block;
  animation: rise 1.2s 0.18s var(--ease) both;
}

.headline__line--italic {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-bright);
  animation-delay: 0.28s;
}

.lede {
  max-width: 26rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--sand-soft);
  margin-bottom: 2rem;
  animation: rise 1.2s 0.38s var(--ease) both;
}

.later {
  max-width: 26rem;
  padding: 1.15rem 1.25rem 1.2rem;
  border: 1px solid var(--stroke);
  border-radius: 1.35rem;
  background: rgba(18, 13, 10, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: rise 1.2s 0.5s var(--ease) both;
}

.later__kicker {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.later__copy {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--sand);
  margin-bottom: 1rem;
}

.later__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.7rem 0.62rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0c98a, #d9a24e);
  color: #2a1c0c;
  font-size: 0.88rem;
  font-weight: 500;
  transition: transform 0.25s var(--ease), filter 0.25s ease;
}

.later__ig:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.later__ig-label {
  letter-spacing: 0.02em;
}

.later__ig-handle {
  font-weight: 400;
  opacity: 0.78;
}

.later__ig-icon {
  display: grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
}

.later__ig-icon svg {
  width: 100%;
  height: 100%;
}

.mark:focus-visible,
.later__ig:focus-visible,
.foot__links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 238, 228, 0.78);
  text-shadow: 0 4px 18px rgba(8, 6, 5, 0.7);
  animation: rise 1.2s 0.62s var(--ease) both;
}

.foot__links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.foot__links a {
  position: relative;
}

.foot__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.foot__links a:hover::after,
.foot__links a:focus-visible::after {
  transform: scaleX(1);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .stage {
    padding: 0.95rem 1.05rem 1.05rem;
    padding-left: max(1.05rem, env(safe-area-inset-left));
    padding-right: max(1.05rem, env(safe-area-inset-right));
    padding-bottom: max(1.05rem, env(safe-area-inset-bottom));
  }

  .hero {
    inset: 0;
  }

  .hero__img {
    object-position: 50% 30%;
  }

  .hero__wash {
    background:
      linear-gradient(
        180deg,
        rgba(10, 8, 6, 0.5) 0%,
        rgba(10, 8, 6, 0.12) 26%,
        rgba(10, 8, 6, 0.38) 58%,
        rgba(10, 8, 6, 0.88) 100%
      ),
      linear-gradient(
        90deg,
        rgba(10, 8, 6, 0.28) 0%,
        transparent 60%
      );
  }

  .mark__name {
    display: none;
  }

  .soon-pill {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    padding: 0.36rem 0.7rem 0.36rem 0.55rem;
  }

  .soon-pill__full {
    display: none;
  }

  .soon-pill__short {
    display: inline;
  }

  .headline {
    font-size: clamp(2.6rem, 12vw, 3.2rem);
    margin-bottom: 0.55rem;
  }

  .eyebrow {
    margin-bottom: 0.55rem;
  }

  .lede {
    margin-bottom: 0.95rem;
    font-size: 0.92rem;
    max-width: 20rem;
  }

  .content {
    justify-content: flex-end;
    padding: 0 0 0.7rem;
  }

  .later {
    max-width: 100%;
  }

  .later__ig {
    width: 100%;
    justify-content: center;
  }

  .foot {
    gap: 0.8rem;
    letter-spacing: 0.12em;
  }
}

@media (min-width: 761px) and (max-height: 800px) {
  .headline {
    font-size: clamp(3.1rem, 7.2vw, 5.4rem);
    margin-bottom: 0.85rem;
  }

  .lede {
    margin-bottom: 1.1rem;
  }

  .content {
    padding: 1.2vh 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero__img {
    transform: none;
  }
}
