:root {
  --ink: #121310;
  --ink-soft: #24251f;
  --muted: #74766d;
  --line: #deded4;
  --paper: #f6f6ef;
  --canvas: #eeeee5;
  --white: #ffffff;
  --green: #24d67a;
  --green-soft: #dcffe9;
  --shadow: 0 34px 100px rgba(18, 19, 16, 0.12);
  --shadow-tight: 0 16px 40px rgba(18, 19, 16, 0.1);
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(18, 19, 16, 0.025) 1px, transparent 1px) 0 0 / 100% 42px,
    var(--paper);
  color: var(--ink);
  font-family:
    "Avenir Next", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

img {
  max-width: 100%;
}

body.is-case-open {
  background: var(--white);
}

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(246, 246, 239, 0.88);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 64px;
  padding: 14px clamp(20px, 4vw, 58px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 11px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.tabs {
  align-items: center;
  display: flex;
  gap: 4px;
}

.tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  min-width: 78px;
  padding: 8px 14px;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.tab:hover,
.tab:focus-visible {
  border-color: var(--line);
  color: var(--ink);
  outline: none;
}

.tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

body.is-case-open .tab-panel {
  display: none;
}

.section-screen {
  min-height: calc(100dvh - 64px);
  padding: clamp(42px, 6vw, 76px) clamp(20px, 5vw, 72px);
}

.hero {
  align-content: center;
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.38fr);
  position: relative;
}

.hero-copy {
  max-width: 890px;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(48px, 7.7vw, 104px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 880px;
}

.hero-intro {
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.72;
  max-width: 680px;
}

.hero-card {
  align-self: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-tight);
  display: grid;
  gap: 14px;
  padding: 22px;
  position: relative;
}

.hero-card::before {
  background: var(--green);
  border-radius: 999px;
  content: "";
  height: 6px;
  left: 22px;
  position: absolute;
  right: 22px;
  top: -3px;
}

.hero-card div {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 8px;
}

.hero-card strong {
  font-size: 34px;
  letter-spacing: 0;
}

.hero-card span:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.status-dot {
  background: var(--green);
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.skill-cloud {
  bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  left: clamp(20px, 5vw, 72px);
  position: absolute;
}

.skill-cloud span,
.mini-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.48);
  display: inline-flex;
  font-size: 13px;
  padding: 9px 13px;
}

.work-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: clamp(28px, 5vw, 56px);
}

.work-heading {
  display: block;
  max-width: 860px;
}

.work-heading p:last-child {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 0;
  margin-top: 18px;
  max-width: 620px;
}

h2 {
  font-size: clamp(40px, 7vw, 88px);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 0;
}

.project-grid {
  display: grid;
  gap: clamp(18px, 2.5vw, 32px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  isolation: isolate;
  min-height: 390px;
  overflow: hidden;
  position: relative;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.project-card::before {
  content: "";
  inset: 0;
  opacity: 1;
  position: absolute;
  z-index: 0;
}

.project-card::after {
  background: var(--green);
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleX(0.12);
  transform-origin: left;
  transition: transform 220ms ease;
  width: 100%;
  z-index: 2;
}

.theme-green::before {
  background: linear-gradient(135deg, rgba(36, 214, 122, 0.22), transparent 48%);
}

.theme-cyan::before {
  background: linear-gradient(135deg, rgba(36, 214, 122, 0.16), transparent 48%);
}

.theme-rose::before {
  background: linear-gradient(135deg, rgba(36, 214, 122, 0.12), transparent 48%);
}

.theme-sand::before {
  background: linear-gradient(135deg, rgba(36, 214, 122, 0.1), transparent 48%);
}

.project-card:hover,
.project-card:focus-within {
  border-color: rgba(23, 23, 23, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.project-card:hover::after,
.project-card:focus-within::after {
  transform: scaleX(1);
}

.project-trigger {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: grid;
  gap: clamp(18px, 2.6vw, 34px);
  grid-template-columns: minmax(210px, 0.78fr) minmax(240px, 1fr);
  min-height: 390px;
  padding: clamp(22px, 3vw, 34px);
  position: relative;
  text-align: left;
  width: 100%;
  z-index: 1;
}

.project-trigger:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.project-index {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  left: clamp(22px, 3vw, 34px);
  position: absolute;
  top: clamp(22px, 3vw, 34px);
}

.project-copy {
  align-self: center;
  display: grid;
  gap: 14px;
  padding-top: 44px;
}

.project-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-copy strong {
  font-size: clamp(30px, 3.4vw, 48px);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.project-copy em {
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 17px);
  font-style: normal;
  line-height: 1.72;
}

.project-cover {
  align-self: stretch;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.22)),
    linear-gradient(0deg, rgba(18, 19, 16, 0.045) 1px, transparent 1px) 0 0 / 100% 26px,
    rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 8px;
  display: block;
  min-height: 286px;
  overflow: hidden;
  position: relative;
  transition: transform 180ms ease;
}

.project-cover::after {
  border-bottom: 1px solid rgba(18, 19, 16, 0.08);
  border-top: 1px solid rgba(18, 19, 16, 0.08);
  content: "";
  inset: 16px;
  pointer-events: none;
  position: absolute;
}

.project-card:hover .project-cover,
.project-card:focus-within .project-cover {
  transform: translateY(-3px);
}

.cover-title {
  bottom: 20px;
  color: rgba(23, 23, 23, 0.13);
  font-size: clamp(42px, 5.5vw, 74px);
  font-weight: 900;
  left: 18px;
  line-height: 0.86;
  position: absolute;
}

.answer-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 8px;
  height: 78px;
  position: absolute;
  right: 22px;
  top: 90px;
  width: 58%;
}

.answer-card::before,
.answer-card::after {
  background: rgba(23, 23, 23, 0.12);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 14px;
  position: absolute;
}

.answer-card::before {
  top: 18px;
  width: 72%;
}

.answer-card::after {
  top: 38px;
  width: 48%;
}

.answer-card.primary {
  background: var(--ink);
  left: 24px;
  right: auto;
  top: 28px;
  width: 62%;
}

.answer-card.primary::before,
.answer-card.primary::after {
  background: rgba(255, 255, 255, 0.28);
}

.answer-card.short {
  bottom: 28px;
  left: 44%;
  top: auto;
  width: 42%;
}

.cover-recorder {
  align-items: center;
  display: flex;
  justify-content: center;
}

.record-ring {
  border: 1px solid rgba(23, 23, 23, 0.18);
  border-radius: 50%;
  height: 170px;
  position: absolute;
  width: 170px;
}

.record-dot {
  background: var(--green);
  border-radius: 50%;
  height: 72px;
  position: absolute;
  width: 72px;
}

.wave {
  background: rgba(18, 19, 16, 0.18);
  border-radius: 999px;
  bottom: 48px;
  height: 58px;
  position: absolute;
  width: 10px;
}

.wave.one {
  left: 28%;
}

.wave.two {
  height: 104px;
  left: 48%;
}

.wave.three {
  height: 82px;
  right: 28%;
}

.cover-system {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px;
}

.cover-system span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 8px;
}

.cover-system span:nth-child(3n + 1) {
  background: var(--ink);
}

.cover-system span:nth-child(4n) {
  background: var(--green-soft);
}

.cover-map {
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(23, 23, 23, 0.09) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(23, 23, 23, 0.09) 50%, transparent 50.5%),
    rgba(255, 255, 255, 0.4);
}

.map-node {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 50%;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 74px;
  justify-content: center;
  position: absolute;
  width: 74px;
}

.map-node.a {
  left: 18%;
  top: 18%;
}

.map-node.b {
  right: 18%;
  top: 22%;
}

.map-node.c {
  bottom: 18%;
  left: 28%;
}

.map-node.d {
  bottom: 20%;
  right: 22%;
}

.project-arrow {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  position: absolute;
  right: clamp(22px, 3vw, 34px);
  top: clamp(22px, 3vw, 34px);
  width: 42px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.project-card:hover .project-arrow,
.project-card:focus-within .project-arrow {
  background: var(--green);
  color: var(--ink);
  transform: rotate(8deg);
}

.page-band {
  padding: clamp(48px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.profile-layout {
  display: grid;
  gap: clamp(34px, 7vw, 92px);
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
}

.profile-aside {
  align-self: start;
  position: sticky;
  top: 110px;
}

.profile-aside h3 {
  font-size: 38px;
  margin-bottom: 10px;
}

.profile-aside p {
  color: var(--muted);
  line-height: 1.7;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

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

.timeline-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 34px 0;
}

.timeline-item time {
  color: var(--muted);
  font-size: 14px;
}

.timeline-item h3 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  margin-bottom: 10px;
}

.role {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 14px;
}

.timeline-item p:not(.role) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 820px;
}

.contact {
  align-content: center;
  display: grid;
}

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-link,
.contact-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 42px);
}

.contact-link {
  display: grid;
  gap: 18px;
  min-height: 240px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.contact-link:hover {
  background: var(--green);
  color: var(--ink);
  transform: translateY(-3px);
}

.contact-link span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-link strong {
  align-self: end;
  font-size: clamp(24px, 4vw, 52px);
  line-height: 1;
  word-break: break-word;
}

.contact-note {
  background: var(--ink);
  color: var(--white);
  grid-column: 1 / -1;
}

.contact-note p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 2.5vw, 30px);
  line-height: 1.55;
  max-width: 980px;
}

.contact-note p:first-child {
  color: var(--white);
}

.case-study {
  --case-pad: clamp(20px, 5vw, 72px);
  background: var(--white);
  display: none;
  margin: 0 auto;
  max-width: none;
  padding: clamp(26px, 4vw, 56px) 0 clamp(64px, 9vw, 120px);
}

body.is-case-open .case-study {
  display: block;
}

.back-button {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  margin-bottom: clamp(34px, 5vw, 64px);
  margin-left: var(--case-pad);
  padding: 11px 16px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.back-button:hover,
.back-button:focus-visible {
  background: var(--green);
  outline: none;
  transform: translateX(-2px);
}

.case-panel {
  display: none;
}

.case-panel.is-active {
  display: block;
}

.case-hero {
  align-items: start;
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: 1fr;
  padding-left: var(--case-pad);
  padding-right: var(--case-pad);
  padding-bottom: clamp(34px, 6vw, 78px);
  padding-top: clamp(24px, 4vw, 42px);
}

.case-hero h2 {
  font-size: clamp(46px, 8vw, 116px);
  line-height: 0.96;
  max-width: 960px;
}

.case-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.75;
  margin-top: 28px;
  max-width: 920px;
}

