:root {
  --v1-bg: #eef4f1;
  --v1-ink: #10211d;
  --v1-muted: #52635d;
  --v1-line: #a8beb5;
  --v1-green: #0b6b55;
  --v1-blue: #2359c7;
  --v1-yellow: #f1c84b;
  --v1-surface: #fbfcf9;
  --v2-bg: #111412;
  --v2-ink: #f4f0e6;
  --v2-muted: #b7b0a3;
  --v2-line: #343a35;
  --v2-green: #8ddebf;
  --v2-orange: #e49b4f;
  --v2-panel: #191d1a;
  --v3-bg: #f5f3ec;
  --v3-ink: #171717;
  --v3-muted: #65615a;
  --v3-line: #cfc8ba;
  --v3-red: #bd3328;
  --v3-blue: #244c9d;
  --v3-card: #fffaf0;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.variant-nav {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.variant-nav__name {
  font-weight: 850;
  text-decoration: none;
}

.variant-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.94rem;
}

.variant-nav__links a {
  text-decoration: none;
}

.variant-nav__links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.v-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.v-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.v-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.v-footer {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  margin: 88px auto 0;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 42px;
}

.v-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Variant 1: Product-to-Platform Map */
.v1 {
  color: var(--v1-ink);
  background: var(--v1-bg);
}

.v1-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(32px, 5vw, 76px);
  min-height: calc(100vh - 92px);
  align-items: center;
  padding: 32px 0 72px;
}

.v1-copy h1 {
  max-width: 800px;
  margin: 18px 0 24px;
  font-size: clamp(3.8rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.v1-copy p {
  max-width: 650px;
  color: var(--v1-muted);
  font-size: 1.14rem;
  text-wrap: pretty;
}

.v1-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.v1 .v-button:first-child {
  color: white;
  background: var(--v1-ink);
}

.v1 .v-button:last-child {
  border: 1px solid var(--v1-line);
  background: var(--v1-surface);
}

.map-board {
  position: relative;
  min-height: 650px;
  padding: 32px;
  border: 2px solid var(--v1-ink);
  background: var(--v1-surface);
}

.map-line {
  position: absolute;
  z-index: 1;
  top: 54%;
  right: 44px;
  left: 44px;
  height: 4px;
  background: var(--v1-ink);
  transform: translateY(-50%);
}

.map-node {
  position: absolute;
  z-index: 2;
  width: min(32vw, 220px);
  min-height: 132px;
  padding: 16px;
  border: 2px solid var(--v1-ink);
  background: white;
}

.map-node h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.05;
}

.map-node p {
  margin: 0;
  color: var(--v1-muted);
  font-size: 0.94rem;
}

.map-node--start {
  top: 56px;
  left: 24px;
  background: var(--v1-yellow);
}

.map-node--ai {
  top: 218px;
  left: 30%;
  background: #dbe8ff;
}

.map-node--scale {
  right: 22px;
  bottom: 42px;
  color: white;
  background: var(--v1-green);
}

.map-node--scale p {
  color: rgba(255, 255, 255, 0.78);
}

.map-scale {
  position: absolute;
  z-index: 1;
  right: 32px;
  left: 32px;
  top: calc(54% + 26px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  color: var(--v1-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.map-scale span {
  padding-top: 8px;
  border-top: 2px solid var(--v1-line);
}

.v1-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 96px;
  background: var(--v1-line);
  border: 1px solid var(--v1-line);
}

.v1-proof div {
  padding: 22px;
  background: var(--v1-surface);
}

.v1-proof strong {
  display: block;
  font-size: 1.55rem;
}

.v1-proof span {
  color: var(--v1-muted);
}

.v1-projects {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
  padding: 80px 0 26px;
  border-top: 2px solid var(--v1-ink);
}

.v1-projects h2,
.v1-writing h2 {
  margin: 12px 0 0;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.v1-project-list {
  display: grid;
  gap: 14px;
}

.v1-project {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--v1-line);
  text-decoration: none;
}

.v1-project span {
  color: var(--v1-muted);
  font-weight: 800;
}

.v1-project h3 {
  margin: 0 0 7px;
  font-size: 1.55rem;
}

.v1-project p {
  margin: 0;
  color: var(--v1-muted);
}

.v1-writing {
  padding: 72px 0 20px;
}

.v1-writing-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.v1-writing-card {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--v1-line);
  background: var(--v1-surface);
  text-decoration: none;
}

.v1-writing-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.v1-writing-card p {
  margin: 0;
  color: var(--v1-muted);
}

/* Variant 2: Systems Dossier */
.v2 {
  color: var(--v2-ink);
  background: var(--v2-bg);
}

.v2 .variant-nav {
  border-bottom: 1px solid var(--v2-line);
}

.v2 .variant-nav__links,
.v2 .v-footer {
  color: var(--v2-muted);
}

.v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 54px;
  padding: 74px 0 84px;
}

.v2 h1 {
  max-width: 880px;
  margin: 16px 0 24px;
  font-size: clamp(3.7rem, 8vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.v2-lede {
  max-width: 700px;
  color: var(--v2-muted);
  font-size: 1.16rem;
}

.v2 .v-eyebrow {
  color: var(--v2-green);
}

.dossier-panel {
  align-self: stretch;
  padding: 24px;
  border: 1px solid var(--v2-line);
  background: var(--v2-panel);
}

.dossier-panel h2 {
  margin: 0 0 24px;
  font-size: 1rem;
  color: var(--v2-orange);
  text-transform: uppercase;
}

.dossier-panel dl {
  display: grid;
  gap: 20px;
  margin: 0;
}

.dossier-panel dt {
  color: var(--v2-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dossier-panel dd {
  margin: 4px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.v2-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
}

.v2-proof div {
  padding: 30px;
  border-right: 1px solid var(--v2-line);
}

.v2-proof div:last-child {
  border-right: 0;
}

.v2-proof strong {
  display: block;
  color: var(--v2-green);
  font-size: 2rem;
}

.v2-proof span {
  color: var(--v2-muted);
}

.v2-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  padding: 88px 0 0;
}

.v2-grid h2 {
  position: sticky;
  top: 24px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.case-stack {
  display: grid;
  gap: 12px;
}

.case-file {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--v2-line);
  background: var(--v2-panel);
  text-decoration: none;
}

.case-file span {
  color: var(--v2-green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.case-file h3 {
  margin: 0 0 8px;
  font-size: 1.42rem;
}

.case-file p {
  margin: 0;
  color: var(--v2-muted);
}

.v2-writing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--v2-line);
  border: 1px solid var(--v2-line);
}

.v2-writing a {
  padding: 22px;
  background: var(--v2-bg);
  text-decoration: none;
}

.v2-writing h3 {
  margin: 0 0 10px;
}

.v2-writing p {
  margin: 0;
  color: var(--v2-muted);
}

/* Variant 3: Operator's Desk */
.v3 {
  color: var(--v3-ink);
  background: var(--v3-bg);
}

.v3 .variant-nav {
  border-bottom: 2px solid var(--v3-ink);
}

.v3-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 46px;
  padding: 46px 0 64px;
  align-items: center;
}

.v3 h1 {
  margin: 16px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 6.6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.v3-lede {
  max-width: 620px;
  color: var(--v3-muted);
  font-size: 1.14rem;
}

.desk {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  transform: rotate(-1deg);
}

.desk-card {
  min-height: 190px;
  padding: 22px;
  border: 2px solid var(--v3-ink);
  background: var(--v3-card);
  box-shadow: 8px 8px 0 var(--v3-ink);
}

.desk-card:nth-child(2) {
  transform: translateY(34px) rotate(2deg);
}

.desk-card:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 160px;
  transform: rotate(1deg);
}

.desk-card h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.desk-card strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
}

.desk-card p {
  color: var(--v3-muted);
}

.v3 .v-button:first-child {
  color: white;
  background: var(--v3-red);
}

.v3 .v-button:last-child {
  border: 2px solid var(--v3-ink);
  background: var(--v3-card);
}

.v3-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.v3-band {
  border-top: 2px solid var(--v3-ink);
  border-bottom: 2px solid var(--v3-ink);
  background: #ebe4d5;
}

.v3-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.v3-band-inner div {
  min-height: 150px;
  padding: 24px;
  border-right: 2px solid var(--v3-ink);
}

.v3-band-inner div:first-child {
  border-left: 2px solid var(--v3-ink);
}

.v3-band-inner strong {
  display: block;
  font-size: 1.55rem;
}

.v3-band-inner span {
  color: var(--v3-muted);
}

.v3-projects {
  padding: 80px 0 0;
}

.v3-projects h2,
.v3-writing h2 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

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

.v3-project-card {
  min-height: 250px;
  padding: 24px;
  border: 2px solid var(--v3-ink);
  background: var(--v3-card);
  text-decoration: none;
}

.v3-project-card h3 {
  margin: 18px 0 10px;
  font-size: 1.6rem;
}

.v3-project-card span {
  color: var(--v3-blue);
  font-weight: 850;
  text-transform: uppercase;
}

.v3-project-card p {
  color: var(--v3-muted);
}

.v3-writing {
  padding: 82px 0 0;
}

.v3-writing-list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--v3-ink);
}

