:root {
  --bg: #080c12;
  --bg-soft: #0f141b;
  --bg-elevated: #151b23;
  --panel: rgba(20, 27, 36, 0.82);
  --panel-strong: rgba(24, 32, 42, 0.96);
  --ink: #f3f7fb;
  --copy: #d1dbe7;
  --muted: #93a2b6;
  --line: rgba(214, 224, 238, 0.12);
  --line-strong: rgba(214, 224, 238, 0.22);
  --accent: #7d86ff;
  --accent-soft: rgba(125, 134, 255, 0.14);
  --accent-alt: #7fe5d0;
  --accent-alt-soft: rgba(127, 229, 208, 0.16);
  --accent-pop: #d8ff64;
  --accent-pop-soft: rgba(216, 255, 100, 0.16);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background: #070b10;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background-color: #070b10;
  background:
    radial-gradient(circle at 12% 16%, rgba(127, 229, 208, 0.09), transparent 18%),
    radial-gradient(circle at 86% 10%, rgba(125, 134, 255, 0.18), transparent 26%),
    radial-gradient(circle at 72% 78%, rgba(216, 255, 100, 0.06), transparent 20%),
    linear-gradient(180deg, #070b10 0%, #0a0f16 42%, #0d131b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 92%);
}

body::after {
  content: "";
  position: fixed;
  right: -160px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(125, 134, 255, 0.16), transparent 48%),
    radial-gradient(circle at 55% 55%, rgba(127, 229, 208, 0.14), transparent 44%);
  filter: blur(24px);
  pointer-events: none;
  opacity: 0.85;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 36px), var(--content-width));
  margin: 0 auto;
  padding-bottom: 52px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(10, 15, 22, 0.88), rgba(10, 15, 22, 0.72)),
    rgba(10, 15, 22, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.wordmark-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.wordmark-url {
  color: var(--accent-alt);
  font-size: 0.82rem;
}

.topnav,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-actions {
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(214, 224, 238, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.topnav {
  justify-self: center;
  color: var(--muted);
}

.topbar-actions {
  justify-self: end;
}

.topnav a,
.text-link {
  position: relative;
  font-size: 0.95rem;
  transition: color 160ms ease;
}

.topnav a:hover,
.topnav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
}

.topnav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.topnav a:hover::after,
.topnav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.topbar-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--copy);
  font-size: 0.9rem;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.topbar-action:hover,
.topbar-action:focus-visible {
  border-color: rgba(127, 229, 208, 0.2);
  background: rgba(127, 229, 208, 0.06);
  color: var(--ink);
  transform: translateY(-1px);
}

.topbar-action-primary {
  border-color: rgba(216, 255, 100, 0.32);
  background: rgba(216, 255, 100, 0.12);
  color: var(--accent-pop);
  box-shadow: 0 10px 24px rgba(160, 194, 48, 0.08);
}

.topbar-action-primary:hover,
.topbar-action-primary:focus-visible {
  border-color: rgba(216, 255, 100, 0.48);
  background: rgba(216, 255, 100, 0.18);
  color: #ecff9a;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #d6ff63, #f0ffaf);
  color: #091017;
  box-shadow: 0 14px 30px rgba(160, 194, 48, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #e4ff88, #f6ffc7);
}

.button-secondary {
  border-color: rgba(127, 229, 208, 0.22);
  background: rgba(127, 229, 208, 0.04);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(127, 229, 208, 0.42);
  background: rgba(127, 229, 208, 0.08);
}

.hero {
  display: grid;
  gap: 22px;
  align-items: start;
  padding: 58px 0 54px;
}

.hero-main {
  position: relative;
  max-width: none;
  text-align: center;
}

.hero-main::after {
  display: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-alt);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 32px;
  align-items: center;
  max-width: 1040px;
  margin-inline: auto;
}

.hero-copy-block {
  max-width: none;
}

.hero-intro,
.section-heading p,
.proof-copy,
.artifact-summary,
.artifact-block p,
.experience-body p,
.approach-item p,
.contact-copy p,
.footer p,
.aside-item p {
  color: var(--copy);
  line-height: 1.75;
}

.hero-intro {
  max-width: 62ch;
  margin: 0;
  font-size: 1.05rem;
}

.hero-list-shell {
  position: relative;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(17, 24, 35, 0.82), rgba(17, 24, 35, 0.58)),
    rgba(255, 255, 255, 0.01);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.1);
}

.hero-list-shell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt), transparent);
  opacity: 0.85;
}

.hero-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-pop), var(--accent-alt));
  box-shadow: 0 0 0 6px rgba(127, 229, 208, 0.06);
}

.hero-list li + li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-aside {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.aside-item {
  position: relative;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(17, 24, 35, 0.78), rgba(17, 24, 35, 0.58)),
    rgba(255, 255, 255, 0.01);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.1);
}

.aside-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-alt), var(--accent), transparent);
  opacity: 0.85;
}

.aside-label,
.artifact-label,
.case-study-kind,
.artifact-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aside-item p,
.artifact-block p {
  margin: 0;
}

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

