@import url("https://fonts.googleapis.com/css2?family=Anybody:wdth,wght@75..125,500..900&family=DM+Mono:wght@300;400;500&family=Manrope:wght@300;400;500;600;700&display=swap");

:root {
  --ix-ink: #08090b;
  --ix-paper: #eeeae1;
  --ix-line: rgba(238, 234, 225, 0.18);
  --ix-acid: #d8ff3e;
  --ix-coral: #ff5c35;
  --ix-display: "Anybody", sans-serif;
  --ix-body: "Manrope", sans-serif;
  --ix-mono: "DM Mono", monospace;
  --ix-edge: clamp(2rem, 5vw, 7.2rem);
}

html {
  background: var(--ix-ink);
  scroll-behavior: smooth;
  font-size: 62.5%;
}
body.interior-page {
  margin: 0;
  background: var(--ix-ink);
  color: var(--ix-paper);
  font-family: var(--ix-body);
  font-size: 1.6rem;
  overflow-x: hidden;
  cursor:
    url("./assets/images/circle-small.svg") 12 12,
    auto !important;
}
body.interior-page * {
  box-sizing: border-box;
  cursor: inherit !important;
}
body.interior-page a,
body.interior-page button,
body.interior-page input,
body.interior-page textarea,
body.interior-page select,
body.interior-page [role="button"] {
  cursor:
    url("./assets/images/circle-medium-green.svg") 20 20,
    pointer !important;
}
body.interior-page a {
  color: inherit;
  text-decoration: none;
}
body.interior-page.cursor-on-coral {
  cursor:
    url("./assets/images/circle-small-paper.svg") 12 12,
    auto !important;
}
body.interior-page.cursor-on-coral a,
body.interior-page.cursor-on-coral button,
body.interior-page.cursor-on-coral input,
body.interior-page.cursor-on-coral textarea,
body.interior-page.cursor-on-coral select,
body.interior-page.cursor-on-coral [role="button"] {
  cursor:
    url("./assets/images/circle-medium-paper.svg") 20 20,
    pointer !important;
}
body.interior-page ::selection {
  background: var(--ix-acid);
  color: var(--ix-ink);
}
body.interior-page h1,
body.interior-page h2,
body.interior-page h3 {
  font-family: var(--ix-display);
}

.interior-noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.05;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.interior-cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.interior-header {
  --cta-inset: 0px;
  --cta-panel: var(--ix-ink);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 60;
  height: 7rem;
  padding-left: var(--ix-edge);
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  column-gap: clamp(2rem, 3vw, 5rem);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--ix-paper);
  background: var(--ix-ink);
  color: var(--ix-paper);
}
.interior-wordmark {
  justify-self: start;
  display: block;
  width: clamp(10.8rem, 8vw, 13rem);
}
.interior-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}
.interior-header-status {
  justify-self: end;
  color: var(--ix-paper);
  font: 500 1rem/1 var(--ix-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.interior-header-status i {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--ix-acid);
  box-shadow: 0 0 1.2rem rgba(216, 255, 62, 0.55);
}
.interior-header nav {
  display: flex;
  gap: 4rem;
}
.interior-header nav a {
  color: var(--ix-paper);
  font: 700 1.35rem/1 var(--ix-display);
  text-transform: uppercase;
}
.interior-header .nav-roll {
  --dot-position: -1.4rem;
  --dot-opacity: 0;
  position: relative;
  display: inline-block;
  line-height: 0.8;
}
.interior-header .nav-roll::before,
.interior-header .nav-roll::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--ix-coral);
  opacity: var(--dot-opacity);
  transform: translateY(-50%);
}
.interior-header .nav-roll::before {
  left: var(--dot-position);
}
.interior-header .nav-roll::after {
  right: var(--dot-position);
}
.interior-header .nav-roll-primary,
.interior-header .nav-roll-secondary {
  display: inline-block;
  line-height: 0.8;
  overflow: clip;
  clip-path: inset(0);
}
.interior-header .nav-roll-primary {
  position: relative;
  z-index: 2;
}
.interior-header .nav-roll-secondary {
  position: absolute;
  inset: 0;
  z-index: 1;
  visibility: hidden;
  color: var(--ix-coral);
}
.interior-contact {
  position: relative;
  align-self: stretch;
  min-width: 17rem;
  margin-left: 1rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-left: 1px solid var(--ix-paper);
  background: var(--ix-acid);
  color: var(--ix-ink);
  font: 700 1.3rem/1 var(--ix-display);
  text-transform: uppercase;
}
.interior-contact::before {
  content: "";
  position: absolute;
  inset: var(--cta-inset);
  z-index: 1;
  background: var(--cta-panel);
}
.interior-header .nav-cta-inner {
  position: relative;
  z-index: 2;
  display: inline-block;
  width: 9rem;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}
