﻿html,
body {
  min-height: 100%;
}

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

body {
  background: #090d0c;
  color: #fff;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-text-size-adjust: none;
}

body,
input,
select,
textarea {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  border-bottom-color: transparent;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin-top: 0;
}

body.praxis-page {
  min-width: 320px;
}

@keyframes wrapper {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes header {
  from {
    opacity: 0;
    transform: translateY(0.45rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navItem {
  from {
    opacity: 0;
    transform: translateY(0.45rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#wrapper {
  animation: wrapper 0.9s forwards;
  height: auto;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

#bg {
  animation: none !important;
  background: #090d0c url("/assets/images/bg.webp") center center / cover no-repeat fixed !important;
  height: 100%;
  inset: 0;
  position: fixed;
  width: 100% !important;
  z-index: 0;
}

@media screen and (min-width: 737px) {
  body.praxis-page #bg {
    background: #090d0c !important;
  }
}

@media screen and (max-width: 736px) {
  #bg {
    background: #090d0c url("/assets/images/bg-mobile.webp") center center / cover no-repeat !important;
  }

  body.praxis-page #bg {
    background: #090d0c !important;
  }

}

#overlay {
  animation: none !important;
  background: rgba(4, 8, 8, 0.22) !important;
  height: 100%;
  inset: 0;
  opacity: 1 !important;
  pointer-events: none;
  position: fixed;
  width: 100%;
  z-index: 1;
}

body.about-page #bg {
  background: #10100e url("/assets/images/cave-shadow-apparatus-bg.webp") center center / cover no-repeat fixed !important;
}

body.about-page #overlay {
  background:
    linear-gradient(90deg, rgba(3, 4, 4, 0.68) 0%, rgba(3, 4, 4, 0.38) 48%, rgba(3, 4, 4, 0.14) 100%),
    rgba(4, 8, 8, 0.2) !important;
}

body.work-page #bg {
  background: #050606 url("/assets/images/brutalist-sdf-contour-bg.webp") center center / cover no-repeat fixed !important;
}

body.work-page #overlay {
  background:
    linear-gradient(90deg, rgba(2, 3, 3, 0.64) 0%, rgba(2, 3, 3, 0.34) 48%, rgba(2, 3, 3, 0.12) 100%),
    rgba(2, 4, 5, 0.16) !important;
}

body.contact-page #bg {
  background: #010202 url("/assets/images/contact-bg.webp") center center / cover no-repeat fixed !important;
}

body.contact-page #overlay {
  background:
    radial-gradient(circle at 68% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 24%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.28) 52%, rgba(0, 0, 0, 0.16) 100%),
    rgba(0, 0, 0, 0.18) !important;
}

#main {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: flex-start;
  min-height: 100vh;
  padding: clamp(3.5rem, 8vh, 6rem) 1.25rem 5rem;
  position: relative;
  text-align: center;
  z-index: 2;
}

body.home #main {
  justify-content: flex-start;
  padding-top: 0;
}

#main:before {
  display: none;
}

.praxis-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  inset: 0;
  min-height: 100vh;
  position: relative;
  z-index: 3;
}

.praxis-column {
  align-items: flex-end;
  background-color: #090d0c;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 0;
  border-right: 1px solid rgba(255, 112, 92, 0.24);
  color: #ff705c;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 0 1.25rem clamp(6rem, 15vh, 10rem);
  position: relative;
  text-align: center;
}

.praxis-column:nth-child(1) {
  background-image: url("/assets/images/precausal-reflecting-pool-bg.webp");
}

.praxis-column:nth-child(2) {
  background-image: url("/assets/images/latent-slope-option-a-incised-bg.webp");
}

.praxis-column:nth-child(3) {
  background-image: url("/assets/images/spectral-garment-bg.webp");
}

.praxis-column:last-child {
  border-right: 0;
}

.praxis-column:before {
  background: rgba(4, 8, 8, 0.62);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.16s ease-out;
  z-index: 1;
}