.case-visual {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.36)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: min(54vh, 520px);
  overflow: hidden;
  position: relative;
}

.case-visual-shot {
  background: var(--canvas);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-tight);
  cursor: zoom-in;
  margin: 0;
  max-width: 1280px;
  overflow: hidden;
  width: min(1280px, 100%);
}

.case-summary-card {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow-tight);
  color: var(--white);
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  margin: 0 auto;
  max-width: 1280px;
  min-height: clamp(360px, 38vw, 520px);
  overflow: hidden;
  padding: clamp(22px, 4vw, 54px);
  position: relative;
  width: min(1280px, 100%);
}

.case-summary-card::before {
  color: rgba(255, 255, 255, 0.06);
  content: attr(data-label);
  font-size: clamp(72px, 16vw, 210px);
  font-weight: 900;
  left: clamp(18px, 4vw, 56px);
  line-height: 0.85;
  position: absolute;
  text-transform: uppercase;
  top: clamp(28px, 5vw, 70px);
  writing-mode: vertical-rl;
}

.recorder-summary {
  background:
    radial-gradient(circle at 82% 32%, rgba(240, 80, 74, 0.34), transparent 32%),
    linear-gradient(135deg, rgba(235, 202, 142, 0.2), transparent 46%),
    #14120f;
}

.system-summary {
  background:
    linear-gradient(135deg, rgba(25, 159, 255, 0.34), transparent 42%),
    #10110f;
}

.other-summary {
  background:
    radial-gradient(circle at 15% 20%, rgba(39, 214, 128, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 48%),
    #10110f;
}

.summary-topline {
  align-items: center;
  display: flex;
  font-family: var(--mono);
  font-size: 13px;
  gap: 12px;
  justify-content: space-between;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.summary-topline span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
}

.summary-stage-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.summary-stage-grid article {
  background: var(--white);
  color: var(--ink);
  display: grid;
  gap: 18px;
  min-height: 210px;
  padding: clamp(18px, 2.4vw, 30px);
}

.summary-stage-grid span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.summary-stage-grid strong {
  align-self: end;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
}

.summary-stage-grid em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.case-hero .case-summary-card > p {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.case-hero .case-visual-shot {
  margin-left: auto;
  margin-right: auto;
}

.case-visual-shot img {
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.case-visual-shot figcaption {
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 14px;
}

.phone-frame,
.desktop-frame,
.recorder-panel,
.summary-panel,
.token-column,
.component-board,
.rule-strip,
.domain-card {
  position: absolute;
}

.phone-frame {
  background: var(--ink);
  border-radius: 28px;
  height: 72%;
  left: 10%;
  padding: 18px;
  top: 14%;
  width: 34%;
}

.search-pill,
.follow-row span {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  padding: 8px 10px;
}

.result-block {
  background: var(--green);
  border-radius: 16px;
  height: 110px;
  margin-top: 18px;
}

.result-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
}

.result-grid span {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  height: 78px;
}

.follow-row {
  bottom: 18px;
  display: flex;
  gap: 6px;
  left: 18px;
  position: absolute;
  right: 18px;
}

.desktop-frame {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  height: 52%;
  padding: 18px;
  right: 8%;
  top: 24%;
  width: 46%;
}

.desktop-frame span {
  background: var(--canvas);
  border-radius: 8px;
}

.visual-output {
  background: linear-gradient(135deg, rgba(191, 242, 215, 0.72), transparent 58%), var(--paper);
}

.visual-recorder {
  background: radial-gradient(circle at 50% 46%, rgba(216, 255, 232, 0.9), transparent 48%), var(--paper);
}

.recorder-panel {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  gap: 18px;
  height: 72%;
  justify-items: center;
  left: 10%;
  padding: 26px;
  top: 14%;
  width: 38%;
}

.meter {
  align-items: end;
  display: flex;
  gap: 8px;
  height: 100px;
}

.meter span {
  background: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  height: 44px;
  width: 10px;
}

.meter span:nth-child(2),
.meter span:nth-child(4) {
  height: 84px;
}

.record-core {
  background: var(--green);
  border-radius: 50%;
  height: 76px;
  width: 76px;
}

.summary-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 24px;
  right: 10%;
  top: 24%;
  width: 42%;
}

.summary-panel span {
  background: var(--canvas);
  border-radius: 999px;
  height: 12px;
}

.summary-panel span:last-child {
  width: 64%;
}

.visual-system {
  background: linear-gradient(135deg, rgba(216, 255, 232, 0.72), transparent 55%), var(--paper);
}

.token-column {
  display: grid;
  gap: 10px;
  left: 8%;
  top: 16%;
  width: 22%;
}

.token-column span {
  background: var(--ink);
  border-radius: 999px;
  height: 34px;
}

.component-board {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  height: 58%;
  right: 8%;
  top: 18%;
  width: 58%;
}

.component-board span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rule-strip {
  background: var(--ink);
  border-radius: 8px;
  bottom: 10%;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  left: 8%;
  padding: 16px;
  right: 8%;
}

.visual-other {
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(23, 23, 23, 0.08) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(23, 23, 23, 0.08) 50%, transparent 50.2%),
    var(--paper);
}

.domain-card {
  align-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 900;
  height: 34%;
  justify-content: center;
  line-height: 1.1;
  text-align: center;
  width: 38%;
}

.domain-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
}

.domain-card:nth-child(1) {
  left: 8%;
  top: 10%;
}

.domain-card:nth-child(2) {
  right: 8%;
  top: 18%;
}

.domain-card:nth-child(3) {
  bottom: 14%;
  left: 12%;
}

.domain-card:nth-child(4) {
  bottom: 8%;
  right: 12%;
}

.case-content {
  display: grid;
  gap: clamp(26px, 4vw, 72px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: clamp(34px, 6vw, 78px);
}

.case-content.case-deep {
  display: grid;
  gap: clamp(34px, 5vw, 76px);
  grid-template-columns: 1fr;
}

.case-content.case-transcript {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  padding-top: clamp(18px, 4vw, 42px);
}

.transcript-block {
  align-items: start;
  border-top: 1px solid var(--line);
  counter-increment: transcript;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: 1fr;
  padding: clamp(36px, 6vw, 78px) 0;
  position: relative;
}

.case-content.case-transcript {
  counter-reset: transcript;
}

.transcript-block:first-child {
  border-top: 0;
}

.transcript-block figure {
  align-self: start;
  background: var(--canvas);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-tight);
  cursor: zoom-in;
  margin: 0 auto;
  max-width: 1280px;
  overflow: hidden;
  position: relative;
  top: auto;
  transition:
    background 180ms ease,
    filter 180ms ease;
  width: min(1280px, calc(100% - (var(--case-pad) * 2)));
}

.transcript-block img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: none;
  object-fit: contain;
  width: 100%;
}

.transcript-block > div {
  margin-left: var(--case-pad);
  max-width: 980px;
  width: min(980px, calc(100% - (var(--case-pad) * 2)));
}

.transcript-block > div::before {
  background: var(--green-soft);
  border: 1px solid rgba(18, 19, 16, 0.1);
  border-radius: 999px;
  color: var(--ink);
  content: counter(transcript, decimal-leading-zero);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.kicker {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.transcript-block h3 {
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.12;
  margin-bottom: 12px;
  max-width: 980px;
}

.transcript-block p:not(.kicker) {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--ink-soft);
  display: -webkit-box;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.72;
  max-width: 980px;
  overflow: hidden;
}

.transcript-block ul {
  display: none;
}

.transcript-block li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.transcript-block li::marker {
  color: var(--green);
}

.detail-matrix {
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 0;
}

.detail-matrix article {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(22px, 3vw, 34px);
}

.detail-matrix article:last-child {
  border-right: 0;
}

.detail-matrix span {
  color: var(--ink);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.detail-matrix h4 {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.15;
  margin: 0 0 14px;
}

.detail-matrix p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

.case-content > section:not(.transcript-block):not(.detail-matrix) {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.case-content:not(.case-transcript) h3 {
  font-size: clamp(24px, 3vw, 42px);
  margin-bottom: 18px;
}

.case-content:not(.case-transcript) p,
.case-content:not(.case-transcript) li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.case-content:not(.case-transcript) ul {
  margin: 0;
  padding-left: 20px;
}

.case-overview {
  display: grid;
  gap: clamp(18px, 3vw, 44px);
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
}

.case-overview p {
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.8;
}

.argument-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.argument-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 310px;
  padding: clamp(20px, 3vw, 30px);
}

.argument-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.argument-grid h4 {
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.16;
  margin: 0 0 16px;
}

.argument-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 0;
}

.ui-breakdown {
  display: grid;
  gap: clamp(22px, 4vw, 52px);
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
}

.screen-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-screen {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  min-height: 330px;
  padding: 20px;
}

.mini-screen strong {
  font-size: 18px;
}

.mini-screen p {
  align-self: end;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

.mini-screen.dark {
  background: var(--ink);
  color: var(--white);
}

.mini-screen.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.step-line {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}

.step-line span {
  background: var(--green);
  border-radius: 999px;
  height: 42px;
}

.mock-paragraph {
  background:
    linear-gradient(var(--line) 0 0) 0 0 / 100% 10px no-repeat,
    linear-gradient(var(--line) 0 0) 0 28px / 82% 10px no-repeat,
    linear-gradient(var(--line) 0 0) 0 56px / 64% 10px no-repeat;
  min-height: 86px;
}

.mock-cards,
.service-list {
  display: grid;
  gap: 8px;
}

.mock-cards {
  grid-template-columns: repeat(3, 1fr);
}

.mock-cards span,
.service-list span {
  background: var(--canvas);
  border-radius: 8px;
  min-height: 58px;
}

.service-list span {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
}

.waveform {
  align-items: end;
  display: flex;
  gap: 12px;
  height: 130px;
}

.waveform span {
  background: var(--green);
  border-radius: 999px;
  height: 60px;
  width: 18px;
}

.waveform span:nth-child(2) {
  height: 112px;
}

.waveform span:nth-child(3) {
  height: 86px;
}

.control-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 130px;
}

.control-row span {
  background: var(--ink);
  border-radius: 50%;
  height: 54px;
  width: 54px;
}

.control-row span:last-child {
  background: var(--green);
}

.mini-screen.note {
  background: var(--green-soft);
}

.transcript-lines,
.markdown-block,
.dashboard-ui {
  display: grid;
  gap: 10px;
}

.transcript-lines span,
.markdown-block span,
.dashboard-ui span {
  background: rgba(23, 23, 23, 0.12);
  border-radius: 999px;
  height: 12px;
}

.component-mini-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.component-mini-grid span {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 70px;
}

.markdown-block b,
.markdown-block i {
  background: var(--ink);
  border-radius: 8px;
  display: block;
  height: 44px;
}

.markdown-block i {
  background: var(--green);
  height: 58px;
}

.type-scale {
  align-content: center;
  display: grid;
  gap: 16px;
  min-height: 180px;
}

.type-scale span {
  border-bottom: 1px solid var(--line);
  display: block;
  font-weight: 900;
}

.type-scale span:first-child {
  font-size: 54px;
}

.type-scale span:nth-child(2) {
  font-size: 28px;
}

.type-scale span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.mini-screen.playful {
  background: var(--green-soft);
}

.party-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.party-grid span {
  background: var(--white);
  border-radius: 16px;
  min-height: 78px;
}

.party-grid span:nth-child(2) {
  background: var(--green-soft);
}

.party-grid span:nth-child(3) {
  background: var(--canvas);
}

.call-ui {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  min-height: 150px;
}

.call-ui span {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  height: 58px;
}

.dashboard-ui {
  grid-template-columns: repeat(2, 1fr);
}

.dashboard-ui span {
  border-radius: 8px;
  height: 82px;
}

.case-panel img[role="button"] {
  cursor: zoom-in;
}

.case-visual-shot:hover,
.transcript-block figure:hover {
  filter: contrast(1.02);
}

.case-visual-shot:focus-within,
.transcript-block figure:focus-within,
.case-panel img[role="button"]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

body.viewer-open {
  overflow: hidden;
}

.image-viewer {
  align-items: center;
  background: rgba(10, 11, 9, 0.92);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  inset: 0;
  opacity: 0;
  padding: clamp(16px, 2.5vw, 36px);
  pointer-events: none;
  position: fixed;
  transform: scale(0.98);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  z-index: 60;
}

.image-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.viewer-frame {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-column: 2;
  justify-items: center;
  margin: 0;
  min-height: 0;
}

.viewer-image {
  background: transparent;
  border: 0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  display: block;
  height: auto;
  max-height: calc(100dvh - 118px);
  max-width: min(100%, 1280px);
  object-fit: contain;
  width: auto;
}

.viewer-caption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
  max-width: min(100%, 980px);
  text-align: center;
}

