@font-face {
  font-family: "K2D";
  src: url("../assets/fonts/K2D-Regular.woff2") format("woff2"),
    url("../assets/fonts/K2D-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "K2D";
  src: url("../assets/fonts/K2D-Italic.woff2") format("woff2"),
    url("../assets/fonts/K2D-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "K2D";
  src: url("../assets/fonts/K2D-Medium.woff2") format("woff2"),
    url("../assets/fonts/K2D-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FBF8F4;
  --white: #FFFFFF;

  --orange: #f36813;
  --blue: #00A8E6;
  --grey: #858388;
  --ink: #382B21;
  --ink-soft: #44372E;
  --peach: #F6C9A2;

  --blue-ink: #0079A8;
  --orange-ink: #B85C0E;
  --focus: #0079A8;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-draw: cubic-bezier(.25, .6, .3, 1);

  --gutter: clamp(16px, 4.5vw, 64px);
  --max-width: 1360px;
}

@property --reveal {
  syntax: "<angle>";
  inherits: false;
  initial-value: 360deg;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "K2D", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.nowrap {
  white-space: nowrap;
}

::selection {
  background: rgb(243 104 19 / .22);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--paper);
}

.backdrop__glow {
  position: absolute;
  top: -95vmax;
  left: -95vmax;
  width: 190vmax;
  height: 190vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side,
      rgb(247 226 206 / .36) 0%,
      rgb(248 230 213 / .24) 20%,
      rgb(249 234 220 / .12) 42%,
      rgb(250 238 228 / .05) 66%,
      rgb(250 238 228 / 0) 100%);
  will-change: transform, opacity;
  animation: glow-breathe 16s var(--ease-in-out) infinite alternate;
}

.backdrop__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(56 43 33 / .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(56 43 33 / .055) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 48% 62% at 74% 48%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 48% 62% at 74% 48%, #000 0%, transparent 78%);
}

.backdrop__dither {
  position: absolute;
  inset: 0;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='d' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.5 0 0 0 .25 .5 0 0 0 .25 .5 0 0 0 .25 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E");
}

.site-header {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(20px, 3.2vw, 40px) var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__logo {
  width: auto;
  height: clamp(34px, 3.4vw, 48px);
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(12px, 3vh, 40px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 80px);
}

.hero__content {
  max-width: 40rem;
}

.hero__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, min(10.5vw, 16.5vh), 9.5rem);
  font-weight: 400;
  line-height: .85;
  letter-spacing: -.035em;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding: .04em .14em .16em 0;
  margin-bottom: -.16em;
}

.hero__line:first-child {
  margin-bottom: -.38em;
}

.hero__line--accent {
  padding-left: 0;
}

.hero__word {
  display: inline-block;
}

.hero__accent {
  display: inline-block;
  padding-right: .06em;
  color: var(--blue-ink);
  font-style: italic;
  font-weight: 400;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__accent {
    color: transparent;
    background-image: linear-gradient(90deg, var(--blue-ink) 0% 12%, var(--orange-ink) 38% 62%, var(--blue-ink) 88% 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 14s linear infinite;
  }
}

.spire-bar {
  position: relative;
  width: min(100%, 31rem);
  height: clamp(3px, .42vw, 3px);
  margin: clamp(22px, 3.4vh, 38px) 0 clamp(22px, 3.6vh, 40px);
  overflow: hidden;
  transform-origin: left center;
  background: linear-gradient(90deg,
      rgb(0 168 230 / .10) 0 2.4%,
      transparent 2.4% 3.4%,
      rgb(0 168 230 / .22) 3.4% 6%,
      rgb(0 168 230 / .34) 6% 8.2%,
      transparent 8.2% 8.8%,
      rgb(0 168 230 / .52) 8.8% 11.6%,
      rgb(0 168 230 / .7) 11.6% 14%,
      rgb(0 168 230 / .86) 14% 16.4%,
      var(--blue) 16.4% 34%,
      var(--orange) 70% 83%,
      rgb(243 104 19 / .8) 83% 86%,
      rgb(243 104 19 / .6) 86% 88.6%,
      transparent 88.6% 89.2%,
      rgb(243 104 19 / .42) 89.2% 92.4%,
      rgb(243 104 19 / .26) 92.4% 95%,
      transparent 95% 96%,
      rgb(243 104 19 / .14) 96% 98.4%,
      transparent 98.4%);
}

.spire-bar__sheen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 28%;
  background: linear-gradient(90deg, rgb(255 255 255 / 0), rgb(255 255 255 / .9), rgb(255 255 255 / 0));
  transform: translateX(-110%);
  animation: sheen 7s var(--ease-in-out) 3.2s infinite;
}

.hero__copy {
  max-width: 34rem;
}

.hero__copy p {
  margin: 0 0 1em;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, .98rem + .3vw, 1.1875rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero__copy .hero__lead {
  color: var(--ink);
  font-size: clamp(1.1875rem, 1.02rem + .55vw, 1.4375rem);
  line-height: 1.55;
}

.hero__copy .hero__status {
  margin: 1.7em 0 0;
  color: var(--ink);
  font-weight: 500;
}

.visual {
  position: relative;
  justify-self: center;
  width: clamp(18rem, calc((100vh - 12rem) * .8889), 40rem);
  width: clamp(18rem, calc((100svh - 12rem) * .8889), 40rem);
  max-width: 100%;
  aspect-ratio: 8 / 9;
}

.visual__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.visual__glow--blue {
  width: 72%;
  aspect-ratio: 1;
  left: -8%;
  top: 4%;
  background: radial-gradient(closest-side, rgb(0 168 230 / .17), rgb(0 168 230 / 0));
}

.visual__glow--orange {
  width: 82%;
  aspect-ratio: 1;
  right: -12%;
  bottom: -2%;
  background: radial-gradient(closest-side, rgb(243 104 19 / .2), rgb(243 104 19 / 0));
}

.visual__glow--core {
  width: 46%;
  aspect-ratio: 1;
  left: 27%;
  top: 27.8%;
  background: radial-gradient(closest-side, rgb(255 255 255 / .95), rgb(255 255 255 / 0));
}

.visual__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  overflow: clip;
  transform: translate3d(calc(var(--mx, 0) * var(--depth) * 1px), calc(var(--my, 0) * var(--depth) * 1px), 0);
}

.visual__svg,
.visual__breathe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 50% 53.3333%;
}

