:root {
  color-scheme: dark;
  --ink: #f4f0e8;
  --muted: #9c9c92;
  --gold: #d3aa63;
  --bg: #080908;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 58% 44%, rgba(55, 48, 35, 0.26), transparent 30%),
    linear-gradient(145deg, #0d0f0d 0%, var(--bg) 55%, #050605 100%);
}

body::before {
  position: fixed;
  inset: 18px;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  content: "";
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 4;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-one {
  top: -22vw;
  right: -12vw;
  background: rgba(170, 114, 48, 0.12);
}

.glow-two {
  bottom: -30vw;
  left: -12vw;
  background: rgba(51, 90, 76, 0.12);
  animation-delay: -6s;
}

.site-header,
footer {
  position: fixed;
  z-index: 10;
  right: clamp(38px, 5vw, 80px);
  left: clamp(38px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  top: clamp(42px, 7vh, 70px);
  animation: fade-down 1s 0.1s both;
}

.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(211, 170, 99, 0.7);
  border-radius: 50%;
  place-items: center;
  color: var(--gold);
  font-family: "Italiana", serif;
  font-size: 13px;
  letter-spacing: -1px;
}

.brand-name {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.location i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

main {
  display: grid;
  min-height: 100svh;
  padding: 130px clamp(38px, 9vw, 150px) 100px;
  place-items: center;
}

.hero {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 30px 4px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.27em;
  text-transform: uppercase;
  animation: fade-up 1s 0.6s both;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(56px, 8.2vw, 126px);
  font-weight: 400;
  line-height: 0.87;
  letter-spacing: -0.045em;
}

.line {
  display: block;
  overflow: hidden;
  padding: 0.05em 0 0.1em;
}

.line > span {
  display: block;
  animation: reveal-up 1.2s 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.line.accent {
  margin-left: clamp(20px, 7vw, 100px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 240, 232, 0.65);
}

.line.accent > span {
  animation-delay: 0.9s;
}

.intro {
  margin: clamp(22px, 4vh, 42px) 0 0 clamp(24px, 7vw, 103px);
  color: var(--muted);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.04em;
  animation: fade-up 1s 1.25s both;
}

.status {
  display: flex;
  gap: 15px;
  align-items: center;
  width: min(365px, 40vw);
  margin: clamp(28px, 5vh, 52px) 0 0 auto;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: fade-up 1s 1.45s both;
}

.status-line {
  position: relative;
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}

.status-line::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  animation: scan 2.8s ease-in-out infinite;
}

.status-number {
  color: var(--gold);
  font-family: "Italiana", serif;
  font-size: 13px;
  letter-spacing: 0;
}

.orbit {
  position: absolute;
  top: 50%;
  right: 0;
  width: clamp(250px, 34vw, 500px);
  aspect-ratio: 1;
  transform: translate(var(--pointer-x, 0), calc(-51% + var(--pointer-y, 0px)));
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fade-in 2s 1s both;
}

.orbit-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(211, 170, 99, 0.16);
  border-radius: 50%;
}

.ring-one {
  border-top-color: rgba(211, 170, 99, 0.8);
  border-right-color: rgba(211, 170, 99, 0.35);
  animation: spin 15s linear infinite;
}

.ring-one::after {
  position: absolute;
  top: 13.5%;
  right: 13.5%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px 4px rgba(211, 170, 99, 0.45);
  content: "";
}

.ring-two {
  inset: 21%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  animation: spin 24s linear infinite reverse;
}

.orbit-core {
  position: absolute;
  inset: 38%;
  border: 1px solid rgba(211, 170, 99, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 170, 99, 0.12), transparent 68%);
  box-shadow: 0 0 70px rgba(211, 170, 99, 0.08);
  animation: pulse 3s ease-in-out infinite;
}

footer {
  bottom: clamp(42px, 7vh, 70px);
  color: #686b66;
  font-size: 9px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  animation: fade-up 1s 1.6s both;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--ink);
  text-decoration: none;
  transition: color 200ms ease;
}

footer a span {
  display: inline-block;
  margin-left: 8px;
  color: var(--gold);
  font-size: 14px;
  transition: transform 200ms ease;
}

footer a:hover {
  color: var(--gold);
}

footer a:hover span {
  transform: translate(3px, -3px);
}

@keyframes reveal-up {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

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

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  50% { transform: scale(1.12); opacity: 0.65; }
}

@keyframes scan {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

@keyframes drift {
  to { transform: translate(5vw, 4vw) scale(1.15); }
}

@media (max-width: 700px) {
  body::before {
    inset: 10px;
  }

  .site-header,
  footer {
    right: 28px;
    left: 28px;
  }

  .site-header {
    top: 32px;
  }

  .location {
    display: none;
  }

  main {
    padding: 125px 28px 110px;
  }

  .hero {
    margin-top: -3vh;
  }

  .eyebrow {
    max-width: 250px;
    margin-bottom: 24px;
    line-height: 1.7;
  }

  h1 {
    font-size: clamp(49px, 15vw, 78px);
    line-height: 0.94;
  }

  .line.accent {
    margin-top: 7px;
    margin-left: 13px;
  }

  .intro {
    margin-top: 22px;
    margin-left: 15px;
  }

  .intro br {
    display: none;
  }

  .orbit {
    top: 47%;
    right: -35%;
    width: 78vw;
    opacity: 0.6;
  }

  .status {
    width: 75%;
    margin-top: 34px;
  }

  footer {
    bottom: 31px;
  }

  footer p {
    display: none;
  }

  footer a {
    margin-left: auto;
  }
}

@media (max-height: 650px) {
  .site-header { top: 30px; }
  footer { bottom: 29px; }
  .eyebrow { margin-bottom: 15px; }
  .intro { margin-top: 15px; }
  .status { margin-top: 18px; }
}

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