.viewer-close,
.viewer-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
  width: 46px;
}

.viewer-close {
  font-size: 30px;
  position: absolute;
  right: clamp(16px, 2.5vw, 36px);
  top: clamp(16px, 2.5vw, 36px);
}

.viewer-nav {
  font-size: 36px;
  justify-self: center;
}

.viewer-prev {
  grid-column: 1;
}

.viewer-next {
  grid-column: 3;
}

.viewer-close:hover,
.viewer-close:focus-visible,
.viewer-nav:hover,
.viewer-nav:focus-visible {
  background: var(--green);
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.viewer-nav:disabled {
  cursor: default;
  opacity: 0.32;
  transform: none;
}

@media (max-width: 1040px) {
  .hero,
  .profile-layout,
  .contact-grid,
  .work-heading,
  .case-hero,
  .case-content,
  .case-overview,
  .ui-breakdown,
  .transcript-block {
    grid-template-columns: 1fr;
  }

  .skill-cloud {
    margin-top: 8px;
    position: static;
  }

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

  .project-trigger {
    grid-template-columns: minmax(0, 0.9fr) minmax(240px, 1.1fr);
  }

  .profile-aside {
    position: static;
  }

  .argument-grid,
  .screen-strip,
  .detail-matrix {
    grid-template-columns: 1fr;
  }

  .detail-matrix article {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .detail-matrix article:first-child {
    border-top: 0;
  }

  .argument-grid article,
  .mini-screen {
    min-height: auto;
  }

  .transcript-block figure {
    position: static;
  }

  .case-visual-shot img {
    height: auto;
    max-height: none;
  }

  .summary-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .tabs {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    padding: 3px;
    width: 100%;
  }

  .tab {
    min-width: 0;
    padding: 8px 6px;
  }

  .section-screen,
  .page-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .case-study {
    --case-pad: 16px;
    padding-left: 0;
    padding-right: 0;
  }

  h1 {
    font-size: clamp(46px, 17vw, 74px);
  }

  .case-hero h2 {
    font-size: clamp(38px, 11vw, 56px);
    line-height: 1.02;
  }

  .project-trigger {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px;
  }

  .project-cover,
  .case-visual {
    min-height: 300px;
  }

  .case-visual-shot img {
    min-height: 0;
  }

  .case-summary-card {
    min-height: 0;
    padding: 22px;
  }

  .case-summary-card::before {
    font-size: 76px;
    left: auto;
    right: 12px;
    top: 18px;
  }

  .summary-topline {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .summary-stage-grid article {
    min-height: 150px;
  }

  .transcript-block img {
    max-height: none;
  }

  .project-copy {
    padding-top: 58px;
  }

  .project-arrow {
    height: 38px;
    width: 38px;
  }

  .timeline-item {
    gap: 12px;
    grid-template-columns: 1fr;
    padding: 28px 0;
  }

  .image-viewer {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    padding: 14px;
  }

  .viewer-frame {
    grid-column: 1 / -1;
  }

  .viewer-image {
    max-height: calc(100dvh - 154px);
    max-width: 100%;
    width: auto;
  }

  .viewer-prev,
  .viewer-next {
    grid-column: auto;
    grid-row: 2;
    margin-top: 12px;
  }

  .viewer-close {
    height: 42px;
    width: 42px;
  }
}

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

/* Final visual system: AI signal map homepage and editorial project entries */
:root {
  --signal-ink: #0b0f0d;
  --signal-ink-2: #151b17;
  --signal-paper: #eff2ec;
  --signal-paper-2: #f8f9f5;
  --signal-line: rgba(11, 15, 13, 0.12);
  --signal-muted: rgba(11, 15, 13, 0.58);
  --signal-green: #2ee976;
  --signal-blue: #89c9ff;
  --signal-rose: #ff8d80;
  --signal-yellow: #f2d77b;
  --signal-shadow: 0 34px 90px rgba(11, 15, 13, 0.13);
  --signal-radius: 18px;
}

html,
body {
  background: var(--signal-paper);
}

body {
  background:
    linear-gradient(90deg, rgba(11, 15, 13, 0.042) 1px, transparent 1px) 0 0 / 25vw 100%,
    linear-gradient(0deg, rgba(11, 15, 13, 0.032) 1px, transparent 1px) 0 0 / 100% 92px,
    var(--signal-paper);
  color: var(--signal-ink);
}

body::before {
  background: linear-gradient(90deg, var(--signal-green), var(--signal-blue) 48%, var(--signal-rose));
  height: 3px;
}

.site-header {
  background: rgba(239, 242, 236, 0.78);
  border-bottom: 1px solid rgba(11, 15, 13, 0.06);
  box-shadow: 0 14px 36px rgba(11, 15, 13, 0.04);
  min-height: 68px;
  padding: 12px clamp(20px, 4vw, 58px);
}

.brand {
  color: var(--signal-ink);
  font-size: 14px;
  letter-spacing: 0;
}

.brand-mark {
  background:
    linear-gradient(135deg, rgba(46, 233, 118, 0.28), transparent 58%),
    var(--signal-ink);
  border-radius: 9px;
  height: 30px;
  width: 30px;
}

.tabs {
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.08),
    0 16px 38px rgba(11, 15, 13, 0.07);
  gap: 3px;
  padding: 4px;
}

.tab {
  font-size: 15px;
  min-height: 42px;
  min-width: 96px;
}

.tab.is-active {
  background: var(--signal-ink);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 24px rgba(11, 15, 13, 0.2);
}

.tab:hover,
.tab:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.16),
    0 0 0 4px rgba(46, 233, 118, 0.18);
}

.section-screen {
  padding: clamp(42px, 6vw, 86px) clamp(18px, 5vw, 78px);
}

.hero {
  align-content: center;
  display: grid;
  gap: clamp(28px, 4vw, 70px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  isolation: isolate;
  min-height: min(820px, calc(100dvh - 68px));
  overflow: hidden;
  position: relative;
}

.hero::before {
  display: none;
}

.hero::after {
  color: rgba(11, 15, 13, 0.055);
  content: "SIGNAL\A CARTOGRAPHY";
  font-family: var(--mono);
  font-size: clamp(46px, 8vw, 120px);
  font-weight: 900;
  left: clamp(18px, 5vw, 78px);
  letter-spacing: -0.02em;
  line-height: 0.82;
  pointer-events: none;
  position: absolute;
  top: 54%;
  transform: translateY(-22%);
  white-space: pre;
  z-index: -1;
}

.hero-field {
  display: block;
  height: 100%;
  inset: 0;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.hero-copy {
  max-width: 1000px;
}

.eyebrow,
.kicker,
.project-copy small,
.project-signal,
.contact-link span,
.timeline-item time {
  color: rgba(11, 15, 13, 0.54);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(68px, 9.3vw, 132px);
  font-weight: 880;
  letter-spacing: -0.04em;
  line-height: 0.88;
  margin-top: 18px;
  max-width: 1040px;
}

.headline-muted {
  color: rgba(11, 15, 13, 0.25);
  display: block;
}

.hero-intro {
  color: rgba(11, 15, 13, 0.7);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.78;
  margin-top: clamp(22px, 2.8vw, 34px);
  max-width: 760px;
}

.hero-actions {
  gap: 12px;
  margin-top: 30px;
}

.hero-action {
  background: rgba(255, 255, 255, 0.76);
  border: 0;
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.08),
    0 16px 36px rgba(11, 15, 13, 0.08);
  color: var(--signal-ink);
  font-weight: 820;
  min-height: 54px;
  padding: 0 26px;
}

.hero-action.is-primary {
  background: var(--signal-ink);
  color: #fff;
}

.hero-action:hover,
.hero-action:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(46, 233, 118, 0.22),
    0 18px 42px rgba(11, 15, 13, 0.14);
  transform: translateY(-2px);
}

