@font-face {
  font-family: "Big Shoulders";
  src: url("./assets/BigShoulders-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson";
  src: url("./assets/Atkinson-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson";
  src: url("./assets/Atkinson-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Spline";
  src: url("./assets/Spline-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

:root {
  --yellow: #ffc400;
  --yellow-dark: #8a6d00;
  --green: #6fcf4f;
  --orange: #ff9b3d;
  --red: #ff4d4d;
  --ink: #101214;
  --graphite: #16191c;
  --graphite-2: #1d2125;
  --graphite-3: #292e33;
  --steel: #87909a;
  --line: rgba(255, 255, 255, 0.15);
  --line-dark: rgba(16, 18, 20, 0.2);
  --bone: #f3f1eb;
  --paper: #faf9f5;
  --text-soft: rgba(255, 255, 255, 0.66);
  --page-pad: clamp(22px, 3.2vw, 56px);
  --max: 1540px;
  --cut: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: white;
  font-family: "Atkinson", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 18px;
  top: 12px;
  padding: 10px 15px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.scroll-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--yellow);
}

.display {
  margin: 0;
  font-family: "Big Shoulders", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 0.84;
  text-transform: uppercase;
}

.eyebrow {
  font-family: "Spline", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-index {
  position: relative;
  z-index: 2;
  padding: 0 var(--page-pad);
  color: currentColor;
  opacity: 0.58;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  clip-path: var(--cut);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.button:hover {
  background: #ffd12e;
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  gap: 18px;
  padding: 0 17px;
  font-size: 13px;
}

.button-large {
  min-height: 64px;
  padding: 0 28px;
  gap: 62px;
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  min-height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.text-link span {
  color: var(--yellow);
}

.mark {
  position: relative;
  width: 29px;
  height: 29px;
  display: inline-block;
  flex: 0 0 29px;
}

.mark::before,
.mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.mark::before {
  width: 4px;
  height: 26px;
  left: 3px;
  bottom: 1px;
}

.mark::after {
  width: 25px;
  height: 4px;
  left: 3px;
  bottom: 1px;
  transform: rotate(46deg);
  transform-origin: left center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: "Spline", monospace;
  font-size: 15px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 12, 14, 0.3);
  backdrop-filter: blur(12px);
  transition:
    background 220ms ease,
    height 220ms ease;
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(10, 12, 14, 0.91);
}

.site-header .brand {
  color: white;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  font-size: 13px;
}

.main-nav > a:not(.button) {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  transition: color 180ms ease;
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--yellow);
  transition: right 180ms ease;
}

.main-nav > a:not(.button):hover,
.main-nav > a.is-active {
  color: white;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a.is-active::after {
  right: 0;
}

.main-nav .nav-login {
  color: var(--yellow);
}

.menu-button {
  display: none;
}

.level {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.level-tube {
  position: relative;
  display: inline-block;
  width: 62px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
}

.level-tube::before,
.level-tube::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: rgba(255, 255, 255, 0.34);
}

.level-tube::before {
  left: 23px;
}

.level-tube::after {
  right: 23px;
}

.level-tube i {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 9px;
  height: 9px;
  transform: translateX(-50%);
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
}

.level-small .level-tube {
  width: 46px;
  height: 11px;
}

.level-small .level-tube::before {
  left: 17px;
}

.level-small .level-tube::after {
  right: 17px;
}

.level-small .level-tube i {
  width: 7px;
  height: 7px;
  top: 1px;
}

/* Hero */

.hero {
  position: relative;
  min-height: max(920px, 100svh);
  overflow: hidden;
  background: #0b0d0f;
}

.hero-art {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(7, 9, 11, 0.97) 0%, rgba(7, 9, 11, 0.84) 31%, rgba(7, 9, 11, 0.1) 69%),
    linear-gradient(0deg, #0b0d0f 0%, transparent 20%),
    url("./assets/hero-nocturne.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  animation: hero-arrive 1.4s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.hero-grid,
.mestari-grid {
  position: absolute;
  inset: 76px 0 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, black, transparent 66%);
}

.hero-status {
  position: absolute;
  z-index: 4;
  left: var(--page-pad);
  top: 147px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--yellow);
  animation: copy-arrive 900ms 250ms ease both;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(48vw, 780px);
  padding: 210px 0 190px var(--page-pad);
}

.hero-copy h1 {
  font-size: clamp(92px, 9.4vw, 160px);
  animation: copy-arrive 900ms 80ms ease both;
}

.hero-copy h1 span {
  color: var(--yellow);
}

.hero-copy p {
  width: min(520px, 90%);
  margin: 34px 0 0 3px;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  animation: copy-arrive 900ms 180ms ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  animation: copy-arrive 900ms 280ms ease both;
}

.hero-proof {
  position: absolute;
  z-index: 5;
  right: var(--page-pad);
  bottom: 38px;
  width: min(880px, 63vw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(13, 15, 17, 0.83);
  border: 1px solid rgba(255, 255, 255, 0.19);
  backdrop-filter: blur(12px);
}

.hero-proof div {
  min-height: 96px;
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof span {
  display: block;
  color: rgba(255, 255, 255, 0.44);
  font-family: "Spline", monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-proof strong {
  display: block;
  margin-top: 12px;
  font-family: "Big Shoulders", sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.product-float {
  position: absolute;
  z-index: 3;
  top: 118px;
  left: 39vw;
  width: min(850px, 58vw);
  padding: 9px;
  border: 1px solid rgba(255, 196, 0, 0.43);
  background: rgba(18, 20, 22, 0.93);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.6);
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
  will-change: transform;
  animation: product-arrive 1.2s 200ms cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.product-chrome {
  height: 31px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.42);
  font-family: "Spline", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-chrome span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-chrome i {
  width: 5px;
  height: 5px;
  background: var(--yellow);
}

.product-float img {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: top;
}

.hero-scroll {
  position: absolute;
  z-index: 5;
  left: var(--page-pad);
  bottom: 43px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.46);
}

.hero-scroll i {
  position: relative;
  display: block;
  width: 58px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  top: 0;
  width: 22px;
  height: 1px;
  background: var(--yellow);
  animation: scroll-line 1.8s infinite ease-in-out;
}

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes copy-arrive {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes product-arrive {
  from {
    opacity: 0;
    transform: perspective(1400px) rotateY(-2deg) rotateX(2deg) translateX(80px);
  }
}

@keyframes scroll-line {
  from {
    left: -22px;
  }
  to {
    left: 58px;
  }
}

/* Module ticker */

.module-ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--yellow);
  color: var(--ink);
}

.module-ticker > div {
  min-width: max-content;
  min-height: 54px;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.2vw, 42px);
  font-family: "Spline", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.module-ticker i {
  display: block;
  width: 4px;
  height: 4px;
  background: var(--ink);
  transform: rotate(45deg);
}

/* Editorial */

.section-light {
  background: var(--bone);
  color: var(--ink);
}

.editorial {
  padding: 118px 0 130px;
}

.editorial-heading {
  max-width: var(--max);
  margin: 66px auto 80px;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: 1.65fr 0.85fr;
  gap: clamp(50px, 8vw, 140px);
  align-items: end;
}

.editorial-heading h2 {
  max-width: 920px;
  font-size: clamp(74px, 8vw, 132px);
}

.editorial-heading p {
  max-width: 430px;
  margin: 0 0 7px;
  font-size: clamp(19px, 1.6vw, 25px);
  line-height: 1.42;
}

.editorial-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(430px, 0.8fr);
  min-height: 920px;
}

.editorial-image {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  min-height: 720px;
  margin: 0;
  overflow: hidden;
  background: #d8d8d4;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 43% center;
  filter: saturate(0.82) contrast(1.04);
}

.editorial-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 17, 19, 0.42), transparent 35%);
}

.editorial-image figcaption {
  position: absolute;
  z-index: 2;
  left: var(--page-pad);
  bottom: 30px;
  color: white;
}

.editorial-story {
  padding: 58px var(--page-pad) 0;
  border-top: 1px solid var(--line-dark);
}

.editorial-story blockquote {
  margin: 0;
  padding: 0 0 64px;
  border-bottom: 1px solid var(--line-dark);
  font-family: "Big Shoulders", sans-serif;
  font-size: clamp(48px, 4.6vw, 76px);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.story-points article {
  padding: 47px 0 52px;
  border-bottom: 1px solid var(--line-dark);
}

.story-points .eyebrow {
  color: var(--yellow-dark);
}

.story-points h3 {
  margin: 22px 0 13px;
  font-family: "Big Shoulders", sans-serif;
  font-size: 38px;
  line-height: 1;
  text-transform: uppercase;
}

.story-points p {
  max-width: 530px;
  margin: 0;
  color: rgba(16, 18, 20, 0.66);
  font-size: 18px;
}

/* Product system */

.product-system {
  position: relative;
  min-height: 900px;
  padding: 120px 0 130px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.system-intro {
  position: relative;
  z-index: 2;
  width: 58%;
  padding: 58px 0 80px var(--page-pad);
}

.system-intro h2 {
  font-size: clamp(100px, 10.8vw, 175px);
}

.system-intro h2 span {
  position: relative;
  display: inline-block;
}

.system-intro h2 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 3px;
  right: 0;
  bottom: -7px;
  height: 13px;
  background: var(--yellow);
}

.system-intro p {
  width: min(560px, 86%);
  margin: 42px 0 0;
  color: rgba(16, 18, 20, 0.66);
  font-size: clamp(18px, 1.45vw, 23px);
}

.object-art {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 68%;
  height: 900px;
  margin: 0;
}

.object-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(250, 249, 245, 0.77) 18%, transparent 52%);
}

.object-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.system-list {
  position: relative;
  z-index: 3;
  margin-top: 205px;
  border-top: 1px solid var(--line-dark);
}

.system-row {
  min-height: 190px;
  padding: 32px var(--page-pad);
  display: grid;
  grid-template-columns: 70px 1.1fr 0.8fr 40px;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(250, 249, 245, 0.93);
  transition:
    background 180ms ease,
    color 180ms ease;
}

.system-row:hover {
  background: var(--ink);
  color: white;
}

.row-number {
  align-self: start;
  padding-top: 7px;
  color: var(--yellow-dark);
  font-family: "Spline", monospace;
  font-size: 10px;
}

.system-row:hover .row-number,
.system-row:hover .row-arrow {
  color: var(--yellow);
}

.system-row h3 {
  margin: 0;
  font-family: "Big Shoulders", sans-serif;
  font-size: clamp(46px, 4.1vw, 68px);
  line-height: 0.95;
  text-transform: uppercase;
}

.system-row p {
  max-width: 570px;
  margin: 15px 0 0;
  color: rgba(16, 18, 20, 0.62);
  font-size: 17px;
}

.system-row:hover p,
.system-row:hover li {
  color: rgba(255, 255, 255, 0.64);
}

.system-row ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(16, 18, 20, 0.66);
  font-family: "Spline", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 2.15;
  text-transform: uppercase;
}

.system-row li::before {
  content: "—";
  margin-right: 10px;
  color: var(--yellow-dark);
}

.system-row:hover li::before {
  color: var(--yellow);
}

.row-arrow {
  color: var(--yellow-dark);
  font-size: 26px;
}

/* Mestari */

.mestari {
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
  background: #0e1012;
}

.mestari-grid {
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, black 28%, black 75%, transparent);
}

.mestari-heading {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 62px auto 90px;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 90px;
  align-items: end;
}

.mestari-heading > div {
  position: relative;
}

.mestari-heading h2 {
  font-size: clamp(88px, 9.2vw, 150px);
}

.mestari-heading h2 span {
  color: var(--yellow);
}

.spark {
  position: absolute;
  left: -8px;
  top: -43px;
  color: var(--yellow);
  font-size: 36px;
  animation: spark-pulse 2.6s infinite ease-in-out;
}

.mestari-heading p {
  max-width: 420px;
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 20px;
}

@keyframes spark-pulse {
  50% {
    opacity: 0.44;
    transform: rotate(22deg) scale(0.84);
  }
}

.decision-demo {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(50px, 7vw, 120px);
}

.decision-stack {
  position: relative;
  padding: 0 0 75px 18px;
}

.decision-stack::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 0;
  width: 4px;
  background: var(--yellow);
}