.visual__dial {
  animation: spin 320s linear infinite reverse;
  opacity: 0.85;
}

.visual__ghost {
  animation: spin 240s linear infinite reverse;
  opacity: 0.35;
}

.visual__sweep {
  animation: spin 26s linear infinite;
}

.visual__orbit {
  animation: spin 64s linear infinite reverse;
}

.visual__breathe {
  animation: breathe 9s var(--ease-in-out) infinite alternate;
}

.visual__dial,
.visual__ghost,
.visual__sweep,
.visual__orbit {
  will-change: transform;
}

.visual__mark {
  --mark-stroke: 4.5px;
}

.mark__star path,
.mark__spire {
  stroke-width: var(--mark-stroke);
}

.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) max(clamp(16px, 2.6vw, 30px), env(safe-area-inset-bottom));
}

.site-footer__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: clamp(10px, 1.6vw, 16px);
}

.site-footer__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0.5;
}

.site-footer__brand {
  position: relative;
  flex: none;
  display: block;
  padding: 4px;
  border-radius: 50%;
}

.site-footer__brand img {
  width: 40px;
  height: 40px;
  transition: transform .45s var(--ease-out);
}

.site-footer__brand:hover img {
  transform: translateY(-2px) scale(1.06);
}

.site-footer__tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  padding: .35rem .7rem;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity .2s ease, transform .25s var(--ease-out);
}

.site-footer__tooltip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 14px;
}

.site-footer__brand:hover .site-footer__tooltip,
.site-footer__brand:focus-visible .site-footer__tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal li {
  display: flex;
  align-items: center;
}

.legal li+li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 1rem;
  border-radius: 1px;
  background: var(--grey);
  opacity: .55;
}

.legal a {
  position: relative;
  display: inline-block;
  padding: .55rem 0;
  color: var(--ink-soft);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s ease;
}

.legal a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .35rem;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .45s var(--ease-out);
}

.legal a:hover {
  color: var(--ink);
}

.legal a:hover::after,
.legal a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.js.is-ready .reveal {
  animation: reveal 1.1s var(--ease-out) var(--delay, 0s) forwards;
}

.js .fade-in {
  opacity: 0;
}

.js.is-ready .fade-in {
  animation: fade 1.4s ease var(--delay, 0s) forwards;
}

.js .hero__word {
  transform: translate3d(0, 112%, 0);
}

.js.is-ready .hero__word {
  animation: rise 1.35s var(--ease-out) var(--delay, 0s) forwards;
}

.js .spire-bar {
  transform: scaleX(0);
}

.js.is-ready .spire-bar {
  animation: grow 1.5s var(--ease-out) .7s forwards;
}

.js .draw path {
  stroke-dasharray: calc(var(--len) * 1px);
  stroke-dashoffset: calc(var(--len) * 1px);
}

.js.is-ready .draw path {
  animation: draw var(--dur, 1.3s) var(--ease-out) calc(var(--d0, .6s) + var(--i) * var(--step, 40ms)) forwards;
}

.visual__ghost .draw {
  --d0: 1.1s;
  --step: 26ms;
  --dur: 1.5s;
}

