:root {
  --bg: #05080c;
  --ink: #eef3f8;
  --mute: #8d9aab;
  --hair: rgba(238, 243, 248, 0.08);
  --gold: #c4a15a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 30;
  padding: 8px 12px;
  background: #111;
  color: #fff;
}

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: linear-gradient(180deg, rgba(5, 8, 12, 0.7), transparent);
}

.bar-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
}

.brand b {
  color: var(--gold);
  font-weight: 650;
}

.mark {
  width: 18px;
  height: 18px;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

#prism {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.stage-copy {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 82px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.flag {
  display: block;
  width: 27px;
  height: 18px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.wordmark {
  margin: 0 0 8px;
  font-size: clamp(72px, 16vw, 180px);
  line-height: 0.8;
  letter-spacing: 0.1em;
  font-weight: 560;
  text-transform: uppercase;
  color: var(--gold);
}

.submark {
  margin: 0 0 22px;
  font-size: clamp(16px, 2.4vw, 22px);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: rgba(238, 243, 248, 0.55);
}

.line {
  margin: 0 0 30px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wordmark,
.submark,
.kicker,
.line,
.contact {
  animation: rise 1.3s ease both;
}

.submark,
.kicker,
.line,
.expertise {
  animation-delay: 0.12s;
}

.contact {
  animation-delay: 0.28s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  min-width: 220px;
  padding: 0 42px;
  width: fit-content;
  background: var(--gold);
  color: #120e08;
  text-decoration: none;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact:hover,
.contact:focus {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
}

.expertise {
  width: min(860px, 78vw);
  margin: 26px 0 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.tag-track {
  display: flex;
  width: max-content;
  margin-bottom: 7px;
  animation: ticker 58s linear infinite;
}

.tag-track-reverse {
  animation-name: ticker-reverse;
  animation-duration: 72s;
}

.tag-set {
  display: flex;
  gap: 7px;
  padding-right: 7px;
}

.tag-set span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--hair);
  background: rgba(5, 8, 12, 0.48);
  color: rgba(238, 243, 248, 0.64);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.tag-set span:nth-child(5n + 1) {
  border-color: rgba(196, 161, 90, 0.28);
  color: rgba(226, 200, 146, 0.78);
}

.expertise:hover .tag-track {
  animation-play-state: paused;
}

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

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes ticker-reverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.foot {
  position: relative;
  z-index: 3;
  margin-top: -64px;
  padding: 22px 0;
  color: var(--mute);
  font-size: 13px;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.legal {
  padding: 120px 0 64px;
}

.legal h1 {
  margin: 0 0 16px;
  font-weight: 560;
}

.legal p {
  color: var(--mute);
  max-width: 36rem;
}

@media (max-width: 820px) {
  .wrap {
    width: min(100% - 32px, 1080px);
  }

  .bar-inner {
    min-height: 62px;
  }

  .wordmark {
    font-size: min(14.5vw, 68px);
    line-height: 0.88;
    letter-spacing: 0.03em;
  }

  .submark {
    margin-bottom: 18px;
    font-size: 14px;
    letter-spacing: 0.24em;
  }

  .contact {
    order: 2;
    min-height: 56px;
    margin-top: auto;
    width: 100%;
  }

  .stage-copy {
    justify-content: flex-start;
    padding: clamp(130px, 20vh, 170px) 0 72px;
  }

  .expertise {
    order: 1;
    width: 100%;
    margin-top: 18px;
  }

  .line {
    margin-bottom: 24px;
    font-size: 12px;
  }

  .tag-set span {
    padding: 6px 9px;
    font-size: 8px;
  }

  .foot {
    margin-top: -58px;
    padding: 18px 0;
    font-size: 11px;
  }
}

@media (max-width: 430px), (max-height: 700px) {
  .kicker {
    margin-bottom: 12px;
  }

  .wordmark {
    font-size: clamp(44px, 14.5vw, 62px);
  }

  .line {
    margin-bottom: 18px;
  }

  .contact {
    min-height: 52px;
    font-size: 15px;
  }

  .expertise {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wordmark,
  .submark,
  .kicker,
  .line,
  .contact,
  .expertise {
    animation: none;
  }

  .tag-track {
    animation: none;
  }
}