.proof-item {
  position: relative;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(17, 24, 35, 0.82), rgba(17, 24, 35, 0.58)),
    rgba(255, 255, 255, 0.01);
  overflow: hidden;
}

.proof-item:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(17, 24, 35, 0.82), rgba(17, 24, 35, 0.62)),
    radial-gradient(circle at top right, rgba(127, 229, 208, 0.12), transparent 42%);
}

.proof-item::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pop), var(--accent-alt), var(--accent));
}

.proof-item:nth-child(2)::before {
  background: linear-gradient(90deg, var(--accent-alt), var(--accent), var(--accent-pop));
}

.proof-item:nth-child(3)::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-pop), var(--accent-alt));
}

.proof-item:nth-child(4)::before {
  background: linear-gradient(90deg, var(--accent-pop), var(--accent), var(--accent-alt));
}

.proof-item:nth-child(1) .proof-value {
  color: #f3f7fb;
}

.proof-item:nth-child(2) .proof-value {
  color: #8fe9d7;
}

.proof-item:nth-child(3) .proof-value {
  color: #dfff78;
}

.proof-item:nth-child(4) .proof-value {
  color: #aab4ff;
}

.proof-value {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.45rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.proof-copy {
  margin: 0;
}

.section {
  padding-top: 96px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.15rem, 5vw, 3.6rem);
}

.section-heading p {
  margin: 20px 0 0;
  font-size: 1.02rem;
}

.case-study-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.35fr) minmax(0, 0.65fr);
  gap: 22px;
  margin-top: 36px;
}

.case-study-nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.case-study-trigger {
  width: 100%;
  padding: 18px 18px 20px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.case-study-trigger strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.case-study-kind {
  color: var(--accent-alt);
}

.case-study-trigger span:last-child {
  display: block;
  color: var(--copy);
  line-height: 1.55;
}

.case-study-trigger:hover,
.case-study-trigger:focus-visible,
.case-study-trigger.is-active {
  border-color: rgba(216, 255, 100, 0.34);
  background:
    linear-gradient(180deg, rgba(125, 134, 255, 0.12), rgba(127, 229, 208, 0.05)),
    rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

.case-study-panel {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(18, 24, 33, 0.98), rgba(14, 20, 28, 0.92)),
    radial-gradient(circle at top right, rgba(125, 134, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(127, 229, 208, 0.08), transparent 24%);
  box-shadow: var(--shadow);
}

.case-study-panel::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-pop), var(--accent-alt), transparent);
}

.case-study-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.artifact-kicker {
  margin: 0 0 12px;
  color: var(--accent-alt);
}

.artifact-status {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(125, 134, 255, 0.08);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.case-study-panel h3,
.experience-body h3,
.approach-item h3 {
  margin: 0;
  font-size: 1.34rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.artifact-summary {
  margin: 18px 0 0;
  max-width: 64ch;
  font-size: 1.02rem;
}

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

.artifact-block {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.artifact-visual-shell {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at top right, rgba(127, 229, 208, 0.08), transparent 32%),
    rgba(0, 0, 0, 0.14);
}

.artifact-media-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: center;
}

.artifact-visual-copy h4,
.artifact-stage h4 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.artifact-visual-copy p,
.artifact-stage p {
  margin: 0;
  color: var(--copy);
  line-height: 1.7;
}

.artifact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.artifact-badges span,
.stack-list li {
  padding: 8px 12px;
  border: 1px solid rgba(127, 229, 208, 0.18);
  border-radius: 999px;
  background: rgba(127, 229, 208, 0.06);
  color: var(--ink);
  font-size: 0.9rem;
}

.artifact-stage {
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(125, 134, 255, 0.1), rgba(127, 229, 208, 0.03)),
    rgba(13, 19, 28, 0.88);
}

.artifact-stage-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artifact-stage-notes {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.artifact-stage-notes span {
  color: var(--ink);
  font-size: 0.95rem;
}

.artifact-image-frame {
  max-width: 272px;
  margin-left: auto;
  padding: 12px;
  border-radius: 30px;
  background: #090d13;
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.32);
}

.artifact-image-frame img {
  border-radius: 22px;
}

.artifact-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}

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

.artifact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.artifact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(216, 255, 100, 0.18);
  border-radius: 999px;
  background: rgba(216, 255, 100, 0.05);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.artifact-links a:hover,
.artifact-links a:focus-visible {
  background: rgba(216, 255, 100, 0.1);
  border-color: rgba(216, 255, 100, 0.34);
  transform: translateY(-1px);
}

.experience-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.experience-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.experience-period {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.experience-body p {
  margin: 10px 0 0;
}

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

.approach-item {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(17, 24, 35, 0.82), rgba(17, 24, 35, 0.54)),
    rgba(255, 255, 255, 0.01);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}

.approach-item:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(125, 134, 255, 0.1), rgba(127, 229, 208, 0.03)),
    rgba(17, 24, 35, 0.72);
}

.approach-item p {
  margin: 12px 0 0;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  margin-top: 96px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(18, 24, 33, 0.96), rgba(16, 23, 31, 0.84)),
    radial-gradient(circle at top right, rgba(125, 134, 255, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(216, 255, 100, 0.06), transparent 24%);
  box-shadow: var(--shadow);
}