.v3-writing-list a {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 2px solid var(--v3-ink);
  text-decoration: none;
}

.v3-writing-list img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--v3-ink);
}

.v3-writing-list h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.v3-writing-list p {
  max-width: 650px;
  margin: 0;
  color: var(--v3-muted);
}

/* Variant 4: Product Systems Desk */
.v4 {
  color: var(--v1-ink);
  background:
    linear-gradient(rgba(16, 33, 29, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 33, 29, 0.045) 1px, transparent 1px),
    var(--v1-bg);
  background-size: 28px 28px;
}

.v4 .variant-nav {
  border-bottom: 2px solid var(--v1-ink);
}

.v4 .variant-nav__links {
  color: var(--v1-muted);
}

.v4-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(36px, 5vw, 72px);
  min-height: calc(100vh - 92px);
  align-items: center;
  padding: 34px 0 72px;
}

.v4-copy h1 {
  max-width: 820px;
  margin: 18px 0 24px;
  font-size: clamp(3.7rem, 7.6vw, 5.9rem);
  line-height: 0.93;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.v4-copy p {
  max-width: 690px;
  color: var(--v1-muted);
  font-size: 1.14rem;
  text-wrap: pretty;
}

.v4-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.v4 .v-button:first-child {
  color: white;
  background: var(--v1-ink);
}

.v4 .v-button + .v-button {
  border: 2px solid var(--v1-ink);
  background: var(--v1-surface);
}

.v4-desk {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding: 20px;
  border: 2px solid var(--v1-ink);
  background: rgba(251, 252, 249, 0.72);
  transform: rotate(-0.8deg);
}

.v4-desk-card {
  min-height: 196px;
  padding: 22px;
  border: 2px solid var(--v1-ink);
  background: white;
  box-shadow: 8px 8px 0 var(--v1-ink);
}

.v4-desk-card:nth-child(2) {
  transform: translateY(32px) rotate(1.5deg);
}

.v4-desk-card:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 150px;
  transform: rotate(0.6deg);
}

.v4-desk-card--yellow {
  background: var(--v1-yellow);
}

.v4-desk-card--blue {
  background: #dbe8ff;
}

.v4-desk-card--green {
  color: white;
  background: var(--v1-green);
}

.v4-desk-card h2 {
  margin: 0 0 10px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.v4-desk-card strong {
  display: block;
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  line-height: 1;
}

.v4-desk-card p {
  margin: 14px 0 0;
  color: var(--v1-muted);
}

.v4-desk-card--green p {
  color: rgba(255, 255, 255, 0.78);
}

.v4-resume,
.v4-work,
.v4-writing {
  padding: 78px 0 0;
  border-top: 2px solid var(--v1-ink);
}

.v4-resume {
  padding-top: 90px;
}

.v4-section-intro {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 42px;
  margin-bottom: 36px;
}

.v4-section-intro h2,
.v4-work h2,
.v4-writing h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

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

.v4-timeline-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 20px;
  min-height: 246px;
  padding: 22px;
  border: 1px solid var(--v1-line);
  background: rgba(251, 252, 249, 0.82);
}

.v4-company-mark {
  display: flex;
  width: 90px;
  height: 90px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--v1-ink);
  background: white;
  overflow: hidden;
}

.v4-company-mark img {
  display: block;
  max-width: 72px;
  max-height: 52px;
  object-fit: contain;
}

.v4-company-mark--fill img,
.v4-company-mark--photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.v4-company-mark--fill img {
  object-fit: contain;
}

.v4-company-mark--photo img {
  object-position: center;
  transform: scale(1.45);
}

.v4-company-mark--text {
  color: white;
  background: var(--v1-ink);
  font-size: 1.45rem;
  font-weight: 900;
}

.v4-timeline-item__meta {
  color: var(--v1-muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.v4-timeline-item h3 {
  margin: 6px 0 10px;
  font-size: 1.3rem;
  line-height: 1.08;
}

.v4-timeline-item p {
  max-width: 830px;
  margin: 0;
  color: var(--v1-muted);
}

.v4-testimonial {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--v1-green);
  background: rgba(11, 107, 85, 0.07);
}

.v4-testimonial blockquote {
  margin: 0;
  color: var(--v1-ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.v4-testimonial figcaption {
  margin-top: 8px;
  color: var(--v1-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.v4-project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--v1-line);
  border: 1px solid var(--v1-line);
}

.v4-project-card {
  min-height: 260px;
  padding: 24px;
  background: var(--v1-surface);
  text-decoration: none;
}

.v4-project-card:hover,
.v4-writing-list a:hover {
  background: white;
}

.v4-project-card span {
  color: var(--v1-green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.v4-project-card h3 {
  margin: 18px 0 12px;
  font-size: 1.55rem;
  line-height: 1.05;
}

.v4-project-card p {
  margin: 0;
  color: var(--v1-muted);
}

.v4-writing-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 2px solid var(--v1-ink);
}

.v4-writing-list a {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 2px solid var(--v1-ink);
  text-decoration: none;
}

.v4-writing-list img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--v1-ink);
  background: var(--v1-surface);
}

.v4-writing-list h3 {
  margin: 0 0 8px;
  font-size: 1.42rem;
  line-height: 1.1;
}

.v4-writing-list p {
  max-width: 720px;
  margin: 0;
  color: var(--v1-muted);
}

/* Variant 5: Original Palette */
.v5 {
  --v5-bg: #f2f5f7;
  --v5-paper: #ffffff;
  --v5-ink: #121417;
  --v5-muted: rgba(18, 20, 23, 0.66);
  --v5-line: #d9d9d9;
  --v5-blue: #039be5;
  --v5-blue-dark: #045c88;
  --v5-navy: #0d47a1;
  color: var(--v5-ink);
  background: var(--v5-bg);
  font-family: Montserrat, "Avenir Next", "Segoe UI", sans-serif;
}

.v5 .variant-nav {
  border-bottom: 2px solid var(--v5-line);
}

.v5 .variant-nav__name {
  color: rgba(17, 17, 17, 0.68);
  transition: color 0.6s ease, transform 0.6s ease;
}

.v5 .variant-nav__name:hover {
  color: var(--v5-blue);
  transform: scale(1.04);
  text-decoration: none;
}

.v5 .variant-nav__links {
  color: rgba(17, 17, 17, 0.62);
}

.v5 .variant-nav__links a {
  transition: color 0.25s ease;
}

.v5 .variant-nav__links a:hover {
  color: var(--v5-blue);
  text-decoration: none;
}

.v5 .v-eyebrow {
  color: var(--v5-blue-dark);
  letter-spacing: 0.05em;
}

.v5-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(36px, 5vw, 72px);
  min-height: calc(100vh - 92px);
  align-items: center;
  padding: 34px 0 72px;
}

.v5-copy h1 {
  max-width: 820px;
  margin: 18px 0 24px;
  font-size: clamp(3.45rem, 7.1vw, 5.65rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.v5-copy p {
  max-width: 690px;
  color: var(--v5-muted);
  font-size: 1.14rem;
  text-wrap: pretty;
}

.v5-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.v5 .v-button {
  border-radius: 2px;
  transition: color 0.25s ease, background 0.25s ease;
}

.v5 .v-button:first-child {
  color: white;
  background: var(--v5-blue-dark);
}

.v5 .v-button:last-child {
  color: var(--v5-blue-dark);
  border: 2px solid var(--v5-line);
  background: var(--v5-paper);
}

.v5 .v-button:hover {
  color: white;
  background: var(--v5-blue);
  text-decoration: none;
}

.v5-desk {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--v5-line);
  background: var(--v5-paper);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22), inset 0 0 34px rgba(0, 0, 0, 0.08);
}

.v5-desk-card {
  min-height: 196px;
  padding: 22px;
  border: 2px solid var(--v5-line);
  background: var(--v5-paper);
}

.v5-desk-card:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 150px;
}

