/* Layout consolidation pass: one rhythm across profile, cases and evidence. */
:root {
  --page: #f7f5f6;
  --page-soft: #efecef;
  --ink-deep: #171316;
  --wine-deep: #2f1422;
  --rose-accent: #ef6175;
  --content-gap: clamp(72px, 8vw, 124px);
}

body {
  background: var(--page);
}

/* Consolidated profile page: reference-inspired editorial hierarchy in the site's wine palette. */
.profile-sheet {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 5vw, 76px) 0;
  background: #28131e;
  color: #fff5f7;
}

.profile-sheet-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(230px, 0.38fr) minmax(0, 1fr);
  gap: clamp(54px, 7vw, 108px);
  align-items: start;
}

.profile-sheet-aside {
  position: relative;
  top: auto;
  min-width: 0;
}

.profile-sheet-label {
  margin-bottom: 18px;
}

.profile-sheet-label span,
.profile-sheet-label strong {
  display: block;
}

.profile-sheet-label span {
  color: rgba(255, 245, 247, 0.62);
  font-size: 17px;
}

.profile-sheet-label strong {
  margin-top: 2px;
  font-size: clamp(35px, 3.5vw, 50px);
  line-height: 1;
}

.profile-portrait {
  width: min(100%, 230px);
  margin: 0;
}

.profile-portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.profile-portrait,
.profile-portrait:hover {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.profile-identity {
  width: min(100%, 230px);
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(255, 245, 247, 0.22);
}

.profile-identity h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
}

.profile-identity h2 span {
  color: #ff91a1;
  font-weight: 500;
}

.profile-identity p {
  max-width: 18ch;
  margin-top: 9px;
  font-size: 16px;
  line-height: 1.35;
}

.profile-identity small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 245, 247, 0.48);
  font-size: 9px;
  text-transform: uppercase;
}

.profile-sheet-content {
  min-width: 0;
}

.profile-sheet-block {
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(255, 245, 247, 0.16);
}

.profile-sheet-block + .profile-sheet-block {
  padding-top: 22px;
}

.profile-sheet-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
  margin-bottom: 14px;
}

.profile-sheet-heading h1,
.profile-sheet-heading h2 {
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1;
  letter-spacing: 0;
}

.profile-sheet-heading span {
  color: rgba(255, 245, 247, 0.48);
  font-size: 10px;
  text-transform: uppercase;
}

.profile-summary-copy {
  max-width: 66ch;
  margin-bottom: 14px;
  color: rgba(255, 245, 247, 0.78);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
}

.profile-facts div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 245, 247, 0.09);
  font-size: 11px;
  line-height: 1.55;
}

.profile-facts dt,
.profile-contact-list dt {
  color: rgba(255, 245, 247, 0.44);
}

.profile-facts dd {
  color: #fff5f7;
  font-weight: 650;
}

.profile-education-row {
  display: grid;
  grid-template-columns: 118px minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 24px;
  padding: 9px 0 1px;
  border-top: 1px solid rgba(255, 245, 247, 0.09);
  font-size: 12px;
}

.profile-education-row time,
.profile-education-row span {
  color: rgba(255, 245, 247, 0.5);
}

.profile-company-primary {
  border-top: 1px solid rgba(255, 245, 247, 0.11);
}

.profile-company-head {
  display: grid;
  grid-template-columns: 118px minmax(180px, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 11px 0 12px;
}

.profile-company-head time,
.profile-company-head span,
.profile-company-head b {
  color: rgba(255, 245, 247, 0.5);
  font-size: 10px;
  font-weight: 500;
}

.profile-company-head strong,
.profile-company-head span {
  display: block;
}

.profile-company-head strong {
  font-size: 14px;
}

.profile-company-head span {
  margin-top: 4px;
}

.profile-company-head b {
  color: #ff91a1;
  text-align: right;
}

.profile-company-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 245, 247, 0.09);
}

.profile-company-notes p {
  padding: 11px 18px 2px 0;
  color: rgba(255, 245, 247, 0.62);
  font-size: 10px;
  line-height: 1.68;
  text-wrap: pretty;
}

.profile-company-notes p + p {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 245, 247, 0.09);
}

.profile-company-notes span {
  display: block;
  margin-bottom: 7px;
  color: #fff5f7;
  font-weight: 750;
}

.profile-company-history-list {
  margin-top: 12px;
  border-top: 1px solid rgba(255, 245, 247, 0.09);
}

.profile-company-history {
  display: grid;
  grid-template-columns: 150px minmax(240px, 1fr) minmax(190px, 0.8fr);
  gap: 24px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 245, 247, 0.09);
  color: rgba(255, 245, 247, 0.5);
  font-size: 10px;
  line-height: 1.55;
}

.profile-company-history strong {
  color: rgba(255, 245, 247, 0.84);
}

.profile-contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.profile-contact-list div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 245, 247, 0.09);
  font-size: 10px;
}

.profile-contact-list dd {
  color: rgba(255, 245, 247, 0.74);
}

.section-shell {
  width: min(1240px, calc(100% - 64px));
}

.section-band {
  padding-block: var(--content-gap);
}

.section-index {
  display: none;
}

.section-heading,
.profile-overview-heading,
.skills-heading {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.62fr);
  gap: clamp(32px, 6vw, 96px);
}

.section-heading > div,
.profile-overview-heading > div,
.skills-heading > div {
  grid-column: 1;
}

.section-heading > .section-intro,
.profile-overview-heading > div > p:last-child {
  grid-column: 2;
  align-self: end;
}

.section-heading h2,
.profile-overview-heading h2,
.skills-heading h2 {
  max-width: 820px;
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-intro,
.profile-overview-heading > div > p:last-child,
.skills-heading > div > p:last-child {
  max-width: 44ch;
  line-height: 1.78;
  text-wrap: pretty;
}

.profile-overview,
.cases-section,
.contact-section {
  background: var(--page);
}

.skills-section {
  background: var(--wine-deep);
}

/* Skills page: hierarchy first, tools second, with one stable workbench. */
.skills-section {
  padding-block: 84px;
}

.skills-shell {
  display: block;
  min-height: 0;
}

.skills-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 88px;
  align-items: end;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(249, 238, 252, 0.2);
}

.skills-heading {
  display: block;
}

