@font-face {
  font-family: Portfolio;
  src: local("Proxima Nova Regular"), local("ProximaNova-Regular"), local("Proxima Nova");
  font-weight: 400;
}
@font-face {
  font-family: "Portfolio Medium";
  src: local("Proxima Nova Medium"), local("ProximaNova-Medium");
  font-weight: 500;
}
@font-face {
  font-family: "Portfolio Medium";
  src: local("Proxima Nova Medium Italic"), local("ProximaNova-MediumIt"), local("ProximaNova-MediumItalic");
  font-weight: 500;
  font-style: italic;
}
/* A regular-only family also lets the browser slant Regular when Medium Italic is unavailable. */
@font-face {
  font-family: "Portfolio Regular";
  src: local("Proxima Nova Regular"), local("ProximaNova-Regular"), local("Proxima Nova"),
       local("Segoe UI"), local("Arial"), local("Roboto Regular"), local("Liberation Sans");
  font-weight: 400;
}
@font-face {
  font-family: Portfolio;
  src: local("Proxima Nova Bold"), local("ProximaNova-Bold");
  font-weight: 700;
}
@font-face {
  font-family: Portfolio;
  src: local("Proxima Nova Bold Italic"), local("ProximaNova-BoldIt");
  font-weight: 700;
  font-style: italic;
}
:root {
  color-scheme: light;
  --fortescue: "Fortescue Variable", "Fortescue Pro Text", "Fortescue Text", Fortescue;
  --fallback-family: Portfolio, "Segoe UI", Arial, sans-serif;
  --ink: #191919;
  --muted: #535353;
  --silver: #ededed;
  --graphite: #1f1f1f;
  --charcoal: #2a2a2a;
  --rule: 1px solid var(--ink);
  --design-icon-size: .875rem;
  --side: clamp(20px, 4.532vw, 60px);
  --actions-top: max(12px, env(safe-area-inset-top, 0px));
  --actions-height: 34px;
  --step-cols: 39.12% minmax(0, 1fr);
  color: var(--ink);
  background: #fff;
  font: 100%/1.5 var(--fortescue), var(--fallback-family);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ol, ul, figure { margin: 0; }
h1, h2, h3 { font: inherit; }
a, button { color: inherit; }
button { font: inherit; border: 0; border-radius: 0; cursor: pointer; background: none; }
a { text-decoration: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #2262a2; outline-offset: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-block-start: calc(var(--actions-top) + var(--actions-height) + 22px); }
#top { scroll-margin-block-start: 0; }
.symbols, .sr-only { position: absolute; }
.sr-only {
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip { position: fixed; top: 12px; left: 16px; z-index: 5; padding: 8px 16px; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.page, .top-actions { max-width: 1324px; margin-inline: auto; padding-inline: var(--side); }
.page { padding-block: 16px 30px; font-size: .8125rem; line-height: 1.25rem; }
.icon { display: inline-block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.design-icon { display: block; flex: none; width: var(--design-icon-size); height: var(--design-icon-size); }
.bar.light .link-arrow { filter: brightness(0); }
.scroll-actions {
  position: fixed;
  inset: 0 0 auto;
  z-index: 4;
  padding-block: var(--actions-top) 22px;
  background: linear-gradient(to bottom, #fff, rgb(255 255 255 / 95%) 36%, rgb(255 255 255 / 72%) 62%, rgb(255 255 255 / 0) 100%);
  pointer-events: none;
}
.back-to-top {
  position: fixed; z-index: 4; display: grid; place-items: center;
  right: max(calc((100% - 1324px) / 2 + 8px), calc(env(safe-area-inset-right, 0px) + 8px));
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  width: 44px; height: 44px; border: 1px solid white; background: var(--ink);
}
.back-to-top img { display: block; transform: rotate(180deg); filter: invert(1); }
.modal-open .back-to-top { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-actions:not([hidden]), .back-to-top:not([hidden]) { animation: show-actions .16s ease-out; }
  @keyframes show-actions { from { opacity: 0; } to { opacity: 1; } }
}
@media print, (prefers-reduced-motion: reduce) {
  .case > figure, .parom-phone-slot a { opacity: 1 !important; }
  .parom-phone-slot a { transform: none !important; }
  .parom-dashboard img { object-position: center top !important; }
  .parom-dashboard::after { display: none; }
}
.top-actions { display: flex; gap: 12px; justify-content: flex-end; }
.bar { display: inline-flex; justify-content: space-between; align-items: center; min-height: 34px; padding: 6px 12px; gap: 12px; font-size: .875rem; line-height: 1.25rem; }
.top-actions .bar { pointer-events: auto; }
.bar.light { background: var(--silver); color: #111; }
.bar.black { background: #000; color: #fff; }
.bar .icon { width: 14px; height: 14px; }
@media (hover: hover) {
  .bar.light:hover { background: #dedede; }
  .bar.black:hover, .back-to-top:hover { background: #2e2e2e; }
}
.intro { text-align: center; }
.intro-signature {
  --portrait-size: 6rem;
  display: grid; grid-template-areas: "portrait" "name"; grid-template-rows: var(--portrait-size) auto;
  place-items: center; gap: 18px; width: fit-content; max-width: 100%; margin-inline: auto;
}
.intro-signature::before, .intro::after { content: ""; display: block; width: 1px; height: 50px; background: var(--ink); margin-inline: auto; }
.intro-signature::before { grid-area: portrait; pointer-events: none; transition: opacity .16s ease-out; }
.intro::after { margin-top: 60px; margin-bottom: 60px; }
.intro h1 { grid-area: name; font-size: 1.5rem; line-height: 2rem; }
.intro .role { margin-top: 18px; font-size: 1rem; line-height: 1.5rem; }
.intro p + p { margin-top: 8px; }
.portrait-trigger { position: relative; vertical-align: top; padding: 0; }
.portrait-trigger:focus-visible { outline: 1px solid currentColor; }
#intro-portrait {
  grid-area: portrait; display: block; width: var(--portrait-size); height: var(--portrait-size);
  border: var(--rule); background: white; object-fit: contain;
  visibility: hidden; opacity: 0;
  transition: opacity .18s ease-out, visibility 0s .18s;
}
.intro-signature:has(.portrait-trigger[aria-expanded="true"])::before { opacity: 0; }
.intro-signature:has(.portrait-trigger[aria-expanded="true"]) #intro-portrait {
  visibility: visible; opacity: 1; transition-delay: 0s;
}
@media (pointer: coarse) {
  .portrait-trigger::before { content: ""; position: absolute; inset: -6px -4px; }
}
@media (prefers-reduced-motion: reduce) {
  #intro-portrait, .intro-signature::before { transition: none; }
}
.skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 32px; border-block: var(--rule); }
.skills h3 { font-style: italic; }
.skills p { margin-top: 32px; }
.experience { margin-top: 60px; }
.experience > h2 { font-size: .875rem; text-align: center; }
.wide-resume { display: flex; width: 43.1%; margin: 40px 0 20px auto; }
.project-table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.project-table col:not(:last-child) { width: 16.61%; }
.project-table :is(th, td) { padding: 0 10px 0 0; text-align: left; overflow-wrap: break-word; }
.project-table :is(th, td):last-child { padding-right: 0; }
.project-table thead { border-bottom: var(--rule); }
.project-table th { font-size: .75rem; line-height: 1.125rem; font-weight: 400; color: var(--muted); padding-bottom: 8px; }
.experience-table tr { height: auto; }
.experience-table tbody tr { border-bottom: var(--rule); }
.experience-table td { height: 64px; padding-block: 10px; vertical-align: middle; }
.experience-table a { text-decoration: underline; text-decoration-color: #bbb; text-underline-offset: 3px; }
.experience-table tr:has(a) { cursor: pointer; }
.experience-table tr:focus-within, .experience-table tr:has(a):hover { background: #f5f5f5; }
.experience-table tr:hover a { text-decoration-color: currentColor; }
.year-range { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; vertical-align: top; }
.year-arrow { transform: rotate(-90deg); }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 5.3%; margin-top: 40px; }
.contacts:focus { outline: none; }
.contacts:focus-visible { outline: 2px solid #2262a2; }
.case { margin-top: 300px; }
.case > h2 { text-align: center; font-size: 1.125rem; line-height: 1.625rem; margin-bottom: 32px; }
.case-table td { padding-block: 6px; vertical-align: top; }
.case-audience { font-family: var(--fortescue), "Portfolio Medium", var(--fallback-family); font-weight: 500; }
.case-table p + p { margin-top: 10px; }
.brief { display: grid; row-gap: 120px; margin: 76px 0 0 23.256%; }
.brief-block h3, .step-labels, .mobile-label { color: var(--muted); font-size: .75rem; line-height: 1.125rem; }
.brief-block h3 { border-bottom: var(--rule); padding-bottom: 8px; margin-bottom: 12px; }
.brief-block p + p, .step-body p + p, .step-title h3 + p { margin-top: 8px; }
.research-list, .research-list ul { padding-left: 1.12em; }
.numbered-list { list-style: none; padding: 0; }
.numbered-line { display: grid; grid-template-columns: var(--design-icon-size) minmax(0, 1fr); align-items: start; }
.numbered-line > .design-icon { margin-block-start: calc((1lh - var(--design-icon-size)) / 2); }
.brief li + li { margin-top: 8px; }
.brief li a:hover, .body-link:hover { text-decoration: underline; }
.body-link { text-decoration: underline; text-underline-offset: 2px; }
.case > :is(.step, .gallery, .case-recording, .case-search-result, .case-comparison, .parom-mobile) { margin-top: 80px; }
.step-labels, .step-body { display: grid; grid-template-columns: var(--step-cols); }
.step-labels { padding: 0 0 8px; border-bottom: var(--rule); }
.step-label { display: inline-flex; align-items: center; }
.step-label > .design-icon { opacity: .675; }
.step-body { margin-top: 12px; }
.step-title { padding-right: 28px; }
.step-body h3 { font-size: inherit; }
.intro h1, .skills h3, .experience > h2, .project-table strong, .case > h2,
.brief-block:is(.problem, .solution) > div, .step-title > h3 {
  font-family: var(--fortescue), "Portfolio Medium", "Portfolio Regular", var(--fallback-family);
  font-weight: 500;
  -webkit-text-stroke-width: var(--medium-stroke, 0px);
}
.skills h3 { -webkit-text-stroke-width: var(--medium-italic-stroke, 0px); }
.step-result { min-width: 0; }
.research-list > li + li { margin-top: 32px; }
.research-list ul { list-style: disc; margin: 4px 0 0; }
.research-list ul li + li { margin-top: 4px; }
.jtbd-button {
  display: flex;
  margin-top: 16px;
  margin-inline-start: calc(-1 * var(--design-icon-size));
}
.mobile-label { display: none; }
#infosfera { --infosfera-screen-width: 80.0664%; }
.case-recording { display: grid; place-items: center; padding-block: 4.5%; background: var(--charcoal); }
.case-recording > :is(a, video) { width: var(--infosfera-screen-width); aspect-ratio: 16 / 9; }
.case-recording a { display: grid; place-items: center; cursor: zoom-in; }
.case-recording img { display: block; width: 100%; }
.case-recording video { display: block; height: auto; object-fit: contain; }
.case-search-result { display: grid; place-items: center; aspect-ratio: 1204 / 767; padding-inline: 6.146%; background: var(--charcoal); }
.case-search-result .screen-link { height: auto; }
.case-search-result img { display: block; width: 100%; height: auto; background: var(--silver); }
.case-search-result .screen-link:focus-visible { outline-color: white; }
.parom-mobile {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start;
  column-gap: 8.299%; padding: 7.402% 13.595% 0; aspect-ratio: 1324 / 790; background: var(--graphite);
  overflow: clip; --phone-travel: 125%;
}
.parom-mobile a {
  display: block; position: relative; width: 100%; aspect-ratio: 375 / 812;
  overflow: hidden; border-radius: 24px; background: #000; cursor: zoom-in;
}
.parom-mobile a:focus-visible { outline-color: white; }
.parom-mobile img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.parom-dashboard { object-position: center top; color: transparent; }
.parom-mobile .parom-dashboard img { object-position: inherit; background: #000; color: white; }
.parom-dashboard::after { content: ""; position: absolute; inset: 0; background: currentColor; pointer-events: none; }
@media (min-width: 701px) and (max-width: 940px) {
  .parom-mobile { column-gap: 4%; padding: 6% 4%; aspect-ratio: auto; }
}
.gallery {
  position: relative; isolation: isolate; width: 100%; aspect-ratio: var(--frame);
  background: var(--matte); color: var(--controls); --matte: var(--graphite); --controls: white;
}
.gallery.silver { --matte: #ededed; --controls: #141414; }
.gallery.charcoal { --matte: var(--charcoal); }
.gallery.ink { --matte: #000; }
.gallery-stage { position: absolute; inset: 0; display: grid; place-items: center; grid-template: minmax(0,1fr) / minmax(0,1fr); padding: 8.3% 0 6.06%; }
.gallery-media { display: grid; place-items: center; width: var(--media-width); height: 100%; min-height: 0; min-width: 0; }
.screen-link { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; cursor: zoom-in; }
.gallery-media img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
@media (min-width: 701px) {
  .gallery[data-fit="width"] .gallery-stage { padding: 0 6.146% 3.6%; }
  .gallery[data-fit="width"] :is(.gallery-media, .screen-link, .screen-link img) { width: 100%; height: auto; }
}
.gallery-navigation { visibility: hidden; }
.enhanced .gallery-navigation { visibility: visible; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; color: var(--controls); width: 42px; min-height: 44px; padding: 0; }
.gallery-arrow.prev { left: .8%; }
.gallery-arrow.next { right: .8%; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { background: color-mix(in srgb, currentColor 12%, transparent); }
.gallery-arrow .icon { width: 18px; height: 18px; stroke-width: 1.7; }
.slide-dots { position: absolute; display: flex; align-items: center; justify-content: center; left: 50%; bottom: 1.3%; transform: translateX(-50%); }
.slide-dots button { display: grid; place-items: center; padding: 0 3px; width: 26px; height: 40px; }
.slide-dots span { width: 100%; height: 2px; background: currentColor; opacity: .36; }
.slide-dots button[aria-pressed="true"] { width: 34px; }
.slide-dots button[aria-pressed="true"] span, .slide-dots button:hover span { opacity: 1; }
.gallery[data-group="info"] .gallery-media { touch-action: pan-y pinch-zoom; }
.case-recording img, #infosfera-screens .screen-link img { height: auto; aspect-ratio: 1920 / 952; }
#infosfera-screens .slide-dots span { opacity: 1; }
#infosfera-screens :focus-visible { outline-color: var(--controls); }
/* Use the same pixel rounding for native and sharpened slides on high-density screens. */
:where(#infosfera-screens .screen-link img, #viewer-image[src*="/infosfera-"][src$=".svg"]) { filter: url("#infosfera-native"); }
:where(#infosfera-screens .screen-link img, #viewer-image):is(
  [src$="/infosfera-appearance.svg"],
  [src$="/infosfera-documents.svg"],
  [src$="/infosfera-library.svg"]
) { filter: url("#infosfera-clarity"); }
.comparison, .component-demo { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 0; max-height: 100%; background: #090909; overflow: hidden; }
.comparison > img, .component-demo > img { position: absolute; inset: 0; }
.comparison .reveal { clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.split-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; touch-action: pan-y; }
.split-line { position: absolute; top: 0; bottom: 0; left: clamp(1px,var(--cut),calc(100% - 1px)); width: 2px; transform: translateX(-50%); background: #aaa; pointer-events: none; }
.split-line::after { content: "⋮"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1px solid #c2c2c2; border-radius: 4px; padding: 1px 3px; color: #636363; background: #fafafa; font: bold 17px/22px var(--fortescue), Arial, sans-serif; }
.comparison:focus-within { outline: 2px solid #6ab6ff; outline-offset: -2px; }
.demo-control { position: absolute; right: 12px; bottom: 10px; min-height: 34px; border: 1px solid #666; border-radius: 2px; color: white; background: #171717ed; padding: 4px 10px; font-size: .8125rem; line-height: 1.15; }
.case-comparison {
  display: grid; grid-template-rows: 1fr auto 1fr; align-items: center;
  aspect-ratio: 1204 / 767; padding-inline: 6.146%; background: #000; --cut: 100%;
}
.case-comparison > .comparison { grid-row: 2; }
.case-comparison img { display: block; width: 100%; height: 100%; object-fit: contain; }
.case-comparison .reveal { position: absolute; inset: 0; background: white; }
.case-comparison .reveal img { filter: url("#search-clarity"); }
.case-comparison .split-input { touch-action: pan-y pinch-zoom; }
.case-comparison > .demo-control { position: static; grid-row: 3; justify-self: end; }
footer { margin-top: 300px; min-height: 195px; padding: 12px 10px; background: #000; color: #fff; }
footer a:hover { text-decoration: underline; }
footer p { margin-top: 8px; color: #aaa; font-size: .75rem; }
.viewer { border: 0; padding: 0; margin: auto; width: min(1180px,calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 40px); background: #fff; color: var(--ink); }
.viewer.sheet {
  --paper-ratio: calc(846 / 1219);
  --sheet-inset: 1rem;
  --sheet-width-limit: calc(100vw - 3rem);
  --sheet-height-limit: 84dvh;
  --paper-width: min(35.5rem, var(--sheet-width-limit) - 2 * var(--sheet-inset), (var(--sheet-height-limit) - 7rem) * var(--paper-ratio));
  width: min(var(--sheet-width-limit), max(34rem, var(--paper-width) + 2 * var(--sheet-inset)));
  max-height: var(--sheet-height-limit);
}
.viewer::backdrop { background: rgb(0 0 0 / 68%); }
html.modal-open { overflow: hidden; }
.viewer-shell { display: flex; flex-direction: column; max-height: calc(100dvh - 40px); padding: 0 20px 18px; }
.viewer.sheet .viewer-shell {
  display: grid;
  grid-template: auto auto minmax(0, auto) / minmax(0, 1fr);
  max-height: inherit;
  padding: 0 var(--sheet-inset) var(--sheet-inset);
}
.viewer.sheet :is(.image-viewport, .sheet-text) { grid-area: 3 / 1; }
/* The text sets the viewport height for both normal and zoomed photos. */
.viewer.sheet .image-viewport { contain: size; }
.viewer.sheet .sheet-text[inert] { visibility: hidden; }
.viewer-head, .viewer-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.viewer-head { padding: 10px 0; border-bottom: var(--rule); }
.viewer-head h2 { font-size: 1.05rem; line-height: 1.4; }
.close-viewer { flex: none; min-width: 42px; min-height: 42px; display: grid; place-items: center; }
.close-viewer:hover, .viewer-tools button:hover { background: #e9e9e9; }
.viewer-tools { min-height: 46px; }
.viewer-tools button { min-height: 38px; padding-inline: 12px; font-size: .875rem; }
.viewer.sheet .viewer-head { padding-block: 6px; }
.viewer.sheet .viewer-head h2 { font-size: 1rem; line-height: 1.3; }
.viewer.sheet .viewer-tools { min-height: 42px; }
.viewer.sheet .viewer-tools button { padding-inline: 10px; font-size: .8125rem; }
.sheet-views { display: flex; gap: 3px; }
.sheet-views [aria-pressed="true"] { background: var(--silver); box-shadow: inset 0 -1px 0 var(--ink); }
.zoom-viewer { margin-left: auto; }
.image-viewport, .sheet-text { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.image-viewport { background: #efeeeb; }
.image-viewport img { max-width: 100%; max-height: calc(100dvh - 177px); width: auto; height: auto; margin-inline: auto; display: block; cursor: zoom-in; }
.image-viewport.large img { max-width: none; max-height: none; width: auto; height: auto; cursor: zoom-out; }
.viewer.sheet .image-viewport:not(.large) {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
}
.viewer.sheet .image-viewport:not(.large) img { max-height: 100%; }
.sheet-text table { width: 100%; border-collapse: collapse; font-size: .8125rem; line-height: 1.4; }
.sheet-text th, .sheet-text td { border-bottom: 1px solid #ccc; padding: 6px 7px; text-align: left; vertical-align: top; }
.sheet-text tbody th { width: 27%; font-weight: 600; }
.sheet-reader { padding: 4px 2px; }
.sheet-reader label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .8125rem; }
.sheet-reader select { width: 100%; min-height: 44px; padding: 6px 8px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #aaa; }
.sheet-reader p { margin-top: 10px; font-size: .875rem; line-height: 1.45; }
/* Keep the full table measurable when the compact reader is in use. */
.sheet-reader:not([hidden]) + .sheet-transcript { height: 0; overflow: clip; visibility: hidden; }
@media (min-width: 701px) and (max-height: 800px) {
  .sheet-text table { font-size: .78125rem; line-height: 1.35; }
  .sheet-text th, .sheet-text td { padding-block: 4px; }
}
@media (max-width: 940px) {
  .skills { gap: 24px; }
  .page { font-size: .875rem; line-height: 1.375rem; }
  .case, footer { margin-top: 190px; }
  .brief { row-gap: 72px; margin-left: 16%; }
  .gallery-arrow { width: 32px; }
  .slide-dots { bottom: 0; }
}
@media (max-width: 700px) {
  :root { --side: clamp(18px,5vw,30px); --actions-height: 44px; }
  .page { padding-top: 20px; padding-bottom: 18px; font-size: 1rem; line-height: 1.5rem; }
  .top-actions { gap: 8px; }
  .bar { min-height: 44px; font-size: .875rem; }
  .intro { padding-inline: 4px; }
  .intro-signature { --portrait-size: 5rem; gap: 16px; }
  .intro-signature::before { height: 36px; }
  .intro::after { height: 36px; margin-block: 40px; }
  .intro h1 { font-size: 1.6rem; }
  .intro .role { margin-top: 16px; }
  .intro p + p { margin-top: 12px; }
  .skills { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 20px; padding: 24px 0; }
  .skills p { margin-top: 8px; }
  .experience { margin-top: 48px; }
  .experience > h2 { font-size: 1rem; }
  .wide-resume { width: 100%; margin: 24px 0; }
  .project-table, .project-table tbody { display: block; }
  .project-table colgroup { display: none; }
  .project-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .project-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 16px; padding: 18px 0; border-bottom: var(--rule); }
  .project-table tbody { border-top: var(--rule); }
  .project-table td { display: block; height: auto; padding: 0; }
  .project-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .75rem; line-height: 1.15rem; font-weight: 400; color: var(--muted); }
  .project-table td:first-child, .project-table td:nth-child(2) { grid-column: 1; }
  .project-table td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
  .project-table td:last-child { grid-column: 1/-1; }
  .project-table td a { display: inline-block; text-decoration-color: currentColor; }
  .contacts { grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .case, footer { margin-top: 108px; }
  .case > h2 { font-size: 1.25rem; margin-bottom: 24px; }
  .brief { row-gap: 34px; margin: 40px 0 0; }
  .brief-block h3, .step-labels, .mobile-label { font-size: .8125rem; }
  .case > :is(.step, .gallery, .case-recording, .case-search-result, .case-comparison, .parom-mobile) { margin-top: 48px; }
  .step-labels, .step-body { display: block; }
  .step-labels > span:nth-child(2) { display: none; }
  .step-title { padding: 0; }
  .step-result { margin-top: 18px; }
  .mobile-label { display: block; margin-bottom: 6px; }
  .research-list > li + li { margin-top: 18px; }
  .jtbd-button { margin-top: 12px; }
  #infosfera { --infosfera-screen-width: 100%; }
  .case-recording { padding: 18px 8px; }
  .parom-mobile {
    grid-template-columns: min(80%, 280px); justify-content: center;
    gap: 28px; padding: 18px 0; aspect-ratio: auto; --phone-travel: calc(100% + 14px);
  }
  .parom-phone-slot { clip-path: inset(-14px -6px); }
  .case-search-result { aspect-ratio: auto; padding: 18px 8px; }
  .case-comparison { aspect-ratio: auto; grid-template-rows: auto auto; gap: 6px; padding: 18px 8px 8px; }
  .case-comparison > .comparison { grid-row: 1; }
  .case-comparison > .demo-control { grid-row: 2; min-height: 44px; }
  .gallery { aspect-ratio: auto; padding: 18px 0 42px; }
  .gallery-stage { position: static; display: grid; padding: 0 8px; aspect-ratio: 16 / 9; }
  .gallery-media { width: 100%; }
  .gallery-arrow { top: auto; bottom: 0; transform: none; width: 44px; }
  .gallery-arrow.prev { left: 4px; }
  .gallery-arrow.next { right: 4px; }
  .slide-dots button { height: 44px; }
  .demo-control { right: 4px; bottom: 4px; min-height: 30px; padding: 4px 7px; font-size: .75rem; }
  footer { min-height: 135px; padding: 14px; }
  .viewer { width: calc(100% - 12px); max-height: calc(100dvh - 12px); }
  .viewer-shell { max-height: calc(100dvh - 12px); padding: 0 10px 10px; }
  .viewer-head { padding: 4px 0; }
  .viewer-head h2 { font-size: 1rem; }
  .image-viewport img { max-height: calc(100dvh - 123px); }
}
@media (max-width: 490px) {
  .skills { grid-template-columns: 1fr; gap: 20px; }
  .sheet-text table, .sheet-text tbody, .sheet-text tr, .sheet-text td, .sheet-text tbody th { display: block; width: 100%; }
  .sheet-text thead { position: absolute; clip-path: inset(50%); }
  .sheet-text tbody th { padding: 12px 2px 4px; border: 0; }
  .sheet-text td { padding: 4px 2px 12px; }
}
@media print {
  .page { padding: 0; max-width: none; }
  .scroll-actions, .back-to-top, .wide-resume, .gallery-navigation, .skip, dialog, #intro-portrait { display: none; }
  .case, footer { margin-top: 50px; }
  .case { break-before: page; }
  .gallery, .case-recording, .case-search-result, .case-comparison, .parom-mobile, .step { break-inside: avoid; }
}