.hero-lab {
  background:
    linear-gradient(135deg, rgba(46, 233, 118, 0.12), transparent 42%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 32px,
    var(--signal-ink);
  border-radius: 24px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.13),
    0 38px 90px rgba(11, 15, 13, 0.24);
  color: #fff;
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  min-height: 430px;
  padding: clamp(24px, 3.2vw, 42px);
}

.hero-lab::before {
  background: var(--signal-green);
  border-radius: 999px;
  height: 5px;
  left: 28px;
  width: 140px;
}

.lab-topline {
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  font-family: var(--mono);
  font-size: 12px;
  justify-content: space-between;
}

.lab-topline span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.hero-lab strong {
  font-size: clamp(28px, 3.1vw, 43px);
  font-weight: 840;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.lab-metrics {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.lab-metrics div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  min-height: 118px;
  padding: 16px;
}

.lab-metrics dt {
  color: var(--signal-green);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.lab-metrics dd {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.45;
  margin: 12px 0 0;
}

.hero-lab > span:last-child {
  color: rgba(255, 255, 255, 0.6);
}

.skill-cloud {
  bottom: clamp(18px, 3vw, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
  justify-content: flex-start;
  margin: 0;
  position: relative;
}

.skill-cloud span,
.mini-tags span {
  background: rgba(255, 255, 255, 0.74);
  border: 0;
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.08),
    0 12px 28px rgba(11, 15, 13, 0.05);
}

.work-section {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 86px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 25vw 100%,
    var(--signal-ink);
  border-top: 0;
  color: #fff;
  min-height: auto;
}

.work-heading {
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: clamp(24px, 4vw, 64px);
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.56fr);
  margin-bottom: clamp(30px, 5vw, 64px);
  padding-bottom: clamp(26px, 4vw, 50px);
}

.work-heading .eyebrow,
.work-heading p:last-child {
  color: rgba(255, 255, 255, 0.58);
}

h2 {
  font-size: clamp(48px, 7.6vw, 104px);
  font-weight: 880;
  letter-spacing: -0.04em;
}

.work-heading p:last-child {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
  margin: 0;
  max-width: 560px;
}

.project-grid {
  align-items: stretch;
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  --card-accent: var(--signal-green);
  --card-tint: rgba(46, 233, 118, 0.12);
  background:
    linear-gradient(135deg, var(--card-tint), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045)),
    #111713;
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.13),
    0 28px 78px rgba(0, 0, 0, 0.22);
  min-height: clamp(390px, 34vw, 520px);
  overflow: hidden;
  position: relative;
}

.project-card::before {
  background:
    radial-gradient(circle at 14% 18%, var(--card-accent) 0 4px, transparent 4.8px),
    linear-gradient(90deg, var(--card-accent), transparent 44%);
  content: "";
  height: 5px;
  inset: 0 auto auto 0;
  opacity: 1;
  position: absolute;
  width: 58%;
}

.project-card::after {
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255, 255, 255, 0.08) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(255, 255, 255, 0.07) 50%, transparent 50.5%);
  content: "";
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
  transform: none;
}

.theme-cyan {
  --card-accent: var(--signal-blue);
  --card-tint: rgba(137, 201, 255, 0.13);
}

.theme-rose {
  --card-accent: var(--signal-rose);
  --card-tint: rgba(255, 141, 128, 0.13);
}

.theme-sand {
  --card-accent: var(--signal-yellow);
  --card-tint: rgba(242, 215, 123, 0.14);
}

.project-card:hover,
.project-card:focus-within {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 36px 96px rgba(0, 0, 0, 0.34);
  transform: translateY(-8px);
}

.project-trigger {
  align-items: stretch;
  color: #fff;
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
  grid-template-columns: minmax(220px, 0.8fr) minmax(245px, 1fr);
  min-height: clamp(390px, 34vw, 520px);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
  z-index: 1;
}

.project-index {
  color: var(--card-accent);
  font-size: 13px;
  font-weight: 900;
  left: clamp(24px, 3vw, 40px);
  position: absolute;
  top: clamp(24px, 3vw, 40px);
}

.project-copy {
  align-self: end;
  display: grid;
  gap: 12px;
  padding: 54px 0 0;
}

.project-signal {
  align-items: center;
  color: var(--card-accent);
  display: inline-flex;
  gap: 8px;
}

.project-signal::before {
  background: var(--card-accent);
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

.project-copy small {
  color: rgba(255, 255, 255, 0.5);
}

.project-copy strong {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 9em;
}

.project-copy em {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 1.72;
  max-width: 31ch;
}

.project-cover {
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0 42px, rgba(255, 255, 255, 0.72) 42px),
    linear-gradient(0deg, rgba(11, 15, 13, 0.04) 1px, transparent 1px) 0 42px / 100% 28px,
    #f6f8f3;
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.08),
    0 28px 68px rgba(0, 0, 0, 0.22);
  min-height: 300px;
  overflow: hidden;
  position: relative;
}

.project-cover::before {
  background:
    radial-gradient(circle, #ff5f57 0 4px, transparent 4.8px) 19px 21px / 18px 18px no-repeat,
    radial-gradient(circle, #ffbd2e 0 4px, transparent 4.8px) 38px 21px / 18px 18px no-repeat,
    radial-gradient(circle, #28c840 0 4px, transparent 4.8px) 57px 21px / 18px 18px no-repeat,
    linear-gradient(90deg, rgba(11, 15, 13, 0.08), transparent);
  border-bottom: 1px solid rgba(11, 15, 13, 0.08);
  content: "";
  height: 42px;
  inset: 0 0 auto;
  position: absolute;
  z-index: 2;
}

.project-cover::after {
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(11, 15, 13, 0.055);
  inset: 42px 12px 12px;
}

.cover-title {
  bottom: 20px;
  color: rgba(11, 15, 13, 0.1);
  font-size: clamp(44px, 5vw, 76px);
  left: 20px;
  letter-spacing: 0;
}

.answer-card,
.cover-system span,
.map-node {
  box-shadow: 0 18px 40px rgba(11, 15, 13, 0.1);
}

.answer-card.primary,
.cover-system span:nth-child(3n + 1) {
  background: var(--signal-ink);
}

.answer-card {
  top: 96px;
}

.record-dot,
.project-card:hover .project-arrow,
.project-card:focus-within .project-arrow {
  background: var(--card-accent);
}

.record-ring {
  border-color: rgba(11, 15, 13, 0.18);
}

.wave {
  background: rgba(11, 15, 13, 0.18);
}

.cover-system span:nth-child(4n) {
  background: color-mix(in srgb, var(--card-accent), white 72%);
}

.cover-map {
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(11, 15, 13, 0.1) 50%, transparent 50.4%),
    linear-gradient(0deg, transparent 49.6%, rgba(11, 15, 13, 0.1) 50%, transparent 50.4%),
    #f6f8f3;
}

.map-node {
  background: rgba(255, 255, 255, 0.88);
}

.project-arrow {
  background: #fff;
  color: var(--signal-ink);
  height: 46px;
  right: clamp(22px, 3vw, 34px);
  top: clamp(22px, 3vw, 34px);
  width: 46px;
}

.project-card:hover .project-arrow,
.project-card:focus-within .project-arrow {
  color: var(--signal-ink);
  transform: translate(2px, -2px) rotate(8deg);
}

.page-band,
.contact,
.case-study,
.case-hero {
  background:
    linear-gradient(90deg, rgba(11, 15, 13, 0.035) 1px, transparent 1px) 0 0 / 25vw 100%,
    var(--signal-paper);
}

.profile-aside,
.contact-link {
  background: rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.08),
    0 22px 58px rgba(11, 15, 13, 0.06);
}

.profile-aside {
  padding: clamp(18px, 2.8vw, 30px);
}

.timeline,
.timeline-item,
.case-hero,
.transcript-block {
  border-color: rgba(11, 15, 13, 0.14);
}

.contact-note,
.case-summary-card,
.back-button {
  background: var(--signal-ink);
}

.case-summary-card {
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 32px 80px rgba(11, 15, 13, 0.2);
}

.case-visual-shot,
.transcript-block figure {
  box-shadow: 0 26px 72px rgba(11, 15, 13, 0.11);
}

.case-visual-shot.is-frameless {
  box-shadow: none;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-card {
    max-width: none;
  }

  .hero-lab {
    min-height: 0;
  }

  .project-trigger {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .work-heading,
  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 110px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: inline;
  }

  .tabs {
    width: 100%;
  }

  .tab {
    flex: 1;
    min-width: 0;
  }

  .section-screen,
  .page-band {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 38px;
  }

  .hero {
    gap: 22px;
    text-align: left;
  }

  .hero::after {
    font-size: 44px;
    top: 48%;
  }

  h1 {
    font-size: clamp(48px, 14vw, 62px);
  }

  h2,
  .case-hero h2 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .hero-actions,
  .skill-cloud {
    justify-content: flex-start;
  }

  .hero-action {
    flex: 1;
    justify-content: center;
    min-width: 148px;
    padding: 0 18px;
  }

  .hero-lab {
    border-radius: 18px;
    gap: 18px;
    padding: 22px;
  }

  .lab-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .lab-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lab-metrics div {
    min-height: 78px;
    padding: 12px;
  }

  .lab-metrics dt {
    font-size: 28px;
  }

  .lab-metrics dd {
    font-size: 11px;
    margin-top: 8px;
  }

  .work-heading {
    align-items: start;
  }

  .project-card,
  .project-trigger {
    min-height: 0;
  }

  .project-trigger {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .project-copy {
    padding-top: 52px;
  }

  .project-copy strong {
    font-size: 34px;
  }

  .project-cover {
    min-height: 230px;
  }
}

/* Signal Cartography final lock: keep the latest homepage and project-card language last in cascade. */
.hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  min-height: min(820px, calc(100dvh - 68px));
  overflow: hidden;
}

.hero-field {
  display: block;
  height: 100%;
  inset: 0;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.hero-lab {
  background:
    linear-gradient(135deg, rgba(46, 233, 118, 0.12), transparent 42%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 32px,
    var(--signal-ink);
  border-radius: 24px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.13),
    0 38px 90px rgba(11, 15, 13, 0.24);
  min-height: 430px;
}

.hero-lab strong {
  font-size: clamp(28px, 3.1vw, 43px);
  font-weight: 840;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.work-section {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 86px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 25vw 100%,
    var(--signal-ink);
  border-top: 0;
  color: #fff;
  min-height: auto;
}

.work-heading {
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.56fr);
  margin-bottom: clamp(30px, 5vw, 64px);
  padding-bottom: clamp(26px, 4vw, 50px);
}

.work-heading .eyebrow,
.work-heading p:last-child {
  color: rgba(255, 255, 255, 0.58);
}

.project-grid {
  gap: clamp(18px, 2vw, 28px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  --card-accent: var(--signal-green);
  --card-tint: rgba(46, 233, 118, 0.12);
  background:
    linear-gradient(135deg, var(--card-tint), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045)),
    #111713;
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.13),
    0 28px 78px rgba(0, 0, 0, 0.22);
  min-height: clamp(390px, 34vw, 520px);
  overflow: hidden;
}

.project-card::before {
  background:
    radial-gradient(circle at 14% 18%, var(--card-accent) 0 4px, transparent 4.8px),
    linear-gradient(90deg, var(--card-accent), transparent 44%);
  height: 5px;
  opacity: 1;
  width: 58%;
}

.project-card::after {
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255, 255, 255, 0.08) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(255, 255, 255, 0.07) 50%, transparent 50.5%);
  inset: 0;
  opacity: 0.5;
  transform: none;
}