.decision-card {
  position: relative;
  padding: 30px 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(23, 26, 29, 0.94);
  clip-path: var(--cut);
}

.decision-card + .decision-card {
  width: 92%;
  margin: 22px 0 0 auto;
}

.decision-card header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.45);
}

.confidence {
  color: var(--green);
  font-family: "Spline", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.decision-card h3 {
  margin: 24px 0 13px;
  font-family: "Big Shoulders", sans-serif;
  font-size: clamp(36px, 3.3vw, 52px);
  line-height: 0.98;
  text-transform: uppercase;
}

.decision-card p {
  max-width: 580px;
  margin: 0;
  color: var(--text-soft);
}

.decision-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 27px;
  font-size: 13px;
  font-weight: 600;
}

.decision-actions .approve {
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--ink);
  clip-path: var(--cut);
}

.decision-actions .explain {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.47);
  text-decoration: underline;
}

.mestari-principles {
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 24px;
  padding: 30px 0 35px;
  border-bottom: 1px solid var(--line);
}

.principle .eyebrow {
  grid-row: span 2;
  padding-top: 7px;
  color: var(--yellow);
}

.principle h3 {
  margin: 0;
  font-family: "Big Shoulders", sans-serif;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
}

.principle p {
  max-width: 430px;
  margin: 12px 0 0;
  color: var(--text-soft);
}