.praxis-column:after {
  background:
    linear-gradient(to bottom, rgba(255, 112, 92, 0), rgba(255, 112, 92, 0.08)),
    rgba(7, 13, 13, 0.42);
  content: "";
  inset: 0;
  opacity: 0.76;
  pointer-events: none;
  position: absolute;
  transform: scaleX(1);
  transform-origin: left center;
  transition: opacity 0.16s ease-out, background-color 0.16s ease-out;
  z-index: 0;
}

.praxis-column span {
  display: block;
  font-size: clamp(1.15rem, 2.4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.05;
  position: relative;
  text-shadow:
    0 0 8px rgba(255, 112, 92, 0.42),
    0 0 30px rgba(255, 112, 92, 0.22);
  text-transform: uppercase;
  transform: translateY(0);
  transition: transform 0.16s ease-out, text-shadow 0.16s ease-out, opacity 0.16s ease-out;
  z-index: 2;
}

.praxis-stage:has(.praxis-column:hover) .praxis-column:not(:hover):before,
.praxis-stage:has(.praxis-column:focus-visible) .praxis-column:not(:focus-visible):before,
.praxis-stage.is-hovering .praxis-column:not(.is-active):before {
  opacity: 1;
}

.praxis-column:hover:after,
.praxis-column:focus-visible:after,
.praxis-column.is-active:after {
  opacity: 0.42;
}

.praxis-column:hover span,
.praxis-column:focus-visible span,
.praxis-column.is-active span {
  text-shadow:
    0 0 10px rgba(255, 112, 92, 0.52),
    0 0 36px rgba(255, 112, 92, 0.32),
    0 0 70px rgba(255, 112, 92, 0.16);
  transform: translateY(-0.35rem);
}

#header {
  animation: header 0.75s 0.25s forwards;
  display: block;
  margin: 0 auto;
  max-width: 960px;
  top: auto;
  width: min(92vw, 960px);
  z-index: 3;
}

#header .site-kicker,
#header h1,
#header > p,
#header nav {
  position: relative;
  z-index: 4;
}

body.home #header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 0 0 clamp(10rem, 22vh, 15rem);
}

#header .site-kicker {
  color: #ff705c;
  font-family: "Liu Jian Mao Cao", "STXingkai", "åŽæ–‡è¡Œæ¥·", "FZShuTi", "FZKai-Z03", "KaiTi",
    "æ¥·ä½“", cursive;
  font-size: clamp(1.55rem, 4vw, 2.55rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.05;
  margin: 0 0 0.55rem;
  opacity: 0.86;
  text-shadow:
    0 0 8px rgba(255, 112, 92, 0.34),
    0 0 24px rgba(255, 112, 92, 0.18);
  text-transform: none;
}

body.home #header .site-kicker {
  font-size: clamp(2.15rem, 7vw, 4.2rem);
}

body.home #header > p:not(.site-kicker) {
  display: none;
}

#header h1 {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  letter-spacing: 0;
}

#header h1 a {
  border: 0;
  color: #ff705c;
  text-shadow:
    0 0 8px rgba(255, 112, 92, 0.42),
    0 0 28px rgba(255, 112, 92, 0.28),
    0 0 64px rgba(255, 112, 92, 0.14);
}

#header p {
  color: #ff705c;
  letter-spacing: 0;
  opacity: 0.86;
  text-shadow:
    0 0 8px rgba(255, 112, 92, 0.3),
    0 0 24px rgba(255, 112, 92, 0.16);
}

#header nav {
  margin-top: 1.8rem;
}

#header nav ul {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.2rem, 1.4vw, 0.9rem);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.home #header nav {
  margin-top: clamp(2.4rem, 6vh, 4.6rem);
}

#header nav .nav-link {
  border: 0;
  display: block;
  text-align: center;
}