.v5-desk-card h2 {
  margin: 0 0 10px;
  color: var(--v5-blue-dark);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.v5-desk-card strong {
  display: block;
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  line-height: 1;
}

.v5-desk-card p {
  margin: 14px 0 0;
  color: var(--v5-muted);
}

.v5-resume,
.v5-work,
.v5-writing {
  padding: 78px 0 0;
  border-top: 2px solid var(--v5-line);
}

.v5-resume {
  padding-top: 90px;
}

.v5-section-intro {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 42px;
  margin-bottom: 36px;
}

.v5-section-intro h2,
.v5-work h2,
.v5-writing h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.8vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

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

.v5-timeline-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 20px;
  min-height: 246px;
  padding: 22px;
  border: 1px solid var(--v5-line);
  background: var(--v5-paper);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.13), inset 0 0 28px rgba(0, 0, 0, 0.06);
}

.v5-company-mark {
  display: flex;
  width: 90px;
  height: 90px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--v5-line);
  background: var(--v5-paper);
}

.v5-company-mark img {
  display: block;
  max-width: 72px;
  max-height: 52px;
  object-fit: contain;
}

.v5-company-mark--text {
  color: white;
  background: var(--v5-blue-dark);
  font-size: 1.38rem;
  font-weight: 900;
}

.v5-timeline-item__meta {
  color: var(--v5-blue-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.v5-timeline-item h3 {
  margin: 6px 0 10px;
  font-size: 1.3rem;
  line-height: 1.08;
}

.v5-timeline-item p {
  margin: 0;
  color: var(--v5-muted);
}

.v5-project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--v5-line);
  border: 1px solid var(--v5-line);
}

.v5-project-card {
  min-height: 260px;
  padding: 24px;
  background: var(--v5-paper);
  text-decoration: none;
  transition: background 0.25s ease;
}

.v5-project-card:hover {
  background: #f6fbff;
  text-decoration: none;
}

.v5-project-card span {
  color: var(--v5-blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.v5-project-card h3 {
  margin: 18px 0 12px;
  font-size: 1.5rem;
  line-height: 1.06;
}

.v5-project-card p {
  margin: 0;
  color: var(--v5-muted);
}

.v5-writing-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 2px solid var(--v5-line);
}

.v5-writing-list a {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 2px solid var(--v5-line);
  text-decoration: none;
}

.v5-writing-list a:hover {
  background: #f6fbff;
}

.v5-writing-list img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--v5-line);
  background: var(--v5-paper);
}

.v5-writing-list h3 {
  margin: 0 0 8px;
  font-size: 1.38rem;
  line-height: 1.12;
}

.v5-writing-list p {
  max-width: 720px;
  margin: 0;
  color: var(--v5-muted);
}

.v5 .v-footer {
  padding-top: 42px;
  color: var(--v5-muted);
}

/* Variant 6: Pastoral Animation Systems */
.v6 {
  --v6-sky: #dbeee7;
  --v6-paper: #fff9e7;
  --v6-ink: #243326;
  --v6-muted: #65705f;
  --v6-line: #9eb29b;
  --v6-moss: #486f3d;
  --v6-clay: #c75f3c;
  --v6-sun: #efb949;
  --v6-blue: #6b9ab6;
  color: var(--v6-ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(239, 185, 73, 0.28), transparent 24rem),
    radial-gradient(circle at 82% 12%, rgba(107, 154, 182, 0.2), transparent 25rem),
    linear-gradient(180deg, var(--v6-sky) 0%, #edf2dc 45%, var(--v6-paper) 100%);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

.v6 .variant-nav {
  border-bottom: 1px solid rgba(36, 51, 38, 0.28);
}

.v6 .variant-nav__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.v6 .variant-nav__links,
.v6 .v-footer,
.v6-copy p,
.v6 .v4-copy p,
.v6 .v4-timeline-item p,
.v6 .v4-project-card p,
.v6 .v4-writing-list p {
  color: var(--v6-muted);
}

.v6 .v-eyebrow {
  color: var(--v6-moss);
}

.v6 .v4-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
}

.v6 .v4-copy h1,
.v6 .v4-section-intro h2,
.v6 .v4-work h2,
.v6 .v4-writing h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.v6 .v-button {
  border-radius: 999px;
  box-shadow: 0 5px 0 rgba(36, 51, 38, 0.18);
}

.v6 .v-button:first-child {
  color: #fffdf3;
  background: var(--v6-moss);
}

.v6 .v-button:last-child {
  border: 1px solid var(--v6-line);
  background: rgba(255, 249, 231, 0.82);
}

.v6 .v4-desk {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 2px solid rgba(36, 51, 38, 0.72);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 76% 18%, rgba(239, 185, 73, 0.92) 0 8%, transparent 8.5%),
    linear-gradient(155deg, transparent 0 45%, rgba(72, 111, 61, 0.2) 45% 46%, transparent 46%),
    linear-gradient(18deg, #9dc386 0 26%, #638d54 26% 44%, #3f6a47 44% 59%, #25473a 59% 100%);
  box-shadow: 0 18px 36px rgba(45, 64, 45, 0.2);
  transform: rotate(-0.6deg);
}

.v6 .v4-desk::before,
.v6 .v4-desk::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.v6 .v4-desk::before {
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 68%, rgba(255, 249, 231, 0.22) 0 14%, transparent 15%),
    radial-gradient(ellipse at 56% 56%, rgba(255, 249, 231, 0.14) 0 18%, transparent 19%);
}

.v6 .v4-desk::after {
  right: 8%;
  bottom: 9%;
  width: 26%;
  height: 34%;
  border-radius: 50% 50% 8px 8px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(36, 51, 38, 0.65) 49% 51%, transparent 52%),
    radial-gradient(circle at 50% 18%, rgba(36, 51, 38, 0.82) 0 8%, transparent 9%),
    linear-gradient(180deg, #314f35, #213d2d);
  opacity: 0.86;
}

.v6 .v4-desk-card {
  position: relative;
  z-index: 1;
  min-height: 168px;
  border: 1px solid rgba(36, 51, 38, 0.42);
  border-radius: 12px;
  background: rgba(255, 249, 231, 0.9);
  box-shadow: 0 10px 22px rgba(36, 51, 38, 0.18);
}

.v6 .v4-desk-card--yellow {
  background: rgba(239, 185, 73, 0.9);
}

.v6 .v4-desk-card--blue {
  background: rgba(219, 238, 231, 0.92);
}

.v6 .v4-desk-card--green {
  color: #fffdf3;
  background: rgba(72, 111, 61, 0.94);
}

.v6 .v4-resume,
.v6 .v4-work,
.v6 .v4-writing {
  border-top: 1px solid rgba(36, 51, 38, 0.24);
}

.v6 .v4-timeline-item,
.v6 .v4-project-card,
.v6 .v4-writing-list a {
  border-color: rgba(36, 51, 38, 0.22);
  border-radius: 14px;
  background: rgba(255, 249, 231, 0.7);
  box-shadow: 0 12px 28px rgba(84, 103, 76, 0.12);
}

.v6 .v4-project-grid,
.v6 .v4-writing-list {
  gap: 14px;
  background: transparent;
  border: 0;
}