.theme-cyan {
  --card-accent: var(--signal-blue);
  --card-tint: rgba(137, 201, 255, 0.13);
}

.theme-rose {
  --card-accent: var(--signal-rose);
  --card-tint: rgba(255, 141, 128, 0.13);
}

.theme-sand {
  --card-accent: var(--signal-yellow);
  --card-tint: rgba(242, 215, 123, 0.14);
}

.project-card:hover,
.project-card:focus-within {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 36px 96px rgba(0, 0, 0, 0.34);
  transform: translateY(-8px);
}

.project-trigger {
  color: #fff;
  gap: clamp(18px, 2.4vw, 34px);
  grid-template-columns: minmax(220px, 0.8fr) minmax(245px, 1fr);
  min-height: clamp(390px, 34vw, 520px);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
  z-index: 1;
}

.project-index {
  color: var(--card-accent);
  font-size: 13px;
  left: clamp(24px, 3vw, 40px);
  position: absolute;
  top: clamp(24px, 3vw, 40px);
}

.project-copy {
  align-self: end;
  display: grid;
  gap: 12px;
  padding: 54px 0 0;
}

.project-signal {
  color: var(--card-accent);
  display: inline-flex;
  gap: 8px;
}

.project-signal::before {
  background: var(--card-accent);
  border-radius: 999px;
  content: "";
  height: 8px;
  margin-top: 5px;
  width: 8px;
}

.project-copy small {
  color: rgba(255, 255, 255, 0.5);
}

.project-copy strong {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.02;
  max-width: 9em;
}

.project-copy em {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 1.72;
  max-width: 31ch;
}

.project-cover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0 42px, rgba(255, 255, 255, 0.72) 42px),
    linear-gradient(0deg, rgba(11, 15, 13, 0.04) 1px, transparent 1px) 0 42px / 100% 28px,
    #f6f8f3;
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.08),
    0 28px 68px rgba(0, 0, 0, 0.22);
  min-height: 300px;
}

.project-cover::before {
  background:
    radial-gradient(circle, #ff5f57 0 4px, transparent 4.8px) 19px 21px / 18px 18px no-repeat,
    radial-gradient(circle, #ffbd2e 0 4px, transparent 4.8px) 38px 21px / 18px 18px no-repeat,
    radial-gradient(circle, #28c840 0 4px, transparent 4.8px) 57px 21px / 18px 18px no-repeat,
    linear-gradient(90deg, rgba(11, 15, 13, 0.08), transparent);
  border-bottom: 1px solid rgba(11, 15, 13, 0.08);
  content: "";
  height: 42px;
  inset: 0 0 auto;
  position: absolute;
  z-index: 2;
}

.project-cover::after {
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(11, 15, 13, 0.055);
  inset: 42px 12px 12px;
}

.cover-system span:nth-child(4n) {
  background: color-mix(in srgb, var(--card-accent), white 72%);
}

.record-dot,
.project-card:hover .project-arrow,
.project-card:focus-within .project-arrow {
  background: var(--card-accent);
}

.project-arrow {
  background: #fff;
  color: var(--signal-ink);
  height: 46px;
  width: 46px;
}

@media (max-width: 1180px) {
  .hero,
  .project-trigger {
    grid-template-columns: 1fr;
  }

  .hero-lab {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .hero {
    text-align: left;
  }

  .hero-actions,
  .skill-cloud {
    justify-content: flex-start;
  }

  .hero-lab {
    border-radius: 18px;
    padding: 22px;
  }

  .lab-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .lab-metrics {
    grid-template-columns: 1fr;
  }

  .lab-metrics div {
    min-height: 86px;
  }

  .work-heading,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-trigger {
    min-height: 0;
  }

  .project-trigger {
    padding: 22px;
  }

  .project-copy {
    padding-top: 52px;
  }

  .project-copy strong {
    font-size: 34px;
  }
}

/* Signal Cartography redesign: generated field, product-map cards, global design language */
:root {
  --signal-ink: #0b0f0d;
  --signal-ink-2: #151b17;
  --signal-paper: #eff2ec;
  --signal-paper-2: #f8f9f5;
  --signal-panel: rgba(255, 255, 255, 0.72);
  --signal-line: rgba(11, 15, 13, 0.12);
  --signal-muted: rgba(11, 15, 13, 0.58);
  --signal-green: #2ee976;
  --signal-blue: #89c9ff;
  --signal-rose: #ff8d80;
  --signal-yellow: #f2d77b;
  --signal-shadow: 0 34px 90px rgba(11, 15, 13, 0.13);
  --signal-radius: 18px;
}

html,
body {
  background: var(--signal-paper);
}

body {
  background:
    linear-gradient(90deg, rgba(11, 15, 13, 0.042) 1px, transparent 1px) 0 0 / 25vw 100%,
    linear-gradient(0deg, rgba(11, 15, 13, 0.032) 1px, transparent 1px) 0 0 / 100% 92px,
    var(--signal-paper);
  color: var(--signal-ink);
}

body::before {
  background: linear-gradient(90deg, var(--signal-green), var(--signal-blue) 48%, var(--signal-rose));
  height: 3px;
}

.site-header {
  background: rgba(239, 242, 236, 0.78);
  border-bottom: 1px solid rgba(11, 15, 13, 0.06);
  box-shadow: 0 14px 36px rgba(11, 15, 13, 0.04);
  min-height: 68px;
  padding: 12px clamp(20px, 4vw, 58px);
}

.brand {
  color: var(--signal-ink);
  font-size: 14px;
  letter-spacing: 0;
}

.brand-mark {
  background:
    linear-gradient(135deg, rgba(46, 233, 118, 0.28), transparent 58%),
    var(--signal-ink);
  border-radius: 9px;
  height: 30px;
  width: 30px;
}

.tabs {
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.08),
    0 16px 38px rgba(11, 15, 13, 0.07);
  gap: 3px;
  padding: 4px;
}

.tab {
  font-size: 15px;
  min-height: 42px;
  min-width: 96px;
}

.tab.is-active {
  background: var(--signal-ink);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 24px rgba(11, 15, 13, 0.2);
}

.tab:hover,
.tab:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(11, 15, 13, 0.16);
}

.section-screen {
  padding: clamp(42px, 6vw, 86px) clamp(18px, 5vw, 78px);
}

.hero {
  align-content: center;
  display: grid;
  gap: clamp(28px, 4vw, 70px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  isolation: isolate;
  min-height: min(820px, calc(100dvh - 68px));
  overflow: hidden;
  position: relative;
}

.hero::before {
  display: none;
}

.hero::after {
  color: rgba(11, 15, 13, 0.055);
  content: "SIGNAL\\A CARTOGRAPHY";
  font-family: var(--mono);
  font-size: clamp(46px, 8vw, 120px);
  font-weight: 900;
  left: clamp(18px, 5vw, 78px);
  letter-spacing: -0.05em;
  line-height: 0.82;
  pointer-events: none;
  position: absolute;
  top: 54%;
  transform: translateY(-22%);
  white-space: pre;
  z-index: -1;
}

.hero-field {
  display: block;
  height: 100%;
  inset: 0;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.hero-copy {
  max-width: 1000px;
}

.eyebrow,
.kicker,
.project-copy small,
.project-signal,
.contact-link span,
.timeline-item time {
  color: rgba(11, 15, 13, 0.54);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(68px, 9.3vw, 132px);
  font-weight: 880;
  letter-spacing: -0.065em;
  line-height: 0.88;
  margin-top: 18px;
  max-width: 1040px;
}

.headline-muted {
  color: rgba(11, 15, 13, 0.25);
  display: block;
}

.hero-intro {
  color: rgba(11, 15, 13, 0.7);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.78;
  margin-top: clamp(22px, 2.8vw, 34px);
  max-width: 760px;
}

.hero-actions {
  gap: 12px;
  margin-top: 30px;
}

.hero-action {
  background: rgba(255, 255, 255, 0.76);
  border: 0;
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.08),
    0 16px 36px rgba(11, 15, 13, 0.08);
  color: var(--signal-ink);
  font-weight: 820;
  min-height: 54px;
  padding: 0 26px;
}

.hero-action.is-primary {
  background: var(--signal-ink);
  color: #fff;
}

.hero-action:hover,
.hero-action:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(46, 233, 118, 0.22),
    0 18px 42px rgba(11, 15, 13, 0.14);
  transform: translateY(-2px);
}

.hero-lab {
  background:
    linear-gradient(135deg, rgba(46, 233, 118, 0.12), transparent 42%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 32px,
    var(--signal-ink);
  border-radius: 24px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.13),
    0 38px 90px rgba(11, 15, 13, 0.24);
  color: #fff;
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  min-height: 430px;
  padding: clamp(24px, 3.2vw, 42px);
}

.hero-lab::before {
  background: var(--signal-green);
  border-radius: 999px;
  height: 5px;
  left: 28px;
  width: 140px;
}

.lab-topline {
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  font-family: var(--mono);
  font-size: 12px;
  justify-content: space-between;
}

.lab-topline span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.hero-lab strong {
  font-size: clamp(28px, 3.1vw, 43px);
  font-weight: 840;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.lab-metrics {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.lab-metrics div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  min-height: 118px;
  padding: 16px;
}

.lab-metrics dt {
  color: var(--signal-green);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.lab-metrics dd {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.45;
  margin: 12px 0 0;
}

.hero-lab > span:last-child {
  color: rgba(255, 255, 255, 0.6);
}

.skill-cloud {
  bottom: clamp(18px, 3vw, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
  justify-content: flex-start;
  margin: 0;
  position: relative;
}

.skill-cloud span,
.mini-tags span {
  background: rgba(255, 255, 255, 0.74);
  border: 0;
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.08),
    0 12px 28px rgba(11, 15, 13, 0.05);
}

.work-section {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 86px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 25vw 100%,
    var(--signal-ink);
  border-top: 0;
  color: #fff;
  min-height: auto;
}

.work-heading {
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: clamp(24px, 4vw, 64px);
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.56fr);
  margin-bottom: clamp(30px, 5vw, 64px);
  padding-bottom: clamp(26px, 4vw, 50px);
}

.work-heading .eyebrow,
.work-heading p:last-child {
  color: rgba(255, 255, 255, 0.58);
}

h2 {
  font-size: clamp(48px, 7.6vw, 104px);
  font-weight: 880;
  letter-spacing: -0.065em;
}

.work-heading p:last-child {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
  margin: 0;
  max-width: 560px;
}

.project-grid {
  align-items: stretch;
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  --card-accent: var(--signal-green);
  --card-tint: rgba(46, 233, 118, 0.12);
  background:
    linear-gradient(135deg, var(--card-tint), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045)),
    #111713;
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.13),
    0 28px 78px rgba(0, 0, 0, 0.22);
  min-height: clamp(390px, 34vw, 520px);
  overflow: hidden;
  position: relative;
}

.project-card::before {
  background:
    radial-gradient(circle at 14% 18%, var(--card-accent) 0 4px, transparent 4.8px),
    linear-gradient(90deg, var(--card-accent), transparent 44%);
  height: 5px;
  inset: 0 auto auto 0;
  opacity: 1;
  width: 58%;
}

.project-card::after {
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255, 255, 255, 0.08) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(255, 255, 255, 0.07) 50%, transparent 50.5%);
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  transform: none;
}