/* Trust principles */

.principles {
  padding: 120px 0 130px;
}

.principles-heading {
  max-width: var(--max);
  margin: 66px auto 78px;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: 1.25fr 0.65fr;
  gap: 100px;
  align-items: end;
}

.principles-heading h2 {
  max-width: 930px;
  font-size: clamp(78px, 8.4vw, 134px);
}

.principles-heading p {
  max-width: 430px;
  margin: 0 0 7px;
  color: rgba(16, 18, 20, 0.65);
  font-size: 19px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.principle-grid article {
  min-height: 340px;
  padding: 33px var(--page-pad) 40px;
  border-right: 1px solid var(--line-dark);
}

.principle-grid article:last-child {
  border-right: 0;
}

.principle-icon {
  display: block;
  min-height: 98px;
  color: var(--yellow-dark);
  font-family: "Spline", monospace;
  font-size: 56px;
  line-height: 1;
}

.principle-grid h3 {
  margin: 28px 0 14px;
  font-family: "Big Shoulders", sans-serif;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
}

.principle-grid p {
  margin: 0;
  color: rgba(16, 18, 20, 0.63);
}

/* Contact */

.contact {
  position: relative;
  min-height: 840px;
  padding: 120px var(--page-pad);
  overflow: hidden;
  background: #0b0d0f;
}

.contact-art {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(7, 9, 11, 0.97), rgba(7, 9, 11, 0.78) 45%, rgba(7, 9, 11, 0.22)),
    linear-gradient(0deg, rgba(7, 9, 11, 0.65), transparent 40%),
    url("./assets/hero-nocturne.webp");
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
}