#header nav .nav-mark {
  align-items: center;
  background: rgba(255, 112, 92, 0.08);
  border: 1px solid rgba(255, 112, 92, 0.88);
  border-radius: 100%;
  box-shadow:
    0 0 0 1px rgba(255, 112, 92, 0.08),
    0 0 18px rgba(255, 112, 92, 0.24),
    0 0 46px rgba(255, 112, 92, 0.12);
  color: #ff705c;
  display: inline-flex;
  font-size: 1.45rem;
  height: 4.35rem;
  justify-content: center;
  line-height: 1;
  text-shadow:
    0 0 8px rgba(255, 112, 92, 0.38),
    0 0 22px rgba(255, 112, 92, 0.22);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  width: 4.35rem;
}

#header nav .nav-mark:before {
  content: "";
  display: block;
}

#header nav .nav-home .nav-mark:before {
  border-bottom: 0.78rem solid currentColor;
  border-left: 0.72rem solid transparent;
  border-right: 0.72rem solid transparent;
  height: 0;
  transform: translateY(-0.28rem);
  width: 0;
}

#header nav .nav-home .nav-mark:after {
  background: currentColor;
  content: "";
  display: block;
  height: 0.76rem;
  margin-left: -1.08rem;
  transform: translateY(0.34rem);
  width: 1.25rem;
}

#header nav .nav-about .nav-mark:before {
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0.8rem 0 0 -0.24rem currentColor;
  height: 1.34rem;
  width: 1.34rem;
}

#header nav .nav-praxis .nav-mark:before {
  background: url("/assets/icon-ai-r2/03-praxis-r2-transparent.webp") center center / contain no-repeat;
  height: 2.7rem;
  width: 2.7rem;
}

#header nav .nav-work .nav-mark:before {
  border: 2px solid currentColor;
  box-shadow: 0.5rem 0.5rem 0 -0.16rem rgba(255, 112, 92, 0.62);
  height: 1.35rem;
  transform: rotate(45deg);
  width: 1.35rem;
}

#header nav .nav-contact .nav-mark:before {
  border: 2px solid currentColor;
  border-radius: 0.08rem;
  height: 1.12rem;
  width: 1.72rem;
}

#header nav .nav-contact .nav-mark:after {
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  display: block;
  height: 0.75rem;
  margin-left: -1.22rem;
  transform: rotate(-45deg) translateY(-0.02rem);
  width: 0.75rem;
}

#header nav a:hover .nav-mark {
  background: rgba(255, 112, 92, 0.18);
  border-color: rgba(255, 151, 118, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 151, 118, 0.16),
    0 0 22px rgba(255, 112, 92, 0.34),
    0 0 58px rgba(255, 112, 92, 0.18);
  color: #ff9776;
}

#header nav a:active .nav-mark {
  background: rgba(255, 112, 92, 0.28);
  color: #ffb092;
}

#header nav li {
  animation: navItem 0.35s both;
  height: 6.35em;
  line-height: 1;
  width: 6.8em;
}

#header nav a {
  position: relative;
}

#header nav a .label {
  color: #ff705c;
  display: block !important;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.1;
  margin-top: 0.72rem;
  text-shadow:
    0 0 8px rgba(255, 112, 92, 0.28),
    0 0 18px rgba(255, 112, 92, 0.16);
  text-transform: uppercase;
  white-space: nowrap;
}

.praxis-reveal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transform: translateY(0.35rem);
  transition: opacity 0.14s ease-out, transform 0.18s ease-out;
  z-index: 2;
}

.praxis-panel {
  align-items: flex-end;
  background: rgba(7, 13, 13, 0.78);
  border-right: 1px solid rgba(255, 112, 92, 0.24);
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 0 0 clamp(6rem, 15vh, 10rem);
  transform: scaleX(0);
  transform-origin: left center;
}

.praxis-panel:nth-child(2) {
  background: rgba(9, 16, 16, 0.82);
  transition-delay: 0.035s;
}

.praxis-panel:nth-child(3) {
  border-right: 0;
  transition-delay: 0.07s;
}

