:root {
  --bg: #fbfcfa;
  --ink: #101314;
  --muted: #646f70;
  --line: #e0e6e2;
  --surface: #ffffff;
  --soft: #f3f6f4;
  --blue: #175cff;
  --green: #0c9f72;
  --amber: #d98212;
  --blue-soft: #e9efff;
  --green-soft: #e7f6ef;
  --amber-soft: #fff1dc;
  --shadow: 0 28px 80px rgba(22, 28, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(rgba(16, 19, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 20, 0.028) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  margin: 0;
  overflow-x: hidden;
}

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

svg {
  display: block;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(251, 252, 250, 0.86);
  border-bottom: 1px solid rgba(224, 230, 226, 0.88);
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 52px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 850;
  height: 36px;
  justify-content: center;
  letter-spacing: 0;
  width: 36px;
}

.nav-links {
  align-items: center;
  color: #384243;
  display: flex;
  font-size: 0.94rem;
  gap: clamp(16px, 3vw, 36px);
}

.nav-links a:last-child {
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  font-weight: 750;
  padding: 12px 18px;
}

.hero {
  display: grid;
  gap: clamp(34px, 5vw, 86px);
  grid-template-columns: minmax(0, 0.76fr) minmax(440px, 1fr);
  min-height: clamp(720px, calc(100svh - 72px), 980px);
  padding: clamp(56px, 8vw, 112px) clamp(24px, 5vw, 52px) 42px;
}

.hero-copy {
  align-self: center;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(5rem, 11vw, 10rem);
  letter-spacing: 0;
  line-height: 0.83;
  margin: 0;
}

.hero-copy p {
  color: #303839;
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  line-height: 1.12;
  margin: 30px 0 0;
  max-width: 650px;
  overflow-wrap: anywhere;
}

.hero-copy p span:nth-child(1) {
  color: var(--blue);
}

.hero-copy p span:nth-child(2) {
  color: var(--green);
}

.hero-copy p span:nth-child(3) {
  color: var(--amber);
}

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

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 760;
  gap: 12px;
  min-height: 50px;
  padding: 0 20px;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

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

.button svg,
.footer svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.button.primary {
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(16, 19, 20, 0.16);
  color: #fff;
}

.button.secondary {
  background: #fff;
  border: 1px solid #cdd7d2;
}

.availability {
  align-items: center;
  color: #334041;
  display: flex;
  font-size: 0.92rem;
  gap: 10px;
  margin-top: 26px;
  max-width: 500px;
}

.availability i,
.lab-top i {
  background: var(--green);
  border-radius: 999px;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.stack-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 62px 0 0;
  padding: 0;
}

.stack-highlights li,
.radar span,
.tool-grid div {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stack-highlights li {
  color: #4b5657;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px;
}

.domain-note {
  align-items: center;
  border-top: 1px solid var(--line);
  color: #3b4748;
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  padding-top: 16px;
}

.domain-note span {
  color: var(--muted);
  font-size: 0.86rem;
}

.domain-note strong {
  font-size: 0.96rem;
}

.lab-panel {
  align-self: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}

.lab-top {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 220px;
}

.lab-top > div {
  padding: 22px 26px;
}

.lab-top > div:first-child {
  align-items: center;
  display: flex;
  gap: 16px;
}

.lab-top strong {
  font-size: 1.18rem;
}

.lab-top span,
.ship-window span,
.active-projects p,
.activity-feed p,
.radar p {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
}

.ship-window {
  border-left: 1px solid var(--line);
}

.ship-window strong {
  color: var(--blue);
  display: block;
  font-size: 1.45rem;
  margin-top: 6px;
}

.active-projects {
  padding: 26px;
}

.active-projects p,
.activity-feed p,
.radar p {
  margin: 0 0 14px;
}

.lab-project {
  align-items: center;
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 44px 1fr auto;
  min-width: 0;
  padding: 15px;
}

.lab-project + .lab-project {
  border-top: 0;
}

.app-icon {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 850;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.app-icon img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.app-icon.blue {
  background: var(--blue);
}

.app-icon.green {
  background: var(--green);
}

.app-icon.logo-icon {
  background: #5f665f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 8px 20px rgba(12, 159, 114, 0.2);
  overflow: hidden;
}

.app-icon.amber {
  background: var(--amber);
}

.app-icon.red {
  background: #e14e2d;
}

.app-icon.nest-icon {
  background: #10222a;
}

.lab-project strong,
.lab-project span {
  display: block;
}

.lab-project span {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

.lab-project mark {
  background: var(--green-soft);
  border-radius: 8px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 850;
  padding: 7px 9px;
  text-transform: uppercase;
}

.lab-bottom {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
}

.activity-feed,
.radar {
  padding: 22px 26px;
}

.activity-feed {
  border-right: 1px solid var(--line);
}

.activity-feed span {
  align-items: center;
  color: #344041;
  display: flex;
  font-size: 0.86rem;
  gap: 9px;
  margin-top: 12px;
}

.activity-feed i {
  border-radius: 999px;
  flex: 0 0 7px;
  height: 7px;
  width: 7px;
}

.blue-dot {
  background: var(--blue);
}

.green-dot {
  background: var(--green);
}

.amber-dot {
  background: var(--amber);
}

.red-dot {
  background: #e14e2d;
}

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

.radar span {
  color: #415051;
  font-size: 0.78rem;
  font-weight: 740;
  padding: 8px;
  text-align: center;
}

.profile-snapshot,
.projects-section,
.toolkit,
.contact {
  border-top: 1px solid var(--line);
  padding: 72px clamp(24px, 5vw, 52px);
}

.profile-snapshot {
  align-items: end;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1fr);
  padding-bottom: 64px;
  padding-top: 64px;
}

.snapshot-copy {
  min-width: 0;
}

.snapshot-copy > span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.snapshot-copy h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 16px 0 18px;
}

.snapshot-copy p {
  color: #4c5859;
  font-size: 1.08rem;
  line-height: 1.58;
  margin: 0;
  max-width: 680px;
}

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

.signal-grid div {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 154px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.signal-grid div::after {
  background: var(--blue);
  content: "";
  height: 3px;
  left: 20px;
  position: absolute;
  right: 20px;
  top: 0;
}

.signal-grid div:nth-child(2)::after {
  background: var(--green);
}

.signal-grid div:nth-child(3)::after {
  background: var(--amber);
}

.signal-grid div:nth-child(4)::after {
  background: #e14e2d;
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid strong {
  font-size: 1.12rem;
}

.signal-grid span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.42;
  margin-top: 12px;
}

.section-heading {
  display: grid;
  gap: 22px;
  grid-template-columns: 0.34fr minmax(0, 1fr);
  margin-bottom: 34px;
}

.section-heading span,
.contact > div > span,
.case-number {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-heading h2,
.contact h2 {
  font-size: clamp(2.3rem, 5.2vw, 5rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
  max-width: 1050px;
}

.case-study {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(24, 31, 33, 0.06);
  display: grid;
  gap: 34px;
  grid-template-columns: 0.46fr 1fr;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
}

.case-copy {
  align-self: center;
  min-width: 0;
}

.case-brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.case-brand img {
  border: 1px solid rgba(12, 159, 114, 0.22);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(12, 159, 114, 0.12);
  display: block;
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.case-copy h3 {
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 22px 0 18px;
}

.case-copy p {
  color: #4c5859;
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}

.case-facts {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
}

.case-facts div {
  display: grid;
  gap: 16px;
  grid-template-columns: 88px 1fr;
}

.case-facts dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.case-facts dd {
  color: #202829;
  font-size: 0.92rem;
  margin: 0;
}

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

.case-actions a,
.case-actions span {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #314041;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 760;
  min-height: 38px;
  padding: 0 12px;
}

.case-actions a {
  align-items: center;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.case-actions span {
  align-items: center;
  background: #fff;
}

.product-window {
  background: #fff;
  border: 1px solid #d9e1dd;
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(16, 19, 20, 0.12);
  overflow: hidden;
}

.window-top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 58px;
  justify-content: space-between;
  padding: 0 24px;
}

.window-top span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 720;
}

.pod-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 430px;
}

.pod-nav {
  background: #f5f8f6;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-auto-rows: 34px;
  padding: 28px 20px;
}

.pod-nav span,
.pod-card,
.stat-row div {
  border-radius: 8px;
}

.pod-nav span {
  background: #e6ede9;
}

.pod-nav span:first-child {
  background: var(--blue-soft);
}

.pod-content {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.stat-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.stat-row div {
  background: #f6f8f7;
  border: 1px solid var(--line);
  padding: 18px;
}

.stat-row strong,
.stat-row span {
  display: block;
}

.stat-row strong {
  font-size: 1.65rem;
}

.stat-row span {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 4px;
}

.pod-card {
  border: 1px solid var(--line);
  min-height: 82px;
  position: relative;
}

.pod-card::before,
.pod-card::after {
  border-radius: 999px;
  content: "";
  position: absolute;
}

.pod-card::before {
  height: 34px;
  left: 18px;
  top: 24px;
  width: 34px;
}

.pod-card::after {
  background: #dfe7e3;
  height: 12px;
  left: 68px;
  top: 28px;
  width: 46%;
}

.netflix::before {
  background: #e8202a;
}

.spotify::before {
  background: #19bd63;
}

.youtube::before {
  background: #ff2c1d;
}

.secondary-cases {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.compact-case {
  grid-template-columns: minmax(0, 1fr) 260px;
  min-height: 500px;
}

.compact-case .case-copy h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.green-text {
  color: var(--green);
}

.amber-text {
  color: var(--amber);
}

.mini-analytics {
  align-self: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.mini-analytics div {
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
}

.mini-analytics span,
.mini-analytics strong {
  display: block;
}

.mini-analytics span {
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-analytics strong {
  font-size: 1.35rem;
  margin-top: 4px;
}

.mini-analytics svg {
  height: 88px;
  width: 100%;
}

.mini-analytics path {
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-width: 4;
}

.iphone-mock {
  align-self: center;
  background: #fff;
  border: 8px solid #111;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(16, 19, 20, 0.16);
  height: 390px;
  justify-self: center;
  padding: 42px 16px 20px;
  position: relative;
  width: 190px;
}

.notch {
  background: #111;
  border-radius: 0 0 13px 13px;
  height: 20px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 72px;
}

.phone-header,
.field,
.next-button,
.phone-tabs span {
  border-radius: 8px;
}

.phone-header {
  background: var(--amber-soft);
  height: 70px;
}

.invite-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.invite-row span,
.invite-row i {
  background: #f4d6a3;
  border-radius: 999px;
  height: 28px;
  width: 28px;
}

.invite-row i {
  background: var(--ink);
}

.field {
  background: #eef1ef;
  height: 36px;
  margin-bottom: 12px;
}

.field.large {
  height: 72px;
}

.next-button {
  background: var(--ink);
  height: 36px;
}

.phone-tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 18px;
}

.phone-tabs span {
  background: #cdd6d1;
  height: 7px;
  width: 22px;
}

.additional-projects {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.resume-project {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(24, 31, 33, 0.06);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
}

.resume-project-copy {
  align-self: center;
  min-width: 0;
}

.resume-project-copy > span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gate-project .resume-project-copy > span {
  color: #e14e2d;
}

.resume-project-copy h3 {
  font-size: clamp(2rem, 3.5vw, 4rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 20px 0 16px;
}

.resume-project-copy p {
  color: #4c5859;
  font-size: 1.05rem;
  line-height: 1.58;
  margin: 0;
  max-width: 680px;
}

.resume-project-copy ul {
  color: #354243;
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 18px;
}

.resume-project-copy li {
  line-height: 1.45;
}

.game-studio-project {
  background: #101314;
  border-color: #293033;
  color: #fff;
  margin-top: 24px;
}

.game-studio-project .resume-project-copy > span {
  color: #ff6b4a;
}

.game-studio-project .resume-project-copy p,
.game-studio-project .resume-project-copy ul {
  color: rgba(255, 255, 255, 0.76);
}

.game-studio-project .case-actions a {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.game-studio-project .case-actions span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.84);
}

.arcade-preview {
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%),
    radial-gradient(circle at 20% 20%, rgba(225, 78, 45, 0.28), transparent 30%),
    radial-gradient(circle at 84% 72%, rgba(23, 92, 255, 0.24), transparent 32%),
    #090b0d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: grid;
  min-height: 500px;
  padding: 24px;
}

.arcade-screen {
  align-self: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 28px 70px rgba(0, 0, 0, 0.32);
  padding: 22px;
}

.arcade-title {
  align-items: end;
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.arcade-title span,
.steam-strip span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.arcade-title strong {
  color: #fff;
  font-size: 1.05rem;
}

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

.arcade-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 128px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.arcade-card:first-child {
  grid-column: 1 / -1;
  min-height: 168px;
}

.arcade-card::before {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.50)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 38%);
  content: "";
  inset: 0;
  position: absolute;
}

.arcade-card::after {
  border-radius: 18px;
  content: "";
  height: 88px;
  opacity: 0.88;
  position: absolute;
  right: -18px;
  top: 18px;
  transform: rotate(12deg);
  width: 112px;
}

.arcade-card strong,
.arcade-card span,
.arcade-card small {
  display: block;
  position: relative;
  z-index: 1;
}

.arcade-card strong {
  font-size: 1.05rem;
}

.arcade-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  margin-top: 8px;
}

.arcade-card small {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 820;
  margin-top: 13px;
  padding: 6px 8px;
}

.samurai-card {
  background:
    linear-gradient(135deg, rgba(225, 78, 45, 0.78), rgba(30, 12, 15, 0.98)),
    #111;
}

.samurai-card::after {
  background: #e14e2d;
}

.dungeon-card {
  background:
    linear-gradient(135deg, rgba(12, 159, 114, 0.70), rgba(7, 24, 19, 0.98)),
    #111;
}

.dungeon-card::after {
  background: var(--green);
}

.stocks-card {
  background:
    linear-gradient(135deg, rgba(23, 92, 255, 0.72), rgba(5, 14, 30, 0.98)),
    #111;
}

.stocks-card::after {
  background: var(--blue);
}

.pong-card {
  background:
    linear-gradient(135deg, rgba(177, 62, 222, 0.74), rgba(25, 8, 34, 0.98)),
    #111;
}

.pong-card::after {
  background: #b13ede;
}

.campus-card {
  background:
    linear-gradient(135deg, rgba(217, 130, 18, 0.76), rgba(40, 22, 4, 0.98)),
    #111;
}

.campus-card::after {
  background: var(--amber);
}

.brick-card {
  background:
    linear-gradient(135deg, rgba(255, 92, 46, 0.76), rgba(42, 12, 6, 0.98)),
    #111;
}

.brick-card::after {
  background: #ff5c2e;
}

.starforge-card {
  background:
    linear-gradient(135deg, rgba(64, 174, 255, 0.76), rgba(4, 15, 34, 0.98)),
    #111;
}

.starforge-card::after {
  background: #40aeff;
}

.rhythm-card {
  background:
    linear-gradient(135deg, rgba(184, 92, 255, 0.76), rgba(32, 10, 48, 0.98)),
    #111;
}

.rhythm-card::after {
  background: #b85cff;
}

.steam-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.steam-strip span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 8px 10px;
}

.nest-project {
  background: #faf9f5;
  border-color: #e6e1d6;
  margin-top: 0;
}

.podshare-case {
  margin-top: 24px;
}

.nest-project-brand {
  align-items: center;
  display: flex;
  gap: 14px;
}

.nest-project-brand img {
  display: block;
  height: 34px;
  width: auto;
}

.nest-project-brand span {
  color: #61724d;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nest-preview {
  align-self: stretch;
  background:
    radial-gradient(circle at 18% 14%, rgba(97, 114, 77, 0.14), transparent 28%),
    linear-gradient(135deg, #f1efe7 0%, #fbfaf6 100%);
  border: 1px solid #e1dccf;
  border-radius: 8px;
  display: grid;
  min-height: 460px;
  overflow: hidden;
  padding: 24px;
}

.nest-browser {
  align-self: center;
  background: #fff;
  border: 1px solid #d8d2c4;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(16, 34, 42, 0.12);
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.nest-browser-top {
  align-items: center;
  background: #10222a;
  display: flex;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
}

.nest-browser-top span {
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

.nest-browser img {
  display: block;
  height: 390px;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}

.medipal-preview {
  align-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(23, 92, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #e9f5ef 0%, #f7fbfa 100%);
  border: 1px solid #d7e5df;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 0.72fr 1fr;
  min-height: 390px;
  padding: 28px;
}

.medipal-phone {
  background: #fff;
  border: 8px solid #111;
  border-radius: 30px;
  box-shadow: 0 24px 56px rgba(16, 19, 20, 0.14);
  min-height: 310px;
  padding: 34px 16px 18px;
  position: relative;
}

.medipal-phone > span {
  background: #111;
  border-radius: 0 0 12px 12px;
  height: 18px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 66px;
}

.medipal-phone strong {
  color: var(--green);
  display: block;
  font-size: 1.2rem;
}

.medipal-phone p {
  color: #263233;
  font-size: 1.35rem;
  font-weight: 780;
  line-height: 1.08;
  margin: 16px 0 22px;
}

.medipal-phone div,
.medipal-chat span {
  background: #e8f3ee;
  border-radius: 8px;
  display: block;
}

.medipal-phone div {
  height: 46px;
  margin-bottom: 10px;
}

.medipal-phone button {
  background: var(--green);
  border: 0;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  min-height: 38px;
  padding: 0 12px;
  width: 100%;
}

.medipal-chat {
  display: grid;
  gap: 16px;
}

.medipal-chat span {
  height: 72px;
}

.medipal-chat span:nth-child(2) {
  background: var(--blue-soft);
  margin-left: 36px;
}

.medipal-chat span:nth-child(3) {
  background: #fff;
  border: 1px solid #d7e5df;
}

.gate-project {
  background: #111;
  border-color: #2e1715;
  color: #fff;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.74fr);
}

.gate-project .resume-project-copy p,
.gate-project .resume-project-copy ul {
  color: rgba(255, 255, 255, 0.78);
}

.gate-project .case-actions span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.84);
}

.gate-visual {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  min-height: 390px;
  overflow: hidden;
}

.gate-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.toolkit .section-heading {
  margin-bottom: 26px;
}

.section-heading.small h2 {
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

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

.tool-grid div {
  min-height: 130px;
  padding: 18px;
}

.tool-grid strong,
.tool-grid span {
  display: block;
}

.tool-grid strong {
  font-size: 1rem;
}

.tool-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  margin-top: 10px;
}

.contact {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: 0.9fr 1fr;
}

.contact h2 {
  margin-top: 14px;
}

.contact p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 560px;
}

.contact-links {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-links a {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 120px 1fr;
  padding: 24px;
  transition:
    background 150ms ease,
    color 150ms ease;
}

.contact-links a + a {
  border-top: 1px solid var(--line);
}

.contact-links a:hover {
  background: var(--ink);
  color: #fff;
}

.contact-links span {
  color: var(--muted);
}

.contact-links a:hover span {
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.9rem;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 52px) 34px;
}

.footer a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

@media (max-width: 1120px) {
  .hero,
  .case-study,
  .profile-snapshot,
  .contact {
    grid-template-columns: 1fr;
  }

  .lab-panel {
    align-self: stretch;
  }

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

  .compact-case {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    height: auto;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .nav-links {
    justify-content: space-between;
    width: 100%;
  }

  .nav-links a:last-child {
    background: transparent;
    color: #384243;
    padding: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(4rem, 23vw, 6rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    justify-content: center;
    width: 100%;
  }

  .stack-highlights {
    margin-top: 36px;
  }

  .domain-note {
    margin-top: 22px;
  }

  .lab-top,
  .lab-bottom,
  .section-heading,
  .secondary-cases,
  .pod-layout,
  .stat-row,
  .signal-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .ship-window,
  .activity-feed {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

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

  .lab-project mark {
    justify-self: start;
    grid-column: 2;
  }

  .projects-section,
  .profile-snapshot,
  .toolkit,
  .contact {
    padding-bottom: 56px;
    padding-top: 56px;
  }

  .case-copy h3 {
    font-size: clamp(2.05rem, 11vw, 3.8rem);
  }

  .case-facts div,
  .contact-links a {
    grid-template-columns: 1fr;
  }

  .pod-layout {
    min-height: auto;
  }

  .pod-nav {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    grid-template-columns: repeat(4, 1fr);
    padding: 16px;
  }

  .pod-content {
    padding: 18px;
  }

  .medipal-preview {
    grid-template-columns: 1fr;
  }

  .gate-visual {
    min-height: 280px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .profile-snapshot,
  .projects-section,
  .toolkit,
  .contact,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
    width: min(100%, 430px);
  }

  .hero-copy p {
    font-size: 1.18rem;
    line-height: 1.2;
    max-width: calc(100vw - 48px);
  }

  .nav-links {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(5, 1fr);
    max-width: calc(100vw - 48px);
    font-size: 0.82rem;
  }

  .nav-links a {
    text-align: center;
  }

  .nav-links a:first-child {
    text-align: left;
  }

  .nav-links a:last-child {
    text-align: right;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: calc(100vw - 48px);
  }

  .button {
    justify-content: center;
    max-width: 100%;
    width: 100%;
  }

  .availability {
    align-items: flex-start;
  }

  .stack-highlights {
    max-width: calc(100vw - 48px);
  }

  .stack-highlights li {
    min-width: 0;
  }

  .lab-panel,
  .case-study,
  .resume-project {
    margin-left: -8px;
    margin-right: -8px;
    max-width: calc(100vw - 32px);
  }

  .active-projects,
  .activity-feed,
  .radar,
  .lab-top > div {
    padding-left: 18px;
    padding-right: 18px;
  }

  .case-study,
  .resume-project {
    padding: 22px;
  }

  .compact-case {
    min-height: auto;
  }

  .iphone-mock {
    transform: scale(0.94);
  }

  .medipal-preview {
    padding: 18px;
  }

  .arcade-games {
    grid-template-columns: 1fr;
  }

  .arcade-card:first-child {
    grid-column: auto;
  }

  .arcade-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
