:root {
  color-scheme: dark;
  --bg: #080a10;
  --fg: #f0f0f3;
  --muted: #a4a7b3;
  --line: #ffffff20;
  --blue: #b5cbff;
  --amber: #f2bd8f;
  --px: clamp(22px, 5.5vw, 100px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
}
::selection {
  background: #3257a0;
  color: #fff;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  padding: 12px;
  background: #fff;
  color: #000;
}
.skip:focus {
  top: 12px;
}
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  border-bottom: 1px solid #ffffff14;
}
.brand {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-mark {
  margin-right: 9px;
  font-size: 26px;
  color: var(--blue);
}
.brand-period {
  color: var(--amber);
}
nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
}
nav a,
nav button {
  padding: 8px 0;
  color: #c6c8d0;
}
nav a:hover,
nav button:hover {
  color: white;
}
.motion-button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 14px;
}
.motion-button > span:first-child {
  font-size: 15px;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 800px;
  height: 100svh;
  max-height: 1150px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      #080a1050 0%,
      #080a1010 40%,
      #080a10c0 94%,
      var(--bg) 100%
    ),
    url("assets/thresholds.png") center/cover no-repeat;
  z-index: -2;
  transform: scale(1.025);
  transition: transform 1s ease;
  animation: scene-breathe 18s ease-in-out infinite;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 39%, #080a108c, transparent 65%);
  z-index: -1;
  pointer-events: none;
}
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.hero-content {
  text-align: center;
  padding: 120px 20px 100px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.8px;
  line-height: 1.8;
  margin: 0 0 25px;
  color: #b4b8c5;
}
h1,
h2,
h3 {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 0;
}
h1 {
  font-size: clamp(56px, 6.7vw, 108px);
}
h1 em,
h2 em,
h3 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}
h1 em {
  color: #e5e7ed;
}
.intro {
  font-size: 18px;
  color: #c2c5d0;
  line-height: 1.65;
  margin: 28px 0 34px;
}
.enter {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.enter > span {
  font-size: 25px;
  color: var(--blue);
  animation: float 3s ease-in-out infinite;
}
.hero-bottom {
  position: absolute;
  bottom: 36px;
  left: var(--px);
  right: var(--px);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 1.8px;
  color: #9fa4b4;
}
.section {
  padding: 100px var(--px);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}
.section-heading .eyebrow {
  margin: 0;
}
h2 {
  font-size: clamp(34px, 3.5vw, 58px);
}
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.path {
  position: relative;
  padding: 36px 42px 30px;
  min-height: 570px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.3s,
    transform 0.5s;
}
.inward {
  --accent: var(--blue);
  background:
    radial-gradient(ellipse at 95% 0%, #182d5666, transparent 65%), #0b0e17;
}
.outward {
  --accent: var(--amber);
  background:
    radial-gradient(ellipse at 95% 0%, #5a2e1766, transparent 65%), #110e0d;
}
.path:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}
.path-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.path-index {
  font-family: Georgia, serif;
  font-size: 25px;
  color: var(--accent);
}
.path-category {
  font-size: 12px;
  letter-spacing: 1.8px;
  color: #b4b7c2;
}
.path-symbol {
  position: absolute;
  right: 36px;
  top: 92px;
  font-size: 125px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.45;
  transition: transform 1s;
}
.path:hover .path-symbol {
  transform: rotate(20deg);
}
.path h3 {
  font-size: clamp(46px, 4.8vw, 78px);
  margin: 73px 0 20px;
  z-index: 1;
}
.path h3 em {
  color: var(--accent);
}
.path > p {
  max-width: 350px;
  min-height: 78px;
  color: #b6b9c3;
  margin: 0 0 26px;
}
.path-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.primary {
  background: var(--accent);
  color: #0b0e15;
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 13px 19px;
  font-size: 14px;
  font-weight: 600;
  transition: filter 0.2s;
}
.primary:hover {
  filter: brightness(1.15);
}
.text-button {
  font-size: 14px;
  border-bottom: 1px solid #ffffff44;
  padding: 5px 0;
  display: inline-block;
  width: fit-content;
}
.text-button:hover {
  border-color: currentColor;
}
.path-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #8f95a3;
}
.works {
  padding-top: 25px;
}
.works-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}
.works-heading .eyebrow {
  margin-bottom: 16px;
}
.works-heading > p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.work-list {
  border-top: 1px solid var(--line);
}
.work-row {
  display: grid;
  grid-template-columns: 60px 1fr 145px 28px;
  align-items: center;
  gap: 20px;
  width: 100%;
  text-align: left;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding 0.3s,
    background 0.3s;
}
.work-row:hover {
  padding-left: 18px;
  background: #ffffff04;
}
.work-num {
  color: #73798b;
  font-size: 14px;
}
.work-name {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(22px, 2.5vw, 35px);
  line-height: 1.3;
  letter-spacing: -1px;
}
.work-name small {
  display: block;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
  margin-top: 8px;
}
.work-type {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #adb3c2;
}
.work-plus {
  font-size: 32px;
  font-weight: 400;
  color: #b7bdcc;
}
.author {
  border-top: 1px solid var(--line);
  text-align: center;
  padding-top: 115px;
  padding-bottom: 120px;
  background: radial-gradient(ellipse at 50% 100%, #15244555, transparent 65%);
}
.author h2 {
  line-height: 1.15;
}
.author h2 em {
  color: var(--blue);
}
.author > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 560px;
  margin: 30px auto 22px;
}
footer {
  padding: 30px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
footer .brand {
  font-size: 20px;
  color: var(--fg);
}
dialog {
  background: #0d111b;
  color: var(--fg);
  border: 1px solid #ffffff33;
  border-radius: 6px;
  width: min(780px, calc(100% - 32px));
  max-height: 90svh;
  padding: 0;
  box-shadow: 0 40px 150px #000b;
}
dialog::backdrop {
  background: #03050bd9;
  backdrop-filter: blur(14px);
}
.dialog-inner {
  padding: 65px clamp(25px, 6vw, 70px) 40px;
  position: relative;
}
.close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 34px;
  line-height: 1;
  padding: 10px;
  color: #a9b1c6;
}
.dialog-inner h2 {
  font-size: clamp(36px, 5vw, 62px);
  margin-bottom: 30px;
}
.dialog-inner p {
  color: #b9becb;
  line-height: 1.8;
}
.dialog-inner .eyebrow {
  color: var(--blue);
  margin-bottom: 20px;
}
.dialog-inner .lead {
  font-family: Georgia, serif;
  font-size: 25px;
  color: #e6e8ef;
  line-height: 1.5;
}
.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}
.topics span {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 14px;
}
.dialog-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.dialog-signature {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 40px;
  font-size: 14px;
  letter-spacing: 2px;
}
.still *,
.still *:before,
.still *:after {
  animation: none !important;
  transition: none !important;
}
.still .hero-image {
  transform: scale(1.025) !important;
}
@keyframes scene-breathe {
  0%,
  100% {
    transform: scale(1.025);
  }
  50% {
    transform: scale(1.065);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}
@media (min-width: 1600px) {
  main,
  footer,
  .header {
    max-width: 1920px;
    margin: auto;
  }
  .header {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
}
@media (max-width: 1000px) {
  nav {
    gap: 20px;
  }
  .path {
    padding: 28px;
    min-height: 565px;
  }
  .path-symbol {
    font-size: 96px;
    right: 22px;
  }
  .path-actions {
    gap: 12px;
  }
  .section-heading {
    display: block;
  }
  .section-heading .eyebrow {
    margin-bottom: 20px;
  }
  .hero {
    min-height: 740px;
  }
  .hero-image {
    background-position: center;
  }
}
@media (max-width: 650px) {
  .header {
    height: 82px;
    gap: 12px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-mark {
    margin-right: 3px;
  }
  nav {
    gap: 15px;
  }
  nav a {
    font-size: 14px;
  }
  nav button {
    display: none;
  }
  .motion-label {
    display: none;
  }
  .motion-button {
    padding: 7px 11px;
  }
  .hero {
    min-height: 680px;
    max-height: 850px;
    height: 94svh;
  }
  .hero-content {
    padding-top: 120px;
    padding-bottom: 110px;
  }
  h1 {
    font-size: clamp(44px, 10.3vw, 68px);
    line-height: 1.15;
  }
  .intro {
    font-size: 16px;
  }
  .hero-image {
    background-size: auto 100%;
    background-position: 50%;
  }
  .hero-bottom {
    font-size: 10px;
    letter-spacing: 1px;
    bottom: 28px;
  }
  .hero-bottom span:last-child {
    display: none;
  }
  .section {
    padding: 65px var(--px);
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .path-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .path {
    min-height: 515px;
  }
  .path h3 {
    margin-top: 55px;
    font-size: 56px;
  }
  .path > p {
    min-height: 0;
  }
  .path-actions {
    margin-bottom: 28px;
  }
  .path-symbol {
    top: 89px;
  }
  .works {
    padding-top: 15px;
  }
  .works-heading {
    display: block;
  }
  .works-heading > p {
    margin-top: 20px;
  }
  .work-row {
    grid-template-columns: 25px 1fr 22px;
    gap: 12px;
    padding: 25px 0;
  }
  .work-type {
    grid-column: 2;
    grid-row: 2;
    margin-top: -10px;
  }
  .work-plus {
    grid-column: 3;
    grid-row: 1;
  }
  .work-name {
    font-size: 23px;
  }
  .work-name small {
    font-size: 14px;
  }
  .author {
    padding-top: 70px;
    padding-bottom: 75px;
  }
  .author h2 {
    font-size: 36px;
  }
  footer {
    flex-wrap: wrap;
    padding: 26px var(--px);
  }
  footer > span {
    width: 100%;
    order: 3;
    font-size: 12px;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
  }
}
@media (max-width: 650px) {
  nav a:first-child {
    display: none;
  }
  .hero-image {
    background-size: cover;
  }
  .path-category {
    letter-spacing: 1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  #particles {
    display: none;
  }
}