.praxis-panel span {
  color: #ff705c;
  display: block;
  font-size: clamp(1.15rem, 2.4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.05;
  opacity: 0;
  padding: 0 1.2rem;
  text-shadow:
    0 0 8px rgba(255, 112, 92, 0.42),
    0 0 30px rgba(255, 112, 92, 0.22);
  text-transform: uppercase;
  transform: translateY(0.8rem);
  transition: opacity 0.12s ease-out, transform 0.16s ease-out;
  white-space: normal;
}

.praxis-panel,
.praxis-panel span {
  transition-duration: 0.16s;
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media screen and (min-width: 737px) {
  body.praxis-active .praxis-reveal,
  body:has(.praxis-trigger:hover) .praxis-reveal,
  body:has(.praxis-trigger:focus-visible) .praxis-reveal {
    opacity: 1;
    transform: translateY(0);
  }

  body.praxis-active .praxis-panel,
  body:has(.praxis-trigger:hover) .praxis-panel,
  body:has(.praxis-trigger:focus-visible) .praxis-panel {
    transform: scaleX(1);
  }

  body.praxis-active .praxis-panel span,
  body:has(.praxis-trigger:hover) .praxis-panel span,
  body:has(.praxis-trigger:focus-visible) .praxis-panel span {
    opacity: 1;
    transform: translateY(0);
  }
}

#header nav li:nth-child(1) {
  animation-delay: 0.75s;
}

#header nav li:nth-child(2) {
  animation-delay: 0.85s;
}

#header nav li:nth-child(3) {
  animation-delay: 0.95s;
}

#header nav li:nth-child(4) {
  animation-delay: 1.05s;
}

#header nav li:nth-child(5) {
  animation-delay: 1.15s;
}

#content {
  animation: header 0.75s 0.55s forwards;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(6, 10, 10, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow:
    0 1.5rem 4rem rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.7vw, 1.08rem);
  line-height: 1.8;
  margin: 2rem auto 0;
  max-width: 880px;
  opacity: 0;
  padding: clamp(1.35rem, 3vw, 2.6rem);
  position: relative;
  text-align: left;
  width: min(92vw, 880px);
}

@supports (backdrop-filter: blur(18px)) {
  #content {
    backdrop-filter: blur(24px) saturate(1.12);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025)),
      rgba(6, 10, 10, 0.28);
  }
}

@supports (-webkit-backdrop-filter: blur(18px)) {
  #content {
    -webkit-backdrop-filter: blur(24px) saturate(1.12);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025)),
      rgba(6, 10, 10, 0.28);
  }
}

body.home #content {
  margin-top: clamp(3rem, 10vh, 7rem);
  max-width: 820px;
}

#content:empty {
  display: none;
}

body.home #content:not(:has(*)) {
  display: none;
}

#content a {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.42);
}

#content a:hover {
  border-bottom-color: transparent;
}

#content h1,
#content h2,
#content h3,
#content h4 {
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 1.55em 0 0.55em;
}

#content h1:first-child,
#content h2:first-child,
#content h3:first-child {
  margin-top: 0;
}

#content h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

#content h2 {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

#content h3 {
  font-size: 1.2rem;
}

#content p,
#content ul,
#content ol,
#content blockquote,
#content pre {
  margin: 0 0 1rem;
}

#content ul,
#content ol {
  padding-left: 1.35rem;
}

#content ul {
  list-style: disc;
}

#content ol {
  list-style: decimal;
}

#content li {
  padding-left: 0.15rem;
}

#content strong {
  color: #fff;
  font-weight: 900;
}

#content blockquote {
  border-left: 3px solid rgba(255, 255, 255, 0.72);
  color: rgba(255, 255, 255, 0.86);
  font-style: italic;
  padding-left: 1rem;
}

#content code {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  color: #fff;
  font-family: "SF Mono", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  padding: 0.1em 0.35em;
}

