@font-face {
  font-family: "Kinstory Display";
  src: url("assets/fonts/inter-display-light.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "Kinstory Display";
  src: url("assets/fonts/inter-display-medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500 800;
}

:root {
  --ink: #080b42;
  --paper: #f1eee7;
  --gold: #d0ad55;
  --white: #fbfaf6;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Kinstory Display", "Helvetica Neue", sans-serif;
}

.page {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  padding: 0 clamp(16px, 2.5vw, 42px) clamp(16px, 2.5vw, 38px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(82px, 8vw, 116px);
  padding: 0 clamp(2px, 1.1vw, 18px);
}

.topbar__logo {
  width: clamp(145px, 13vw, 216px);
  height: auto;
}

.topbar__status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(8, 11, 66, 0.66);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.topbar__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.topbar__dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(208, 173, 85, 0.5);
  border-radius: inherit;
  content: "";
  animation: pulse 2.4s ease-out infinite;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - clamp(98px, 10vw, 150px)));
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.hero__media,
.hero__media img,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: 52% 53%;
  transform: scale(1.01);
  animation: image-in 1.5s cubic-bezier(.22,.75,.22,1) both;
}

.hero__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 7, 45, 0.88) 0%, rgba(4, 7, 45, 0.57) 39%, rgba(4, 7, 45, 0.12) 72%),
    linear-gradient(180deg, rgba(4, 7, 45, 0.12), rgba(4, 7, 45, 0.58));
}

.hero::after {
  position: absolute;
  inset: 22px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  content: "";
  pointer-events: none;
}

.hero__index {
  position: absolute;
  top: clamp(42px, 5vw, 76px);
  right: clamp(42px, 5vw, 76px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(900px, 78%);
  min-height: inherit;
  padding: clamp(100px, 12vh, 168px) clamp(48px, 7vw, 128px) clamp(128px, 15vh, 190px);
}

.hero__eyebrow {
  margin: 0 0 clamp(22px, 3vh, 34px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  animation: copy-in 750ms 220ms ease-out both;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 6.2vw, 108px);
  font-weight: 300;
  letter-spacing: -0.052em;
  line-height: 0.92;
  text-wrap: balance;
  animation: copy-in 850ms 300ms ease-out both;
}

h1 span { color: #e2bc61; }

.hero__lead {
  max-width: 48ch;
  margin: clamp(28px, 4vh, 48px) 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 300;
  line-height: 1.5;
  animation: copy-in 850ms 410ms ease-out both;
}

.hero__footer {
  position: absolute;
  right: clamp(48px, 7vw, 128px);
  bottom: clamp(48px, 6vw, 86px);
  left: clamp(48px, 7vw, 128px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__signature {
  position: absolute;
  right: clamp(50px, 7vw, 126px);
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(90deg) translateX(50%);
  transform-origin: right center;
}

.hero__signature i {
  width: 46px;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
}

@keyframes pulse {
  0% { opacity: 0.8; transform: scale(0.65); }
  75%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes image-in {
  from { opacity: 0.5; transform: scale(1.065); }
  to { opacity: 1; transform: scale(1.01); }
}

@keyframes copy-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .page { padding-inline: 12px; padding-bottom: 12px; }

  .topbar { min-height: 82px; padding-inline: 6px; }

  .topbar__logo { width: 142px; }

  .topbar__status span:last-child { display: none; }

  .hero { min-height: calc(100svh - 94px); }

  .hero::after { inset: 12px; }

  .hero__media img { object-position: 67% center; }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(4, 7, 45, 0.17) 0%, rgba(4, 7, 45, 0.48) 45%, rgba(4, 7, 45, 0.91) 100%);
  }

  .hero__index {
    top: 30px;
    right: 30px;
    width: 42px;
    height: 42px;
  }

  .hero__copy {
    justify-content: flex-end;
    width: 100%;
    padding: 140px 30px 144px;
  }

  .hero__eyebrow { margin-bottom: 18px; }

  h1 {
    font-size: clamp(46px, 13vw, 64px);
    line-height: 0.96;
  }

  .hero__lead {
    max-width: 34ch;
    margin-top: 26px;
    padding-top: 20px;
    font-size: 16px;
  }

  .hero__footer {
    right: 30px;
    bottom: 34px;
    left: 30px;
    gap: 16px;
    font-size: 9px;
  }

  .hero__footer span:last-child { text-align: right; }

  .hero__signature { display: none; }
}

@media (max-height: 680px) and (min-width: 761px) {
  .hero__copy { padding-top: 90px; padding-bottom: 130px; }
  .hero__lead { margin-top: 24px; }
}

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