.theme-cyan {
  --card-accent: var(--signal-blue);
  --card-tint: rgba(137, 201, 255, 0.13);
}

.theme-rose {
  --card-accent: var(--signal-rose);
  --card-tint: rgba(255, 141, 128, 0.13);
}

.theme-sand {
  --card-accent: var(--signal-yellow);
  --card-tint: rgba(242, 215, 123, 0.14);
}

.project-card:hover,
.project-card:focus-within {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 36px 96px rgba(0, 0, 0, 0.34);
  transform: translateY(-8px);
}

.project-trigger {
  align-items: stretch;
  color: #fff;
  gap: clamp(18px, 2.4vw, 34px);
  grid-template-columns: minmax(220px, 0.8fr) minmax(245px, 1fr);
  min-height: clamp(390px, 34vw, 520px);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
  z-index: 1;
}

.project-index {
  color: var(--card-accent);
  font-size: 13px;
  font-weight: 900;
  left: clamp(24px, 3vw, 40px);
  position: absolute;
  top: clamp(24px, 3vw, 40px);
}

.project-copy {
  align-self: end;
  display: grid;
  gap: 12px;
  padding: 54px 0 0;
}

.project-signal {
  align-items: center;
  color: var(--card-accent);
  display: inline-flex;
  gap: 8px;
}

.project-signal::before {
  background: var(--card-accent);
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

.project-copy small {
  color: rgba(255, 255, 255, 0.5);
}

.project-copy strong {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.02;
  max-width: 9em;
}

.project-copy em {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 1.72;
  max-width: 31ch;
}

.project-cover {
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0 42px, rgba(255, 255, 255, 0.72) 42px),
    linear-gradient(0deg, rgba(11, 15, 13, 0.04) 1px, transparent 1px) 0 42px / 100% 28px,
    #f6f8f3;
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.08),
    0 28px 68px rgba(0, 0, 0, 0.22);
  min-height: 300px;
  overflow: hidden;
}

.project-cover::before {
  background:
    radial-gradient(circle, #ff5f57 0 4px, transparent 4.8px) 19px 21px / 18px 18px no-repeat,
    radial-gradient(circle, #ffbd2e 0 4px, transparent 4.8px) 38px 21px / 18px 18px no-repeat,
    radial-gradient(circle, #28c840 0 4px, transparent 4.8px) 57px 21px / 18px 18px no-repeat,
    linear-gradient(90deg, rgba(11, 15, 13, 0.08), transparent);
  border-bottom: 1px solid rgba(11, 15, 13, 0.08);
  content: "";
  height: 42px;
  inset: 0 0 auto;
  position: absolute;
  z-index: 2;
}

.project-cover::after {
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(11, 15, 13, 0.055);
  inset: 42px 12px 12px;
}

.cover-title {
  bottom: 20px;
  color: rgba(11, 15, 13, 0.1);
  font-size: clamp(44px, 5vw, 76px);
  left: 20px;
}

.answer-card,
.cover-system span,
.map-node {
  box-shadow: 0 18px 40px rgba(11, 15, 13, 0.1);
}

.answer-card.primary,
.cover-system span:nth-child(3n + 1) {
  background: var(--signal-ink);
}

.answer-card {
  top: 96px;
}

.record-dot,
.project-card:hover .project-arrow,
.project-card:focus-within .project-arrow {
  background: var(--card-accent);
}

.record-ring {
  border-color: rgba(11, 15, 13, 0.18);
}

.wave {
  background: rgba(11, 15, 13, 0.18);
}

.cover-system span:nth-child(4n) {
  background: color-mix(in srgb, var(--card-accent), white 72%);
}

.cover-map {
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(11, 15, 13, 0.1) 50%, transparent 50.4%),
    linear-gradient(0deg, transparent 49.6%, rgba(11, 15, 13, 0.1) 50%, transparent 50.4%),
    #f6f8f3;
}

.map-node {
  background: rgba(255, 255, 255, 0.88);
}

.project-arrow {
  background: #fff;
  color: var(--signal-ink);
  height: 46px;
  right: clamp(22px, 3vw, 34px);
  top: clamp(22px, 3vw, 34px);
  width: 46px;
}

.project-card:hover .project-arrow,
.project-card:focus-within .project-arrow {
  color: var(--signal-ink);
  transform: translate(2px, -2px) rotate(8deg);
}

.page-band,
.contact,
.case-study,
.case-hero {
  background:
    linear-gradient(90deg, rgba(11, 15, 13, 0.035) 1px, transparent 1px) 0 0 / 25vw 100%,
    var(--signal-paper);
}

.profile-aside,
.contact-link {
  background: rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(11, 15, 13, 0.08),
    0 22px 58px rgba(11, 15, 13, 0.06);
}

.profile-aside {
  padding: clamp(18px, 2.8vw, 30px);
}

.timeline,
.timeline-item,
.case-hero,
.transcript-block {
  border-color: rgba(11, 15, 13, 0.14);
}

.contact-note,
.case-summary-card,
.back-button {
  background: var(--signal-ink);
}

.case-summary-card {
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 32px 80px rgba(11, 15, 13, 0.2);
}

.case-visual-shot,
.transcript-block figure {
  box-shadow: 0 26px 72px rgba(11, 15, 13, 0.11);
}

.case-visual-shot.is-frameless {
  box-shadow: none;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-lab {
    min-height: 0;
  }

  .project-trigger {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 110px;
  }

  .section-screen {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 38px;
  }

  .hero {
    gap: 22px;
    text-align: left;
  }

  .hero::after {
    font-size: 44px;
    top: 48%;
  }

  h1 {
    font-size: clamp(48px, 14vw, 62px);
    line-height: 0.95;
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions,
  .skill-cloud {
    justify-content: flex-start;
  }

  .hero-action {
    min-height: 48px;
    padding-left: 19px;
    padding-right: 19px;
  }

  .hero-lab {
    border-radius: 18px;
    padding: 22px;
  }

  .lab-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .lab-metrics {
    grid-template-columns: 1fr;
  }

  .lab-metrics div {
    min-height: 86px;
  }

  .work-heading {
    grid-template-columns: 1fr;
  }

  h2,
  .case-hero h2 {
    font-size: clamp(42px, 11vw, 56px);
  }

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

  .project-card,
  .project-trigger {
    min-height: 0;
  }

  .project-trigger {
    padding: 22px;
  }

  .project-copy {
    padding-top: 52px;
  }

  .project-copy strong {
    font-size: 34px;
  }

  .project-cover {
    min-height: 250px;
  }
}

/* Two Hands reference polish: airy studio surface, browser-like work previews */
:root {
  --studio-paper: rgb(241, 241, 241);
  --studio-ink: rgb(27, 27, 27);
  --studio-muted: rgba(27, 27, 27, 0.34);
  --studio-line: rgba(27, 27, 27, 0.1);
  --studio-surface: rgba(255, 255, 255, 0.72);
  --studio-green: #65ff79;
  --studio-shadow: 0 34px 100px rgba(27, 27, 27, 0.1);
  --studio-shadow-strong: 0 28px 84px rgba(27, 27, 27, 0.18);
  --studio-radius: 18px;
}

html,
body {
  background: var(--studio-paper);
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), transparent 42rem),
    var(--studio-paper);
  color: var(--studio-ink);
}

body::before {
  background: var(--studio-green);
  height: 4px;
}

.site-header {
  background: rgba(241, 241, 241, 0.76);
  border-bottom: 0;
  min-height: 82px;
  padding: 20px clamp(24px, 3.8vw, 56px);
}

.brand {
  font-weight: 800;
}

.brand-mark {
  border-radius: 9px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 12px 24px rgba(27, 27, 27, 0.12);
  height: 32px;
  letter-spacing: 0.01em;
  width: 32px;
}

.tabs {
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(27, 27, 27, 0.08),
    0 16px 40px rgba(27, 27, 27, 0.06);
  padding: 4px;
}

.tab {
  font-size: 16px;
  min-height: 44px;
  min-width: 100px;
}

.tab.is-active {
  background: #050505;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 12px 26px rgba(27, 27, 27, 0.22);
  color: #fff;
}

.section-screen {
  padding-bottom: 76px;
  padding-top: 76px;
}

.hero {
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  min-height: min(790px, calc(100dvh - 82px));
}

.hero::before {
  display: none;
}

.hero-copy {
  max-width: 1120px;
}

h1 {
  font-size: 106px;
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 0.96;
  max-width: 1050px;
}

.headline-muted {
  color: rgba(27, 27, 27, 0.24);
  display: block;
}

.hero-intro {
  color: rgba(27, 27, 27, 0.64);
  font-size: 20px;
  line-height: 1.72;
  margin-top: 26px;
  max-width: 760px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-action {
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(27, 27, 27, 0.08),
    0 14px 32px rgba(27, 27, 27, 0.06);
  color: var(--studio-ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 760;
  min-height: 54px;
  padding: 0 26px;
  transition:
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-action.is-primary {
  background: #1f1f1f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 18px 38px rgba(27, 27, 27, 0.22);
  color: #fff;
}

.hero-action:hover,
.hero-action:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.hero-action:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(27, 27, 27, 0.08),
    0 0 0 4px rgba(101, 255, 121, 0.42);
}

.hero-action.is-primary:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(101, 255, 121, 0.42),
    0 18px 38px rgba(27, 27, 27, 0.22);
}

.hero-card {
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    var(--studio-shadow-strong);
  min-height: 220px;
}

.hero-card::before {
  background: var(--studio-green);
  border-radius: 999px;
  height: 5px;
  left: 26px;
  top: 0;
  width: 128px;
}

.hero-card strong {
  font-size: 52px;
  font-weight: 780;
}

.skill-cloud {
  gap: 10px;
  margin-top: 6px;
  position: static;
}

.skill-cloud span,
.mini-tags span {
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(27, 27, 27, 0.08),
    0 10px 28px rgba(27, 27, 27, 0.04);
}

.work-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(241, 241, 241, 0.82)),
    var(--studio-paper);
  border-top: 1px solid rgba(27, 27, 27, 0.14);
}

