/* Marcos Costa — editorial engineering portfolio. No external font dependencies. */
:root {
  --paper: #f7f7f2;
  --white: #fff;
  --ink: #17212b;
  --muted: #5b656b;
  --line: #d9dfdd;
  --blue: #254de3;
  --blue-dark: #193abe;
  --pale: #eef1fd;
  --navy: #111f30;
  --mono: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
  --sans: Inter, 'Segoe UI', Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --max: 1184px;
  --radius: 8px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::selection {
  background: #cdd8ff;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  display: block;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.1;
}
p + p {
  margin-top: 18px;
}
ul,
ol {
  padding-left: 22px;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
button,
summary,
a {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(calc(100% - 96px), var(--max));
  margin-inline: auto;
}
.muted {
  color: var(--muted);
}
.mono,
.eyebrow,
.section-label {
  font-family: var(--mono);
}
.eyebrow,
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.65;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--blue);
  border-radius: 1px;
}
.section-label {
  color: var(--muted);
  display: flex;
  gap: 20px;
  align-items: center;
}
.section-label span:first-child {
  color: var(--blue);
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  transform: translateY(-180%);
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 12px 18px;
}
.skip-link:focus {
  transform: none;
}
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.arrow {
  font-size: 20px;
  font-family: Arial, sans-serif;
  line-height: 1;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 247, 242, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}