.skills-heading h2 {
  max-width: 760px;
  margin-top: 14px;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.skills-context > p {
  max-width: 52ch;
  color: rgba(249, 238, 252, 0.7);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

.skills-section .product-skill-line {
  gap: 10px 20px;
  margin: 24px 0 0;
}

.skills-section .product-skill-line span {
  padding-bottom: 5px;
  border-color: rgba(249, 238, 252, 0.28);
  color: rgba(249, 238, 252, 0.76);
}

.skills-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  gap: 68px;
  align-items: center;
  margin-top: 48px;
}

.skills-section .skill-switcher {
  margin-top: 0;
}

.skills-section .skill-switch {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  min-height: 58px;
  padding: 13px 12px;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.skills-section .skill-switch:focus-visible,
.skills-section .skill-switch.is-active {
  background: rgba(255, 145, 161, 0.07);
}

.skills-section .skill-switch:active {
  transform: scale(0.985);
}

.skills-section .skill-switch > div {
  grid-template-columns: minmax(0, 1fr) 90px;
}

.skills-section .skill-switch strong {
  font-size: 19px;
  letter-spacing: 0;
}

.skills-section .skill-switch-ai strong {
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.45;
}

.skills-section .skill-switch p {
  max-width: 62ch;
  transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.skills-section .software-visual {
  padding-left: 46px;
  border-left: 1px solid rgba(249, 238, 252, 0.16);
}

.skills-section .orbit-field {
  width: min(100%, 430px);
}

.skills-section .software-node {
  width: 68px;
  height: 68px;
  padding: 12px;
}

.skills-section .software-node img {
  width: 38px;
  height: 38px;
}

.skills-section .node-keyshot img {
  width: 35px;
  height: 35px;
}

.skills-section .orbit-center {
  width: 132px;
  height: 132px;
}

.skills-section .orbit-center strong {
  max-width: 104px;
  font-size: 17px;
}

.skills-section .orbit-caption {
  margin-top: 10px;
}

/* Motion audit: crisp interactions, fine-pointer hover, and stable GPU layers. */
.nav a {
  transition: color 160ms ease;
}

.nav a::after {
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.software-node::after {
  transition: border-color 180ms ease, transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.software-node:active,
.image-toggle:active,
.intro-enter:active {
  transform: scale(0.97);
}

.case-index a {
  transition: background-color 180ms ease, color 180ms ease, transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.case-index a::before {
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.case-index a:focus-visible {
  transform: none;
}

.unicorn-card,
.art-product-media figure,
.evidence-grid figure {
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 220ms ease;
}

.unicorn-card img,
.art-product-media img,
.art-product-media video,
.evidence-grid img,
.unicorn-hero img,
.artline-hero img {
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
  will-change: auto;
}

.section-heading h2,
.case-heading h3,
.profile-overview-heading h2 {
  transform: none;
  transition: none;
  will-change: auto;
}

.intro-enter {
  transition: background-color 180ms ease, color 180ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.intro-enter:focus-visible {
  background: var(--wine);
  color: #fff;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .skills-section .skill-switch:hover {
    background: rgba(255, 145, 161, 0.07);
  }

  .case-index a:hover {
    transform: translateY(-5px);
  }

  .unicorn-card:hover,
  .art-product-media figure:hover,
  .evidence-grid figure:hover {
    z-index: 2;
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(43, 20, 32, 0.14);
  }

  .unicorn-card:hover img,
  .art-product-media figure:hover img,
  .art-product-media figure:hover video,
  .evidence-grid figure:hover img {
    transform: scale(1.055);
  }

  .intro-enter:hover {
    background: var(--wine);
    color: #fff;
    transform: translateY(-3px);
  }
}

@media (hover: none), (pointer: coarse) {
  .case-index a:hover,
  .unicorn-card:hover,
  .art-product-media figure:hover,
  .evidence-grid figure:hover,
  .intro-enter:hover {
    transform: none;
  }

  .unicorn-card:hover img,
  .art-product-media figure:hover img,
  .art-product-media figure:hover video,
  .evidence-grid figure:hover img {
    transform: scale(1.025);
  }

  .case-index a:hover:not(.is-active)::before {
    transform: scaleY(0);
  }

  .intro-enter:hover {
    background: transparent;
    color: inherit;
  }
}

.management-section {
  background: var(--ink-deep);
}

.management-lead {
  align-items: start;
}

.management-lead h2 {
  max-width: 780px;
  font-size: 60px;
  line-height: 1.02;
  text-wrap: balance;
}

.management-lead .section-intro {
  max-width: 34ch;
  padding-top: 5px;
}

.perspective-section {
  background: #d7c4df;
}

.profile-overview-heading,
.section-heading {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.resume-grid {
  border-left: 0;
  background: transparent;
}

.resume-block {
  background: transparent;
  border-right: 0;
}

.resume-experience {
  padding-left: 0;
}

.resume-education,
.resume-contact {
  border-left: 1px solid var(--line);
}

.company-record.is-placeholder .company-details {
  display: none;
}

.company-record.is-placeholder {
  margin-top: 14px;
  border-top-color: rgba(23, 19, 22, 0.22);
  background: transparent;
}

.company-record.is-placeholder .company-head {
  min-height: 82px;
  align-items: center;
  padding-block: 16px;
  background: rgba(255, 255, 255, 0.4);
}

.case-index {
  margin-bottom: clamp(84px, 9vw, 124px);
  background: var(--ink-deep);
}

.case-index a {
  min-height: 156px;
}

.case-heading {
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  padding: clamp(30px, 3.5vw, 46px);
}

.case-heading h3 {
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: -0.035em;
}

.case + .case {
  margin-top: clamp(96px, 10vw, 144px);
}

.product-phase {
  margin-top: clamp(72px, 8vw, 108px);
}

.phase-heading {
  margin-bottom: 26px;
}

.phase-heading-primary {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 36px;
  padding-block: 30px 34px;
}

.phase-heading-primary > div {
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  gap: 52px;
}

.phase-heading-primary h4 {
  font-size: 36px;
  line-height: 1.15;
}

.unicorn-grid {
  gap: 10px;
}

.unicorn-card {
  border-color: rgba(23, 19, 22, 0.12);
  background: #fff;
}

.unicorn-card > div {
  min-height: 128px;
  padding: 16px;
}

.unicorn-card p {
  text-wrap: pretty;
}

.unicorn-grid-og {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.unicorn-grid-og .unicorn-card.is-featured {
  display: grid;
  height: 520px;
  min-height: 0;
  grid-column: 1 / -1;
  grid-row: auto;
  grid-template-columns: minmax(0, 1.58fr) minmax(300px, 0.72fr);
}

.unicorn-grid-og .unicorn-card.is-featured > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 44%;
}

.unicorn-grid-og .unicorn-card.is-featured .unicorn-detail {
  position: relative;
  inset: auto;
  background: #fff;
  object-fit: contain;
  object-position: center;
}

.unicorn-grid-og .unicorn-card.is-featured .image-toggle {
  position: relative;
  top: auto;
  right: auto;
  align-self: start;
  justify-self: end;
  grid-column: 1;
  grid-row: 1;
  margin: 14px;
}

.unicorn-grid-og .unicorn-card.is-featured > div {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: 2;
  grid-row: 1;
  padding: 38px;
  border-top: 0;
  border-left: 1px solid var(--line);
}

.unicorn-grid-og .unicorn-card.is-featured > div > span {
  min-height: 0;
  margin-bottom: 20px;
  color: var(--accent);
}

.unicorn-grid-og .unicorn-card.is-featured h5 {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1;
}

.unicorn-grid-og .unicorn-card.is-featured p {
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.75;
}

.unicorn-grid-og > .unicorn-card:not(.is-featured) > div {
  min-height: 132px;
}

.art-product-list {
  margin-top: clamp(72px, 8vw, 100px);
}

.art-product {
  padding-block: clamp(38px, 5vw, 62px);
}

.art-product-media {
  gap: 10px;
}

.art-product-media figure,
.evidence-grid figure {
  border-color: rgba(23, 19, 22, 0.12);
}

.image-plan-section {
  background: var(--page-soft);
}

.image-plan-section .section-heading {
  margin-bottom: 42px;
}

.image-plan-grid {
  border-top-color: rgba(23, 19, 22, 0.24);
  border-left: 0;
}

.image-plan-item {
  min-height: 224px;
  padding: 24px;
  border-color: rgba(23, 19, 22, 0.16);
}

.image-plan-item h3 {
  margin-top: 42px;
  font-size: 22px;
}

.contact-inner h2 {
  max-width: 900px;
  text-wrap: balance;
}

@media (max-width: 980px) {
  .skills-section {
    padding-block: 72px;
  }

  .skills-overview {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 36px;
  }

  .skills-heading h2 {
    font-size: 50px;
  }

  .skills-context > p {
    max-width: 68ch;
  }

  .skills-workbench {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-top: 38px;
  }

  .skills-section .software-visual {
    padding-top: 36px;
    padding-left: 0;
    border-top: 1px solid rgba(249, 238, 252, 0.16);
    border-left: 0;
  }

  .skills-section .orbit-field {
    width: min(100%, 420px);
  }

  .profile-sheet-inner {
    grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
    gap: 42px;
  }

  .profile-company-notes {
    grid-template-columns: 1fr;
  }

  .profile-company-notes p + p {
    padding-left: 0;
    border-top: 1px solid rgba(255, 245, 247, 0.09);
    border-left: 0;
  }

  .profile-company-head {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .profile-company-head b {
    grid-column: 2;
    text-align: left;
  }

  .profile-company-history {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .profile-company-history span {
    grid-column: 2;
  }

  .profile-contact-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .section-shell {
    width: min(100% - 40px, 1240px);
  }

  .section-heading,
  .profile-overview-heading,
  .skills-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-heading > .section-intro,
  .profile-overview-heading > div > p:last-child,
  .skills-heading > div > p:last-child {
    grid-column: 1;
    max-width: 64ch;
  }

  .resume-grid {
    grid-template-columns: 1fr;
  }

  .resume-education,
  .resume-contact {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .result-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-context {
    min-height: 230px;
  }

  .unicorn-grid-og {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unicorn-grid-og .unicorn-card.is-featured {
    height: 460px;
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  }

  .unicorn-grid-og .unicorn-card.is-featured > div {
    padding: 28px;
  }

  .funnel-stage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .funnel-stage > i {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 92px;
    --content-gap: 64px;
  }

  .section-shell {
    width: calc(100% - 28px);
  }

  .skills-section {
    padding-block: 56px;
  }

  .skills-heading h2 {
    font-size: 40px;
    line-height: 1.08;
  }

  .skills-context > p {
    font-size: 13px;
    line-height: 1.7;
  }

  .skills-section .product-skill-line {
    gap: 8px 16px;
    margin-top: 20px;
  }

  .skills-workbench {
    gap: 36px;
    margin-top: 32px;
  }

  .skills-section .skill-switch {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    min-height: 54px;
    padding: 11px 4px;
  }

  .skills-section .skill-switch > div {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 8px;
  }

  .skills-section .skill-switch strong {
    font-size: 13px;
  }

  .skills-section .software-visual {
    padding-top: 30px;
  }

  .skills-section .orbit-field {
    width: min(100%, 330px);
  }

  .profile-sheet {
    padding: 58px 0 68px;
  }

  .profile-sheet-inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .profile-sheet-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(130px, 0.58fr);
    gap: 22px;
    align-items: end;
  }

  .profile-sheet-label {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .profile-portrait,
  .profile-identity {
    width: 100%;
  }

  .profile-identity {
    padding-bottom: 14px;
  }

  .profile-identity h2 {
    font-size: 28px;
  }

  .profile-identity p {
    font-size: 13px;
  }

  .profile-facts {
    grid-template-columns: 1fr;
  }

  .profile-education-row,
  .profile-company-head,
  .profile-company-history {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .profile-company-head b,
  .profile-company-history span {
    grid-column: 1;
  }

  .profile-company-notes p {
    padding-right: 0;
  }

  .site-header {
    min-height: 82px;
    padding: 10px 14px 8px;
  }

  .brand {
    padding-bottom: 5px;
  }

  .nav {
    gap: 20px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 6px 0 8px;
  }

  .nav a::after {
    bottom: 2px;
  }

  .hero {
    gap: 40px;
    padding-top: 40px;
  }

  .hero-product-scene {
    height: 370px;
  }

  .hero-profile .portrait-slot {
    min-height: 260px;
    margin-top: -72px;
  }

  .section-heading,
  .profile-overview-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .profile-overview-heading h2,
  .skills-heading h2 {
    font-size: clamp(38px, 10.5vw, 52px);
    line-height: 1.08;
  }

  .resume-block {
    padding-inline: 0;
  }

  .company-record + .company-record {
    margin-top: 14px;
  }

  .company-record.is-placeholder .company-head {
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: 74px;
  }

  .company-record.is-placeholder .company-head time {
    display: none;
  }

  .company-record.is-placeholder .company-head > span {
    grid-column: 2;
    grid-row: 1;
  }

  .case-index {
    display: grid;
    grid-auto-columns: minmax(250px, 82%);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 1px;
    margin: -10px 0 74px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .case-index::-webkit-scrollbar {
    display: none;
  }

  .case-index a,
  .case-index a:nth-child(2),
  .case-index a:nth-child(3),
  .case-index a:nth-child(4) {
    min-height: 132px;
    padding: 18px;
    border: 0;
    scroll-snap-align: start;
  }

  .case-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .case-heading h3 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .case-title-wrap {
    gap: 14px;
  }

  .product-phase {
    margin-top: 48px;
  }

  .phase-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
  }

  .phase-heading > div {
    gap: 10px;
  }

  .phase-heading-primary {
    padding-block: 22px 24px;
  }

  .phase-heading-primary > div {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .phase-heading-primary h4 {
    font-size: 28px;
  }

  .phase-heading h4,
  .art-product h4 {
    font-size: 22px;
  }

  .case-framework {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 20px;
  }

  .framework-lead h4 {
    font-size: 28px;
  }

  .framework-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .framework-grid > div {
    min-height: 142px;
    padding: 16px 14px;
  }

  .framework-grid dd {
    font-size: 11px;
    line-height: 1.6;
  }

  .evolution {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evolution-step {
    min-height: 132px;
    padding: 18px 14px;
  }

  .unicorn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .unicorn-grid-og .unicorn-card.is-featured {
    height: auto;
    min-height: 0;
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .unicorn-grid-og .unicorn-card.is-featured > img {
    height: auto;
    min-height: 0;
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 1;
    object-position: center;
  }

  .unicorn-grid-og .unicorn-card.is-featured .image-toggle {
    grid-column: 1;
    grid-row: 1;
    margin: 8px;
  }

  .unicorn-grid-og .unicorn-card.is-featured > div {
    min-height: 0;
    grid-column: 1;
    grid-row: 2;
    padding: 24px 20px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .unicorn-grid-og .unicorn-card.is-featured > div > span {
    margin-bottom: 12px;
  }

  .unicorn-grid-og .unicorn-card.is-featured h5 {
    margin-bottom: 10px;
    font-size: 30px;
  }

  .unicorn-grid-og .unicorn-card.is-featured p {
    max-width: none;
    font-size: 12px;
  }

  .unicorn-card > div {
    min-height: 114px;
    padding: 12px;
  }

  .unicorn-card > div > span {
    min-height: 22px;
    font-size: 8px;
  }

  .unicorn-card h5 {
    margin: 3px 0 6px;
    font-size: 14px;
  }

  .unicorn-card p {
    font-size: 10.5px;
    line-height: 1.5;
  }

  .image-toggle {
    top: 8px;
    right: 8px;
  }

  .evidence-grid,
  .art-product-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .evidence-grid figcaption {
    display: block;
    padding: 12px;
  }

  .evidence-grid figcaption span {
    display: block;
    margin-bottom: 6px;
  }

  .evidence-grid figcaption p {
    grid-column: auto;
    font-size: 10px;
  }

  .art-product-list {
    margin-top: 54px;
  }

  .art-product {
    padding: 28px 0 36px;
  }

  .art-product header {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .art-product header > div {
    gap: 10px;
  }

  .art-product header p {
    font-size: 12px;
    line-height: 1.65;
  }

  .art-product-media img,
  .art-product-media video {
    aspect-ratio: 1;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .archive-slot {
    min-height: 0;
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }

  .result-row {
    grid-template-columns: 1fr;
  }

  .result-item {
    min-height: 210px;
    padding: 24px 16px;
  }

  .result-item strong {
    font-size: clamp(44px, 12vw, 64px);
  }

  .result-context {
    min-height: 0;
    padding: 26px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    border-left: 0;
  }

  .result-context p {
    margin-top: 18px;
    font-size: 15px;
  }

  .management-grid {
    gap: 50px;
  }

  .funnel-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .funnel-stage > div {
    min-height: 132px;
    padding: 18px 10px;
  }

  .perspective-list article {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px 14px;
  }

  .perspective-list article p {
    grid-column: 2;
  }

  .image-plan-grid {
    display: grid;
    grid-auto-columns: minmax(260px, 82%);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 8px;
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .image-plan-grid::-webkit-scrollbar {
    display: none;
  }

  .image-plan-item {
    min-height: 210px;
    scroll-snap-align: start;
    border: 1px solid rgba(23, 19, 22, 0.14);
    background: rgba(255, 255, 255, 0.45);
  }

  .image-plan-item h3 {
    margin-top: 34px;
  }
}

/* White editorial mode: hierarchy comes from type, spacing and rules, not colour fields. */
:root {
  --brand-canvas: #ffffff;
  --brand-surface: #ffffff;
  --brand-surface-strong: #ffffff;
  --brand-lilac: #ffffff;
  --brand-ink: #111111;
  --brand-muted: #505050;
  --brand-line: #d6d6d6;
  --brand-wine: #191919;
  --brand-coral: #8f3047;
  --brand-coral-soft: #f4f4f4;
  --page: #ffffff;
  --page-soft: #ffffff;
  --ink-deep: #111111;
  --wine-deep: #191919;
  --rose-accent: #8f3047;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #ffffff;
  --ink: #111111;
  --muted: #505050;
  --line: #d6d6d6;
  --line-strong: #777777;
  --accent: #8f3047;
  --coral: #8f3047;
  --wine: #191919;
  --lilac: #ffffff;
}

html,
body,
main,
.intro-cover,
.profile-sheet,
.skills-section,
.cases-section,
.management-section,
.perspective-section,
.image-plan-section,
.contact-section,
.footer {
  background: #ffffff;
}

body,
.profile-sheet,
.skills-section,
.cases-section,
.management-section,
.perspective-section,
.image-plan-section,
.contact-section,
.footer {
  color: #111111;
}

.intro-grainient {
  display: none;
}

.site-header,
.site-header.is-scrolled {
  border-color: #d6d6d6;
  background: rgb(255 255 255 / 0.96);
  color: #111111;
  box-shadow: none;
}

.brand-code {
  border-color: #111111;
  color: #111111;
}

.brand-copy strong,
.nav a,
.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: #111111;
}

.brand-copy small,
.header-status {
  color: #555555;
}

.header-status i,
.nav a::after {
  background: #8f3047;
}

.intro-title,
.intro-credit strong,
.intro-enter {
  color: #111111;
}

.intro-edition,
.intro-credit,
.intro-summary,
.intro-scroll {
  color: #4d4d4d;
}

.intro-enter {
  border-color: #111111;
  background: #ffffff;
}

.intro-enter:hover,
.intro-enter:focus-visible {
  background: #111111;
  color: #ffffff;
}

.image-trail__item {
  border-color: #cfcfcf;
  background: #ffffff;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.12);
}

.image-trail::after {
  border-color: #d6d6d6;
  background: rgb(255 255 255 / 0.92);
  color: #4d4d4d;
}

.section-heading h2,
.profile-overview-heading h2,
.skills-heading h2,
.management-lead h2,
.contact-inner h2,
.profile-sheet-heading h1,
.profile-sheet-heading h2,
.case-heading h3,
.management-copy h3,
.perspective-list h3,
.image-plan-item h3 {
  color: #111111;
  font-weight: 760;
}

.section-intro,
.profile-summary-copy,
.skills-context > p,
.case-title-wrap > p,
.unicorn-card p,
.art-product header p,
.perspective-list p,
.image-plan-item p,
.result-item p,
.result-context p {
  color: #505050;
}

.eyebrow,
.case-number,
.case-type,
.image-plan-item span,
.management-actions span,
.case-index span,
.result-item strong {
  color: #8f3047;
}

.profile-sheet-label span,
.profile-identity small,
.profile-sheet-heading span,
.profile-facts dt,
.profile-education-row time,
.profile-education-row span,
.profile-company-head time,
.profile-company-head span,
.profile-company-notes p,
.profile-company-history time,
.profile-company-history span,
.profile-contact-list dt,
.profile-contact-list dd {
  color: #505050;
}

.profile-sheet-label strong,
.profile-identity,
.profile-sheet-heading,
.profile-facts dd,
.profile-education-row strong,
.profile-company-head strong,
.profile-company-head b,
.profile-company-history strong {
  color: #111111;
}

.profile-portrait,
.profile-portrait:hover,
.profile-portrait .slot-cross span,
.skills-section .skill-switch:focus-visible,
.skills-section .skill-switch.is-active,
.skills-section .orbit-center,
.unicorn-card,
.image-plan-item,
.archive-slot {
  background: #ffffff;
}

.profile-portrait,
.profile-portrait:hover,
.profile-portrait .slot-meta,
.profile-portrait figcaption,
.profile-sheet-block,
.profile-company-primary,
.profile-company-history,
.profile-facts div,
.profile-education-row,
.profile-identity,
.skills-overview,
.skills-section .skill-switcher,
.skills-section .skill-switch,
.skills-section .software-visual,
.case-index,
.case-index a,
.case-heading,
.case-unicorn > .case-heading,
.case-artline > .case-heading,
.case-male > .case-heading,
.case-design-archive > .case-heading,
.unicorn-card,
.art-product-media figure,
.evidence-grid figure,
.archive-slot,
.result-row,
.result-context,
.management-actions,
.funnel-stage,
.funnel-stage > div,
.perspective-list,
.perspective-list article,
.image-plan-grid,
.image-plan-item,
.contact-section,
.contact-info {
  border-color: #d6d6d6;
}

.skills-section .skill-switch,
.skills-section .skill-switch p,
.skills-section .skill-switch small,
.skills-section .skill-switch > span,
.skills-section .product-skill-line span,
.skills-section .orbit-caption {
  color: #505050;
}

.skills-section .skill-switch strong,
.skills-section .skill-switch.is-active strong,
.skills-section .skill-switch.is-active > span,
.skills-section .skill-switch.is-active small {
  color: #111111;
}

.skills-section .skill-switch.is-active {
  box-shadow: inset 3px 0 0 #8f3047;
}

.skills-section .orbit-ring {
  border-color: #cfcfcf;
}

.skills-section .orbit-field::before,
.skills-section .orbit-field::after {
  background: #dedede;
}

.skills-section .orbit-center {
  border: 2px solid #111111;
  color: #111111;
}

.skills-section .orbit-center > span,
.skills-section .orbit-center small,
.skills-section .orbit-center b {
  color: #505050;
}

.case-index {
  background: #ffffff;
}

.case-index a,
.case-index a:hover,
.case-index a:focus-visible,
.case-index a.is-active {
  color: #111111;
}

.case-index a::before {
  background: #f4f4f4;
}

.case-index small,
.case-index a:hover small,
.case-index a:focus-visible small,
.case-index a.is-active small,
.case-artline > .case-heading .case-type,
.case-artline > .case-heading .case-title-wrap > p,
.case-male > .case-heading .case-type,
.case-male > .case-heading .case-title-wrap > p {
  color: #505050;
}

.management-section .section-intro,
.result-item > span,
.result-context span,
.funnel-stage div > span {
  color: #505050;
}

.result-row {
  border-top-color: #111111;
}

.funnel-stage i {
  background: #777777;
}

.funnel-stage i::after {
  border-left-color: #777777;
}

.perspective-list,
.perspective-list article {
  border-color: #cfcfcf;
}

.footer {
  border-top: 1px solid #d6d6d6;
  color: #505050;
}

.footer a {
  color: #111111;
}

.profile-sheet,
.skills-section,
.cases-section,
.management-section,
.perspective-section,
.image-plan-section,
.contact-section {
  --sweep-color: #ffffff;
}

@media (max-width: 620px) {
  .skills-section .skills-heading h2 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-index,
  .image-plan-grid {
    scroll-behavior: auto;
  }
}

/* 2026 visual system: one light brand world, with product imagery carrying the colour. */
:root {
  --brand-canvas: oklch(0.972 0.008 350);
  --brand-surface: oklch(0.944 0.016 350);
  --brand-surface-strong: oklch(0.91 0.026 350);
  --brand-lilac: oklch(0.925 0.027 315);
  --brand-ink: oklch(0.205 0.032 350);
  --brand-muted: oklch(0.47 0.024 350);
  --brand-line: oklch(0.79 0.018 350 / 0.72);
  --brand-wine: oklch(0.27 0.065 350);
  --brand-coral: oklch(0.69 0.17 12);
  --brand-coral-soft: oklch(0.9 0.06 8);
  --page: var(--brand-canvas);
  --page-soft: var(--brand-surface);
  --ink-deep: var(--brand-ink);
  --wine-deep: var(--brand-wine);
  --rose-accent: var(--brand-coral);
  --bg: var(--brand-canvas);
  --surface: #fff;
  --surface-soft: var(--brand-surface);
  --ink: var(--brand-ink);
  --muted: var(--brand-muted);
  --line: var(--brand-line);
  --line-strong: oklch(0.61 0.024 350);
  --accent: var(--brand-coral);
  --coral: var(--brand-coral);
  --wine: var(--brand-wine);
  --lilac: var(--brand-lilac);
  --content-gap: clamp(88px, 9vw, 136px);
}

html {
  background: var(--brand-canvas);
}

body {
  background: var(--brand-canvas);
  color: var(--brand-ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

main {
  background: var(--brand-canvas);
}

:where(h1, h2, h3, h4, h5, p, a, button, span, strong, small) {
  letter-spacing: 0;
}

:where(h1, h2, h3, h4, h5) {
  text-wrap: balance;
}

.section-shell {
  width: min(calc(100% - 64px), 1240px);
}

.section-band {
  padding-block: var(--content-gap);
}

.section-heading,
.profile-overview-heading {
  display: block;
  max-width: 980px;
  margin-bottom: clamp(52px, 6.5vw, 88px);
}

.section-heading > div,
.section-heading > .section-intro,
.profile-overview-heading > div,
.profile-overview-heading > div > p:last-child {
  grid-column: auto;
}

.section-heading h2,
.profile-overview-heading h2,
.skills-heading h2,
.management-lead h2 {
  max-width: 880px;
  font-size: clamp(42px, 4.4vw, 66px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-intro,
.profile-overview-heading > div > p:last-child,
.skills-context > p {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--brand-muted);
  font-size: 15px;
  line-height: 1.8;
}

.eyebrow,
.case-number,
.case-type {
  color: var(--brand-coral);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: none;
}

/* The Grainient cover becomes the palette source for the rest of the site. */
.intro-cover {
  color: var(--brand-ink);
}

.intro-title {
  top: 24%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
}

.intro-title span:last-child {
  margin-top: -0.02em;
  margin-left: 1.55em;
}

.intro-summary {
  color: color-mix(in oklch, var(--brand-ink) 78%, transparent);
  font-size: 13px;
  line-height: 1.65;
}

.intro-enter {
  border-color: color-mix(in oklch, var(--brand-wine) 55%, transparent);
  color: var(--brand-wine);
}

.intro-enter:hover,
.intro-enter:focus-visible {
  background: var(--brand-wine);
  color: #fff;
}

/* Profile, skills and capability pages now share one light visual language. */
.profile-sheet,
.skills-section,
.cases-section,
.management-section,
.perspective-section,
.image-plan-section,
.contact-section {
  color: var(--brand-ink);
}

.profile-sheet {
  background: var(--brand-surface);
}

.profile-sheet-label span,
.profile-identity small,
.profile-sheet-heading span,
.profile-summary-copy,
.profile-facts dt,
.profile-education-row time,
.profile-education-row span,
.profile-company-head time,
.profile-company-head span,
.profile-company-notes p,
.profile-company-history time,
.profile-company-history span,
.profile-contact-list dt,
.profile-contact-list dd {
  color: var(--brand-muted);
}

.profile-sheet-label strong,
.profile-identity,
.profile-sheet-heading,
.profile-facts dd,
.profile-education-row strong,
.profile-company-head strong,
.profile-company-head b,
.profile-company-history strong {
  color: var(--brand-ink);
}

.profile-identity h2 span {
  color: var(--brand-coral);
}

.profile-portrait {
  border-color: var(--brand-line);
  background: color-mix(in oklch, var(--brand-surface-strong) 72%, white);
}

.profile-portrait:hover {
  border-color: var(--brand-coral);
  background: var(--brand-surface-strong);
}

.profile-portrait .slot-meta,
.profile-portrait figcaption,
.profile-sheet-block,
.profile-company-primary,
.profile-company-history,
.profile-facts div,
.profile-education-row,
.profile-identity {
  border-color: var(--brand-line);
}

.profile-portrait .slot-cross::before,
.profile-portrait .slot-cross::after {
  background: var(--brand-line);
}

.profile-portrait .slot-cross span {
  border-color: var(--brand-line);
  background: var(--brand-surface);
}

.skills-section {
  background: var(--brand-surface-strong);
}

.skills-overview {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(36px, 6vw, 84px);
  border-color: var(--brand-line);
}

.skills-heading h2 {
  color: var(--brand-ink);
}

.skills-context > p,
.skills-section .skill-switch p,
.skills-section .skill-switch small,
.skills-section .skill-switch > span,
.skills-section .product-skill-line span,
.skills-section .orbit-caption {
  color: var(--brand-muted);
}

.skills-section .skill-switcher,
.skills-section .skill-switch,
.skills-section .software-visual {
  border-color: var(--brand-line);
}

.skills-section .skill-switch {
  color: var(--brand-ink);
}

.skills-section .skill-switch:focus-visible,
.skills-section .skill-switch.is-active {
  background: color-mix(in oklch, var(--brand-coral-soft) 66%, transparent);
}

.skills-section .skill-switch.is-active strong,
.skills-section .skill-switch.is-active > span,
.skills-section .skill-switch.is-active small {
  color: var(--brand-coral);
}

.skills-section .orbit-ring {
  border-color: color-mix(in oklch, var(--brand-wine) 24%, transparent);
}

.skills-section .orbit-field::before,
.skills-section .orbit-field::after {
  background: color-mix(in oklch, var(--brand-wine) 13%, transparent);
}

.skills-section .orbit-center {
  background: var(--brand-coral);
  color: var(--brand-wine);
}

.skills-section .orbit-center > span,
.skills-section .orbit-center small,
.skills-section .orbit-center b {
  color: var(--brand-wine);
}

/* Cases use one directory and one heading grammar. Product media supplies the variation. */
.cases-section {
  background: var(--brand-canvas);
}

.case-index {
  margin-top: 0;
  overflow: visible;
  border-top: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
  border-radius: 0;
  background: transparent;
  color: var(--brand-ink);
}

.case-index a {
  min-height: 142px;
  padding: 24px;
  border-left: 1px solid var(--brand-line);
  color: var(--brand-ink);
}

.case-index a::before {
  background: var(--brand-coral-soft);
}

.case-index a:hover,
.case-index a:focus-visible,
.case-index a.is-active {
  color: var(--brand-ink);
}

.case-index span,
.case-index a:hover span,
.case-index a:focus-visible span,
.case-index a.is-active span {
  color: var(--brand-coral);
}

.case-index small,
.case-index a:hover small,
.case-index a:focus-visible small,
.case-index a.is-active small {
  color: var(--brand-muted);
}

.case-heading,
.case-unicorn > .case-heading,
.case-artline > .case-heading,
.case-male > .case-heading,
.case-design-archive > .case-heading {
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-top: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
  border-radius: 0;
  background: transparent;
  color: var(--brand-ink);
}

.case-artline > .case-heading .case-type,
.case-artline > .case-heading .case-title-wrap > p,
.case-male > .case-heading .case-type,
.case-male > .case-heading .case-title-wrap > p,
.case-heading .case-title-wrap > p {
  color: var(--brand-muted);
}

.case-heading h3 {
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: 0;
}

.unicorn-hero,
.artline-hero {
  border-radius: 0 0 6px 6px;
}

.unicorn-card,
.art-product-media figure,
.evidence-grid figure,
.archive-slot {
  border-color: var(--brand-line);
}

/* Business evidence stays prominent without introducing a second dark theme. */
.management-section {
  background: var(--brand-surface);
}

.management-section .eyebrow,
.management-actions span,
.result-item strong {
  color: var(--brand-coral);
}

.management-section .section-intro,
.result-item > span,
.result-item p,
.result-context span,
.result-context p,
.funnel-stage div > span {
  color: var(--brand-muted);
}

.result-row,
.result-context,
.management-actions,
.funnel-stage,
.funnel-stage > div {
  border-color: var(--brand-line);
}

.result-row {
  border-top-color: var(--brand-wine);
}

.funnel-stage i {
  background: color-mix(in oklch, var(--brand-wine) 30%, transparent);
}

.funnel-stage i::after {
  border-left-color: color-mix(in oklch, var(--brand-wine) 45%, transparent);
}

.perspective-section {
  background: var(--brand-lilac);
  color: var(--brand-ink);
}

.perspective-list,
.perspective-list article {
  border-color: color-mix(in oklch, var(--brand-wine) 24%, transparent);
}

.perspective-list p {
  color: var(--brand-muted);
}

.image-plan-section {
  background: var(--brand-canvas);
}

.image-plan-grid {
  border-top-color: var(--brand-line);
}

.image-plan-item {
  min-height: 230px;
  border-color: var(--brand-line);
  background: transparent;
}

.image-plan-item span {
  color: var(--brand-coral);
}

.image-plan-item p {
  color: var(--brand-muted);
}

.contact-section {
  background: var(--brand-surface-strong);
  border-top: 1px solid var(--brand-line);
}

.contact-inner h2 {
  max-width: 820px;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.contact-info {
  border-color: var(--brand-line);
}

.footer {
  background: var(--brand-wine);
  color: color-mix(in oklch, white 82%, transparent);
}

.profile-sheet { --sweep-color: var(--brand-surface); }
.skills-section { --sweep-color: var(--brand-surface-strong); }
.cases-section { --sweep-color: var(--brand-canvas); }
.management-section { --sweep-color: var(--brand-surface); }
.perspective-section { --sweep-color: var(--brand-lilac); }
.image-plan-section { --sweep-color: var(--brand-canvas); }
.contact-section { --sweep-color: var(--brand-surface-strong); }

@media (max-width: 980px) {
  .section-shell {
    width: min(calc(100% - 40px), 1240px);
  }

  .skills-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --content-gap: 72px;
  }

  .section-shell {
    width: calc(100% - 28px);
  }

  .section-heading h2,
  .profile-overview-heading h2,
  .skills-heading h2,
  .management-lead h2,
  .contact-inner h2 {
    font-size: clamp(36px, 10vw, 46px);
    line-height: 1.1;
  }

  .section-intro,
  .profile-overview-heading > div > p:last-child,
  .skills-context > p {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.72;
  }

  .intro-title {
    top: 18%;
    font-size: clamp(52px, 15vw, 66px);
  }

  .intro-title span:last-child {
    margin-left: 0.55em;
  }

  .case-index {
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 0;
  }

  .case-index a,
  .case-index a:nth-child(2),
  .case-index a:nth-child(3),
  .case-index a:nth-child(4) {
    border: 1px solid var(--brand-line);
  }

  .case-heading,
  .case-unicorn > .case-heading,
  .case-artline > .case-heading,
  .case-male > .case-heading,
  .case-design-archive > .case-heading {
    padding: 24px 0;
  }

  .result-context {
    border-color: var(--brand-line);
  }

  .skills-section .software-node span {
    width: 60px;
    font-size: 8px;
    white-space: nowrap;
  }
}

/* Final white lock. Keep this last so legacy chapter colours cannot leak back in. */
:root {
  --brand-canvas: #fff;
  --brand-surface: #fff;
  --brand-surface-strong: #fff;
  --brand-lilac: #fff;
  --brand-ink: #111;
  --brand-muted: #505050;
  --brand-line: #d6d6d6;
  --brand-wine: #191919;
  --brand-coral: #8f3047;
  --brand-coral-soft: #f4f4f4;
  --page: #fff;
  --page-soft: #fff;
  --ink-deep: #111;
  --wine-deep: #191919;
  --rose-accent: #8f3047;
  --bg: #fff;
  --surface: #fff;
  --surface-soft: #fff;
  --ink: #111;
  --muted: #505050;
  --line: #d6d6d6;
  --line-strong: #777;
  --accent: #8f3047;
  --coral: #8f3047;
  --wine: #191919;
  --lilac: #fff;
}

html,
body,
main,
.intro-cover,
.profile-sheet,
.skills-section,
.cases-section,
.management-section,
.perspective-section,
.image-plan-section,
.contact-section,
.footer {
  background: #fff;
  color: #111;
}

.intro-grainient {
  display: none;
}

.site-header,
.site-header.is-scrolled {
  border-color: #d6d6d6;
  background: rgb(255 255 255 / 0.96);
  color: #111;
  box-shadow: none;
}

.brand-code {
  border-color: #111;
  color: #111;
}

.brand-copy strong,
.nav a,
.nav a:hover,
.nav a:focus-visible,
.nav a.is-active,
.intro-title,
.intro-credit strong,
.profile-sheet-label strong,
.profile-identity,
.profile-sheet-heading,
.profile-facts dd,
.profile-education-row strong,
.profile-company-head strong,
.profile-company-head b,
.profile-company-history strong,
.skills-heading h2,
.skills-section .skill-switch,
.skills-section .skill-switch strong,
.case-index a,
.case-heading,
.case-unicorn > .case-heading,
.case-artline > .case-heading,
.case-male > .case-heading,
.case-design-archive > .case-heading,
.section-heading h2,
.management-copy h3,
.perspective-list h3,
.image-plan-item h3,
.contact-inner h2,
.footer a {
  color: #111;
}

.brand-copy small,
.header-status,
.intro-edition,
.intro-credit,
.intro-summary,
.intro-scroll,
.profile-sheet-label span,
.profile-identity small,
.profile-sheet-heading span,
.profile-summary-copy,
.profile-facts dt,
.profile-education-row time,
.profile-education-row span,
.profile-company-head time,
.profile-company-head span,
.profile-company-notes p,
.profile-company-history time,
.profile-company-history span,
.skills-context > p,
.skills-section .skill-switch p,
.skills-section .skill-switch small,
.skills-section .skill-switch > span,
.skills-section .product-skill-line span,
.skills-section .orbit-caption,
.section-intro,
.case-index small,
.case-title-wrap > p,
.case-artline > .case-heading .case-type,
.case-artline > .case-heading .case-title-wrap > p,
.case-male > .case-heading .case-type,
.case-male > .case-heading .case-title-wrap > p,
.result-item > span,
.result-item p,
.result-context span,
.result-context p,
.funnel-stage div > span,
.perspective-list p,
.image-plan-item p,
.footer {
  color: #505050;
}

.eyebrow,
.case-number,
.case-type,
.image-plan-item span,
.management-actions span,
.case-index span,
.result-item strong {
  color: #8f3047;
}

.profile-portrait,
.profile-portrait:hover,
.profile-portrait .slot-cross span,
.skills-section .skill-switch:focus-visible,
.skills-section .skill-switch.is-active,
.skills-section .orbit-center,
.case-index,
.case-index a::before,
.case-heading,
.case-unicorn > .case-heading,
.case-artline > .case-heading,
.case-male > .case-heading,
.case-design-archive > .case-heading,
.unicorn-card,
.image-plan-item,
.archive-slot {
  background: #fff;
}

.profile-portrait,
.profile-portrait:hover,
.profile-portrait .slot-meta,
.profile-portrait figcaption,
.profile-sheet-block,
.profile-company-primary,
.profile-company-history,
.profile-facts div,
.profile-education-row,
.profile-identity,
.skills-overview,
.skills-section .skill-switcher,
.skills-section .skill-switch,
.skills-section .software-visual,
.case-index,
.case-index a,
.case-heading,
.case-unicorn > .case-heading,
.case-artline > .case-heading,
.case-male > .case-heading,
.case-design-archive > .case-heading,
.unicorn-card,
.art-product-media figure,
.evidence-grid figure,
.archive-slot,
.result-row,
.result-context,
.management-actions,
.funnel-stage,
.funnel-stage > div,
.perspective-list,
.perspective-list article,
.image-plan-grid,
.image-plan-item,
.contact-section,
.contact-info,
.footer {
  border-color: #d6d6d6;
}

.skills-section .skill-switch.is-active {
  box-shadow: inset 3px 0 0 #8f3047;
}

.skills-section .orbit-ring {
  border-color: #cfcfcf;
}

.skills-section .orbit-field::before,
.skills-section .orbit-field::after {
  background: #dedede;
}

.skills-section .orbit-center {
  border: 2px solid #111;
}

.skills-section .orbit-center > span,
.skills-section .orbit-center small,
.skills-section .orbit-center b {
  color: #505050;
}

.case-index a::before {
  background: #f4f4f4;
}

.result-row {
  border-top-color: #111;
}

.personal-funnel {
  margin-top: clamp(44px, 5vw, 72px);
}

.funnel-stage i {
  background: #777;
}

.funnel-stage i::after {
  border-left-color: #777;
}

.profile-sheet,
.skills-section,
.cases-section,
.management-section,
.perspective-section,
.image-plan-section,
.contact-section {
  --sweep-color: #fff;
}

.skills-section .software-node,
.skills-section .node-keyshot,
.skills-section .node-photoshop,
.skills-section .node-rhino,
.skills-section .node-codex,
.skills-section .node-comfyui,
.skills-section .software-node > span {
  border-color: #d6d6d6;
  background: #fff;
  color: #333;
  box-shadow: none;
}

.skills-section .software-node > span {
  width: max-content;
  max-width: 82px;
}

@media (max-width: 620px) {
  .skills-section .software-node > span {
    width: max-content;
    max-width: 72px;
    padding: 3px 4px;
    font-size: 7px;
  }
}

.profile-company-notes {
  border-color: #d6d6d6;
}

.profile-company-notes p + p {
  border-color: #d6d6d6;
}

.profile-company-notes span {
  color: #111;
  font-weight: 760;
}

.profile-company-primary .profile-company-head > b {
  font-size: 16px;
  font-weight: 760;
  line-height: 1.2;
}

.profile-portrait .slot-meta span,
.profile-portrait figcaption p {
  color: #505050;
}

.profile-portrait figcaption strong {
  color: #111;
}

.management-actions p {
  color: #333;
}

/* Software nodes need their own material contrast against the white skills page. */
.skills-section .software-node {
  border-color: #c8c8c8;
  background: #eeeeee;
}

.skills-section .node-rhino,
.skills-section .node-codex {
  background: #eeeeee;
}

.skills-section .node-keyshot {
  border-color: #202020;
  background: #202020;
}

.skills-section .node-photoshop {
  border-color: #082f49;
  background: #082f49;
}

.skills-section .node-comfyui {
  border-color: #17202a;
  background: #17202a;
}

.skills-section .orbit-center {
  background: #f1f1f1;
}

.art-product-media .art-motion-media,
.art-product-media .art-motion-media img,
.art-product-media .art-motion-media video {
  border-color: #101010;
  background: #101010;
}

/* Other cases: every view stays visible; the lightbox is only for closer inspection. */
.other-case-catalog {
  display: grid;
  gap: clamp(72px, 9vw, 128px);
}

.other-showcase-group {
  scroll-margin-top: 96px;
}

.other-showcase-group .other-case-heading {
  margin-bottom: 28px;
}

.other-showcase-group .other-case-heading h4 {
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 0.98;
}

.other-showcase-group .other-case-heading p {
  max-width: 620px;
}

.other-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 5vw, 76px) 18px;
}

.other-product-card {
  min-width: 0;
  border-top: 1px solid #171717;
}

.other-product-grid > .other-product-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc((100% - 18px) / 2);
  justify-self: center;
}

.other-product-meta {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  min-height: 108px;
  padding: 16px 4px 18px;
}

.other-product-meta > span {
  color: #8f3047;
  font-size: 10px;
  font-weight: 760;
}

.other-product-meta h5 {
  margin: 0 0 7px;
  color: #111;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.2;
}

.other-product-meta p {
  margin: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.6;
}

.other-product-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  overflow: hidden;
  background: #e4e4e4;
}

.other-product-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f4f4f4;
  cursor: zoom-in;
}

.other-product-image:focus-visible {
  z-index: 1;
  outline: 2px solid #8f3047;
  outline-offset: -2px;
}

.other-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 240ms ease;
}

.case-artline img,
.case-artline video {
  cursor: zoom-in;
}

.case-artline img:focus-visible,
.case-artline video:focus-visible {
  outline: 2px solid #8f3047;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .other-product-image:hover img {
    transform: scale(1.018);
    filter: contrast(1.02);
  }
}

.case-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  overflow: visible;
  place-items: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
}

.case-lightbox[open] {
  display: grid;
}

.case-lightbox::backdrop {
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(8px);
}

.case-lightbox figure {
  position: relative;
  display: grid;
  justify-items: center;
  width: fit-content;
  height: auto;
  margin: 0;
}

.case-lightbox img,
.case-lightbox video {
  display: block;
  width: auto;
  height: auto;
  max-width: 94vw;
  max-height: calc(92dvh - 54px);
  object-fit: contain;
  background: #fff;
}

.case-lightbox video {
  background: #111;
}

.case-lightbox [hidden] {
  display: none;
}

.case-lightbox figcaption {
  position: static;
  width: max-content;
  max-width: calc(100% - 32px);
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid rgb(17 17 17 / 0.16);
  background: rgb(255 255 255 / 0.9);
  color: #111;
  font-size: 12px;
  text-align: center;
}

.case-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid #111;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font: 300 25px/1 Arial, sans-serif;
  cursor: pointer;
}

.case-lightbox-close:hover,
.case-lightbox-close:focus-visible {
  border-color: #8f3047;
  background: #8f3047;
  color: #fff;
}

@media (max-width: 980px) {
  .other-product-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .other-product-grid > .other-product-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .other-product-meta {
    min-height: 94px;
  }
}

@media (max-width: 620px) {
  .other-case-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .other-case-index a,
  .other-case-index a:nth-child(odd),
  .other-case-index a:last-child {
    grid-column: auto;
    min-height: 126px;
    border-top: 1px solid #d6d6d6;
    border-left: 1px solid #d6d6d6;
  }

  .other-case-index a:nth-child(odd) {
    border-left: 0;
  }

  .other-case-index a:nth-child(-n + 2) {
    border-top: 0;
  }

  .other-case-index a:last-child {
    grid-column: 1 / -1;
    min-height: 112px;
    border-left: 0;
  }

  .other-case-catalog {
    gap: 72px;
  }

  .other-showcase-group .other-case-heading {
    margin-bottom: 22px;
  }

  .other-product-meta {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 88px;
    padding: 13px 2px 15px;
  }

  .other-product-images {
    gap: 1px;
  }

  .case-lightbox {
    width: 100vw;
    height: 100dvh;
  }

  .case-lightbox img,
  .case-lightbox video {
    max-width: 100vw;
    max-height: calc(100dvh - 52px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .other-product-image img {
    transition: none;
  }
}