#content pre {
  background: rgba(0, 0, 0, 0.38);
  border-radius: 6px;
  overflow-x: auto;
  padding: 1rem;
}

#content pre code {
  background: transparent;
  padding: 0;
}

.intro {
  margin-bottom: 2rem;
}

.recent-posts,
.section-intro,
.post-content {
  color: rgba(255, 255, 255, 0.88);
}

.recent-posts {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.post-preview,
.post-row {
  margin-bottom: 1.45rem;
}

.post-preview:last-child,
.post-row:last-child {
  margin-bottom: 0;
}

.post-preview h3,
.post-row h2 {
  margin-bottom: 0.2rem;
}

.meta,
.section-desc,
.summary,
.empty,
.more,
.page-number {
  color: rgba(255, 255, 255, 0.68);
}

.post-list {
  list-style: none !important;
  padding-left: 0 !important;
}

.post-list li {
  padding-left: 0 !important;
}

.work-board {
  display: grid;
  gap: clamp(0.75rem, 1.6vw, 1.15rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.work-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(4, 6, 7, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 14rem;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.35rem);
  position: relative;
  text-decoration: none;
  transform: translateY(0);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.work-card:before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: absolute;
}

.work-card:hover,
.work-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.44);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.34);
  transform: translateY(-0.18rem);
}

.work-card-index,
.work-card-body {
  position: relative;
  z-index: 1;
}

.work-card-index {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  padding-top: 0.25rem;
}

.work-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.work-card strong {
  color: #fff;
  display: block;
  font-size: clamp(1.3rem, 2.3vw, 2.05rem);
  font-weight: 900;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.work-card-meta {
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.work-card-summary {
  color: rgba(255, 255, 255, 0.76);
  display: block;
  font-size: 0.98rem;
  line-height: 1.58;
  margin-top: 1.05rem;
}

.work-card-link {
  color: #ffb69f;
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-top: auto;
  padding-top: 1.4rem;
  text-transform: uppercase;
}

.section-header,
.post-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none !important;
  padding-left: 0 !important;
}

.tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-right: 0.3rem;
  padding: 0.12rem 0.55rem;
}

body.hypersensing-page #content {
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: 1180px;
  padding: clamp(1rem, 2.6vw, 2rem) 0 0;
  width: min(94vw, 1180px);
}

body.hypersensing-page #bg {
  background: #e8e0d2 url("/assets/images/precausal-reflecting-pool-bg.webp") center center / cover no-repeat fixed !important;
}

body.line-latent-morphogenesis #bg {
  background: #e8e0d2 url("/assets/images/latent-slope-option-a-incised-bg.webp") center center / cover no-repeat fixed !important;
}

body.line-spectral-fabulation #bg {
  background: #e8e0d2 url("/assets/images/spectral-garment-bg.webp") center center / cover no-repeat fixed !important;
}

body.hypersensing-page #overlay {
  background:
    linear-gradient(90deg, rgba(5, 9, 10, 0.68) 0%, rgba(5, 9, 10, 0.42) 48%, rgba(5, 9, 10, 0.18) 100%),
    rgba(4, 8, 8, 0.16) !important;
}

body.hypersensing-page #content:before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  position: absolute;
}

.hs-atlas {
  position: relative;
  z-index: 1;
}

.hs-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: minmax(16rem, 0.92fr) minmax(18rem, 1.08fr);
  margin-bottom: clamp(1.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 4vw, 3.4rem);
}

.hs-kicker {
  color: rgba(255, 112, 92, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.3;
  margin: 0 0 0.9rem;
  text-shadow: 0 0 18px rgba(255, 112, 92, 0.24);
  text-transform: uppercase;
}

.hs-hero h1 {
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  margin: 0;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.48),
    0 0 34px rgba(255, 112, 92, 0.18);
}

.hs-copy {
  align-self: end;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.72;
  max-width: 42rem;
}

.hs-copy p:first-child {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
  text-shadow: 0 0 24px rgba(255, 112, 92, 0.16);
}