.brand-mark {
  border: 1.5px solid var(--ink);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: -1.5px;
  font-size: 16px;
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 7px;
  height: 7px;
  background: var(--blue);
  border: 2px solid var(--paper);
}
.brand-name {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px;
  line-height: 1.4;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  border-color: var(--blue);
  color: var(--blue);
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: flex;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  gap: 4px;
}
.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 34px;
  font-size: 11px;
  font-family: var(--mono);
  border-radius: 3px;
}
.lang-switch a[aria-current] {
  color: white;
  background: var(--ink);
}
.lang-switch a:not([aria-current]):hover {
  background: var(--line);
}
.menu-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--ink);
}
.menu-toggle span::before {
  top: -5px;
}
.menu-toggle span::after {
  top: 5px;
}
.menu-toggle[aria-expanded='true'] span {
  background: transparent;
}
.menu-toggle[aria-expanded='true'] span::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded='true'] span::after {
  top: 0;
  transform: rotate(-45deg);
}
.hero {
  padding-top: 73px;
  padding-bottom: 59px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 66px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(48px, 5.9vw, 80px);
  line-height: 1.03;
  font-weight: 550;
  letter-spacing: -0.062em;
  margin-top: 30px;
  max-width: 760px;
}
.hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--blue);
  letter-spacing: -0.06em;
  display: block;
}
.hero-description {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
  margin-top: 26px;
}
.hero-description strong {
  color: var(--ink);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: white;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.button-blue {
  background: var(--blue);
  border-color: var(--blue);
}
.button-blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 550;
  min-height: 44px;
}
.text-link:hover {
  color: var(--blue);
}
.text-link .arrow {
  transition: transform 0.18s;
}
.text-link:hover .arrow {
  transform: translate(2px, -1px);
}
.portrait-block {
  position: relative;
  align-self: center;
  padding: 0 0 0 26px;
}
.portrait-block::before {
  content: '';
  position: absolute;
  width: 65%;
  height: 60%;
  top: -16px;
  right: -16px;
  border-top: 1px solid #bec7cc;
  border-right: 1px solid #bec7cc;
  z-index: -1;
}
.portrait-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1.07;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 4px;
  filter: saturate(0.85);
}
.portrait-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 16px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-family: var(--mono);
}
.portrait-caption {
  position: absolute;
  left: 0;
  bottom: 54px;
  background: var(--paper);
  padding: 15px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  box-shadow: 0 4px 20px #13213407;
}
.portrait-caption strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.portrait-caption span {
  font-size: 11px;
  color: var(--muted);
}
.hero-meta {
  margin-top: 29px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.hero-meta .icon {
  width: 14px;
  height: 14px;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 27px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-item {
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
.proof-item:first-child {
  padding-left: 0;
  border-left: 0;
}
.proof-item strong {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1.4;
}
.proof-item span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  display: block;
  margin-top: 4px;
}
.section {
  padding-top: 90px;
  padding-bottom: 90px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-end;
  margin-top: 26px;
  margin-bottom: 39px;
}
.section-head h2,
.about-title {
  font-size: clamp(32px, 3.6vw, 49px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.13;
}
.section-head h2 em {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--blue);
}
.section-head p {
  font-size: 14px;
  color: var(--muted);
  max-width: 335px;
  line-height: 1.8;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.project {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.project:hover {
  border-color: #b7c3d7;
  box-shadow: 0 9px 28px #13213408;
}
.project-visual {
  height: 267px;
  position: relative;
  overflow: hidden;
  padding: 26px 30px;
}
.project-visual--alp {
  background: #e9edf5;
  color: #253754;
}
.project-visual--photos {
  background: #e9eddf;
  color: #344a37;
}
.visual-caption {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 1;
}
.visual-caption .tiny-grid {
  width: 12px;
  height: 12px;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 5px);
  opacity: 0.5;
}
.architecture-art {
  position: relative;
  height: 175px;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-node {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #b9c5d6;
  background: #ffffffdd;
  border-radius: 5px;
  min-width: 96px;
  min-height: 93px;
  padding: 15px 9px;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.art-node small {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
  color: #54617a;
}
.art-node strong {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
}
.art-node--core {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: translateY(-22px);
  min-width: 111px;
  min-height: 113px;
  box-shadow: 0 10px 30px #254de31c;
}
.art-node--core small {
  color: #dce4ff;
}
.art-link {
  height: 1px;
  width: 35px;
  background: #8396ba;
  position: relative;
}
.art-link::after {
  content: '›';
  font-size: 17px;
  position: absolute;
  right: -1px;
  top: -15px;
}
.art-node .icon {
  height: 23px;
  width: 23px;
}
.art-line-label {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font: 8px var(--mono);
  letter-spacing: 0.05em;
  color: #526887;
}
.photo-art {
  position: relative;
  max-width: 385px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.photo-stack {
  height: 150px;
  width: 125px;
  position: relative;
  flex-shrink: 0;
}
.photo-sheet {
  position: absolute;
  width: 97px;
  height: 126px;
  border: 1px solid #b1bdaa;
  border-radius: 3px;
  background: #f8f9f4;
  top: 10px;
  padding: 7px;
  box-shadow: 0 5px 12px #344a3706;
}
.photo-sheet:nth-child(1) {
  transform: rotate(-12deg);
  left: 2px;
}
.photo-sheet:nth-child(2) {
  transform: rotate(-4deg);
  left: 12px;
}
.photo-sheet:nth-child(3) {
  transform: rotate(6deg);
  left: 20px;
}
.landscape-art {
  height: 86px;
  position: relative;
  overflow: hidden;
  background: #dfe6d1;
}
.landscape-art::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  left: -25px;
  top: 35px;
  transform: rotate(43deg);
  background: #819f87;
}
.landscape-art::after {
  content: '';
  position: absolute;
  width: 83px;
  height: 83px;
  left: 37px;
  top: 30px;
  transform: rotate(50deg);
  background: #b7c7a3;
}
.photo-file {
  display: block;
  margin-top: 8px;
  font: 7px var(--mono);
  letter-spacing: 0.06em;
}
.photo-processing {
  background: #354f3b;
  color: #fff;
  width: 106px;
  height: 106px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px #263d3310;
}
.photo-processing .icon {
  width: 27px;
  height: 27px;
}
.photo-processing span {
  font: 9px var(--mono);
}
.photo-art .art-link {
  background: #889d80;
  flex: 1;
  min-width: 19px;
}
.photo-result {
  background: #f7f8f2;
  border: 1px solid #b4c2a9;
  width: 91px;
  height: 71px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}
.photo-result span {
  font: 8px var(--mono);
}
.photo-result .icon {
  width: 19px;
  height: 19px;
}
.art-foot {
  position: absolute;
  bottom: 21px;
  left: 30px;
  font-size: 8px;
  font-family: var(--mono);
  opacity: 0.76;
}
.project-body {
  padding: 28px 30px 26px;
}
.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.project-topline h3 {
  font-size: 30px;
  letter-spacing: -0.06em;
  font-weight: 600;
}
.project-topline .project-type {
  font: 9px var(--mono);
  color: var(--muted);
  text-align: right;
  max-width: 155px;
  line-height: 1.6;
}
.project-question {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin-top: 20px;
  max-width: 390px;
}
.project-description {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 13px;
}
.ownership {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  margin-top: 23px;
  font-family: var(--mono);
  line-height: 1.6;
}
.ownership::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--blue);
  flex-shrink: 0;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
}
.project-tags span {
  font-family: var(--mono);
  font-size: 9px;
  padding: 4px 7px;
  background: #f4f5f3;
  color: #4d575e;
  border-radius: 2px;
}
.project-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 16px;
}
.project-links .text-link {
  font-size: 12px;
}
.project-links .text-link:first-child {
  color: var(--blue);
}
.project-links .text-link:last-child {
  font-size: 10px;
  color: var(--muted);
}
.working-note {
  margin-top: 25px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.working-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}
.approach-band {
  background: var(--navy);
  color: #fff;
  padding: 52px 0;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 42px;
  align-items: start;
}
.approach-grid > div {
  padding-left: 30px;
  border-left: 1px solid #ffffff26;
}
.approach-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.approach-grid .eyebrow {
  color: #afbdd3;
  font-size: 9px;
}
.approach-grid h3 {
  font-size: 23px;
  font-weight: 450;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin-top: 16px;
}
.approach-grid p {
  font-size: 12px;
  color: #b7c4d4;
  line-height: 1.8;
  margin-top: 13px;
}
.approach-grid .text-link {
  color: #b9c9ff;
  font-size: 11px;
  margin-top: 10px;
  min-height: 34px;
}
.experience-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.35fr;
  gap: 85px;
  margin-top: 31px;
}
.experience-intro h2 {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.15;
}
.experience-intro p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 23px;
}
.experience-intro .text-link {
  margin-top: 19px;
  color: var(--blue);
}
.timeline {
  border-top: 1px solid var(--line);
}
.experience-item {
  border-bottom: 1px solid var(--line);
}
.experience-item summary {
  list-style: none;
  cursor: pointer;
  padding: 23px 0;
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 20px;
}
.experience-item summary::-webkit-details-marker,
.decision summary::-webkit-details-marker {
  display: none;
}
.experience-item summary:hover .company {
  color: var(--blue);
}
.company {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 550;
}
.job-title {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 5px;
}
.job-date {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.disclosure-icon {
  font-size: 23px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 300;
  align-self: start;
}
.disclosure-icon::before {
  content: '+';
}
.experience-item[open] .disclosure-icon::before,
.decision[open] .disclosure-icon::before {
  content: '−';
}
.experience-detail {
  padding: 0 36px 24px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  animation: appear 0.15s ease-out;
}
.experience-detail ul {
  margin: 15px 0 0;
  padding-left: 17px;
}
.experience-detail li + li {
  margin-top: 7px;
}
.about {
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.9fr;
  gap: 96px;
  margin-top: 31px;
}
.about-title em {
  font-family: var(--serif);
  color: var(--blue);
  font-weight: 400;
}
.about-copy {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 26px;
  max-width: 560px;
}
.about-copy strong {
  color: var(--ink);
  font-weight: 550;
}
.personal-note {
  margin-top: 23px;
  border-left: 2px solid var(--blue);
  padding-left: 18px;
  font: italic 19px/1.6 var(--serif);
  color: var(--ink);
}
.language-card {
  background: #eeefe8;
  padding: 27px 29px;
  border: 1px solid #e0e4d8;
  border-radius: 4px;
}
.language-card .eyebrow {
  font-size: 9px;
}
.language-card h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-top: 18px;
}
.language-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 14px;
}
.language-lines {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 17px;
  font: 9px var(--mono);
  color: #414b43;
}
.language-lines span {
  padding: 7px 9px;
  border: 1px solid #ccd5c5;
  border-radius: 2px;
}
.certificate {
  border-top: 1px solid #d5ddcd;
  margin-top: 18px;
  padding-top: 15px;
  font-size: 10px;
  color: var(--muted);
}
.education {
  margin-top: 31px;
}
.education > h3 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.education-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}
.education-item h4 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.education-item p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.7;
}
.education-item time {
  font: 10px var(--mono);
  color: var(--muted);
  padding-top: 5px;
}
.project-engagement {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 34px 42px;
}
.project-engagement p {
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.project-engagement-actions {
  display: flex;
  flex-wrap: wrap;
  column-gap: 26px;
  margin-top: 14px;
}
.project-engagement-actions a {
  min-height: 44px;
}
@media (max-width: 760px) {
  .project-engagement {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.contact-section {
  padding: 67px 0 39px;
  background: var(--navy);
  color: #fff;
}
.contact-section .section-label {
  color: #aab9cc;
}
.contact-section .section-label span:first-child {
  color: #9fb5ff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  margin-top: 25px;
  align-items: center;
}
.contact-grid h2 {
  font-size: clamp(34px, 3.5vw, 47px);
  font-weight: 450;
  letter-spacing: -0.05em;
  line-height: 1.14;
}
.contact-grid h2 em {
  font-family: var(--serif);
  color: #b3c4ff;
  font-weight: 400;
}
.contact-grid p {
  font-size: 13px;
  color: #bdc8d8;
  line-height: 1.85;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}
.contact-actions .button {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.contact-actions .button:hover {
  background: white;
}
.copy-button {
  background: transparent;
  border: 0;
  color: #ced7e5;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px;
}
.copy-button:hover {
  color: #fff;
}
.copy-button .icon {
  width: 14px;
  height: 14px;
}
.contact-email {
  font: 11px var(--mono);
  color: #b4c1d4;
  display: inline-block;
  margin-top: 19px;
  word-break: break-word;
}
.copy-status {
  display: block;
  min-height: 24px;
  font-size: 11px;
  color: #d6e0f1;
  line-height: 1.6;
  margin-top: 6px;
}
.contact-section a:focus-visible,
.contact-section button:focus-visible {
  outline-color: #bdccff;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #ffffff25;
  margin-top: 40px;
  padding-top: 25px;
}
.footer-brand {
  font-size: 12px;
}
.footer-brand span {
  display: block;
  font: 9px var(--mono);
  margin-top: 5px;
  color: #a8b8cb;
}
.footer-social {
  display: flex;
  gap: 26px;
  font-size: 11px;
}
.footer-social a {
  padding: 8px 0;
}
.footer-social a:hover {
  color: #aabfff;
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 50;
  background: var(--blue);
}
/* Case studies */
.case-hero {
  padding: 44px 0 51px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.breadcrumb:hover {
  color: var(--blue);
}
.case-hero .eyebrow {
  margin-top: 38px;
  color: var(--muted);
  font-size: 10px;
}
.case-hero h1 {
  font-size: clamp(43px, 5.3vw, 70px);
  font-weight: 500;
  letter-spacing: -0.057em;
  line-height: 1.06;
  max-width: 950px;
  margin-top: 25px;
}
.case-hero h1 em {
  font-weight: 400;
  font-family: var(--serif);
  color: var(--blue);
}
.case-hero-intro {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 730px;
  margin-top: 25px;
}
.case-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 35px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
  margin-top: 34px;
}
.case-info-grid dt {
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 9px;
}
.case-info-grid dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}
.case-info-grid dd a {
  text-decoration: underline;
  text-underline-offset: 5px;
  color: var(--blue);
}
.case-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
  padding-bottom: 80px;
}
.case-toc {
  position: sticky;
  top: 122px;
  padding-top: 8px;
}
.case-toc h2 {
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 18px;
}
.case-toc a {
  display: block;
  font-size: 12px;
  padding: 9px 0;
  color: var(--muted);
}
.case-toc a:hover {
  color: var(--blue);
}
.case-toc a span {
  font: 9px var(--mono);
  margin-right: 10px;
  color: #596a73;
}
.case-main section {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.case-main section:first-child {
  border-top: 0;
  padding-top: 11px;
}
.case-main h2 {
  font-size: 32px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin-top: 16px;
}
.case-main p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 19px;
}
.case-main p strong {
  font-weight: 550;
  color: var(--ink);
}
.case-main .callout {
  margin-top: 24px;
  padding: 21px 24px;
  background: #eeefe9;
  border-left: 2px solid var(--blue);
  font-size: 14px;
  line-height: 1.8;
}
.case-main .callout strong {
  display: block;
  font-size: 10px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 7px;
  color: var(--blue);
}
.layer-explorer {
  margin-top: 28px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
}
.layer-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #edf0f6;
  border-bottom: 1px solid var(--line);
  padding: 16px;
  gap: 9px;
}
.layer-tab {
  position: relative;
  background: transparent;
  border: 1px solid #bfc9db;
  border-radius: 4px;
  text-align: left;
  padding: 13px 10px;
  min-height: 83px;
  color: #3f4c61;
  font-size: 11px;
  line-height: 1.5;
  transition: background 0.18s;
}
.layer-tab .step {
  display: block;
  font: 9px var(--mono);
  margin-bottom: 9px;
  color: #526078;
}
.layer-tab[aria-selected='true'] {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.layer-tab[aria-selected='true'] .step {
  color: #d3dfff;
}
.layer-tab:focus-visible {
  outline-offset: 2px;
}
.layer-tab:not([aria-selected='true']):hover {
  background: white;
}
.layer-panel {
  padding: 26px 28px;
}
.layer-panel .layer-stack {
  font: 9px var(--mono);
  color: var(--blue);
  letter-spacing: 0.02em;
}
.layer-panel h3 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-top: 12px;
}
.layer-panel p {
  font-size: 13px;
  margin-top: 14px;
}
.layer-footnote {
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  font: 9px/1.7 var(--mono);
  color: var(--muted);
  background: #fafbf8;
}
.decision {
  border-bottom: 1px solid var(--line);
}
.decisions {
  margin-top: 27px;
  border-top: 1px solid var(--line);
}
.decision summary {
  display: flex;
  list-style: none;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.4;
}
.decision summary:hover {
  color: var(--blue);
}
.decision-number {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  margin-right: 12px;
}
.decision-content {
  padding: 0 32px 26px 26px;
}
.decision-content p {
  font-size: 13px;
  margin-top: 12px;
}
.decision-content .tradeoff {
  border-left: 2px solid #c9d2d7;
  padding-left: 17px;
}
.decision-content h3 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 9px;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 17px;
  letter-spacing: 0.06em;
}
.deliverables {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.deliverable {
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 4px;
  background: #fff;
}
.deliverable .icon {
  color: var(--blue);
  width: 20px;
  height: 20px;
  margin-bottom: 15px;
}
.deliverable h3 {
  font-size: 15px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.deliverable p {
  font-size: 12px;
  margin-top: 9px;
}
.case-close {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 0;
}
.case-close .next-case {
  text-align: right;
}
.next-case small {
  font: 9px var(--mono);
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  letter-spacing: 0.05em;
}
.next-case a {
  font-size: 22px;
  letter-spacing: -0.04em;
  display: block;
  margin-top: 9px;
}
.next-case a:hover {
  color: var(--blue);
}
.case-close .button {
  font-size: 11px;
}
.root-note {
  padding: 15px;
  background: #eee;
}
.js .root-note {
  display: none;
}
@keyframes appear {
  from {
    opacity: 0.45;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1450px) {
  .hero h1 {
    font-size: 83px;
  }
  .hero {
    padding-top: 81px;
    padding-bottom: 70px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 37px;
  }
  .hero h1 {
    font-size: 61px;
  }
  .portrait-block {
    padding-left: 18px;
  }
  .hero-description {
    font-size: 15px;
  }
  .nav-links {
    gap: 20px;
  }
  .proof-item {
    padding: 0 18px;
  }
  .proof-item strong {
    font-size: 16px;
  }
  .project-visual {
    padding-inline: 22px;
  }
  .art-node {
    min-width: 78px;
  }
  .art-node--core {
    min-width: 94px;
  }
  .art-link {
    width: 23px;
  }
  .project-body {
    padding: 24px;
  }
  .project-type {
    font-size: 8px !important;
  }
  .experience-layout {
    gap: 56px;
  }
  .about-grid {
    gap: 54px;
  }
  .case-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 40px;
  }
  .contact-grid {
    gap: 45px;
  }
  .photo-stack {
    width: 103px;
  }
  .photo-processing {
    width: 94px;
  }
  .photo-result {
    width: 75px;
  }
  .section-head {
    gap: 28px;
  }
  .section-head p {
    max-width: 295px;
  }
  .layer-tabs {
    gap: 6px;
    padding: 12px;
  }
  .layer-tab {
    padding: 11px 8px;
  }
}
@media (max-width: 900px) {
  .hero h1 {
    font-size: 53px;
  }
  .hero {
    gap: 20px;
    grid-template-columns: 1.1fr 0.8fr;
    padding-top: 53px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .portrait-caption {
    padding: 12px 16px;
    bottom: 45px;
  }
  .portrait-caption strong {
    font-size: 11px;
  }
  .portrait-caption span {
    font-size: 10px;
  }
  .portrait-note {
    font-size: 8px;
  }
  .project-visual {
    height: 235px;
    padding-inline: 17px;
  }
  .art-node {
    min-width: 72px;
    min-height: 79px;
    padding: 11px 7px;
  }
  .art-node--core {
    min-width: 88px;
    min-height: 103px;
  }
  .architecture-art {
    margin-top: 12px;
    height: 164px;
  }
  .art-link {
    width: 16px;
  }
  .art-line-label {
    bottom: 12px;
    font-size: 7px;
  }
  .art-foot {
    left: 17px;
    font-size: 7px;
  }
  .photo-art {
    transform: scale(0.91);
    transform-origin: left center;
    width: 111%;
  }
  .project-question {
    font-size: 17px;
  }
  .project-links {
    gap: 8px;
  }
  .project-links .text-link {
    font-size: 11px;
  }
  .project-topline {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }
  .project-topline .project-type {
    text-align: left;
    max-width: none;
  }
  .approach-grid {
    gap: 24px;
  }
  .approach-grid > div {
    padding-left: 21px;
  }
  .approach-grid h3 {
    font-size: 20px;
  }
  .experience-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 35px;
  }
  .experience-intro h2 {
    font-size: 36px;
  }
  .about-grid {
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
  }
  .case-layout {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 26px;
  }
  .case-toc a {
    font-size: 11px;
  }
  .case-main h2 {
    font-size: 29px;
  }
  .layer-tab {
    font-size: 10px;
  }
  .layer-panel {
    padding: 23px;
  }
  .case-info-grid {
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 70px;
    gap: 13px;
  }
  .brand-name {
    font-size: 14px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .header-controls {
    margin-left: auto;
    gap: 10px;
  }
  .lang-switch {
    padding-left: 0;
    border-left: 0;
    gap: 2px;
  }
  .lang-switch a {
    min-width: 30px;
    min-height: 36px;
  }
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
  }
  .js .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: var(--paper);
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 15px #17212b08;
    justify-content: space-around;
  }
  .nav-links a {
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 40px;
    padding-bottom: 39px;
  }
  .hero h1 {
    font-size: clamp(45px, 9.7vw, 69px);
    max-width: 620px;
    margin-top: 24px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .hero-description {
    max-width: 530px;
    font-size: 15px;
    margin-top: 22px;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 23px;
  }
  .hero-meta {
    margin-top: 21px;
    font-size: 10px;
  }
  .portrait-block {
    width: 85%;
    max-width: 385px;
    padding-left: 22px;
    justify-self: center;
    margin-top: 10px;
  }
  .portrait-image {
    aspect-ratio: 1.2/1;
    object-position: 50% 30%;
  }
  .portrait-note {
    font-size: 9px;
    padding-top: 13px;
  }
  .portrait-caption {
    bottom: 44px;
    padding: 12px 17px;
  }
  .portrait-caption strong {
    font-size: 12px;
  }
  .portrait-caption span {
    font-size: 10px;
  }
  .proof-strip {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
  .proof-item {
    padding: 20px 0 20px 19px;
  }
  .proof-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .proof-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .proof-item strong {
    font-size: 16px;
  }
  .proof-item span {
    font-size: 10px;
  }
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .section-label {
    font-size: 9px;
    gap: 15px;
  }
  .section-head {
    display: block;
    margin-top: 21px;
    margin-bottom: 26px;
  }
  .section-head h2,
  .about-title {
    font-size: 37px;
    line-height: 1.15;
  }
  .section-head p {
    max-width: 500px;
    margin-top: 20px;
    font-size: 13px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .project-visual {
    height: 252px;
    padding: 23px 25px;
  }
  .visual-caption {
    font-size: 9px;
  }
  .art-node {
    min-width: 91px;
    min-height: 87px;
  }
  .art-node--core {
    min-width: 105px;
    min-height: 107px;
  }
  .art-link {
    width: 35px;
  }
  .architecture-art {
    height: 175px;
    margin-top: 17px;
  }
  .art-line-label {
    bottom: 9px;
    font-size: 8px;
  }
  .art-foot {
    font-size: 8px;
    left: 25px;
  }
  .photo-art {
    max-width: 360px;
    transform: none;
    width: 100%;
    margin-top: 23px;
  }
  .photo-stack {
    width: 122px;
  }
  .photo-processing {
    width: 100px;
  }
  .photo-result {
    width: 85px;
  }
  .project-body {
    padding: 24px;
  }
  .project-topline {
    flex-direction: row;
    align-items: center;
  }
  .project-topline h3 {
    font-size: 29px;
  }
  .project-topline .project-type {
    text-align: right;
    max-width: 135px;
    font-size: 9px !important;
  }
  .project-question {
    font-size: 20px;
    max-width: 450px;
  }
  .project-description {
    font-size: 13px;
  }
  .project-links .text-link {
    font-size: 12px;
  }
  .ownership {
    font-size: 9px;
  }
  .project-tags span {
    font-size: 9px;
  }
  .working-note {
    font-size: 10px;
    margin-top: 20px;
  }
  .approach-band {
    padding: 37px 0;
  }
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .approach-grid > div,
  .approach-grid > div:first-child {
    padding: 0 0 23px;
    border: 0;
    border-bottom: 1px solid #ffffff25;
  }
  .approach-grid > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .approach-grid h3 {
    font-size: 25px;
    margin-top: 10px;
  }
  .approach-grid p {
    font-size: 13px;
    margin-top: 11px;
    max-width: 490px;
  }
  .approach-grid .text-link {
    font-size: 12px;
  }
  .experience-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 22px;
  }
  .experience-intro h2 {
    font-size: 37px;
    max-width: 360px;
  }
  .experience-intro p {
    margin-top: 18px;
    font-size: 13px;
  }
  .experience-intro .text-link {
    margin-top: 12px;
  }
  .experience-item summary {
    padding: 20px 0;
  }
  .company {
    font-size: 20px;
  }
  .job-title {
    font-size: 12px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 33px;
    margin-top: 22px;
  }
  .about-copy {
    font-size: 14px;
    margin-top: 22px;
  }
  .personal-note {
    font-size: 18px;
  }
  .language-card {
    padding: 25px;
  }
  .language-card p {
    font-size: 13px;
  }
  .language-card h3 {
    font-size: 25px;
  }
  .education-item h4 {
    font-size: 13px;
  }
  .education-item p {
    font-size: 12px;
  }
  .education-item time {
    font-size: 11px;
  }
  .contact-section {
    padding-top: 43px;
    padding-bottom: 28px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 23px;
  }
  .contact-grid h2 {
    font-size: 38px;
    max-width: 430px;
  }
  .contact-grid p {
    font-size: 13px;
  }
  .contact-actions {
    margin-top: 21px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 22px;
  }
  .footer-brand {
    font-size: 12px;
  }
  .footer-social {
    font-size: 11px;
    gap: 18px;
  }
  .case-hero {
    padding: 24px 0 30px;
  }
  .case-hero .eyebrow {
    margin-top: 25px;
    font-size: 9px;
  }
  .case-hero h1 {
    font-size: 45px;
    margin-top: 21px;
  }
  .case-hero-intro {
    font-size: 15px;
    margin-top: 21px;
  }
  .case-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 27px;
    padding: 22px 0;
  }
  .case-info-grid > div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 18px;
  }
  .case-info-grid dt {
    font-size: 9px;
    line-height: 1.8;
    margin: 0;
  }
  .case-info-grid dd {
    font-size: 12px;
  }
  .case-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 49px;
  }
  .case-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
    border-bottom: 1px solid var(--line);
    padding: 0 0 15px;
  }
  .case-toc h2 {
    width: 100%;
    margin-bottom: 8px;
  }
  .case-toc a {
    font-size: 11px;
    padding: 7px 0;
  }
  .case-toc a span {
    margin-right: 6px;
  }
  .case-main section {
    padding: 32px 0;
  }
  .case-main section:first-child {
    padding-top: 10px;
  }
  .case-main h2 {
    font-size: 30px;
  }
  .case-main p {
    font-size: 14px;
  }
  .layer-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 14px;
  }
  .layer-tab {
    min-height: 76px;
    font-size: 12px;
    padding: 12px;
  }
  .layer-tab .step {
    font-size: 9px;
    margin-bottom: 7px;
  }
  .layer-panel {
    padding: 22px;
  }
  .layer-panel h3 {
    font-size: 22px;
  }
  .layer-panel p {
    font-size: 13px;
  }
  .layer-footnote {
    font-size: 9px;
    padding: 13px 20px;
  }
  .decision summary {
    font-size: 17px;
    padding: 21px 0;
  }
  .decision-content {
    padding-left: 0;
    padding-right: 9px;
  }
  .decision-content p {
    font-size: 13px;
  }
  .deliverables {
    gap: 12px;
  }
  .deliverable {
    padding: 19px;
  }
  .deliverable h3 {
    font-size: 14px;
  }
  .deliverable p {
    font-size: 12px;
  }
  .case-close {
    align-items: start;
    gap: 15px;
  }
  .case-close .button {
    padding: 12px;
    gap: 12px;
    font-size: 10px;
  }
  .next-case a {
    font-size: 20px;
  }
  .next-case small {
    font-size: 8px;
  }
}
@media (max-width: 390px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .brand {
    gap: 9px;
  }
  .brand-name {
    font-size: 13px;
  }
  .header-controls {
    gap: 7px;
  }
  .menu-toggle {
    width: 34px;
    height: 36px;
  }
  .lang-switch a {
    min-width: 28px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    gap: 19px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 12px 15px;
    gap: 20px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .project-visual {
    padding-inline: 18px;
    height: 235px;
  }
  .art-node {
    min-width: 78px;
  }
  .art-node--core {
    min-width: 91px;
  }
  .art-link {
    width: 22px;
  }
  .art-line-label {
    font-size: 7px;
  }
  .art-foot {
    left: 18px;
    font-size: 7px;
  }
  .photo-stack {
    width: 105px;
  }
  .photo-processing {
    width: 89px;
  }
  .photo-result {
    width: 72px;
  }
  .photo-sheet {
    width: 84px;
    height: 116px;
  }
  .landscape-art {
    height: 78px;
  }
  .photo-art .art-link {
    min-width: 13px;
  }
  .project-body {
    padding: 21px;
  }
  .project-topline .project-type {
    font-size: 8px !important;
    max-width: 120px;
  }
  .project-links .text-link {
    font-size: 11px;
  }
  .deliverables {
    grid-template-columns: 1fr;
  }
  .contact-grid h2 {
    font-size: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .button:hover {
    transform: none;
  }
}
@media print {
  .site-header,
  .hero-actions,
  .project-links,
  .case-toc,
  .contact-actions,
  .reading-progress,
  .lang-switch,
  .layer-tabs,
  .case-close {
    display: none !important;
  }
  .wrap {
    width: 100%;
  }
  .section,
  .hero {
    padding: 24px 0;
  }
  .case-layout {
    display: block;
  }
  .case-main section {
    break-inside: avoid;
  }
  .layer-panel[hidden] {
    display: block !important;
  }
  .contact-section,
  .approach-band {
    color: #000;
    background: #fff;
  }
  .contact-section p,
  .approach-grid p {
    color: #333;
  }
  body {
    font-size: 11px;
    background: #fff;
  }
  .site-footer {
    color: #000;
  }
  .project {
    break-inside: avoid;
  }
  .portrait-block {
    max-width: 220px;
  }
  a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 8px;
    overflow-wrap: anywhere;
  }
  details:not([open]) > *:not(summary) {
    display: block !important;
  }
}

/* Product engineering and source-based system diagrams. */
.product-engineering {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 76px;
  padding-block: 76px;
  border-bottom: 1px solid var(--line);
}
.engineering-heading h2 {
  font-size: clamp(28px, 3.1vw, 42px);
  letter-spacing: -0.04em;
  margin: 18px 0 20px;
}
.engineering-heading > p {
  color: var(--muted);
  max-width: 350px;
  font-size: 15px;
}
.engineering-heading > a {
  margin-top: 24px;
}
.engineering-points {
  border-left: 1px solid var(--line);
  padding-left: 38px;
  display: grid;
  gap: 26px;
}
.engineering-point {
  position: relative;
  padding-left: 34px;
}
.engineering-number {
  position: absolute;
  top: 0;
  left: 0;
  font: 11px var(--mono);
  color: var(--blue);
}
.engineering-point h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.engineering-point p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.product-thumbnail {
  height: 335px;
  background: #eef1f5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 18px 22px;
  transition: background 0.2s;
}
.product-thumbnail:hover {
  background: #e6ecf7;
}
.product-thumbnail .visual-caption {
  position: static;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 9px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.product-thumbnail > img {
  width: 100%;
  height: calc(100% - 28px);
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.2s;
}
.product-thumbnail:hover > img {
  transform: translateY(-2px);
}
.interface-contribution {
  background: var(--pale);
  border-left: 3px solid var(--blue);
  padding: 23px 26px;
  margin-top: 24px;
}
.interface-contribution h3 {
  font-size: 16px !important;
  margin: 0 0 10px !important;
}
.interface-contribution p {
  font-size: 14px !important;
  color: var(--muted);
  margin: 0 !important;
}
.architecture-figure {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-top: 26px;
  overflow: hidden;
}
.diagram-toolbar {
  padding: 12px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f0f3f8;
  border-bottom: 1px solid #e0e5ed;
}
.diagram-label {
  font: 10px var(--mono);
  letter-spacing: 0.07em;
  color: #445364;
}
.diagram-expand {
  display: flex;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1px solid #c9d3e6;
  border-radius: 5px;
  padding: 8px 11px;
  font-size: 12px;
  white-space: nowrap;
}
.diagram-expand:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.diagram-expand .icon {
  width: 15px;
  height: 15px;
}
.architecture-canvas {
  width: 100%;
  padding: 4px;
  overflow: hidden;
}
.architecture-canvas > svg {
  width: 100%;
  height: auto;
  display: block;
}
.architecture-figure figcaption {
  font: 10px/1.6 var(--mono);
  color: var(--muted);
  padding: 12px 17px;
  border-top: 1px solid var(--line);
}
.diagram-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 23px;
  margin: 16px 0 20px;
}
.diagram-downloads a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--blue);
  padding-block: 5px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.diagram-downloads .icon {
  width: 15px;
  height: 15px;
}
.diagram-transcript {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 13px 17px;
  margin-bottom: 27px;
  background: rgba(255, 255, 255, 0.4);
}
.diagram-transcript summary {
  font-size: 13px;
  cursor: pointer;
}
.diagram-transcript p {
  font-size: 14px !important;
  padding-top: 14px;
  color: var(--muted);
}
.visual-dialog {
  border: 0;
  padding: 0;
  width: min(1260px, 96vw);
  max-width: 96vw;
  height: min(940px, 93dvh);
  max-height: 93dvh;
  border-radius: 12px;
  box-shadow: 0 18px 80px #10203055;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.visual-dialog[open] {
  display: flex;
  flex-direction: column;
}
.visual-dialog::backdrop {
  background: #101a2bcc;
  backdrop-filter: blur(4px);
}
.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
}
.viewer-toolbar h2 {
  font-size: 18px;
  line-height: 1.3;
}
.viewer-close {
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
  min-width: 42px;
  min-height: 42px;
  font-size: 28px;
  line-height: 1;
}
.viewer-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 12px 5px;
}
.viewer-controls button {
  background: white;
  border: 1px solid #c5ccd6;
  border-radius: 5px;
  min-width: 40px;
  min-height: 40px;
  font-size: 19px;
}
.viewer-controls .viewer-fit {
  font-size: 12px;
  padding: 7px 16px;
}
.viewer-controls output {
  font: 12px var(--mono);
  min-width: 50px;
  text-align: center;
}
#viewer-help {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  padding: 7px 18px 12px;
  text-align: center;
}
.viewer-stage {
  overflow: auto;
  flex: 1;
  overscroll-behavior: contain;
  background: #e6ebf2;
  min-height: 0;
  padding: 12px;
  touch-action: pan-x pan-y;
  cursor: grab;
}
.viewer-stage.dragging {
  cursor: grabbing;
}
.viewer-content {
  width: 100%;
  min-width: 100%;
  display: block;
}
.viewer-content img {
  width: 100%;
  height: auto;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}
