@font-face {
  font-family: "Figtree";
  src: url("/assets/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --navy: #07092F;
  --gold: #E3A324;
  --gold-soft: #F0C46A;
  --text: #F4EFE6;
  --text-muted: #B9B6C8;
  --line: rgba(227, 163, 36, 0.35);
  --gutter: clamp(16px, 5vw, 64px);
  --page: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--text);
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}

/* Lighting rig: the logo's truss run across the top, with two lamps. */
.rig {
  position: relative;
  height: 40px;
  color: var(--gold);
}

.truss {
  display: block;
  opacity: 0.9;
}

.beam {
  position: absolute;
  top: 40px;
  width: 560px;
  height: 82vh;
  background: linear-gradient(to bottom, rgba(240, 196, 106, 0.2), rgba(240, 196, 106, 0.05) 55%, rgba(240, 196, 106, 0));
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.lamp {
  position: absolute;
  top: 34px;
  width: 30px;
  height: 14px;
  border-radius: 0 0 5px 5px;
  background: var(--gold);
}

.beam-1 {
  left: calc(50% - 300px);
}

.lamp-1 {
  left: calc(50% - 35px);
}

.beam-2 {
  left: calc(50% + 180px);
  opacity: 0.6;
}

.lamp-2 {
  left: calc(50% + 445px);
}

/* Header: logo in the top corner, links home. */
.site-header {
  position: relative;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 22px var(--gutter) 0;
}

.home {
  display: inline-block;
}

/* Round badge: the "ae" icon clipped to a circle with a thin gold ring. */
.home img {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold);
}

/* Message */
.stage {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(36px, 8vh, 96px) var(--gutter) clamp(40px, 8vh, 88px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(38px, 6.4vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.lede {
  margin: 22px 0 0;
  max-width: 32em;
  color: var(--text-muted);
  font-size: 19px;
}

.actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 14px 20px;
  border: 2px solid var(--gold);
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.button.primary {
  background: var(--gold);
  color: var(--navy);
}

.button:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--navy);
}

.social {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.x-mark {
  flex: none;
  padding: 11px;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--text-muted);
  border-radius: 50%;
}

.social:hover .x-mark {
  border-color: var(--gold);
  color: var(--gold);
}

/* What we do: one line moving across the page. */
.ticker {
  position: relative;
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy);
}

.ticker-list {
  flex: none;
  display: flex;
  margin: 0;
  padding: 18px 0;
  list-style: none;
  animation: ticker 28s linear infinite;
}

.ticker:hover .ticker-list {
  animation-play-state: paused;
}

.ticker-list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.ticker-list li::after {
  content: "";
  width: 9px;
  height: 9px;
  margin: 0 clamp(22px, 3vw, 40px);
  background: var(--gold);
}

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

footer {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 24px var(--gutter) 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: var(--text-muted);
  font-size: 14px;
}

footer p {
  margin: 0;
}

/* Thirdwood credit: "Third" regular, "wood" bold, TECHNOLOGIES small and spaced, in the footer's colour. */
.thirdwood {
  white-space: nowrap;
}

.thirdwood b {
  font-weight: 700;
}

.thirdwood-tech {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .home img {
    width: 68px;
    height: 68px;
  }

  .stage {
    flex: none;
    padding-top: 32px;
  }

  .lede {
    font-size: 17px;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .beam {
    width: 320px;
  }

  .beam-1 {
    left: calc(100% - 250px);
  }

  .lamp-1 {
    left: calc(100% - 105px);
  }

  .beam-2,
  .lamp-2 {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .beam {
    animation: warm-up 1.6s ease-out both;
  }

  .beam-2 {
    animation-delay: 0.35s;
  }
}

/* Visitors who ask their device for less motion get a still, wrapped list instead. */
@media (prefers-reduced-motion: reduce) {
  .ticker-list {
    animation: none;
    flex-wrap: wrap;
    padding-left: var(--gutter);
  }

  .ticker-list[aria-hidden="true"] {
    display: none;
  }
}

@keyframes warm-up {
  from {
    opacity: 0;
  }
}