.js .mark__spire {
  stroke-dasharray: 0 calc(var(--len) * 1px) 0 0;
}

.js.is-ready .mark__spire {
  animation: spire-rise 2.2s var(--ease-draw) .2s forwards;
}

.js .mark__star path {
  stroke-dasharray: 0 calc(var(--len) * 1px);
  stroke-dashoffset: calc(var(--len) * -.5px);
}

.js.is-ready .mark__star path {
  animation: chevron-burst 2s var(--ease-draw) calc(.8s + var(--i) * 160ms) forwards;
}

.js .visual__layer--wipe {
  --reveal: 0deg;
  -webkit-mask-image: conic-gradient(from 0deg at 50% 53.3333%, #000 var(--reveal), transparent var(--reveal));
  mask-image: conic-gradient(from 0deg at 50% 53.3333%, #000 var(--reveal), transparent var(--reveal));
}

.js.is-ready .visual__layer--wipe {
  animation: wipe 2s var(--ease-in-out) .5s forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  to {
    opacity: 1;
  }
}

@keyframes rise {
  to {
    transform: none;
  }
}

@keyframes grow {
  to {
    transform: scaleX(1);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes spire-rise {
  0% {
    stroke-dasharray: 0 calc(var(--len) * 1px) 0 0;
  }

  99.9% {
    stroke-dasharray: calc(var(--len) * .5px) 0 calc(var(--len) * .5px) 0;
  }

  100% {
    stroke-dasharray: none;
  }
}

@keyframes chevron-burst {
  0% {
    stroke-dasharray: 0 calc(var(--len) * 1px);
    stroke-dashoffset: calc(var(--len) * -.5px);
  }

  99.9% {
    stroke-dasharray: calc(var(--len) * 1px) 0;
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}

@keyframes wipe {
  to {
    --reveal: 360deg;
  }
}

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

@keyframes breathe {
  from {
    transform: scale(.985);
  }

  to {
    transform: scale(1.025);
  }
}

@keyframes shimmer {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 200% 50%;
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-110%);
  }

  45%,
  100% {
    transform: translateX(380%);
  }
}

@keyframes glow-breathe {
  from {
    opacity: .7;
    transform: scale(.94);
  }

  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@media (max-width: 860px) {
  .site-header {
    justify-content: center;
  }

  .site-header__logo {
    height: 48px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 0;
    padding-top: 4px;
  }

  .hero__visual {
    order: -1;
    width: min(76vw, 23rem);
    margin: 0 auto -5%;
  }

  .hero__content {
    max-width: none;
    text-align: center;
  }

  .hero__title {
    font-size: clamp(4.5rem, min(24vw, 32vh), 8.5rem);
  }

  .hero__line,
  .hero__line--accent {
    padding-left: .14em;
  }

  .hero__line:first-child {
    margin-bottom: -.3em;
  }

  .spire-bar {
    width: min(100%, 280px);
    margin-left: auto;
    margin-right: auto;
    transform-origin: center;
  }

  .hero__copy {
    max-width: 36rem;
    margin-inline: auto;
  }

  .site-footer__inner {
    flex-direction: column;
    justify-content: flex-start;
    gap: .5rem;
    text-align: center;
  }

  .legal {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .legal li+li::before {
    display: none;
  }

  .site-footer__tooltip {
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .backdrop__grid {
    -webkit-mask-image: radial-gradient(ellipse 80% 38% at 50% 22%, #000 0%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 38% at 50% 22%, #000 0%, transparent 80%);
  }
}

@media (min-width: 861px) and (max-height: 820px) {
  .hero {
    padding-block: 8px;
  }

  .hero__title {
    font-size: clamp(3.5rem, min(10vw, 14.5vh), 9.5rem);
  }

  .hero__copy {
    max-width: 36rem;
  }

  .hero__copy .hero__lead {
    font-size: 1.25rem;
  }

  .hero__copy .hero__status {
    margin-top: 1.1em;
  }

  .spire-bar {
    margin: 16px 0 20px;
  }

  .site-footer {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal,
  .js .fade-in,
  .js .hero__word,
  .js .spire-bar {
    opacity: 1;
    transform: none;
  }

  .js .draw path {
    stroke-dashoffset: 0;
  }

  .js .mark__star path,
  .js .mark__spire {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .js .visual__layer--wipe {
    -webkit-mask-image: none;
    mask-image: none;
  }

}

@media (forced-colors: active) {
  .hero__accent {
    background: none;
    color: CanvasText;
  }

  .backdrop,
  .visual__glow {
    display: none;
  }
}

@media print {

  .backdrop,
  .hero__visual,
  .spire-bar {
    display: none;
  }

  .js .reveal,
  .js .hero__word {
    opacity: 1;
    transform: none;
  }

  .hero {
    display: block;
  }
}