.product-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-block: 36px 52px;
}
.product-gallery-heading {
  grid-column: 1 / -1;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.product-shot {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  margin: 0;
  min-width: 0;
}
.product-shot-stage {
  display: flex;
  justify-content: center;
  padding: clamp(14px, 3vw, 36px);
  background: #eef1f6;
  overflow: hidden;
}
.product-shot img {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
  min-width: 0;
  border: 1px solid #dce2eb;
  border-radius: 6px;
  box-shadow: 0 8px 24px #1321340d;
}
.product-shot-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(16px, 2.5vw, 30px);
  border-top: 1px solid var(--line);
}
.product-shot-footer > span {
  font-size: 13px;
  line-height: 1.7;
  max-width: 650px;
  color: var(--muted);
}
.product-shot-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #dce2eb;
  background: white;
  border-radius: 6px;
  font: 500 12px/1.5 var(--sans);
  color: var(--ink);
  cursor: pointer;
  transition:
    color 0.18s,
    border-color 0.18s,
    background 0.18s;
}
.product-shot-expand:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: #f1f4ff;
}
@media (max-width: 600px) {
  .product-shot-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 1000px) {
  .product-engineering {
    gap: 32px;
    grid-template-columns: 1fr 1.25fr;
  }
  .engineering-points {
    padding-left: 25px;
  }
}
@media (max-width: 760px) {
  .product-engineering {
    grid-template-columns: 1fr;
    padding-block: 43px;
    gap: 28px;
  }
  .engineering-heading > p {
    max-width: 100%;
  }
  .engineering-heading h2 {
    font-size: 32px;
  }
  .engineering-points {
    padding-left: 0;
    border-left: 0;
    gap: 23px;
  }
  .product-thumbnail {
    height: 290px;
    padding: 15px;
  }
  .interface-contribution {
    padding: 19px;
  }
  .diagram-toolbar {
    padding: 11px 12px;
  }
  .diagram-label {
    font-size: 9px;
  }
  .diagram-expand {
    font-size: 11px;
  }
  .architecture-canvas {
    padding: 0;
  }
  .architecture-figure figcaption {
    font-size: 9px;
  }
  .diagram-downloads {
    gap: 8px 18px;
  }
  .visual-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 96dvh;
    max-height: 96dvh;
    border-radius: 10px 10px 0 0;
    margin: auto 0 0;
  }
  .viewer-toolbar {
    padding: 10px 15px;
  }
  .viewer-toolbar h2 {
    font-size: 16px;
  }
  .viewer-stage {
    padding: 8px;
  }
  .product-gallery {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-thumbnail,
  .product-thumbnail > img {
    transition: none;
  }
  .product-thumbnail:hover > img {
    transform: none;
  }
}
@media print {
  .visual-dialog,
  .diagram-expand,
  .diagram-downloads {
    display: none !important;
  }
  .product-engineering {
    break-inside: avoid;
  }
  .architecture-figure {
    break-inside: avoid;
  }
  .product-thumbnail {
    height: 240px;
  }
}