.contact-copy {
  max-width: 760px;
}

.contact-copy p {
  margin: 18px 0 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer {
  padding-top: 44px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .topnav {
    display: none;
  }

  .case-study-layout,
  .artifact-media-layout,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero-support {
    grid-template-columns: 1fr;
    max-width: 720px;
    gap: 22px;
  }

  .hero-copy-block {
    max-width: none;
  }

  .hero-intro {
    max-width: 60ch;
  }

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

  .proof-strip,
  .approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .artifact-image-frame {
    margin-left: 0;
  }

  .hero-main::after {
    display: none;
  }
}

@media (max-width: 760px) {
  body::before {
    opacity: 0.16;
    background-size: 32px 32px;
  }

  body::after {
    right: -180px;
    bottom: -160px;
    width: 340px;
    height: 340px;
    opacity: 0.62;
  }

  .page-shell {
    width: min(calc(100% - 24px), var(--content-width));
    padding-bottom: 34px;
  }

  .topbar {
    top: 10px;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .wordmark {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    width: 100%;
  }

  .wordmark-name {
    font-size: 0.98rem;
  }

  .wordmark-url {
    font-size: 0.76rem;
  }

  .topbar-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-self: stretch;
    gap: 5px;
    width: 100%;
    padding: 4px;
    border-radius: 14px;
  }

  .topbar-action {
    min-height: 36px;
    padding: 0 6px;
    font-size: 0.76rem;
  }

  .hero {
    gap: 18px;
    padding: 34px 0 34px;
  }

  .hero-main {
    text-align: left;
  }

  .eyebrow {
    margin-bottom: 0;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .hero-support {
    max-width: none;
    margin-inline: 0;
    gap: 16px;
  }

  .hero-intro {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-list-shell {
    padding: 16px;
    border-radius: 16px;
  }

  .hero-list {
    gap: 10px;
  }

  .hero-list li {
    padding-left: 15px;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .hero-list li::before {
    top: 0.62em;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 5px rgba(127, 229, 208, 0.05);
  }

  .hero-list li + li {
    padding-top: 10px;
  }

  .hero-aside {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    margin-inline: -12px;
    padding: 0 12px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-aside::-webkit-scrollbar,
  .case-study-nav::-webkit-scrollbar {
    display: none;
  }

  .aside-item {
    flex: 0 0 min(76vw, 270px);
    scroll-snap-align: start;
    padding: 16px;
    border-radius: 16px;
  }

  .aside-label,
  .artifact-label,
  .case-study-kind,
  .artifact-kicker {
    margin-bottom: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .proof-strip,
  .approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .proof-item {
    padding: 17px 15px 16px;
    border-radius: 16px;
  }

  .proof-value {
    margin-bottom: 8px;
    font-size: 2.25rem;
  }

  .proof-copy {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .section {
    padding-top: 58px;
  }

  .section-heading h2 {
    font-size: 2.25rem;
    line-height: 1;
  }

  .section-heading p {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .case-study-layout {
    gap: 18px;
    margin-top: 24px;
  }

  .case-study-nav {
    display: flex;
    gap: 10px;
    margin-inline: -12px;
    padding: 0 12px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .case-study-trigger {
    flex: 0 0 205px;
    scroll-snap-align: start;
    padding: 14px;
    border-radius: 15px;
  }

  .case-study-trigger strong {
    margin-bottom: 0;
  }

  .case-study-trigger span:last-child {
    display: none;
  }

  .artifact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }

  .artifact-block {
    padding-top: 14px;
  }

  .case-study-panel,
  .artifact-visual-shell {
    padding: 18px;
    border-radius: 18px;
  }

  .case-study-panel-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .case-study-panel h3,
  .experience-body h3,
  .approach-item h3 {
    font-size: 1.14rem;
    line-height: 1.25;
  }

  .artifact-status {
    padding: 7px 10px;
    font-size: 0.67rem;
  }

  .artifact-summary {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .artifact-stage {
    padding: 18px;
    border-radius: 16px;
  }

  .artifact-visual-copy h4,
  .artifact-stage h4 {
    font-size: 1.55rem;
    line-height: 1.05;
  }

  .artifact-stage-notes {
    gap: 8px;
    margin-top: 16px;
  }

  .artifact-badges,
  .stack-list,
  .artifact-links {
    gap: 8px;
  }

  .artifact-badges span,
  .stack-list li,
  .artifact-links a {
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .artifact-footer {
    margin-top: 18px;
  }

  .experience-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .experience-period {
    font-size: 0.72rem;
  }

  .experience-body p,
  .approach-item p,
  .aside-item p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .approach-item {
    padding: 18px;
    border-radius: 16px;
  }

  .footer {
    padding-top: 34px;
  }

  .footer p {
    font-size: 0.82rem;
    line-height: 1.55;
  }
}

@media (max-width: 390px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--content-width));
  }

  .wordmark {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .topbar-action {
    min-height: 34px;
    padding: 0 4px;
    font-size: 0.7rem;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .case-study-trigger {
    flex-basis: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