.interior-contact .nav-roll-primary,
.interior-contact .nav-roll-secondary {
  color: var(--ix-acid);
  line-height: 1.15;
  padding: 0.14em 0 0.08em;
}
.interior-menu-button {
  display: none;
  justify-self: end;
  position: relative;
  z-index: 75;
  width: 4rem;
  height: 4rem;
  border: 0;
  background: transparent;
}
.interior-menu-button i {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  height: 1px;
  background: var(--ix-paper);
  transition: 0.35s;
}
.interior-menu-button i:first-child {
  top: 1.5rem;
}
.interior-menu-button i:last-child {
  top: 2.2rem;
}
.interior-menu-button.active i:first-child {
  top: 1.9rem;
  transform: rotate(45deg);
}
.interior-menu-button.active i:last-child {
  top: 1.9rem;
  transform: rotate(-45deg);
}
.interior-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  padding: 11rem var(--ix-edge) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ix-acid);
  color: var(--ix-ink);
  transition:
    clip-path 0.65s cubic-bezier(0.77, 0, 0.18, 1),
    visibility 0.65s;
}
.interior-menu.active {
  visibility: visible;
  clip-path: inset(0);
}
.interior-menu-meta,
.interior-menu-mail {
  font: 500 1.1rem/1.3 var(--ix-mono);
  text-transform: uppercase;
}
.interior-menu-links {
  display: flex;
  flex-direction: column;
}
.interior-menu-links a {
  color: var(--ix-ink);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(8, 9, 11, 0.3);
  font: 700 clamp(5rem, 12vw, 12rem)/0.88 var(--ix-display);
  letter-spacing: -0.06em;
}
.interior-menu-links span {
  display: inline-block;
  width: 5rem;
  vertical-align: top;
  margin-top: 1.3rem;
  font: 400 1rem/1 var(--ix-mono);
  letter-spacing: 0;
}
.interior-hud {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 65;
  transform: translateX(-50%);
  display: flex;
  gap: 1.4rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--ix-line);
  border-radius: 3rem;
  background: rgba(8, 9, 11, 0.78);
  backdrop-filter: blur(12px);
  color: var(--ix-paper);
  font: 400 0.8rem/1 var(--ix-mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.interior-hud span + span {
  padding-left: 1.4rem;
  border-left: 1px solid var(--ix-line);
}
.interior-hud b {
  color: var(--ix-acid);
  font-weight: 400;
}

/* Shared contact footer */
body.interior-page .footer-section {
  min-height: 95svh !important;
  height: auto !important;
  margin: 0 !important;
  padding: 5rem var(--ix-edge) 8rem !important;
  display: block !important;
  background: var(--ix-acid) !important;
  color: var(--ix-ink) !important;
  border: 0 !important;
}
.interior-footer {
  min-height: calc(95svh - 13rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.interior-footer-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ix-ink);
  font: 500 1rem/1 var(--ix-mono);
  text-transform: uppercase;
}
.interior-footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding-top: 2rem;
  border-top: 1px solid var(--ix-ink);
  font: 500 clamp(1.05rem, 0.8vw, 1.25rem)/1.4 var(--ix-mono);
  text-transform: uppercase;
}
.interior-footer-heading {
  position: relative;
  display: block;
  width: 100%;
  color: var(--ix-ink);
  text-decoration: none;
  font: 700 clamp(6rem, 13vw, 19rem)/0.8 var(--ix-display);
  letter-spacing: -0.05em;
}
.interior-footer-heading span,
.interior-footer-heading strong {
  display: block;
}
.interior-footer-heading strong {
  text-align: right;
  font-weight: inherit;
  transition: color 0.35s ease;
}
.interior-footer-heading i {
  position: absolute;
  right: 0;
  top: -2rem;
  font: 400 clamp(3rem, 5vw, 8rem)/1 var(--ix-body);
  transition:
    color 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.interior-footer-heading:hover strong,
.interior-footer-heading:focus-visible strong {
  color: var(--ix-coral);
}
.interior-footer-heading:hover i,
.interior-footer-heading:focus-visible i {
  color: var(--ix-coral);
  transform: translate(0.5rem, -0.5rem) rotate(8deg);
}
.interior-footer-bottom div {
  display: flex;
  gap: 2.4rem;
}
.interior-footer-bottom > a:last-child {
  justify-self: end;
}
.interior-footer-bottom a {
  padding-bottom: 0.35rem;
  color: var(--ix-ink);
  background-image: linear-gradient(var(--ix-coral), var(--ix-coral));
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition:
    color 0.3s ease,
    background-size 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.3s ease;
}
.interior-footer-bottom a:hover,
.interior-footer-bottom a:focus-visible {
  color: var(--ix-coral);
  background-size: 100% 2px;
  transform: translateY(-0.3rem);
}

@media (max-width: 1180px) {
  .interior-header {
    grid-template-columns: 1fr auto auto;
  }
  .interior-header-status {
    display: none;
  }
}

@media (max-width: 900px) {
  .interior-header {
    grid-template-columns: 1fr auto;
    height: 6.4rem;
    padding: 0 1.4rem 0 2rem;
  }
  .interior-header nav,
  .interior-contact,
  .interior-header-status {
    display: none;
  }
  .interior-cursor-trail {
    display: none;
  }
  .interior-menu-button {
    display: block;
  }
  .interior-footer-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .interior-footer-bottom div {
    order: 3;
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  :root {
    --ix-edge: 2rem;
  }
  .interior-hud {
    bottom: 1rem;
  }
  .interior-hud span:first-child {
    display: none;
  }
  .interior-hud span:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }
  .interior-footer-top span:last-child {
    display: none;
  }
  .interior-footer-bottom div {
    width: 100%;
  }
}

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