/* Editorial refinement: a clear claim, a nearby example, then a deeper explanation. */
.section-head h2 em,
.experience-intro h2 em,
.engineering-heading h2 em,
.case-main h2 em,
.approach-heading h2 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--blue);
}
.hero-description {
  max-width: 500px;
  line-height: 1.75;
}
.hero-actions {
  gap: 16px 24px;
}
.hero-actions .button {
  gap: 18px;
}
.proof-strip {
  align-items: stretch;
}
.proof-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 74px;
  transition: color 0.18s;
}
.proof-item > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.proof-item .icon {
  width: 13px;
  height: 13px;
  opacity: 0.65;
  transition: transform 0.18s;
}
.proof-item:hover {
  color: var(--blue);
}
.proof-item:hover .icon {
  transform: translateX(3px);
}
.section-head {
  align-items: end;
}
.section-head > p {
  max-width: 360px;
  line-height: 1.8;
}
.project-grid {
  align-items: stretch;
}
.project {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  box-shadow: none;
}
.project:hover {
  border-color: #bdc8d1;
  box-shadow: none;
}
.project-heading {
  padding: 28px 30px 24px;
}
.project .project-topline {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 19px;
}
.project-index {
  font: 11px var(--mono);
  color: var(--blue);
}
.project .project-type {
  font: 9px/1.65 var(--mono);
  letter-spacing: 0.075em;
  text-align: right;
  color: var(--muted);
}
.project-heading h3 {
  font-size: 29px;
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.project .project-question {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  max-width: none;
  margin-top: 17px;
}
.project .project-description {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 13px;
  max-width: 440px;
}
.project .product-thumbnail {
  height: 233px;
  margin: 0 28px;
  padding: 12px 14px;
  border: 1px solid #e0e5eb;
  border-radius: 6px;
  background: #f1f3f7;
}
.project .product-thumbnail .visual-caption {
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.04em;
  color: #526073;
  margin-bottom: 5px;
  gap: 6px;
}
.project .product-thumbnail > img {
  height: calc(100% - 23px);
  border-radius: 3px;
}
.project .project-body {
  padding: 24px 30px 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.project-insight {
  border-left: 2px solid var(--blue);
  padding-left: 15px;
  margin-bottom: 18px;
}
.insight-label {
  display: block;
  font: 9px/1.6 var(--mono);
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: #505e78;
  margin-bottom: 7px;
}
.project-insight p {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  max-width: 415px;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.project .ownership {
  font-size: 10px;
  line-height: 1.65;
  margin-top: auto;
}
.project .project-tags {
  margin-top: 12px;
  margin-bottom: 6px;
}
.project .project-tags span {
  font-size: 9px;
}
.project .project-links {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
  padding-top: 13px;
}
.project .project-case-link {
  font-size: 13px;
  line-height: 1.5;
  gap: 9px;
  color: var(--blue);
  text-underline-offset: 4px;
}
.project .project-case-link:hover {
  text-decoration: underline;
}
.project .project-links > .text-link:last-child {
  font-size: 11px;
  color: var(--muted);
  gap: 7px;
}
.project .project-links > .text-link:last-child:hover {
  color: var(--blue);
}
.working-note {
  font-size: 11px;
  line-height: 1.7;
}
.working-note .icon {
  width: 13px;
  height: 13px;
}
.approach-band {
  padding: 48px 0 52px;
}
.approach-heading {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 42px;
  align-items: start;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #ffffff26;
}
.approach-heading > .eyebrow {
  color: #a5b4d2;
  padding-top: 5px;
}
.approach-heading h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.13;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.approach-heading h2 em {
  color: #b8c8ff;
}
.approach-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.approach-grid h3 {
  font-size: 20px;
  line-height: 1.25;
}
.approach-grid p {
  font-size: 14px;
  line-height: 1.75;
}
.approach-grid .text-link {
  font-size: 12px;
  text-underline-offset: 4px;
}
.approach-grid .text-link:hover {
  color: #cad6ff;
  text-decoration: underline;
}
.product-engineering {
  gap: 60px;
  padding-block: 68px;
  grid-template-columns: 1fr 1.2fr;
}
.engineering-heading h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.12;
  font-weight: 500;
  max-width: 470px;
}
.engineering-heading > p {
  max-width: 350px;
  font-size: 14px;
  line-height: 1.8;
}
.engineering-points {
  gap: 25px;
  padding-left: 34px;
}
.engineering-point h3 {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 550;
}
.engineering-point p {
  font-size: 14px;
  line-height: 1.7;
}
.evidence-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin-top: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #bcc8f7;
}
.evidence-link:hover {
  text-decoration-color: var(--blue);
}
.evidence-link .icon {
  width: 15px;
  height: 15px;
}
.about-copy p {
  font-size: 15px;
  line-height: 1.85;
}
.personal-note {
  max-width: 470px;
}
.case-hero {
  padding-bottom: 18px;
}
.case-hero h1 {
  max-width: 970px;
  line-height: 1.08;
}
.case-hero-intro {
  max-width: 820px;
  line-height: 1.8;
}
.case-info-grid {
  margin-bottom: 0;
  padding-block: 18px;
}
.case-info-grid dd {
  font-size: 13px;
  line-height: 1.6;
}
.case-snapshot {
  margin-top: 14px;
  margin-bottom: 46px;
  background: #eef1f7;
  border: 1px solid #dce2eb;
  border-radius: 8px;
  padding: 22px 28px 26px;
}
.snapshot-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 19px;
}
.snapshot-heading h2 {
  font-size: 16px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.snapshot-heading > span {
  font: 9px/1.6 var(--mono);
  letter-spacing: 0.075em;
  color: var(--muted);
}
.case-snapshot dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
}
.snapshot-item {
  padding-left: 22px;
  border-left: 1px solid #d0d7e1;
  display: flex;
  flex-direction: column;
}
.snapshot-item:first-child {
  padding-left: 0;
  border-left: 0;
}
.snapshot-item dt {
  font: 10px/1.7 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.065em;
  color: #536078;
  margin-bottom: 8px;
}
.snapshot-item dt > span {
  display: inline-block;
  margin-right: 10px;
  color: var(--blue);
}
.snapshot-item dd {
  display: flex;
  flex-direction: column;
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  letter-spacing: -0.01em;
}
.snapshot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.5;
  min-height: 40px;
  margin-top: auto;
  align-self: start;
}
.snapshot-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.snapshot-link .icon {
  height: 14px;
  width: 14px;
}
.case-toc a {
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition:
    color 0.16s,
    border-color 0.16s;
}
.case-toc a:hover,
.case-toc a[aria-current='location'] {
  border-left-color: var(--blue);
  color: var(--blue);
}
.case-main h2 {
  line-height: 1.18;
  max-width: 760px;
}
.case-main section > .section-label {
  font-size: 10px;
}
.decision summary {
  align-items: start;
  padding-block: 23px;
  gap: 18px;
}
.decision summary > span:first-child {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0 8px;
  min-width: 0;
}
.decision-number {
  grid-row: 1 / span 2;
  margin: 4px 0 0;
  line-height: 1.5;
}
.decision-title {
  display: block;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.decision-teaser {
  display: block;
  grid-column: 2;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 5px;
}
.decision[open] summary .decision-title {
  color: var(--blue);
}
.decision .disclosure-icon {
  margin-top: 5px;
  flex-shrink: 0;
}
.decision-content {
  padding-left: 36px;
}
.decision-content > h3 {
  font-size: 10px;
  letter-spacing: 0.07em;
}
.case-close {
  align-items: center;
  gap: 35px;
}
.next-case {
  max-width: 365px;
}
.next-case p {
  font-size: 12px !important;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 12px;
}
@media (max-width: 1050px) {
  .hero {
    gap: 38px;
  }
  .hero-actions .button {
    font-size: 12px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .project-heading {
    padding: 24px;
  }
  .project .product-thumbnail {
    margin-inline: 24px;
    height: 210px;
  }
  .project .project-body {
    padding: 23px 24px 18px;
  }
  .project .project-question {
    font-size: 21px;
  }
  .project .project-links {
    flex-direction: column;
    align-items: start;
    gap: 0;
  }
  .product-engineering {
    gap: 30px;
  }
  .engineering-points {
    padding-left: 22px;
  }
  .case-snapshot {
    padding-inline: 23px;
  }
  .case-snapshot dl {
    gap: 19px;
  }
  .snapshot-item {
    padding-left: 18px;
  }
  .snapshot-item dd {
    font-size: 14px;
  }
  .proof-item {
    padding-inline: 15px;
  }
  .proof-item strong {
    font-size: 15px;
  }
}
@media (max-width: 760px) {
  .hero-description {
    font-size: 15px;
    max-width: 500px;
  }
  .hero-actions {
    gap: 5px 18px;
    margin-top: 23px;
  }
  .hero-actions .button {
    min-height: 48px;
    font-size: 12px;
    padding: 12px 16px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .proof-item {
    padding: 17px 0 17px 17px;
    min-height: 90px;
  }
  .proof-item strong {
    font-size: 14px;
  }
  .proof-item > span {
    font-size: 10px;
    line-height: 1.7;
    align-items: start;
  }
  .proof-item .icon {
    margin-top: 3px;
  }
  .section-head > p {
    max-width: none;
    font-size: 14px;
  }
  .section-head h2 {
    font-size: 34px;
    line-height: 1.12;
  }
  .project-heading {
    padding: 25px 23px 21px;
  }
  .project-heading h3 {
    font-size: 28px;
  }
  .project .project-topline {
    margin-bottom: 16px;
  }
  .project .project-question {
    font-size: 22px;
    line-height: 1.25;
    margin-top: 14px;
  }
  .project .project-description {
    font-size: 13px;
    line-height: 1.75;
  }
  .project .product-thumbnail {
    margin-inline: 23px;
    height: 220px;
    padding: 10px 11px;
  }
  .project .product-thumbnail .visual-caption {
    font-size: 10px;
  }
  .project .project-body {
    padding: 23px;
  }
  .project-insight p {
    font-size: 14px;
  }
  .project .project-links {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1px 10px;
  }
  .project .project-case-link {
    font-size: 12px;
  }
  .project .ownership {
    font-size: 9px;
    line-height: 1.8;
  }
  .project .project-type {
    font-size: 8px !important;
    max-width: none;
  }
  .approach-band {
    padding: 35px 0 39px;
  }
  .approach-heading {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-bottom: 25px;
    margin-bottom: 25px;
  }
  .approach-heading h2 {
    font-size: 30px;
  }
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .approach-grid h3 {
    font-size: 21px;
  }
  .approach-grid p {
    font-size: 14px;
  }
  .product-engineering {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 46px;
  }
  .engineering-heading h2 {
    font-size: 33px;
    line-height: 1.14;
    margin-bottom: 17px;
  }
  .engineering-heading > p {
    max-width: none;
  }
  .engineering-points {
    padding-left: 0;
    gap: 23px;
  }
  .engineering-point {
    padding-left: 29px;
  }
  .engineering-point h3 {
    font-size: 18px;
  }
  .engineering-point p {
    font-size: 14px;
  }
  .evidence-link {
    font-size: 12px;
    min-height: 44px;
    margin-top: 2px;
  }
  .about-copy p {
    font-size: 14px;
  }
  .case-hero {
    padding-bottom: 8px;
  }
  .case-hero h1 {
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -0.055em;
  }
  .case-hero-intro {
    font-size: 15px;
    line-height: 1.8;
  }
  .case-info-grid {
    gap: 14px;
    padding-block: 19px;
  }
  .case-info-grid dd {
    font-size: 12px;
  }
  .case-snapshot {
    margin-top: 18px;
    margin-bottom: 28px;
    padding: 19px 21px 15px;
  }
  .snapshot-heading {
    display: block;
    margin-bottom: 16px;
  }
  .snapshot-heading h2 {
    font-size: 16px;
  }
  .snapshot-heading > span {
    display: block;
    font-size: 8px;
    margin-top: 5px;
  }
  .case-snapshot dl {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .snapshot-item {
    padding: 15px 0 0;
    border-left: 0;
    border-top: 1px solid #d0d7e1;
  }
  .snapshot-item:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .snapshot-item dt {
    margin-bottom: 6px;
    font-size: 9px;
  }
  .snapshot-item dd {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.65;
  }
  .snapshot-link {
    font-size: 12px;
    min-height: 43px;
  }
  .case-toc {
    gap: 0 13px;
  }
  .case-toc a {
    font-size: 11px;
    min-height: 40px;
    padding: 9px 5px;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }
  .case-toc a:hover,
  .case-toc a[aria-current='location'] {
    border-bottom-color: var(--blue);
  }
  .decision-title {
    font-size: 17px;
  }
  .decision-teaser {
    font-size: 12px;
  }
  .decision-content {
    padding-left: 0;
  }
  .case-close {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }
  .case-close .next-case {
    order: -1;
    text-align: left;
    max-width: none;
  }
  .next-case p {
    font-size: 13px !important;
  }
  .case-close .button {
    align-self: start;
    font-size: 12px;
    min-height: 44px;
  }
}
@media (max-width: 390px) {
  .hero h1 {
    font-size: 43px;
  }
  .project .project-question {
    font-size: 21px;
  }
  .project .project-links {
    flex-direction: column;
    align-items: start;
  }
  .project .product-thumbnail {
    margin-inline: 21px;
    height: 208px;
  }
  .project .project-body {
    padding: 22px 21px;
  }
  .case-hero h1 {
    font-size: 39px;
  }
  .engineering-heading h2 {
    font-size: 30px;
  }
  .proof-item strong {
    font-size: 13px;
  }
  .proof-item > span {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .proof-item,
  .proof-item .icon,
  .case-toc a {
    transition: none;
  }
  .proof-item:hover .icon {
    transform: none;
  }
}
@media print {
  .case-snapshot {
    break-inside: avoid;
    background: #fff;
  }
  .case-snapshot dl {
    display: block;
  }
  .snapshot-item {
    padding: 10px 0;
    border-left: 0;
  }
  .snapshot-link,
  .evidence-link {
    display: none;
  }
  .project .product-thumbnail {
    height: 200px;
  }
  .approach-heading {
    display: block;
  }
  .approach-heading h2 em {
    color: #000;
  }
}

/* Authorship refinement: primary responsibilities first; specific credits once. */
.primary-responsibilities {
  margin-top: 26px;
  border-top: 2px solid var(--blue);
  padding-top: 20px;
}
.primary-responsibilities h3 {
  font: 11px/1.7 var(--mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--blue);
}
.primary-responsibilities ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  padding: 0;
  margin: 13px 0 0;
}
.primary-responsibilities li {
  position: relative;
  padding: 14px 0 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}
.primary-responsibilities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25px;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}
.store-listing {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.store-label {
  font: 10px/1.7 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.store-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.store-link {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  font-size: 12px;
  line-height: 1.5;
  color: var(--blue);
  text-decoration: none;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.store-link .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.store-link:hover {
  background: var(--pale);
  border-color: var(--blue);
}
@media (max-width: 760px) {
  .primary-responsibilities ul {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .primary-responsibilities li {
    font-size: 14px;
    line-height: 1.75;
  }
  .primary-responsibilities li::before {
    top: 24px;
  }
  .store-listing {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .store-links {
    width: 100%;
    gap: 8px;
  }
  .store-link {
    flex: 1 1 160px;
    font-size: 12px;
  }
  .ownership {
    align-items: flex-start;
  }
  .ownership::before {
    margin-top: 6px;
  }
}
@media print {
  .store-listing {
    display: block;
  }
  .store-links {
    display: block;
  }
  .store-link {
    display: block;
    border: 0;
    padding: 5px 0;
  }
}

/* Compact reading: two visible technical contexts, optional supporting evidence. */
body[data-page='index'] .hero {
  padding-block: 54px 42px;
}
body[data-page='index'] .hero-description {
  max-width: 590px;
  font-size: 17px;
  line-height: 1.75;
}
body[data-page='index'] .hero h1 {
  font-size: clamp(47px, 5.5vw, 76px);
}
.capability-grid.proof-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  background: transparent;
}
.capability-group {
  min-width: 0;
  padding: 25px 30px 25px 0;
}
.capability-group + .capability-group {
  border-left: 1px solid var(--line);
  padding: 25px 0 25px 30px;
}
.capability-group summary {
  list-style: none;
  cursor: pointer;
  display: block;
  position: relative;
}
.capability-group summary::-webkit-details-marker,
.engineering-point summary::-webkit-details-marker,
.about-disclosure summary::-webkit-details-marker {
  display: none;
}
.capability-label {
  display: block;
  font: 10px/1.7 var(--mono);
  letter-spacing: 0.055em;
  color: var(--muted);
}
.capability-title {
  display: block;
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.25;
  margin-top: 11px;
}
.capability-context {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 9px;
}
.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.capability-tags span {
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 9px;
}
.capability-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-size: 12px;
  color: var(--blue);
  margin-top: 8px;
  gap: 16px;
}
.capability-group summary:hover .capability-title {
  color: var(--blue);
}
.capability-body {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.capability-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.capability-body a {
  margin-top: 12px;
  min-height: 44px;
}
.capability-group[open] .disclosure-icon::after,
.engineering-point[open] .disclosure-icon::after,
.about-disclosure[open] .disclosure-icon::after {
  transform: rotate(0deg);
}
body[data-page='index'] .section {
  padding-block: 55px;
}
body[data-page='index'] #work {
  padding-bottom: 40px;
}
body[data-page='index'] .section-head {
  margin-bottom: 26px;
}
.product-engineering {
  grid-template-columns: 0.85fr 1.7fr;
  gap: 58px;
  padding-block: 25px 45px;
}
.engineering-heading h2 {
  font-size: 32px;
  line-height: 1.17;
  margin: 13px 0 0;
}
.engineering-points {
  border: 0;
  padding: 0;
  gap: 0;
}
.engineering-point {
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.engineering-point:first-child {
  border-top: 1px solid var(--line);
}
.engineering-point summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 17px 30px 17px 33px;
  min-height: 86px;
}
.engineering-point .engineering-number {
  top: 21px;
  left: 0;
  font-size: 10px;
}
.engineering-title {
  font-size: 16px;
  line-height: 1.5;
  display: block;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.engineering-preview {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 3px;
}
.engineering-point summary > .disclosure-icon {
  position: absolute;
  top: 25px;
  right: 0;
}
.engineering-point summary:hover .engineering-title {
  color: var(--blue);
}
.engineering-detail {
  padding: 0 20px 21px 33px;
}
.engineering-detail p {
  font-size: 14px;
  line-height: 1.8;
}
.engineering-detail .evidence-link {
  margin-top: 9px;
  min-height: 44px;
}
body[data-page='index'] .experience-layout {
  gap: 58px;
  grid-template-columns: 0.9fr 1.5fr;
}
body[data-page='index'] .experience-intro h2 {
  font-size: 38px;
  line-height: 1.17;
  max-width: 390px;
}
body[data-page='index'] .experience-intro p {
  font-size: 14px;
  max-width: 335px;
}
body[data-page='index'] .experience-item summary {
  padding: 20px 0;
}
.job-context {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 7px;
}
body[data-page='index'] .job-date {
  margin-top: 7px;
  font-size: 11px;
}
body[data-page='index'] .about-grid {
  gap: 68px;
  grid-template-columns: 1.2fr 1fr;
}
body[data-page='index'] .about-title {
  font-size: 40px;
  line-height: 1.18;
}
body[data-page='index'] .about-copy {
  font-size: 15px;
  line-height: 1.9;
  margin-top: 22px;
}
body[data-page='index'] .personal-note {
  font-size: 17px;
  line-height: 1.6;
  margin-block: 18px;
}
.about-disclosure {
  border-top: 1px solid var(--line);
}
.about-disclosure summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  cursor: pointer;
  padding: 17px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.about-disclosure summary:hover {
  color: var(--blue);
}
.about-disclosure-title {
  display: block;
}
.about-disclosure-hint {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}
.about-detail {
  padding-bottom: 20px;
}
.about-detail p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}
.background-details .education {
  margin-top: 0;
  padding-bottom: 20px;
}
.background-details .education-item {
  padding: 14px 0;
}
.background-details .education-item h4 {
  font-size: 13px;
}
.background-details .education-item p {
  font-size: 13px;
}
.language-summary {
  padding-bottom: 22px;
}
.language-summary p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 335px;
  margin-top: 13px;
}
.about-detail .certificate {
  font-size: 12px;
  border-top: 0;
  margin-top: 12px;
  padding: 0;
}
body[data-page='index'] .contact-section {
  padding-top: 38px;
}
@media (max-width: 1100px) {
  .capability-title {
    font-size: 23px;
  }
  .product-engineering {
    gap: 35px;
  }
  body[data-page='index'] .experience-layout {
    gap: 35px;
  }
  body[data-page='index'] .experience-intro h2 {
    font-size: 33px;
  }
  body[data-page='index'] .about-grid {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  body[data-page='index'] .hero {
    padding-block: 33px 28px;
    gap: 24px;
  }
  body[data-page='index'] .hero h1 {
    font-size: clamp(43px, 9vw, 62px);
    margin-top: 20px;
  }
  body[data-page='index'] .hero-description {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 19px;
  }
  body[data-page='index'] .portrait-block {
    max-width: 315px;
    margin-top: 0;
  }
  .capability-title {
    font-size: 22px;
  }
  .capability-label {
    font-size: 9px;
  }
  .capability-context {
    font-size: 13px;
  }
  .capability-group {
    padding: 21px 18px 20px 0;
  }
  .capability-group + .capability-group {
    padding: 21px 0 20px 18px;
  }
  .capability-more {
    margin-top: 7px;
  }
  body[data-page='index'] .section {
    padding-block: 38px;
  }
  body[data-page='index'] .section-head h2 {
    font-size: 34px;
  }
  .product-engineering {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 0 35px;
  }
  .engineering-heading h2 {
    font-size: 30px;
  }
  .engineering-preview {
    font-size: 14px;
  }
  body[data-page='index'] .experience-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  body[data-page='index'] .experience-intro h2 {
    font-size: 33px;
    max-width: 400px;
  }
  body[data-page='index'] .experience-intro p {
    max-width: 430px;
  }
  body[data-page='index'] .experience-item summary {
    padding: 18px 0;
  }
  .job-context {
    font-size: 13px;
    line-height: 1.7;
  }
  body[data-page='index'] .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  body[data-page='index'] .about-title {
    font-size: 33px;
  }
  body[data-page='index'] .about-copy {
    font-size: 15px;
    margin-top: 18px;
  }
  .language-summary {
    padding: 15px 0 19px;
  }
  .about-disclosure summary {
    min-height: 64px;
  }
}
@media (max-width: 520px) {
  .capability-grid.proof-strip {
    grid-template-columns: 1fr;
  }
  .capability-group,
  .capability-group + .capability-group {
    padding: 19px 0 16px;
    border-left: 0;
  }
  .capability-group + .capability-group {
    border-top: 1px solid var(--line);
  }
  .capability-title {
    font-size: 24px;
  }
  .capability-context {
    font-size: 14px;
  }
  .capability-tags {
    margin-top: 11px;
  }
  .capability-title {
    margin-top: 7px;
  }
  .capability-context {
    margin-top: 6px;
  }
  body[data-page='index'] .hero-meta {
    margin-top: 16px;
  }
}
@media (max-width: 760px) {
  /* The name is already visible in the header. Keep the portrait unobstructed. */
  body[data-page='index'] .portrait-caption {
    display: none;
  }
}

/* Two direct paths: professional experience and evidence from products. */
.hero-actions .button-outline {
  background: transparent;
  color: var(--ink);
  border-color: #b7c3d0;
}
.hero-actions .button-outline:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: #eef1fd;
}
.hero-languages {
  display: block;
  margin-top: 3px;
  color: var(--ink);
}
.project-insight .evidence-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 5px;
}
.project .product-thumbnail {
  height: auto;
}
.project .product-thumbnail > img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 520px) {
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero-actions .button {
    min-height: 54px;
    padding: 10px;
    gap: 8px;
    font-size: 12px;
  }
  .hero-actions .button .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
}