.v6 .v4-project-card span {
  color: var(--v6-clay);
}

.v6 .v4-company-mark,
.v6 .v4-writing-list img {
  border-color: rgba(36, 51, 38, 0.48);
  border-radius: 10px;
}

/* Variant 7: Shan Shui Systems Scroll */
.v7 {
  --v7-paper: #f7f4e8;
  --v7-ink: #18211d;
  --v7-soft-ink: #56615c;
  --v7-wash: #d8ded4;
  --v7-line: #aeb8ae;
  --v7-cinnabar: #b43a24;
  --v7-mineral: #2c6f78;
  color: var(--v7-ink);
  background:
    linear-gradient(90deg, rgba(24, 33, 29, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 33, 29, 0.04) 1px, transparent 1px),
    var(--v7-paper);
  background-size: 56px 100%, 100% 38px;
  font-family: "Times New Roman", Georgia, serif;
}

.v7 .variant-nav {
  border-bottom: 1px solid var(--v7-ink);
}

.v7 .variant-nav__name,
.v7 .variant-nav__links,
.v7 .v-eyebrow,
.v7 .v4-timeline-item__meta,
.v7 .v4-project-card span {
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

.v7 .variant-nav__links,
.v7 .v-footer,
.v7 .v4-copy p,
.v7 .v4-timeline-item p,
.v7 .v4-project-card p,
.v7 .v4-writing-list p {
  color: var(--v7-soft-ink);
}

.v7 .v-eyebrow,
.v7 .v4-project-card span {
  color: var(--v7-cinnabar);
}

.v7 .v4-copy h1 {
  max-width: 900px;
  font-size: clamp(3.5rem, 7.2vw, 6.2rem);
  font-weight: 500;
  letter-spacing: 0;
}

.v7 .v4-section-intro h2,
.v7 .v4-work h2,
.v7 .v4-writing h2 {
  font-weight: 500;
  letter-spacing: 0;
}

.v7 .v-button {
  border-radius: 0;
  min-height: 42px;
}

.v7 .v-button:first-child {
  color: var(--v7-paper);
  background: var(--v7-ink);
}

.v7 .v-button:last-child {
  border: 1px solid var(--v7-ink);
  background: transparent;
}

.v7 .v4-desk {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--v7-ink);
  background:
    linear-gradient(135deg, transparent 0 36%, rgba(24, 33, 29, 0.2) 36% 36.5%, transparent 36.5%),
    radial-gradient(ellipse at 22% 84%, rgba(24, 33, 29, 0.72) 0 24%, transparent 24.6%),
    radial-gradient(ellipse at 55% 73%, rgba(24, 33, 29, 0.45) 0 28%, transparent 28.5%),
    radial-gradient(ellipse at 84% 63%, rgba(44, 111, 120, 0.34) 0 23%, transparent 23.6%),
    linear-gradient(180deg, rgba(216, 222, 212, 0.56), rgba(247, 244, 232, 0.88));
  box-shadow: inset 0 0 0 14px rgba(247, 244, 232, 0.5);
  transform: none;
}

.v7 .v4-desk::before {
  position: absolute;
  inset: 24px 32px auto auto;
  width: 74px;
  height: 74px;
  content: "";
  border-radius: 50%;
  background: rgba(180, 58, 36, 0.92);
  box-shadow: -28px 64px 0 -24px rgba(180, 58, 36, 0.55);
}