.work-heading {
  align-items: start;
}

h2 {
  font-size: 82px;
  font-weight: 780;
  letter-spacing: -0.045em;
}

.work-heading p:last-child {
  color: rgba(27, 27, 27, 0.68);
}

.project-grid {
  gap: 24px;
}

.project-card {
  background: rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(27, 27, 27, 0.1),
    0 24px 68px rgba(27, 27, 27, 0.05);
  overflow: visible;
}

.project-card::after {
  background: transparent;
}

.project-card:hover,
.project-card:focus-within {
  box-shadow: var(--studio-shadow-strong);
  transform: translateY(-8px);
}

.project-trigger {
  border-radius: 18px;
  padding: 28px;
}

.project-copy {
  padding-top: 48px;
}

.project-copy strong {
  font-size: 42px;
  font-weight: 820;
  letter-spacing: -0.04em;
}

.project-copy em {
  color: rgba(27, 27, 27, 0.7);
}

.project-cover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0 42px, rgba(255, 255, 255, 0.56) 42px),
    linear-gradient(0deg, rgba(27, 27, 27, 0.035) 1px, transparent 1px) 0 42px / 100% 28px,
    rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(27, 27, 27, 0.08),
    0 22px 64px rgba(27, 27, 27, 0.09);
  min-height: 300px;
}