.contact-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 60vw);
}

.contact-copy > .eyebrow {
  color: var(--yellow);
}

.contact-copy h2 {
  margin-top: 42px;
  font-size: clamp(90px, 9.3vw, 148px);
}

.contact-copy h2 span {
  color: var(--yellow);
}

.contact-copy p {
  max-width: 530px;
  margin: 35px 0 32px;
  color: rgba(255, 255, 255, 0.71);
  font-size: 20px;
}

.contact-meta {
  position: absolute;
  z-index: 2;
  right: var(--page-pad);
  bottom: 48px;
  padding: 22px 25px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(13, 15, 17, 0.76);
  backdrop-filter: blur(10px);
}

.contact-meta .eyebrow {
  color: var(--green);
}

.contact-meta p {
  margin: 13px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

/* Footer */

.site-footer {
  padding: 70px var(--page-pad) 30px;
  background: #090a0c;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-bottom: 55px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  margin: 0;
  color: var(--text-soft);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 520px;
  gap: 80px;
  margin: 55px 0 60px auto;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-links .eyebrow {
  margin-bottom: 8px;
  color: var(--yellow);
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.58);
  font-family: "Spline", monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Tablet */

@media (max-width: 1120px) {
  .main-nav {
    gap: 19px;
  }

  .main-nav > a:nth-child(4) {
    display: none;
  }

  .hero {
    min-height: 900px;
  }

  .hero-copy {
    width: 58vw;
  }

  .product-float {
    left: 46vw;
    width: 66vw;
  }

  .hero-proof {
    width: calc(100% - var(--page-pad) * 2);
  }

  .hero-scroll {
    display: none;
  }

  .editorial-stage {
    grid-template-columns: 1fr 1fr;
  }

  .principle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .principle-grid article:nth-child(2) {
    border-right: 0;
  }

  .principle-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }
}

/* Mobile */

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

  .site-header {
    height: 65px;
  }

  .site-header.is-scrolled {
    height: 58px;
  }

  .site-header .brand {
    font-size: 13px;
  }

  .site-header .mark {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .menu-button {
    position: relative;
    z-index: 3;
    margin-left: auto;
    padding: 8px 0 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    background: none;
  }

  .menu-label {
    font-family: "Spline", monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .menu-lines {
    width: 25px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .menu-lines i {
    display: block;
    height: 1px;
    background: white;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] .menu-lines i:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-lines i:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    padding: 116px var(--page-pad) 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(9, 11, 13, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav > a,
  .main-nav > a:nth-child(4) {
    width: 100%;
    padding: 17px 0;
    display: block;
    border-bottom: 1px solid var(--line);
    font-family: "Big Shoulders", sans-serif;
    font-size: 34px;
    line-height: 1;
    text-transform: uppercase;
  }

  .main-nav .button {
    width: 100%;
    margin-top: 28px;
    display: flex;
    font-family: "Atkinson", sans-serif;
    font-size: 16px;
    text-transform: none;
  }

  .hero {
    min-height: 890px;
  }

  .hero-art {
    background-image:
      linear-gradient(0deg, #0b0d0f 0%, rgba(7, 9, 11, 0.45) 52%, rgba(7, 9, 11, 0.14)),
      url("./assets/hero-nocturne.webp");
    background-position: 60% center;
  }

  .hero-grid {
    inset: 65px 0 0;
    mask-image: linear-gradient(0deg, black, transparent 65%);
  }

  .hero-status {
    top: 104px;
  }

  .hero-copy {
    width: auto;
    padding: 153px var(--page-pad) 0;
  }

  .hero-copy h1 {
    font-size: clamp(70px, 19vw, 88px);
  }

  .hero-copy p {
    width: 100%;
    margin-top: 23px;
    font-size: 18px;
  }

  .hero-actions {
    margin-top: 24px;
    display: block;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    display: none;
  }

  .product-float {
    top: auto;
    left: 20px;
    right: 20px;
    bottom: 120px;
    width: auto;
    padding: 5px;
    transform: none !important;
    animation-name: copy-arrive;
  }

  .product-chrome {
    height: 25px;
  }

  .product-domain {
    display: none !important;
  }

  .product-float img {
    max-height: 290px;
  }

  .hero-proof {
    right: 20px;
    bottom: 19px;
    width: calc(100% - 40px);
    grid-template-columns: 1fr 1fr;
  }

  .hero-proof div {
    min-height: 48px;
    padding: 9px 11px;
  }

  .hero-proof div:nth-child(2) {
    border-right: 0;
  }

  .hero-proof div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .hero-proof span {
    font-size: 7px;
  }

  .hero-proof strong {
    margin-top: 5px;
    font-size: 18px;
  }

  .module-ticker {
    overflow-x: auto;
  }

  .module-ticker > div {
    justify-content: flex-start;
  }

  .editorial,
  .product-system,
  .mestari,
  .principles {
    padding-top: 84px;
    padding-bottom: 88px;
  }

  .editorial-heading,
  .principles-heading,
  .mestari-heading {
    margin: 42px 0 55px;
    display: block;
  }

  .editorial-heading h2,
  .principles-heading h2 {
    font-size: clamp(65px, 19vw, 92px);
  }

  .editorial-heading p,
  .principles-heading p,
  .mestari-heading p {
    margin-top: 30px;
  }

  .editorial-stage {
    display: block;
  }

  .editorial-image {
    position: relative;
    top: auto;
    height: 600px;
    min-height: 0;
  }

  .editorial-image img {
    object-position: 42% center;
  }

  .editorial-story {
    padding-top: 46px;
  }

  .editorial-story blockquote {
    font-size: 50px;
  }

  .story-points article {
    padding: 36px 0;
  }

  .system-intro {
    width: auto;
    padding: 42px var(--page-pad) 50px;
  }

  .system-intro h2 {
    font-size: clamp(86px, 25vw, 118px);
  }

  .system-intro p {
    width: 100%;
    margin-top: 32px;
  }

  .object-art {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: -35px;
  }

  .object-art::after {
    background: linear-gradient(0deg, var(--paper), transparent 25%, transparent 78%, var(--paper));
  }

  .system-list {
    margin-top: 0;
  }

  .system-row {
    padding-top: 30px;
    padding-bottom: 30px;
    grid-template-columns: 34px 1fr 24px;
    gap: 14px;
  }

  .system-row ul {
    grid-column: 2 / 4;
  }

  .system-row h3 {
    font-size: 48px;
  }

  .row-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .mestari-heading {
    padding-top: 20px;
  }

  .mestari-heading h2 {
    font-size: clamp(76px, 22vw, 108px);
  }

  .spark {
    top: -35px;
  }

  .decision-demo {
    display: block;
  }

  .decision-stack {
    padding-left: 9px;
  }

  .decision-card {
    padding: 22px 20px;
  }

  .decision-card + .decision-card {
    width: 96%;
  }

  .decision-card header {
    display: block;
  }

  .confidence {
    display: block;
    margin-top: 8px;
  }

  .decision-actions {
    gap: 15px;
    flex-wrap: wrap;
  }

  .decision-actions .explain {
    margin-left: 0;
  }

  .mestari-principles {
    margin-top: 18px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid article,
  .principle-grid article:nth-child(2) {
    min-height: 255px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .principle-grid article:last-child {
    border-bottom: 0;
  }

  .principle-icon {
    min-height: 58px;
  }

  .contact {
    min-height: 760px;
    padding-top: 90px;
    padding-bottom: 120px;
  }

  .contact-art {
    background-image:
      linear-gradient(0deg, rgba(7, 9, 11, 0.92), rgba(7, 9, 11, 0.42)),
      url("./assets/hero-nocturne.webp");
    background-position: 60% center;
  }

  .contact-copy {
    width: 100%;
  }

  .contact-copy h2 {
    font-size: clamp(76px, 22vw, 108px);
  }

  .button-large {
    width: 100%;
    gap: 20px;
  }

  .contact-meta {
    left: var(--page-pad);
    right: var(--page-pad);
    bottom: 30px;
  }

  .footer-brand {
    display: block;
  }

  .footer-brand p {
    margin-top: 20px;
  }

  .footer-links {
    margin-left: 0;
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