.v7 .v4-desk::after {
  position: absolute;
  right: 26px;
  bottom: 22px;
  content: "Eric Kennedy";
  color: rgba(24, 33, 29, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.v7 .v4-desk-card {
  position: relative;
  z-index: 1;
  min-height: 164px;
  border: 1px solid rgba(24, 33, 29, 0.55);
  background: rgba(247, 244, 232, 0.76);
  box-shadow: none;
}

.v7 .v4-desk-card--yellow,
.v7 .v4-desk-card--blue,
.v7 .v4-desk-card--green {
  color: var(--v7-ink);
  background: rgba(247, 244, 232, 0.78);
}

.v7 .v4-desk-card h2 {
  color: var(--v7-cinnabar);
}

.v7 .v4-resume,
.v7 .v4-work,
.v7 .v4-writing {
  border-top: 1px solid var(--v7-ink);
}

.v7 .v4-timeline,
.v7 .v4-project-grid {
  gap: 0;
  background: transparent;
  border: 1px solid var(--v7-ink);
}

.v7 .v4-timeline-item,
.v7 .v4-project-card {
  border: 0;
  border-right: 1px solid var(--v7-line);
  border-bottom: 1px solid var(--v7-line);
  background: rgba(247, 244, 232, 0.72);
}

.v7 .v4-company-mark,
.v7 .v4-writing-list img {
  border: 1px solid var(--v7-ink);
  background: rgba(255, 255, 255, 0.45);
}

.v7 .v4-writing-list {
  border-top: 1px solid var(--v7-ink);
}

.v7 .v4-writing-list a {
  border-bottom: 1px solid var(--v7-line);
}

/* Variant 8: Retrofuture Control Room */
.v8 {
  --v8-bg: #10100f;
  --v8-panel: #191917;
  --v8-ink: #f2efe0;
  --v8-muted: #a9aa9a;
  --v8-line: #414137;
  --v8-amber: #f2b84b;
  --v8-cyan: #52d6c5;
  --v8-red: #ff684f;
  --v8-green: #87c95f;
  color: var(--v8-ink);
  background:
    radial-gradient(circle at 74% 8%, rgba(82, 214, 197, 0.18), transparent 25rem),
    linear-gradient(rgba(242, 239, 224, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 224, 0.035) 1px, transparent 1px),
    var(--v8-bg);
  background-size: auto, 22px 22px, 22px 22px, auto;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

.v8 .variant-nav {
  border-bottom: 1px solid var(--v8-line);
}

.v8 .variant-nav__name {
  color: var(--v8-amber);
}

.v8 .variant-nav__links,
.v8 .v-footer,
.v8 .v4-copy p,
.v8 .v4-timeline-item p,
.v8 .v4-project-card p,
.v8 .v4-writing-list p {
  color: var(--v8-muted);
}

.v8 .v-eyebrow,
.v8 .v4-project-card span,
.v8 .v4-timeline-item__meta {
  color: var(--v8-cyan);
}

.v8 .v4-copy h1,
.v8 .v4-section-intro h2,
.v8 .v4-work h2,
.v8 .v4-writing h2 {
  font-family: "Arial Black", Impact, "Avenir Next", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.v8 .v4-copy h1 {
  max-width: 900px;
  font-size: clamp(3.15rem, 6.8vw, 5.75rem);
  line-height: 0.94;
}

.v8 .v-button {
  min-height: 42px;
  border-radius: 2px;
  text-transform: uppercase;
}

.v8 .v-button:first-child {
  color: var(--v8-bg);
  background: var(--v8-amber);
}

.v8 .v-button:last-child {
  color: var(--v8-cyan);
  border: 1px solid var(--v8-cyan);
  background: transparent;
}

.v8 .v4-desk {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--v8-line);
  border-radius: 22px;
  background:
    linear-gradient(rgba(82, 214, 197, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, transparent 0 18%, rgba(82, 214, 197, 0.2) 18.5% 19.2%, transparent 19.6% 27%, rgba(242, 184, 75, 0.18) 27.5% 28.3%, transparent 28.8%),
    linear-gradient(135deg, #23231f, #10100f);
  background-size: 100% 5px, auto, auto;
  box-shadow: inset 0 0 0 8px #111, 0 24px 48px rgba(0, 0, 0, 0.34);
  transform: none;
}

.v8 .v4-desk::before,
.v8 .v4-desk::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.v8 .v4-desk::before {
  inset: 11% 10%;
  border: 1px solid rgba(82, 214, 197, 0.42);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(242, 184, 75, 0.06),
    0 0 0 54px rgba(82, 214, 197, 0.04),
    0 0 52px rgba(82, 214, 197, 0.12);
}

.v8 .v4-desk::after {
  left: 24px;
  right: 24px;
  bottom: 22px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--v8-red) 0 34px, var(--v8-amber) 34px 68px, var(--v8-cyan) 68px 102px);
  opacity: 0.85;
}

.v8 .v4-desk-card {
  position: relative;
  z-index: 1;
  min-height: 168px;
  border: 1px solid var(--v8-line);
  border-radius: 6px;
  background: rgba(16, 16, 15, 0.78);
  box-shadow: 0 0 0 1px rgba(242, 239, 224, 0.04), 0 14px 30px rgba(0, 0, 0, 0.24);
}

.v8 .v4-desk-card--yellow {
  background: rgba(242, 184, 75, 0.13);
}

.v8 .v4-desk-card--blue {
  background: rgba(82, 214, 197, 0.12);
}

.v8 .v4-desk-card--green {
  color: var(--v8-ink);
  background: rgba(135, 201, 95, 0.14);
}

.v8 .v4-desk-card h2 {
  color: var(--v8-amber);
}

.v8 .v4-desk-card strong {
  color: var(--v8-ink);
}

.v8 .v4-resume,
.v8 .v4-work,
.v8 .v4-writing {
  border-top: 1px solid var(--v8-line);
}

.v8 .v4-timeline-item,
.v8 .v4-project-card,
.v8 .v4-writing-list a {
  border-color: var(--v8-line);
  background: rgba(25, 25, 23, 0.82);
}

.v8 .v4-project-grid {
  background: var(--v8-line);
  border-color: var(--v8-line);
}

.v8 .v4-project-card:hover,
.v8 .v4-writing-list a:hover {
  background: rgba(36, 36, 31, 0.94);
}

.v8 .v4-company-mark,
.v8 .v4-writing-list img {
  border-color: var(--v8-line);
  background: #f2efe0;
}

.v8 .v4-writing-list {
  border-top-color: var(--v8-line);
}

.v8 .v4-writing-list a {
  border-bottom-color: var(--v8-line);
}

/* Variant 9: Storybook Systems Hillside */
.v9 {
  --v9-sky: #9fd7df;
  --v9-cloud: #fff8df;
  --v9-paper: #fff3c9;
  --v9-ink: #20392b;
  --v9-muted: #597063;
  --v9-moss: #477c4a;
  --v9-leaf: #7fb05c;
  --v9-lake: #4f9eb2;
  --v9-roof: #b84b35;
  --v9-sun: #f2b64b;
  color: var(--v9-ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 248, 223, 0.95) 0 5.6rem, transparent 5.8rem),
    radial-gradient(ellipse at 82% 16%, rgba(255, 248, 223, 0.82) 0 8rem, transparent 8.2rem),
    radial-gradient(ellipse at 66% 26%, rgba(255, 248, 223, 0.52) 0 6rem, transparent 6.2rem),
    linear-gradient(180deg, var(--v9-sky) 0 38rem, #d3e9b9 38rem, var(--v9-paper) 100%);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

.v9::before,
.v9::after {
  position: fixed;
  left: -8vw;
  right: -8vw;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.v9::before {
  top: 30rem;
  height: 23rem;
  background:
    radial-gradient(ellipse at 12% 100%, #4f8046 0 21rem, transparent 21.2rem),
    radial-gradient(ellipse at 44% 100%, #6fa155 0 28rem, transparent 28.2rem),
    radial-gradient(ellipse at 86% 100%, #385f3f 0 24rem, transparent 24.2rem);
}

.v9::after {
  top: 43rem;
  height: 16rem;
  background:
    linear-gradient(180deg, rgba(255, 243, 201, 0), var(--v9-paper) 70%),
    radial-gradient(ellipse at 38% 0, rgba(79, 158, 178, 0.4) 0 15rem, transparent 15.2rem);
}

.v9 .variant-nav {
  border-bottom: 1px solid rgba(32, 57, 43, 0.18);
  background: transparent;
}

.v9 .variant-nav__name,
.v9 .v4-copy h1,
.v9 .v4-section-intro h2,
.v9 .v4-work h2,
.v9 .v4-writing h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.v9 .variant-nav__links,
.v9 .v-footer,
.v9 .v4-copy p,
.v9 .v4-timeline-item p,
.v9 .v4-project-card p,
.v9 .v4-writing-list p {
  color: var(--v9-muted);
}

.v9 .v-eyebrow,
.v9 .v4-project-card span,
.v9 .v4-timeline-item__meta {
  color: #315946;
}

.v9 .v4-hero {
  grid-template-columns: minmax(0, 0.78fr) minmax(470px, 1.22fr);
  min-height: calc(100vh - 88px);
}

.v9 .v4-copy h1 {
  max-width: 860px;
  color: #172d20;
  font-size: clamp(2.7rem, 4.55vw, 3.95rem);
  line-height: 0.98;
  text-shadow: 0 3px 0 rgba(255, 248, 223, 0.9);
}

.v9 .v-button {
  min-height: 46px;
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(32, 57, 43, 0.22);
}

.v9 .v-button:first-child {
  color: #fff8df;
  background: var(--v9-moss);
}

.v9 .v-button:last-child {
  border: 2px solid rgba(32, 57, 43, 0.42);
  background: rgba(255, 248, 223, 0.72);
}

.v9 .v4-desk {
  position: relative;
  display: block;
  min-height: 610px;
  overflow: hidden;
  border: 3px solid rgba(32, 57, 43, 0.75);
  border-radius: 32px;
  background:
    radial-gradient(circle at 73% 14%, var(--v9-sun) 0 4.8rem, transparent 5rem),
    radial-gradient(ellipse at 18% 19%, rgba(255, 248, 223, 0.86) 0 7.2rem, transparent 7.4rem),
    radial-gradient(ellipse at 52% 24%, rgba(255, 248, 223, 0.62) 0 5.8rem, transparent 6rem),
    linear-gradient(180deg, #a8dce4 0 47%, #cae4aa 47% 100%);
  box-shadow: 0 28px 60px rgba(40, 75, 48, 0.3);
  transform: rotate(-1.4deg);
}

.v9 .v4-desk::before,
.v9 .v4-desk::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.v9 .v4-desk::before {
  inset: 38% -12% -8%;
  background:
    radial-gradient(ellipse at 14% 82%, #5f9148 0 18rem, transparent 18.2rem),
    radial-gradient(ellipse at 48% 80%, #83b760 0 24rem, transparent 24.2rem),
    radial-gradient(ellipse at 82% 74%, #3b6844 0 20rem, transparent 20.2rem),
    linear-gradient(18deg, transparent 0 44%, rgba(255, 243, 201, 0.86) 44.5% 49%, transparent 49.5%);
}

.v9 .v4-desk::after {
  display: none;
}

.v9 .v4-desk-card {
  position: absolute;
  z-index: 1;
  width: min(45%, 270px);
  min-height: 166px;
  border: 2px solid rgba(32, 57, 43, 0.66);
  border-radius: 20px 20px 20px 6px;
  background: rgba(255, 248, 223, 0.88);
  box-shadow: 10px 12px 0 rgba(32, 57, 43, 0.18);
  transform-origin: center;
}

.v9 .v4-desk-card:nth-child(1) {
  top: 11%;
  left: 9%;
  background: rgba(242, 182, 75, 0.92);
  transform: rotate(-7deg);
  animation: v9-float 5s ease-in-out infinite;
}

.v9 .v4-desk-card:nth-child(2) {
  top: 28%;
  right: 7%;
  z-index: 2;
  background: #b9e3e5;
  transform: rotate(5deg);
  animation: v9-float 6s ease-in-out infinite reverse;
}

.v9 .v4-desk-card:nth-child(3) {
  left: 10%;
  bottom: 3%;
  width: min(50%, 330px);
  z-index: 1;
  color: #fff8df;
  background: rgba(54, 117, 62, 0.98);
  transform: rotate(-2deg);
}

.v9 .v4-desk-card:nth-child(3) strong {
  font-size: clamp(1.85rem, 2.9vw, 2.35rem);
}

.v9 .v4-desk-card h2 {
  color: inherit;
}

.v9 .v4-resume,
.v9 .v4-work,
.v9 .v4-writing {
  border-top: 2px dashed rgba(32, 57, 43, 0.32);
}

.v9 .v4-timeline-item,
.v9 .v4-project-card,
.v9 .v4-writing-list a {
  border: 2px solid rgba(32, 57, 43, 0.3);
  border-radius: 22px;
  background: rgba(255, 248, 223, 0.82);
  box-shadow: 0 16px 32px rgba(66, 94, 59, 0.14);
}

.v9 .v4-project-grid,
.v9 .v4-writing-list {
  gap: 18px;
  background: transparent;
  border: 0;
}

.v9 .v4-company-mark,
.v9 .v4-writing-list img {
  border-color: rgba(32, 57, 43, 0.55);
  border-radius: 18px;
}

@keyframes v9-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

/* Variant 10: Mountain Scroll Immersion */
.v10 {
  --v10-paper: #f4efdf;
  --v10-ink: #151916;
  --v10-wash: #ccd2c7;
  --v10-deep: #303932;
  --v10-muted: #65685e;
  --v10-line: #9da395;
  --v10-seal: #b53223;
  color: var(--v10-ink);
  background:
    radial-gradient(ellipse at 78% 7%, rgba(181, 50, 35, 0.12), transparent 19rem),
    radial-gradient(ellipse at 18% 30%, rgba(21, 25, 22, 0.08), transparent 24rem),
    linear-gradient(90deg, rgba(21, 25, 22, 0.055) 1px, transparent 1px),
    var(--v10-paper);
  background-size: auto, auto, 72px 100%, auto;
  font-family: "Times New Roman", Georgia, serif;
}

.v10 .variant-nav {
  border-bottom: 1px solid var(--v10-ink);
}

.v10 .variant-nav__name,
.v10 .variant-nav__links,
.v10 .v-eyebrow,
.v10 .v4-timeline-item__meta,
.v10 .v4-project-card span {
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

.v10 .variant-nav__links,
.v10 .v-footer,
.v10 .v4-copy p,
.v10 .v4-timeline-item p,
.v10 .v4-project-card p,
.v10 .v4-writing-list p {
  color: var(--v10-muted);
}

.v10 .v-eyebrow,
.v10 .v4-project-card span {
  color: var(--v10-seal);
}

.v10 .v4-hero {
  grid-template-columns: minmax(0, 0.7fr) minmax(560px, 1.3fr);
  min-height: calc(100vh - 88px);
}

.v10 .v4-copy {
  position: relative;
}

.v10 .v4-copy::before {
  position: absolute;
  top: -58px;
  left: -18px;
  width: 72px;
  height: 72px;
  content: "";
  border: 2px solid rgba(181, 50, 35, 0.74);
  background:
    linear-gradient(90deg, transparent 45%, rgba(181, 50, 35, 0.74) 46% 54%, transparent 55%),
    linear-gradient(180deg, transparent 45%, rgba(181, 50, 35, 0.74) 46% 54%, transparent 55%);
  opacity: 0.42;
}

.v10 .v4-copy h1,
.v10 .v4-section-intro h2,
.v10 .v4-work h2,
.v10 .v4-writing h2 {
  font-weight: 500;
  letter-spacing: 0;
}

.v10 .v4-copy h1 {
  max-width: 820px;
  font-size: clamp(2.75rem, 4.65vw, 4.05rem);
  line-height: 0.98;
}

.v10 .v-button {
  border-radius: 0;
}

.v10 .v-button:first-child {
  color: var(--v10-paper);
  background: var(--v10-ink);
}

.v10 .v-button:last-child {
  border: 1px solid var(--v10-ink);
  background: transparent;
}

.v10 .v4-desk {
  position: relative;
  display: block;
  min-height: 640px;
  overflow: hidden;
  border: 0;
  border-left: 26px solid #d8cda9;
  border-right: 26px solid #d8cda9;
  background:
    linear-gradient(180deg, rgba(244, 239, 223, 0) 0 13%, rgba(244, 239, 223, 0.82) 13.5% 100%),
    radial-gradient(ellipse at 16% 82%, rgba(21, 25, 22, 0.86) 0 20rem, transparent 20.2rem),
    radial-gradient(ellipse at 42% 69%, rgba(21, 25, 22, 0.58) 0 23rem, transparent 23.3rem),
    radial-gradient(ellipse at 72% 62%, rgba(21, 25, 22, 0.42) 0 22rem, transparent 22.2rem),
    radial-gradient(ellipse at 95% 74%, rgba(21, 25, 22, 0.66) 0 18rem, transparent 18.2rem),
    linear-gradient(180deg, #eef0e8 0%, var(--v10-paper) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(21, 25, 22, 0.42),
    0 24px 60px rgba(21, 25, 22, 0.18);
  transform: none;
}

.v10 .v4-desk::before,
.v10 .v4-desk::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.v10 .v4-desk::before {
  top: 4%;
  right: 17%;
  bottom: 16%;
  width: 34px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(21, 25, 22, 0) 0 12%, rgba(21, 25, 22, 0.68) 12.5% 75%, rgba(21, 25, 22, 0) 75.5%),
    repeating-linear-gradient(180deg, transparent 0 32px, rgba(244, 239, 223, 0.5) 32px 37px);
  filter: blur(0.2px);
}

.v10 .v4-desk::after {
  right: 8%;
  bottom: 7%;
  width: 94px;
  height: 94px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(244, 239, 223, 0.78) 46% 54%, transparent 55%),
    linear-gradient(180deg, transparent 45%, rgba(244, 239, 223, 0.78) 46% 54%, transparent 55%),
    var(--v10-seal);
  box-shadow: 0 0 0 1px rgba(21, 25, 22, 0.22);
}

.v10 .v4-desk-card {
  position: absolute;
  z-index: 1;
  width: 250px;
  min-height: 178px;
  border: 1px solid rgba(21, 25, 22, 0.54);
  background: rgba(244, 239, 223, 0.7);
  box-shadow: none;
  backdrop-filter: blur(3px);
}

.v10 .v4-desk-card:nth-child(1) {
  top: 9%;
  left: 8%;
}

.v10 .v4-desk-card:nth-child(2) {
  top: 33%;
  right: 10%;
}

.v10 .v4-desk-card:nth-child(3) {
  left: 18%;
  bottom: 8%;
  width: min(58%, 420px);
  color: var(--v10-paper);
  background: rgba(21, 25, 22, 0.76);
}

.v10 .v4-desk-card h2 {
  color: var(--v10-seal);
}

.v10 .v4-desk-card:nth-child(3) h2,
.v10 .v4-desk-card:nth-child(3) p {
  color: rgba(244, 239, 223, 0.8);
}

.v10 .v4-resume,
.v10 .v4-work,
.v10 .v4-writing {
  border-top: 1px solid var(--v10-ink);
}

.v10 .v4-timeline,
.v10 .v4-project-grid {
  gap: 0;
  border: 1px solid var(--v10-ink);
  background: transparent;
}

.v10 .v4-timeline-item,
.v10 .v4-project-card {
  border: 0;
  border-right: 1px solid var(--v10-line);
  border-bottom: 1px solid var(--v10-line);
  background: rgba(244, 239, 223, 0.66);
}

.v10 .v4-company-mark,
.v10 .v4-writing-list img {
  border: 1px solid var(--v10-ink);
  background: rgba(255, 255, 255, 0.38);
}

.v10 .v4-writing-list {
  border-top: 1px solid var(--v10-ink);
}

.v10 .v4-writing-list a {
  border-bottom: 1px solid var(--v10-line);
}

/* Variant 11: Atomic Mission Control */
.v11 {
  --v11-bg: #07090f;
  --v11-panel: #111723;
  --v11-ink: #f8f3d6;
  --v11-muted: #b7b494;
  --v11-line: #34394c;
  --v11-orange: #ff9e42;
  --v11-pink: #ff4f7b;
  --v11-blue: #55d7ff;
  --v11-green: #9dff6f;
  color: var(--v11-ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 79, 123, 0.18), transparent 21rem),
    radial-gradient(circle at 82% 8%, rgba(85, 215, 255, 0.18), transparent 25rem),
    radial-gradient(circle at 50% 48%, rgba(255, 158, 66, 0.08), transparent 34rem),
    repeating-linear-gradient(0deg, rgba(248, 243, 214, 0.035) 0 1px, transparent 1px 5px),
    var(--v11-bg);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.v11::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 12% 28%, rgba(248, 243, 214, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 36% 12%, rgba(248, 243, 214, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 34%, rgba(248, 243, 214, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 22%, rgba(248, 243, 214, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 73% 72%, rgba(248, 243, 214, 0.75) 0 1px, transparent 1.5px);
  background-size: 280px 220px;
  opacity: 0.62;
}

.v11 .variant-nav {
  border-bottom: 1px solid rgba(85, 215, 255, 0.42);
  background: rgba(7, 9, 15, 0.56);
}

.v11 .variant-nav__name {
  color: var(--v11-orange);
}

.v11 .variant-nav__links,
.v11 .v-footer,
.v11 .v4-copy p,
.v11 .v4-timeline-item p,
.v11 .v4-project-card p,
.v11 .v4-writing-list p {
  color: var(--v11-muted);
}

.v11 .v-eyebrow,
.v11 .v4-project-card span,
.v11 .v4-timeline-item__meta {
  color: var(--v11-blue);
}

.v11 .v4-hero {
  grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
  min-height: calc(100vh - 88px);
}

.v11 .v4-copy h1,
.v11 .v4-section-intro h2,
.v11 .v4-work h2,
.v11 .v4-writing h2 {
  font-family: "Arial Black", Impact, "Avenir Next", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.v11 .v4-copy h1 {
  max-width: 900px;
  color: var(--v11-ink);
  font-size: clamp(2.45rem, 4.25vw, 3.72rem);
  line-height: 0.95;
  text-shadow:
    2px 0 0 rgba(255, 79, 123, 0.55),
    -2px 0 0 rgba(85, 215, 255, 0.45),
    0 0 26px rgba(255, 158, 66, 0.18);
}

.v11 .v-button {
  border-radius: 0;
  min-height: 44px;
  text-transform: uppercase;
}

.v11 .v-button:first-child {
  color: var(--v11-bg);
  background: var(--v11-orange);
  box-shadow: 0 0 24px rgba(255, 158, 66, 0.28);
}

.v11 .v-button:last-child {
  color: var(--v11-blue);
  border: 1px solid var(--v11-blue);
  background: rgba(85, 215, 255, 0.06);
}

.v11 .v4-desk {
  position: relative;
  display: block;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(85, 215, 255, 0.54);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(7, 9, 15, 0) 0 13%, rgba(85, 215, 255, 0.3) 13.4% 14.1%, rgba(7, 9, 15, 0) 14.5% 24%, rgba(255, 158, 66, 0.24) 24.5% 25.1%, rgba(7, 9, 15, 0) 25.5%),
    conic-gradient(from 18deg at 50% 42%, rgba(85, 215, 255, 0.18), transparent 24deg, rgba(255, 79, 123, 0.18) 74deg, transparent 110deg, rgba(157, 255, 111, 0.16) 168deg, transparent 220deg, rgba(255, 158, 66, 0.18) 300deg, rgba(85, 215, 255, 0.18)),
    linear-gradient(rgba(85, 215, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 215, 255, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, #161c2a, #07090f);
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
  box-shadow:
    inset 0 0 0 10px rgba(248, 243, 214, 0.035),
    inset 0 0 70px rgba(85, 215, 255, 0.1),
    0 28px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(0.8deg);
}

.v11 .v4-desk::before,
.v11 .v4-desk::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.v11 .v4-desk::before {
  top: 14%;
  left: 17%;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgba(85, 215, 255, 0.48);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(255, 158, 66, 0.04),
    0 0 0 92px rgba(85, 215, 255, 0.035),
    0 0 48px rgba(85, 215, 255, 0.16);
  animation: v11-spin 22s linear infinite;
}

.v11 .v4-desk::after {
  left: 24px;
  right: 24px;
  bottom: 22px;
  height: 42px;
  border: 1px solid rgba(248, 243, 214, 0.24);
  background:
    linear-gradient(90deg, var(--v11-pink) 0 12%, transparent 12.5% 18%, var(--v11-blue) 18.5% 39%, transparent 39.5% 49%, var(--v11-orange) 49.5% 72%, transparent 72.5% 80%, var(--v11-green) 80.5% 100%);
  clip-path: polygon(0 34%, 8% 34%, 8% 14%, 18% 14%, 18% 68%, 32% 68%, 32% 42%, 49% 42%, 49% 8%, 62% 8%, 62% 72%, 82% 72%, 82% 36%, 100% 36%, 100% 100%, 0 100%);
  opacity: 0.8;
}

.v11 .v4-desk-card {
  position: absolute;
  z-index: 1;
  width: min(44%, 290px);
  min-height: 170px;
  border: 1px solid rgba(248, 243, 214, 0.24);
  border-radius: 8px;
  background: rgba(17, 23, 35, 0.84);
  box-shadow: 0 0 0 1px rgba(85, 215, 255, 0.12), 0 18px 40px rgba(0, 0, 0, 0.3);
}

.v11 .v4-desk-card:nth-child(1) {
  top: 11%;
  left: 7%;
  border-color: rgba(255, 158, 66, 0.44);
}

.v11 .v4-desk-card:nth-child(2) {
  top: 38%;
  right: 7%;
  width: 37%;
  border-color: rgba(85, 215, 255, 0.45);
}

.v11 .v4-desk-card:nth-child(3) {
  left: 7%;
  bottom: 7%;
  width: 48%;
  border-color: rgba(157, 255, 111, 0.42);
}

.v11 .v4-desk-card h2 {
  color: var(--v11-orange);
}

.v11 .v4-desk-card p {
  color: rgba(248, 243, 214, 0.7);
}

.v11 .v4-desk-card strong {
  color: var(--v11-ink);
}

.v11 .v4-resume,
.v11 .v4-work,
.v11 .v4-writing {
  border-top: 1px solid rgba(85, 215, 255, 0.34);
}

.v11 .v4-timeline-item,
.v11 .v4-project-card,
.v11 .v4-writing-list a {
  border-color: rgba(85, 215, 255, 0.2);
  background: rgba(17, 23, 35, 0.78);
  box-shadow: inset 0 0 0 1px rgba(248, 243, 214, 0.035);
}

.v11 .v4-project-grid {
  background: rgba(85, 215, 255, 0.18);
  border-color: rgba(85, 215, 255, 0.28);
}

.v11 .v4-project-card:hover,
.v11 .v4-writing-list a:hover {
  background: rgba(24, 32, 48, 0.95);
}

.v11 .v4-company-mark,
.v11 .v4-writing-list img {
  border-color: rgba(248, 243, 214, 0.26);
  background: var(--v11-ink);
}

.v11 .v4-writing-list {
  border-top-color: rgba(85, 215, 255, 0.34);
}

.v11 .v4-writing-list a {
  border-bottom-color: rgba(85, 215, 255, 0.24);
}

@keyframes v11-spin {
  to {
    rotate: 360deg;
  }
}

.v6 a:focus-visible,
.v7 a:focus-visible,
.v8 a:focus-visible,
.v9 a:focus-visible,
.v10 a:focus-visible,
.v11 a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .v9 .v4-hero,
  .v10 .v4-hero,
  .v11 .v4-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .v9 .v4-copy h1,
  .v10 .v4-copy h1,
  .v11 .v4-copy h1 {
    max-width: 780px;
  }

  .v9 .v4-desk,
  .v10 .v4-desk,
  .v11 .v4-desk {
    width: 100%;
  }
}

/* Variant 12: Career 1-1 */
.v12 {
  --v12-sky: #69c8ec;
  --v12-ink: #172517;
  --v12-gold: #f3b83f;
  --v12-red: #c83d32;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--v12-ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    var(--v12-sky);
  background-size: 36px 36px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.v12-nav {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 32px));
  padding: 18px 0;
  border-bottom: 4px solid rgba(23, 37, 23, 0.22);
}

.v12-nav .variant-nav__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.v12-nav .variant-nav__links {
  gap: 13px;
  color: rgba(23, 37, 23, 0.7);
  font-size: 0.88rem;
}

.v12-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
  gap: 20px;
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100vh - 88px);
  min-height: calc(100svh - 88px);
  margin: 0 auto;
  padding: 18px 0 28px;
}

.v12-stage {
  position: relative;
  overflow: hidden;
  justify-self: end;
  width: min(100%, 1024px, calc((100vh - 130px) * 16 / 15));
  width: min(100%, 1024px, calc((100svh - 130px) * 16 / 15));
  border: 6px solid #20392b;
  border-radius: 18px;
  background: #6ec6e7;
  box-shadow: 0 18px 0 rgba(23, 37, 23, 0.18);
}

.v12-stage canvas {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 15;
  background: #6ec6e7;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.v12-hud {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 14px;
  color: white;
  text-shadow: 2px 2px 0 rgba(23, 37, 23, 0.55);
  pointer-events: none;
}

.v12-hud div {
  padding: 8px 10px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  background: rgba(23, 37, 23, 0.34);
}

.v12-hud span,
.v12-hud strong {
  display: block;
}

.v12-hud span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.v12-hud strong {
  margin-top: 2px;
  font-size: clamp(0.95rem, 1.6vw, 1.28rem);
}

.v12-message {
  position: absolute;
  right: 16px;
  top: 118px;
  bottom: auto;
  z-index: 3;
  width: min(420px, calc(100% - 32px));
  padding: 16px;
  border: 5px solid #20392b;
  border-radius: 12px;
  background: rgba(255, 244, 193, 0.96);
  box-shadow: 8px 8px 0 rgba(23, 37, 23, 0.28);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.v12-message.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.v12-message__kicker {
  margin: 0 0 6px;
  color: var(--v12-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v12-message h2 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.04;
}

.v12-message p:last-child {
  margin: 0;
  color: rgba(23, 37, 23, 0.72);
  font-size: 0.94rem;
}

.v12-message a {
  color: #0d5b8f;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.v12-brief {
  align-self: start;
  padding: 22px;
  border: 6px solid #20392b;
  border-radius: 18px;
  background: rgba(255, 244, 193, 0.92);
  box-shadow: 0 14px 0 rgba(23, 37, 23, 0.18);
}

.v12-brief .v-eyebrow {
  color: #315946;
}

.v12-brief h1 {
  margin: 14px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.v12-brief p {
  color: rgba(23, 37, 23, 0.74);
}

.v12-brief__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.v12-brief__links a,
.v12-controls button {
  min-height: 46px;
  border: 4px solid #20392b;
  border-radius: 8px;
  color: #20392b;
  background: var(--v12-gold);
  box-shadow: 0 6px 0 rgba(23, 37, 23, 0.25);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.v12-brief__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.v12-controls {
  display: none;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
  padding: 10px;
  background: rgba(23, 37, 23, 0.18);
}

.v12-controls button {
  font: inherit;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 900px) {
  .variant-nav,
  .v-footer {
    display: block;
  }

  .variant-nav__links,
  .v-footer__links {
    margin-top: 12px;
  }

  .v1-hero,
  .v1-projects,
  .v2-hero,
  .v2-grid,
  .v3-hero,
  .v4-hero,
  .v4-section-intro,
  .v5-hero,
  .v5-section-intro {
    grid-template-columns: 1fr;
  }

  .map-board {
    min-height: 560px;
  }

  .v1-proof,
  .v1-writing-row,
  .v2-proof,
  .v2-writing,
  .v3-band-inner,
  .v3-project-grid {
    grid-template-columns: 1fr;
  }

  .v1-project,
  .case-file,
  .v3-writing-list a,
  .v5-writing-list a {
    grid-template-columns: 1fr;
  }

  .v4-timeline {
    grid-template-columns: 1fr;
  }

  .v5-timeline {
    grid-template-columns: 1fr;
  }

  .v5-timeline-item {
    grid-template-columns: 86px 1fr;
    min-height: 0;
  }

  .v5-company-mark {
    width: 74px;
    height: 74px;
  }

  .v5-company-mark img {
    max-width: 58px;
    max-height: 42px;
  }

  .v4-timeline-item {
    grid-template-columns: 86px 1fr;
    min-height: 0;
  }

  .v4-company-mark {
    width: 74px;
    height: 74px;
  }

  .v4-company-mark img {
    max-width: 58px;
    max-height: 42px;
  }

  .v3-band-inner div,
  .v3-band-inner div:first-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 2px solid var(--v3-ink);
  }

  .v9 .v4-hero,
  .v10 .v4-hero,
  .v11 .v4-hero {
    min-height: 0;
  }

  .v9 .v4-desk,
  .v10 .v4-desk,
  .v11 .v4-desk {
    min-height: 600px;
  }

  .v10 .v4-copy::before {
    left: 0;
  }

  .v12-shell {
    grid-template-columns: 1fr;
  }

  .v12-stage {
    justify-self: center;
  }

  .v12-controls {
    display: grid;
  }
}

@media (hover: none) and (pointer: coarse) {
  .v12-controls {
    display: grid;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .v4-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v4-project-card {
    min-height: 190px;
    padding: 18px;
  }

  .v4-project-card h3 {
    margin: 12px 0 8px;
    font-size: 1.28rem;
  }

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

  .v5-project-card {
    min-height: 185px;
    padding: 18px;
  }

  .v5-project-card h3 {
    margin: 12px 0 8px;
    font-size: 1.24rem;
  }
}

@media (max-width: 650px) {
  .v4-writing-list a {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .variant-nav,
  .v-section,
  .v-footer,
  .v3-band-inner {
    width: min(100% - 28px, var(--max));
  }

  .map-node {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-bottom: 14px;
  }

  .map-line,
  .map-scale {
    display: none;
  }

  .v4-timeline-item {
    grid-template-columns: 1fr;
  }

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

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

  .v5-desk-card:nth-child(3) {
    grid-column: auto;
  }

  .v5-timeline-item,
  .v5-writing-list a {
    grid-template-columns: 1fr;
  }

  .desk {
    grid-template-columns: 1fr;
    transform: none;
  }

  .v4-desk {
    grid-template-columns: 1fr;
    transform: none;
  }

  .desk-card,
  .desk-card:nth-child(2),
  .desk-card:nth-child(3),
  .v4-desk-card,
  .v4-desk-card:nth-child(2),
  .v4-desk-card:nth-child(3) {
    transform: none;
  }

  .v9 .v4-desk,
  .v10 .v4-desk,
  .v11 .v4-desk {
    display: grid;
    gap: 14px;
    min-height: 0;
    padding: 18px;
    border-width: 2px;
    border-radius: 22px;
  }

  .v10 .v4-desk {
    border-left-width: 12px;
    border-right-width: 12px;
  }

  .v9 .v4-desk::after,
  .v10 .v4-desk::after,
  .v11 .v4-desk::after {
    display: none;
  }

  .v9 .v4-desk-card,
  .v9 .v4-desk-card:nth-child(1),
  .v9 .v4-desk-card:nth-child(2),
  .v9 .v4-desk-card:nth-child(3),
  .v10 .v4-desk-card,
  .v10 .v4-desk-card:nth-child(1),
  .v10 .v4-desk-card:nth-child(2),
  .v10 .v4-desk-card:nth-child(3),
  .v11 .v4-desk-card,
  .v11 .v4-desk-card:nth-child(1),
  .v11 .v4-desk-card:nth-child(2),
  .v11 .v4-desk-card:nth-child(3) {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 0;
  }

  .v12-nav,
  .v12-shell {
    width: min(100% - 20px, var(--max));
  }

  .v12-hud {
    position: relative;
    grid-template-columns: 1fr;
    padding: 8px;
    color: var(--v12-ink);
    text-shadow: none;
    background: rgba(255, 244, 193, 0.9);
  }

  .v12-message {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 10px;
    opacity: 1;
    transform: none;
  }

  .v12-stage canvas {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v9 .v4-desk-card,
  .v11 .v4-desk::before {
    animation: none;
  }
}