.project-cover::before {
  background:
    radial-gradient(circle, #ff5f57 0 4px, transparent 4.6px) 20px 21px / 18px 18px no-repeat,
    radial-gradient(circle, #ffbd2e 0 4px, transparent 4.6px) 39px 21px / 18px 18px no-repeat,
    radial-gradient(circle, #28c840 0 4px, transparent 4.6px) 58px 21px / 18px 18px no-repeat;
  border-bottom: 1px solid rgba(27, 27, 27, 0.08);
  content: "";
  height: 42px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.project-cover::after {
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(27, 27, 27, 0.06);
  inset: 42px 12px 12px;
}

.cover-title {
  color: rgba(27, 27, 27, 0.1);
}

.project-arrow {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 14px 28px rgba(27, 27, 27, 0.18);
}

.project-card:hover .project-arrow,
.project-card:focus-within .project-arrow,
.back-button:hover,
.hero-card::before {
  background: var(--studio-green);
}

.page-band,
.contact {
  background:
    radial-gradient(circle at 70% 12%, rgba(255, 255, 255, 0.9), transparent 28rem),
    var(--studio-paper);
}

.timeline,
.case-hero,
.transcript-block {
  border-color: rgba(27, 27, 27, 0.14);
}

.contact-link {
  background: rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(27, 27, 27, 0.08),
    0 22px 64px rgba(27, 27, 27, 0.05);
}

.contact-link:hover {
  background: #1f1f1f;
}

.contact-note {
  border-radius: 18px;
  box-shadow: var(--studio-shadow-strong);
}

.case-study {
  background: var(--studio-paper);
}

.back-button {
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 14px 28px rgba(27, 27, 27, 0.12);
}

.case-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.9), transparent 31rem),
    var(--studio-paper);
}

.case-hero h2 {
  font-size: 92px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.case-visual-shot,
.transcript-block figure {
  border-radius: 18px;
  box-shadow: 0 28px 82px rgba(27, 27, 27, 0.12);
}

.case-visual-shot img,
.transcript-block img {
  border-radius: 18px;
}

.case-summary-card {
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    var(--studio-shadow-strong);
}

.summary-stage-grid article {
  border-radius: 14px;
}

.transcript-block p:not(.kicker) {
  color: rgba(27, 27, 27, 0.66);
}

.viewer-close {
  background: var(--studio-green);
}

.case-visual-shot.is-frameless {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.case-visual-shot.is-frameless img {
  border-radius: 0;
}

/* Align every case page hero with the transcript/content column below. */
.case-hero {
  padding-left: 0;
  padding-right: 0;
}

.case-hero > * {
  margin-left: auto;
  margin-right: auto;
  width: min(1280px, calc(100% - (var(--case-pad) * 2)));
}

.case-hero > div:first-child {
  max-width: 1280px;
}

.case-summary-card,
.case-visual-shot {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1180px) {
  h1 {
    font-size: 82px;
  }

  .case-hero h2,
  h2 {
    font-size: 68px;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 110px;
    padding: 14px 16px;
  }

  .tabs {
    width: 100%;
  }

  .tab {
    font-size: 16px;
    min-height: 44px;
    min-width: 0;
  }

  .section-screen {
    padding-top: 40px;
  }

  .hero {
    gap: 24px;
    text-align: center;
  }

  h1 {
    font-size: 54px;
    letter-spacing: -0.055em;
    line-height: 1;
  }

  .headline-muted {
    display: block;
  }

  .hero-intro {
    font-size: 17px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .skill-cloud {
    justify-content: center;
  }

  .hero-action {
    min-height: 52px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-card {
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    text-align: left;
  }

  h2,
  .case-hero h2 {
    font-size: 48px;
    line-height: 1;
  }

  .work-heading p:last-child {
    margin-top: 18px;
  }

  .project-trigger {
    padding: 22px;
  }

  .project-copy {
    padding-top: 44px;
  }

  .project-copy strong {
    font-size: 31px;
  }

  .project-cover {
    min-height: 254px;
  }

  .project-cover::after {
    inset: 42px 10px 10px;
  }

  .case-summary-card,
  .contact-link,
  .contact-note {
    border-radius: 18px;
  }
}

/* Final portfolio art direction */
:root {
  --ink: oklch(0.14 0.012 105);
  --ink-soft: oklch(0.28 0.014 105);
  --muted: oklch(0.48 0.016 105);
  --line: oklch(0.86 0.012 105);
  --paper: oklch(0.98 0 0);
  --canvas: oklch(0.94 0.008 105);
  --white: oklch(1 0 0);
  --green: oklch(0.74 0.18 150);
  --green-soft: oklch(0.94 0.055 150);
  --shadow: 0 26px 80px rgba(16, 18, 14, 0.16);
  --shadow-tight: 0 18px 48px rgba(16, 18, 14, 0.12);
  --shadow-soft: 0 10px 28px rgba(16, 18, 14, 0.08);
  --radius: 10px;
  --mono: "SFMono-Regular", "SF Mono", "Roboto Mono", "Menlo", monospace;
  --sans: "Avenir Next", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html {
  background: var(--paper);
}

body {
  background:
    linear-gradient(90deg, rgba(16, 18, 14, 0.035) 1px, transparent 1px) 0 0 / 25vw 100%,
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body.is-case-open {
  background: var(--paper);
}

body::before {
  background: var(--green);
  content: "";
  height: 3px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 60;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.site-header {
  background: rgba(250, 250, 249, 0.86);
  border-bottom: 1px solid rgba(16, 18, 14, 0.08);
  min-height: 58px;
  padding: 10px clamp(18px, 3.6vw, 56px);
}

.brand {
  font-size: 14px;
  gap: 9px;
}

.brand-mark {
  height: 28px;
  width: 28px;
}

.tabs {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(16, 18, 14, 0.08);
  gap: 2px;
  padding: 3px;
}

.tab {
  border: 0;
  border-radius: 999px;
  min-height: 38px;
  min-width: 82px;
  padding: 7px 15px;
}

.tab:hover,
.tab:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(16, 18, 14, 0.18);
}

.tab.is-active {
  background: var(--ink);
  box-shadow: 0 7px 18px rgba(16, 18, 14, 0.18);
}

.section-screen {
  min-height: calc(100dvh - 58px);
  padding: clamp(36px, 6vw, 88px) clamp(18px, 5vw, 78px);
}

.hero {
  align-content: center;
  gap: clamp(22px, 4vw, 58px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  min-height: min(780px, calc(100dvh - 58px));
}

.hero::before {
  color: rgba(16, 18, 14, 0.045);
  content: "PORTFOLIO";
  font-size: clamp(88px, 17vw, 230px);
  font-weight: 900;
  line-height: 0.8;
  position: absolute;
  right: clamp(18px, 5vw, 78px);
  top: clamp(76px, 12vw, 154px);
  writing-mode: vertical-rl;
  z-index: 0;
}

.hero-copy,
.hero-card,
.skill-cloud {
  position: relative;
  z-index: 1;
}

.eyebrow,
.kicker,
.project-copy small,
.contact-link span,
.timeline-item time {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

h1 {
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 900;
  line-height: 0.96;
  max-width: 900px;
}

.hero-intro {
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.72;
  max-width: 720px;
}

.hero-card {
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
  color: var(--white);
  gap: 16px;
  padding: clamp(22px, 2.8vw, 34px);
}

.hero-card::before {
  background: var(--green);
  height: 4px;
  left: 0;
  right: auto;
  top: 0;
  width: 46%;
}

.hero-card div,
.hero-card span:last-child {
  color: rgba(255, 255, 255, 0.64);
}

.hero-card strong {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.status-dot,
.record-dot,
.project-card:hover .project-arrow,
.project-card:focus-within .project-arrow {
  background: var(--green);
}

.skill-cloud {
  bottom: clamp(22px, 4vw, 44px);
}

.skill-cloud span,
.mini-tags span {
  background: var(--white);
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(16, 18, 14, 0.08);
  color: var(--ink-soft);
}

.work-section {
  background: var(--white);
  border-top: 1px solid var(--ink);
}

.section-heading {
  margin-bottom: clamp(30px, 5.5vw, 70px);
}

.work-heading {
  display: grid;
  gap: clamp(22px, 4vw, 56px);
  grid-template-columns: minmax(0, 0.88fr) minmax(260px, 0.62fr);
  max-width: none;
}

h2 {
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  line-height: 0.98;
}

.work-heading p:last-child {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.72;
  margin-top: 34px;
  max-width: 560px;
}

.project-grid {
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  background: var(--paper);
  border: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(16, 18, 14, 0.08);
  min-height: clamp(330px, 31vw, 440px);
}

.project-card::before {
  opacity: 0.85;
}

.project-card::after {
  background: var(--ink);
  height: 1px;
  transform: scaleX(1);
}

.theme-green::before {
  background: linear-gradient(135deg, rgba(43, 219, 132, 0.16), transparent 52%);
}

.theme-cyan::before {
  background: linear-gradient(135deg, rgba(128, 184, 222, 0.2), transparent 52%);
}

.theme-rose::before {
  background: linear-gradient(135deg, rgba(233, 112, 99, 0.16), transparent 52%);
}

.theme-sand::before {
  background: linear-gradient(135deg, rgba(16, 18, 14, 0.08), transparent 52%);
}

.project-card:hover,
.project-card:focus-within {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.project-trigger {
  gap: clamp(18px, 2.4vw, 32px);
  grid-template-columns: minmax(210px, 0.76fr) minmax(220px, 1fr);
  min-height: clamp(330px, 31vw, 440px);
  padding: clamp(22px, 3vw, 38px);
}

.project-trigger:focus-visible,
.back-button:focus-visible,
.contact-link:focus-visible,
.viewer-close:focus-visible,
.viewer-nav:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.project-index {
  color: var(--ink);
  font-family: var(--mono);
}

.project-copy {
  gap: 12px;
  padding-top: 40px;
}

.project-copy strong {
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.05;
}

.project-copy em {
  color: var(--ink-soft);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.68;
  max-width: 34ch;
}

.project-cover {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.2)),
    rgba(255, 255, 255, 0.48);
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  box-shadow: var(--shadow-soft);
  min-height: 255px;
}

.project-cover::after {
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(16, 18, 14, 0.05);
}

.cover-title {
  color: rgba(16, 18, 14, 0.12);
  font-size: clamp(38px, 4.8vw, 70px);
}

.answer-card,
.cover-system span,
.map-node {
  border: 0;
  box-shadow: var(--shadow-soft);
}

.answer-card.primary,
.cover-system span:nth-child(3n + 1) {
  background: var(--ink);
}

.record-ring {
  border-color: rgba(16, 18, 14, 0.2);
}

.cover-system {
  gap: 9px;
}

.cover-map {
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(16, 18, 14, 0.1) 50%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(16, 18, 14, 0.1) 50%, transparent 50.3%),
    rgba(255, 255, 255, 0.44);
}

.project-arrow {
  background: var(--ink);
  height: 40px;
  width: 40px;
}

.page-band {
  padding: clamp(48px, 8vw, 112px) clamp(18px, 5vw, 78px);
}

.profile-layout {
  gap: clamp(34px, 7vw, 100px);
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
}

.profile-aside {
  top: 94px;
}

.profile-aside h3 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.profile-aside p,
.timeline-item p:not(.role) {
  color: var(--ink-soft);
}

.timeline {
  border-top-color: var(--ink);
}

.timeline-item {
  border-bottom-color: var(--line);
  grid-template-columns: minmax(132px, 180px) minmax(0, 1fr);
  padding: clamp(28px, 4vw, 46px) 0;
}

.timeline-item h3 {
  font-size: clamp(28px, 4.6vw, 58px);
}

.role {
  color: var(--ink);
}

.contact {
  min-height: calc(100dvh - 58px);
}

.contact-grid {
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-link,
.contact-note {
  border: 0;
  border-radius: var(--radius);
}

.contact-link {
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(16, 18, 14, 0.08);
}

.contact-link:hover {
  background: var(--ink);
  color: var(--white);
}

.contact-link:hover span {
  color: rgba(255, 255, 255, 0.64);
}

.contact-note {
  background: var(--ink);
}

.contact-note p {
  max-width: 880px;
}

.case-study {
  --case-pad: clamp(18px, 5vw, 78px);
  background: var(--paper);
  padding-top: clamp(22px, 3.5vw, 48px);
}

.back-button {
  background: var(--ink);
  border: 0;
  box-shadow: none;
  color: var(--white);
  min-height: 42px;
  padding: 10px 15px;
}

.back-button:hover {
  background: var(--green);
  color: var(--ink);
}

.case-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  gap: clamp(30px, 5vw, 72px);
  padding-bottom: clamp(38px, 6vw, 84px);
  padding-top: clamp(28px, 4vw, 52px);
}

.case-hero h2 {
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: -0.025em;
  line-height: 0.98;
  max-width: 1060px;
}

.case-hero p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.72;
  max-width: 780px;
}

.case-visual-shot,
.transcript-block figure {
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 1280px;
}

.case-visual-shot img,
.transcript-block img {
  background: var(--white);
  border-radius: var(--radius);
  display: block;
}

.case-visual-shot figcaption {
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  padding: 13px 2px 0;
}

.case-summary-card {
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
  min-height: clamp(330px, 35vw, 500px);
}

.case-summary-card::before {
  color: rgba(255, 255, 255, 0.07);
}

.recorder-summary,
.system-summary,
.other-summary {
  background: var(--ink);
}

.summary-topline span {
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.summary-stage-grid {
  gap: 1px;
}

.summary-stage-grid article {
  min-height: 188px;
}

.case-content.case-transcript {
  gap: 0;
  padding-top: 0;
}

.transcript-block {
  border-top: 1px solid rgba(16, 18, 14, 0.16);
  gap: clamp(22px, 3vw, 36px);
  padding: clamp(42px, 6vw, 82px) 0;
}

.transcript-block:first-child {
  border-top: 0;
}

.transcript-block figure {
  width: min(1280px, calc(100% - (var(--case-pad) * 2)));
}

.transcript-block > div {
  display: grid;
  gap: 6px clamp(20px, 3vw, 42px);
  grid-template-columns: minmax(104px, 160px) minmax(0, 1fr);
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  width: min(1280px, calc(100% - (var(--case-pad) * 2)));
}

.transcript-block > div::before {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  font-family: var(--mono);
  height: auto;
  justify-content: flex-start;
  margin: 0;
  width: auto;
}

.transcript-block .kicker {
  grid-column: 1;
  margin: 0;
}

.transcript-block h3,
.transcript-block p:not(.kicker) {
  grid-column: 2;
}

.transcript-block h3 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  margin: 0;
}

.transcript-block p:not(.kicker) {
  -webkit-line-clamp: 2;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.72;
  margin: 6px 0 0;
  max-width: 760px;
}

.transcript-block ul {
  display: none;
}

.image-viewer {
  background: rgba(10, 11, 9, 0.94);
  grid-template-columns: 58px minmax(0, 1fr) 58px;
}

.viewer-frame {
  gap: 12px;
}

.viewer-image {
  background: transparent;
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  max-height: calc(100dvh - 112px);
  max-width: min(100%, 1280px);
}

.viewer-caption {
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--mono);
}

.viewer-close,
.viewer-nav {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.viewer-close {
  background: var(--green);
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .tab-panel.is-active,
  body.is-case-open .case-study {
    animation: surface-in 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .project-card,
  .project-cover,
  .contact-link,
  .back-button,
  .tab {
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
}

@keyframes surface-in {
  from {
    opacity: 0.001;
    transform: translateY(10px);
  }

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

@media (max-width: 1040px) {
  body {
    background: var(--paper);
  }

  .hero,
  .work-heading,
  .profile-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    max-width: 420px;
  }

  .skill-cloud {
    margin-top: 4px;
    position: static;
  }

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

  .project-trigger {
    grid-template-columns: minmax(0, 0.8fr) minmax(220px, 1fr);
  }

  .profile-aside {
    position: static;
  }

  .summary-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: inline;
  }

  .tabs {
    width: 100%;
  }

  .tab {
    flex: 1;
    min-width: 0;
  }

  .section-screen,
  .page-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero::before {
    display: none;
  }

  h1 {
    font-size: clamp(44px, 15vw, 66px);
  }

  h2,
  .case-hero h2 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .project-trigger {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-cover {
    min-height: 230px;
  }

  .timeline-item,
  .transcript-block > div {
    grid-template-columns: 1fr;
  }

  .transcript-block .kicker,
  .transcript-block h3,
  .transcript-block p:not(.kicker) {
    grid-column: 1;
  }

  .case-study {
    --case-pad: 16px;
  }

  .case-summary-card {
    min-height: 0;
    padding: 22px;
  }

  .case-summary-card::before {
    font-size: 72px;
    left: auto;
    right: 10px;
  }

  .contact-link {
    min-height: 174px;
    padding: 22px;
  }

  .contact-link strong {
    font-size: 28px;
    letter-spacing: -0.025em;
    line-height: 1.05;
    word-break: normal;
  }

  .contact-note {
    padding: 22px;
  }

  .contact-note p {
    font-size: clamp(18px, 6vw, 24px);
  }

  .summary-topline {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .summary-stage-grid article {
    min-height: 136px;
  }

  .image-viewer {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    padding: 12px;
  }
}

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