.hs-board {
  display: grid;
  gap: clamp(0.9rem, 1.6vw, 1.2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hs-board.is-empty {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(6, 10, 10, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1.1rem 3.4rem rgba(0, 0, 0, 0.18);
  min-height: clamp(12rem, 22vw, 18rem);
}

@supports (backdrop-filter: blur(18px)) {
  .hs-board.is-empty {
    backdrop-filter: blur(18px) saturate(1.08);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
      rgba(6, 10, 10, 0.14);
  }
}

.hs-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  display: grid;
  min-height: clamp(16rem, 28vw, 24rem);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transform: translateY(0);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.hs-card:before {
  background:
    linear-gradient(180deg, rgba(5, 10, 14, 0.16) 0%, rgba(5, 10, 14, 0.78) 100%),
    linear-gradient(90deg, rgba(255, 112, 92, 0.18), rgba(65, 210, 255, 0.12));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hs-card-bg {
  background: #101818 url("/assets/images/bg.webp") center center / cover no-repeat;
  filter: saturate(0.95);
  inset: 0;
  opacity: 0.82;
  position: absolute;
  transform: scale(1.04);
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.hs-card-1 .hs-card-bg {
  background-image: url("/assets/praxis/penumbra-bg.webp");
}

.hs-card-2 .hs-card-bg {
  background-image: url("/assets/praxis/nucleation-bg.webp");
}

.hs-card-3 .hs-card-bg {
  background-image: url("/assets/praxis/fibreloom-bg.webp");
}

.hs-card-body {
  align-self: end;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.45rem);
  position: relative;
  z-index: 2;
}

.hs-card-index {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 0.6rem;
}

.hs-card strong {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1.02;
  overflow-wrap: anywhere;
  text-shadow: 0 0 22px rgba(0, 0, 0, 0.42);
}

.hs-card-desc {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 0.75rem;
}

.hs-card-link {
  color: #ffb69f;
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-top: 1.2rem;
  text-transform: uppercase;
}

.hs-board:hover .hs-card:not(:hover) {
  opacity: 0.48;
}

.hs-card:hover,
.hs-card:focus-visible {
  border-color: rgba(255, 180, 142, 0.72);
  box-shadow:
    0 1.5rem 4rem rgba(0, 0, 0, 0.38),
    0 0 30px rgba(255, 112, 92, 0.14);
  transform: translateY(-0.28rem);
}

.hs-card:hover .hs-card-bg,
.hs-card:focus-visible .hs-card-bg {
  filter: saturate(1.14) contrast(1.04);
  opacity: 1;
  transform: scale(1.015);
}

.post-nav,
.pagination {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1rem;
}

.newer {
  margin-right: auto;
}

.older {
  margin-left: auto;
}

#footer {
  background-image: none;
  bottom: auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  height: auto;
  left: auto;
  line-height: 1.5;
  margin-top: auto;
  padding: 3rem 1rem 0;
  position: relative;
}

#footer a {
  color: rgba(255, 255, 255, 0.72);
}

@media screen and (max-width: 736px) {
  #main {
    padding: 2.4rem 1rem 4rem;
  }

  body.about-page #bg {
    background: #10100e url("/assets/images/cave-shadow-apparatus-bg-portrait.webp") center center / cover no-repeat !important;
  }

  body.about-page #overlay {
    background:
      linear-gradient(180deg, rgba(3, 4, 4, 0.54) 0%, rgba(3, 4, 4, 0.32) 42%, rgba(3, 4, 4, 0.72) 100%),
      rgba(4, 8, 8, 0.18) !important;
  }

  body.work-page #bg {
    background: #050606 url("/assets/images/brutalist-sdf-contour-bg-portrait.webp") center center / cover no-repeat !important;
  }

  body.work-page #overlay {
    background:
      linear-gradient(180deg, rgba(2, 3, 3, 0.46) 0%, rgba(2, 3, 3, 0.3) 44%, rgba(2, 3, 3, 0.72) 100%),
      rgba(2, 4, 5, 0.16) !important;
  }

  body.contact-page #bg {
    background: #010202 url("/assets/images/contact-bg-portrait.webp") center center / cover no-repeat !important;
  }

  body.contact-page #overlay {
    background:
      radial-gradient(circle at 50% 49%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 18%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.72) 100%),
      rgba(0, 0, 0, 0.14) !important;
  }

  body.home #main {
    padding-top: 0;
  }

  body.home #header {
    min-height: 100vh;
    padding-bottom: clamp(7rem, 18vh, 10rem);
  }

  #header h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  #header nav {
    padding: 0;
  }

  body.home #header nav {
    margin-top: clamp(2.2rem, 6vh, 3.4rem);
  }

  #header nav ul {
    display: grid;
    gap: 0.15rem 0.45rem;
    grid-template-areas:
      ". home ."
      "about praxis experience"
      ". contact .";
    grid-template-columns: repeat(3, 5.55em);
    grid-template-rows: repeat(3, 5.35em);
    justify-content: center;
  }

  #header nav li {
    height: 5.35em;
    line-height: 1;
    width: 5.55em;
  }

  #header nav li:nth-child(1) {
    grid-area: home;
  }

  #header nav li:nth-child(2) {
    grid-area: about;
  }

  #header nav li:nth-child(3) {
    grid-area: praxis;
  }

  #header nav li:nth-child(4) {
    grid-area: experience;
  }

  #header nav li:nth-child(5) {
    grid-area: contact;
  }

  #header nav .nav-mark {
    height: 3.75rem;
    width: 3.75rem;
  }

  #header nav .nav-praxis .nav-mark:before {
    height: 2.3rem;
    width: 2.3rem;
  }

  #header nav a .label {
    font-size: 0.46rem;
    letter-spacing: 0.08em;
    margin-top: 0.58rem;
  }

  .praxis-reveal {
    display: none;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
  }

  .praxis-panel {
    border-bottom: 1px solid rgba(255, 112, 92, 0.24);
    border-right: 0;
    transform: scaleY(0);
    transform-origin: center top;
  }

  .praxis-panel:nth-child(3) {
    border-bottom: 0;
  }

  .praxis-panel span {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .praxis-stage {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
  }

  .praxis-column {
    align-items: center;
    border-bottom: 1px solid rgba(255, 112, 92, 0.24);
    border-right: 0;
    justify-content: flex-end;
    padding: clamp(2.4rem, 8vh, 4rem) clamp(1.1rem, 5vw, 2rem) 0 46vw;
    text-align: right;
  }

  .praxis-column:nth-child(1) {
    background-image: url("/assets/images/precausal-reflecting-pool-bg-portrait.webp");
    background-position: center 54%;
  }

  .praxis-column:nth-child(2) {
    background-image: url("/assets/images/latent-slope-option-a-incised-bg-portrait.webp");
    background-position: center 62%;
  }

  .praxis-column:nth-child(3) {
    background-image: url("/assets/images/spectral-garment-bg-portrait.webp");
    background-position: center 58%;
  }

  .praxis-column:last-child {
    border-bottom: 0;
  }

  .praxis-column span {
    font-size: clamp(1.05rem, 5.8vw, 1.7rem);
    line-height: 1;
    max-width: min(48vw, 13rem);
  }

  body.hypersensing-page #content {
    margin-top: 0.6rem;
    padding: 0.85rem 0 2.6rem;
    width: min(92vw, 34rem);
  }

  body.hypersensing-page #bg {
    background: #e8e0d2 url("/assets/images/precausal-reflecting-pool-bg-portrait.webp") center center / cover no-repeat !important;
  }

  body.line-latent-morphogenesis #bg {
    background: #e8e0d2 url("/assets/images/latent-slope-option-a-incised-bg-portrait.webp") center center / cover no-repeat !important;
  }

  body.line-spectral-fabulation #bg {
    background: #e8e0d2 url("/assets/images/spectral-garment-bg-portrait.webp") center center / cover no-repeat !important;
  }

  body.hypersensing-page #overlay {
    background:
      linear-gradient(180deg, rgba(5, 9, 10, 0.56) 0%, rgba(5, 9, 10, 0.34) 46%, rgba(5, 9, 10, 0.62) 100%),
      rgba(4, 8, 8, 0.12) !important;
  }

  body.hypersensing-page #content:before {
    background-size: 42px 42px;
    opacity: 0.12;
  }

  .hs-hero {
    border-bottom: 0;
    display: block;
    margin-bottom: 0.85rem;
    padding-bottom: 0.2rem;
  }

  .hs-kicker {
    font-size: 0.68rem;
    margin-bottom: 0.7rem;
  }

  .hs-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.1rem);
    margin-bottom: 0.85rem;
  }

  .hs-copy {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hs-copy p:first-child {
    font-size: clamp(1.15rem, 5.4vw, 1.45rem);
    margin-bottom: 0.75rem;
  }

  .hs-board {
    gap: 0.72rem;
    grid-template-columns: 1fr;
    margin-top: 1.05rem;
  }

  .hs-board.is-empty {
    min-height: 8.5rem;
  }

  .hs-card {
    background: rgba(8, 12, 15, 0.72);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0.85rem 2.2rem rgba(0, 0, 0, 0.22);
    min-height: 9.8rem;
  }

  .hs-card:before {
    background:
      linear-gradient(90deg, rgba(6, 9, 12, 0.94) 0%, rgba(6, 9, 12, 0.78) 55%, rgba(6, 9, 12, 0.26) 100%),
      linear-gradient(180deg, rgba(255, 132, 104, 0.12), rgba(64, 196, 255, 0.08));
  }

  .hs-card:after {
    background: #ff705c;
    border-radius: 999px;
    content: "";
    inset: 0.95rem auto 0.95rem 0;
    position: absolute;
    width: 0.2rem;
    z-index: 2;
  }

  .hs-card-2:after {
    background: #7fdfff;
  }

  .hs-card-3:after {
    background: #ffb37a;
  }

  .hs-card-bg {
    background-position: center center;
    left: auto;
    opacity: 0.58;
    right: 0;
    transform: scale(1.02);
    width: 52%;
  }

  .hs-card-1 .hs-card-bg {
    background-image: url("/assets/praxis/penumbra-bg-mobile.webp");
  }

  .hs-card-2 .hs-card-bg {
    background-image: url("/assets/praxis/nucleation-bg-mobile.webp");
  }

  .hs-card-3 .hs-card-bg {
    background-image: url("/assets/praxis/fibreloom-bg-mobile.webp");
  }

  .hs-card-body {
    align-self: stretch;
    justify-content: space-between;
    max-width: 72%;
    padding: 1rem 1rem 1rem 1.12rem;
  }

  .hs-card-index {
    font-size: 0.68rem;
    margin-bottom: 0.55rem;
  }

  .hs-card strong {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
    line-height: 1.02;
  }

  .hs-card-link {
    font-size: 0.68rem;
    margin-top: 0.9rem;
  }

  .work-board {
    gap: 0.72rem;
    grid-template-columns: 1fr;
    margin-top: 1.1rem;
  }

  .work-card {
    min-height: 11.2rem;
    padding: 1rem;
  }

  .work-card strong {
    font-size: clamp(1.18rem, 6vw, 1.55rem);
  }

  .work-card-summary {
    font-size: 0.92rem;
    line-height: 1.48;
  }

  #content {
    margin-top: 1.5rem;
    padding: 1.25rem;
    width: min(94vw, 880px);
  }

  body.home #content {
    margin-top: 2.5rem;
  }

  .post-nav,
  .pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .older,
  .newer {
    margin-left: 0;
    margin-right: 0;
  }
}
