:root {
  --ink: #e7e4dc;
  --muted: #92918a;
  --dim: #5e605d;
  --night: #11110f;
  --surface: #191a17;
  --line: #30312d;
  --acid: #d7ee6b;
  --warm: #f0a36b;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Space Grotesk", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  font: inherit;
}
.site-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5vw;
  overflow: hidden;
}
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
  animation: appear 0.8s ease both;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.wordmark-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 12px;
}
.wordmark-dot {
  color: var(--acid);
}
.topbar-center {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(215, 238, 107, 0.1);
  animation: breathe 2.8s ease-in-out infinite;
}
.topnav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.topnav a,
.text-link,
.footer a {
  transition: color 0.2s ease;
}
.topnav a:hover,
.text-link:hover,
.footer a:hover {
  color: var(--acid);
}
.nav-key,
.shortcut {
  margin-left: 4px;
  padding: 3px 5px;
  border: 1px solid var(--line);
  color: var(--dim);
  font-size: 9px;
}
.section-frame {
  border-bottom: 1px solid var(--line);
}
.intro {
  position: relative;
  display: grid;
  grid-template-columns: 18% minmax(0, 1fr) 20%;
  min-height: 610px;
  padding: 120px 0 105px;
}
.intro-index,
.notes-marker {
  color: var(--dim);
  text-transform: uppercase;
}
.intro-copy {
  max-width: 780px;
  animation: rise 0.9s 0.12s ease both;
}
.kicker {
  margin: 0 0 26px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1 {
  max-width: 820px;
  margin-bottom: 32px;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7.5vw, 7.6rem);
  line-height: 0.91;
  letter-spacing: -0.045em;
}
h1 em,
h2 em,
h3 em {
  color: var(--acid);
  font-style: italic;
}
.intro-description {
  max-width: 440px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.intro-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
}
.text-link span {
  transition: transform 0.25s ease;
}
.text-link:hover span {
  transform: translate(3px, -3px);
}
.text-link-accent {
  color: var(--ink);
}
.intro-scribble {
  align-self: end;
  padding-bottom: 23px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  transform: rotate(-4deg);
  animation: rise 0.9s 0.35s ease both;
}
.intro-scribble strong {
  display: block;
  margin-top: 8px;
  color: var(--warm);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 0.95;
}
.intro-scribble i {
  display: block;
  width: 56px;
  height: 15px;
  margin: 17px 0 0 17px;
  border-bottom: 1px solid var(--warm);
  border-radius: 50%;
  transform: rotate(-10deg);
}
.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.signal-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 27px 24px 30px 0;
}
.signal-item + .signal-item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.signal-label {
  color: var(--dim);
  text-transform: uppercase;
}
.signal-item strong {
  font-size: 13px;
  font-weight: 500;
}
.work {
  padding: 122px 0 138px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 78px;
}
h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.section-aside {
  max-width: 280px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.work-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: start;
}
.project-list {
  border-top: 1px solid var(--line);
}
.project-tab {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 84px;
  padding: 0 0 0 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.project-tab:hover,
.project-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  border-left-color: var(--acid);
}
.project-number,
.project-tab-type {
  color: var(--dim);
}
.project-tab-name {
  font-size: 15px;
  font-weight: 500;
}
.project-tab-type {
  font-size: 10px;
}
.project-detail {
  background: var(--surface);
}
.project-visual {
  position: relative;
  height: 390px;
  overflow: hidden;
}
.project-visual-image {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.signal-visual {
  padding: 24px;
  background: #232b22;
  color: var(--acid);
}
.signal-visual-top,
.signal-visual-bottom {
  display: flex;
  justify-content: space-between;
  color: rgba(231, 228, 220, 0.48);
  font-size: 9px;
}
.signal-visual-line {
  position: absolute;
  top: 57%;
  right: 0;
  left: 0;
  border-top: 1px solid rgba(215, 238, 107, 0.3);
}
.signal-visual-readout {
  position: absolute;
  top: 42%;
  left: 12%;
  display: flex;
  align-items: baseline;
}
.readout-value {
  font-family: var(--serif);
  font-size: 116px;
  line-height: 0.8;
  letter-spacing: -0.06em;
}
.readout-unit {
  font-family: var(--mono);
  font-size: 13px;
}
.signal-visual-bottom {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
}
.signal-wave {
  position: absolute;
  right: -10%;
  bottom: 2%;
  width: 120%;
  height: 48%;
  border: 1px solid rgba(215, 238, 107, 0.25);
  border-color: transparent transparent rgba(215, 238, 107, 0.3) transparent;
  border-radius: 50%;
  transform: rotate(-7deg);
}
.signal-wave-two {
  bottom: -11%;
  transform: rotate(7deg);
  opacity: 0.45;
}
.visual-soft {
  padding: 20px;
  background: #c9b9a0;
  color: #2d2b28;
}
.soft-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(45, 43, 40, 0.62);
}
.soft-window-bar i {
  width: 7px;
  height: 7px;
  border: 1px solid #2d2b28;
  border-radius: 50%;
}
.soft-window-bar span {
  margin-left: 10px;
  font-size: 9px;
}
.soft-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 86%;
  padding-left: 12%;
}
.soft-content > span:first-child {
  margin-bottom: 18px;
  color: rgba(45, 43, 40, 0.6);
  font-size: 10px;
}
.soft-content strong {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.05em;
}
.soft-content em {
  color: #8b5a4b;
  font-style: italic;
}
.soft-stroke {
  width: 120px;
  height: 30px;
  margin: 26px 0 0 30%;
  border-bottom: 1px solid #8b5a4b;
  border-radius: 50%;
  transform: rotate(-8deg);
}
.visual-weather {
  padding: 30px;
  background: #8aa6a7;
  color: #f3f1e8;
}
.weather-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.weather-sun {
  position: absolute;
  top: 20%;
  right: 16%;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #f1cf85;
}
.weather-cloud {
  position: absolute;
  width: 210px;
  height: 34px;
  border-radius: 50px;
  background: rgba(243, 241, 232, 0.78);
}
.cloud-one {
  top: 31%;
  left: 10%;
}
.cloud-two {
  top: 57%;
  right: -6%;
  transform: scale(0.62);
  opacity: 0.58;
}
.weather-readout {
  position: absolute;
  bottom: 28px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.weather-readout .mono {
  color: rgba(243, 241, 232, 0.72);
}
.weather-readout strong {
  font-family: var(--serif);
  font-size: 106px;
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.06em;
}
.weather-readout span:last-child {
  font-size: 13px;
}
.project-info {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  padding: 28px 30px 30px;
}
.project-meta {
  margin-bottom: 11px;
  color: var(--acid);
  text-transform: uppercase;
}
.project-info h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
}
.project-info > p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.project-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--dim);
}
.project-footer .text-link {
  color: var(--ink);
}
.notes {
  display: grid;
  grid-template-columns: 18% 1fr;
  min-height: 590px;
  padding: 120px 0;
}
.notes-content {
  max-width: 840px;
}
.notes-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.notes-arrow {
  padding: 0 11% 12px 0;
  color: var(--warm);
  font-size: 45px;
}
.notes-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 610px;
  margin: 68px 0 0 23%;
}
.notes-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.notes-copy .text-link {
  align-self: start;
  margin-top: 8px;
}
.contact {
  padding: 100px 0 115px;
}
.contact-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  text-transform: uppercase;
}
.contact-main {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 52px;
}
.contact-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.contact-all {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 13px;
}
.contact-all span {
  margin-left: 16px;
}
.footer {
  display: flex;
  justify-content: space-between;
  padding: 26px 0 34px;
  color: var(--dim);
}
.footer a {
  color: var(--muted);
}
.command-dialog[hidden] {
  display: none;
}
.command-dialog {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: start center;
  padding-top: 18vh;
}
.command-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.command-panel {
  position: relative;
  width: min(430px, calc(100% - 32px));
  border: 1px solid var(--line);
  background: #1a1b18;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
  animation: rise 0.25s ease both;
}
.command-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--acid);
  text-transform: uppercase;
}
.icon-button {
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  cursor: pointer;
}
.command-options {
  display: grid;
  padding: 8px;
}
.command-options a {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  color: var(--muted);
  font-size: 14px;
}
.command-options a:hover,
.command-options a:focus-visible {
  background: var(--surface);
  color: var(--ink);
  outline: none;
}
.command-options span {
  color: var(--acid);
}
.command-options kbd {
  border: 1px solid var(--line);
  padding: 3px 6px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
}
:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}
@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes breathe {
  50% {
    box-shadow: 0 0 0 7px rgba(215, 238, 107, 0);
  }
}
@media (max-width: 760px) {
  .site-shell {
    padding: 0 22px;
  }
  .topbar {
    min-height: 74px;
  }
  .topbar-center {
    display: none;
  }
  .topnav {
    gap: 16px;
    font-size: 10px;
  }
  .nav-key {
    display: none;
  }
  .intro {
    display: block;
    min-height: auto;
    padding: 85px 0 88px;
  }
  .intro-index {
    margin-bottom: 56px;
  }
  .intro-scribble {
    margin-top: 58px;
    padding-bottom: 0;
  }
  .signal-strip {
    grid-template-columns: 1fr;
  }
  .signal-item,
  .signal-item + .signal-item {
    padding: 18px 0;
    border-left: 0;
  }
  .signal-item + .signal-item {
    border-top: 1px solid var(--line);
  }
  .work {
    padding: 86px 0 95px;
  }
  .section-heading {
    display: block;
    margin-bottom: 48px;
  }
  .section-aside {
    margin-top: 28px;
  }
  .work-layout {
    display: block;
  }
  .project-list {
    margin-bottom: 26px;
  }
  .project-tab {
    min-height: 69px;
  }
  .project-tab-type {
    font-size: 9px;
  }
  .project-visual {
    height: 280px;
  }
  .readout-value {
    font-size: 86px;
  }
  .project-info {
    display: block;
    padding: 24px 21px 25px;
  }
  .project-info > p {
    margin: 21px 0;
  }
  .project-footer {
    display: flex;
    gap: 16px;
  }
  .project-footer > span {
    max-width: 52%;
    line-height: 1.4;
  }
  .notes {
    display: block;
    min-height: auto;
    padding: 86px 0 96px;
  }
  .notes-marker {
    margin-bottom: 52px;
  }
  .notes-arrow {
    padding: 0 5% 8px 0;
    font-size: 32px;
  }
  .notes-copy {
    display: block;
    margin: 44px 0 0;
  }
  .notes-copy .text-link {
    margin-top: 25px;
  }
  .contact {
    padding: 74px 0 88px;
  }
  .contact-meta {
    display: block;
    line-height: 2;
  }
  .contact-meta span {
    display: block;
  }
  .contact-main {
    display: block;
    padding-top: 40px;
  }
  .contact-all {
    display: inline-block;
    margin-top: 35px;
  }
  .footer {
    gap: 18px;
    line-height: 1.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
