@import url('./brand.6d41f120b11c.css');
@font-face {
  font-family: 'Barlow Semi Condensed';
  src: url('./assets/fonts/barlow-semi-condensed-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  src: url('./assets/fonts/barlow-semi-condensed-semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('./assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bebas Neue';
  src: url('./assets/fonts/bebas-neue-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #080b08;
  --ink: #edf2e4;
  --accent-dark: var(--brand-accent-dark);
  --focus: #ffffff;
  --accent: var(--accent-dark);
  --on-accent: #080b08;
  --hover: color-mix(in srgb, var(--accent) 75%, white);
  --muted: #a4ada0;
  --rule: #283225;
  --stack-paper: var(--paper);
  --stack-edge: #ffffff38;
  --stack-shadow: #0008;
  --stack-frost-opacity: 35%;
  --navigation: var(--paper);
  --gutter: clamp(20px, 3.6vw, 64px);
  --body-size: 1.125rem;
  --section-size: clamp(24px, 2.2vw, 32px);
  --navigation-height: 74px;
  --layout-columns: minmax(0, 1fr) minmax(0, 2fr);
  --layout-gap: clamp(24px, 4.375vw, 56px);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
}
:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f5f5f3;
  --ink: #080b08;
  --accent: var(--brand);
  --focus: #080b08;
  --on-accent: #ffffff;
  --hover: color-mix(in srgb, var(--accent) 85%, black);
  --muted: #70716e;
  --rule: #d3d3d0;
  --stack-edge: #0000001f;
  --stack-shadow: #0000000a;
  --stack-frost-opacity: 85%;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: var(--body-size); line-height: 1.24; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2 { font-weight: 500; }
h3, h4 { font-weight: 400; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, textarea, select):focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--on-accent); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--paper); padding: 15px; }
.skip-link:focus { top: 12px; }

/* Only the label row has a surface; the full-bleed scale floats over content. */
.work-navigation { --ruler-end-space: clamp(14px, 2vw, 32px); --ruler-muted: var(--muted); --ruler-active-label: var(--focus); position: sticky; top: 0; z-index: 20; background: linear-gradient(var(--navigation) 0 44px, transparent 44px); }
:root[data-theme="light"] .work-navigation { --ruler-muted: #6f706d; }
.ruler-scroll { padding: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.ruler-scroll::-webkit-scrollbar { display: none; }
.project-ruler { position: relative; display: flex; flex-wrap: nowrap; width: 100%; min-width: max-content; font-family: 'Barlow Semi Condensed', Inter, sans-serif; font-size: 14px; font-weight: 500; font-synthesis: none; }
.project-ruler::before { content: ''; position: absolute; top: 44px; left: 0; right: 0; height: 1px; background: var(--ruler-line, var(--muted)); opacity: .7; pointer-events: none; }
.ruler-item { position: relative; display: flex; align-items: center; flex: 1 0 auto; height: 74px; min-width: max-content; padding: 0 10px 30px; color: var(--label-ink, var(--ruler-muted)); }
.home-link, .about-link { flex: 0 0 calc(48px + var(--ruler-end-space)); }
.ruler-item.home-link { padding-inline: calc(10px + var(--ruler-end-space)) 10px; }
.ruler-item.about-link { padding-inline: 10px calc(10px + var(--ruler-end-space)); }
.ruler-item:nth-child(2) { flex-grow: 2; }
.ruler-item[href$="#enterprise-system"] { flex-grow: .5; }
.ruler-label { display: inline-block; font-size: inherit; font-weight: inherit; line-height: 20px; white-space: nowrap; }
/* Reserve the selected weight's width so selecting a label never shifts the scale. */
.ruler-label::before { content: attr(data-label); display: block; height: 0; visibility: hidden; font-weight: 600; }
.ruler-item[aria-current] .ruler-label { color: var(--ruler-active-label); font-weight: 600; }
.ruler-item:focus-visible { outline-offset: -2px; }
.ruler-ticks { position: absolute; top: 45px; left: 0; right: 0; pointer-events: none; }
.tick { position: absolute; top: 0; height: 8px; width: 1px; background: var(--tick-ink, var(--ink)); opacity: var(--tick-opacity, .52); transform: scale(var(--tick-weight, 1.25), var(--tick-stretch, 1)); transform-origin: center top; }
/* Leave a horizontal lead-in and lead-out at the two outer ends. */
.ruler-item:first-child .tick:first-child, .ruler-item:last-child .tick:last-child { display: none; }
.tick.mid { height: 12px; }
.tick.major { height: 20px; }
.home-icon, .profile-icon { display: block; flex: none; width: 22px; height: 22px; }
/* Simple silhouettes switch from outlined wayfinding to a solid selected state. */
.ruler-character { color: var(--ink); }
.character-silhouette { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.character-eyes, .character-pupils { fill: currentColor; }
.character-glasses { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.ruler-item[aria-current] .ruler-character { color: var(--brand-ruler-dark); }
.ruler-item[aria-current] .character-silhouette { fill: currentColor; }
.ruler-item[aria-current] .character-eyes { fill: var(--navigation); }
.ruler-item[aria-current] .character-glasses { fill: var(--navigation); stroke: var(--navigation); }
:root[data-theme="light"] .ruler-item[aria-current] .ruler-character { color: var(--brand); }
.theme-toggle { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 30; display: grid; place-items: center; width: 48px; height: 48px; padding: 12px; border: 1px solid var(--rule); border-radius: 50%; background: var(--paper); box-shadow: 0 6px 24px #0002; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 20px; height: 20px; }
.moon-icon, [data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* The introduction and seven-row index share the opening viewport. */
.home { min-height: calc(100svh - var(--navigation-height)); display: flex; flex-direction: column; gap: clamp(32px, 6svh, 96px); padding: clamp(24px, 3svh, 40px) 0 76px; scroll-margin-top: var(--navigation-height); }
/* Case-study content retains the shared one-third / two-thirds grid. */
.project-intro, .flow-copy, .detail-copy { display: grid; grid-template-columns: var(--layout-columns); column-gap: var(--layout-gap); }
.hero { padding-inline: var(--gutter); }
.hero-byline { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.hero-byline .theme-toggle { position: static; flex-shrink: 0; width: 44px; height: 44px; padding: 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hero-role { margin: 0; font-size: 20px; font-weight: 400; line-height: 1.2; text-transform: uppercase; }
/* Same Inter display treatment as project titles, bounded by screen height. */
.hero h1 { max-width: 100%; font-size: clamp(48px, min(10vw, 10.5svh), 160px); font-weight: 500; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.project-index { margin: auto var(--gutter) 0; }
.project-index ol { list-style: none; margin: 0; padding: 0; }
.project-index-head, .project-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 42px; column-gap: clamp(16px, 2vw, 32px); }
.project-index-head { padding: 0 8px 12px; font-size: 12px; line-height: 1.2; font-weight: 400; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.project-row { position: relative; align-items: center; min-height: 32px; padding: 3px 8px; font-size: clamp(18px, 1.35vw, 22px); line-height: 1.2; font-weight: 400; letter-spacing: -.035em; text-transform: uppercase; color: var(--ink); }
.project-name, .project-audience { min-width: 0; font-size: inherit; font-weight: inherit; }
.project-row:is(:hover, :focus-visible, [aria-current="location"]) { z-index: 16; background: var(--brand); color: var(--brand-ink); }
.project-row:focus-visible { outline-offset: 2px; }
.project-platforms { display: inline-flex; align-items: center; justify-content: flex-end; gap: 12px; color: inherit; vertical-align: middle; }
.project-row .project-platforms { color: var(--muted); }
.project-row:is(:hover, :focus-visible, [aria-current="location"]) .project-platforms { color: inherit; }
.project-platforms svg { display: block; width: 22px; height: 22px; flex-shrink: 0; }
.project-row .project-platforms { justify-self: end; flex-shrink: 0; gap: 6px; }
.project-row .project-platforms svg { width: 18px; height: 18px; }
.project-preview { position: fixed; z-index: 17; width: clamp(280px, 28vw, 440px); aspect-ratio: 16 / 10; pointer-events: none; }
.project-preview img { width: 100%; height: 100%; display: block; object-fit: contain; }

.project { padding: 0 var(--gutter) clamp(128px, 13vw, 200px); scroll-margin-top: var(--navigation-height); }
.project-band { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; margin: 0 calc(-1 * var(--gutter)); padding: 18px var(--gutter); background: var(--brand); color: var(--brand-ink); }
.project-sequence { font-size: 32px; font-weight: 400; line-height: 1.1; font-variant-numeric: tabular-nums; }
.project-band-details { display: contents; }
.project-band .project-platforms { flex-shrink: 0; }
.project-heading { padding: 64px 0 72px; margin-bottom: 48px; }
.project-heading h2 { max-width: 100%; font-size: clamp(64px, 10vw, 160px); line-height: .98; letter-spacing: -.055em; font-weight: 500; overflow-wrap: normal; }
.project-intro { align-items: start; padding-bottom: 52px; }
.project-story { min-width: 0; }
.project-facts { margin: 0; }
.project-facts > div + div { margin-top: 20px; }
.project-facts dt { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.project-facts dd { margin: 0; font-size: 16px; line-height: 1.5; }
.project-facts .project-what { font-size: var(--body-size); font-weight: 400; }
.project-what p + p { margin-top: 16px; }
.project-facts [id] { scroll-margin-top: calc(var(--navigation-height) + 16px); }
.project-media { padding: 0; background: transparent; }
.project-media img { width: 100%; height: auto; display: block; }
.project-media.mobile-cover img { max-height: 560px; width: auto; max-width: 100%; }

.case-study { padding-top: 36px; }
.case-study [id] { scroll-margin-top: calc(var(--navigation-height) + 16px); }
.case-study :is(h3, h4, .artifact-step-label) { color: var(--muted); }
.impact-results p { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.impact-results p:first-child { padding-top: 0; }
.impact-results p:last-child { padding-bottom: 0; border-bottom: 0; }
.impact-results strong { font-size: 32px; line-height: 1; letter-spacing: -.025em; font-weight: 500; color: var(--ink); }
.case-flow { padding: 45px 0 30px; border-top: 1px solid var(--rule); }
.case-flow:has(> .artifact-stack:first-child) { border-top: 0; }
.flow-copy { margin-bottom: 36px; }
.flow-copy .inline-heading { margin: 24px 0 16px; font-size: var(--section-size); line-height: 1.2; letter-spacing: -.015em; }
.flow-copy .inline-heading:first-child { margin-top: 0; }
.flow-copy h3 { font-size: var(--section-size); line-height: 1.2; letter-spacing: -.015em; font-weight: 400; overflow-wrap: anywhere; }
.flow-copy p, .flow-copy li { line-height: 1.5; }
.flow-copy p + p { margin-top: 16px; }
.flow-copy .body-heading { font-size: var(--body-size); line-height: 1.5; font-weight: 400; color: var(--ink); margin-bottom: 16px; }
.narrative-group { margin-top: 32px; }
.narrative-group h4 { font-size: var(--section-size); line-height: 1.2; font-weight: 400; margin-bottom: 16px; }
.flow-copy ol { padding-left: 24px; margin: 20px 0; }
.flow-copy li + li { margin-top: 12px; }
.case-overline { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.detail-copy { padding: 32px 0 40px; }
.detail-copy h4 { font-size: var(--section-size); line-height: 1.2; letter-spacing: -.015em; overflow-wrap: anywhere; }
.detail-copy p { line-height: 1.5; }
.detail-copy p + p { margin-top: 16px; }
.support-flow .flow-copy h4 { margin-top: 28px; font-size: var(--section-size); line-height: 1.2; letter-spacing: -.015em; }
.support-flow .flow-copy h4 + p { margin-top: 16px; }
.support-visual, .narrative-visual { margin-top: 32px; }
.support-visual--compact { max-width: 480px; }
.case-flow > :is(.artifact-grid, .artifact-stack) { margin-bottom: 32px; }
.phone-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; margin: 44px 0; }
.case-video video { display: block; width: 100%; height: auto; }
.artifact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.artifact { display: block; border: 0; padding: 0; width: 100%; background: transparent; cursor: zoom-in; }
.artifact img { display: block; width: 100%; height: auto; }
figcaption { padding-top: 12px; font-size: var(--body-size); line-height: 1.4; color: var(--muted); }
.artifact-stack { isolation: isolate; }
.artifact-step { position: sticky; top: calc(var(--stack-top, calc(var(--navigation-height) + 16px)) + var(--stack-offset, 0px)); display: grid; grid-template-columns: var(--layout-columns); gap: var(--layout-gap); align-items: start; min-height: 0; padding: 32px 0 40px; border-top: 1px solid var(--stack-edge); background: var(--stack-paper); box-shadow: none; }
.artifact-step.is-static { position: relative; top: auto; box-shadow: none; }
.artifact-step:first-child { box-shadow: none; }
/* Separate overlapping cards only along their top edge, with no side shadow. */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .artifact-step:not(:first-child):not(.is-static) {
    background: linear-gradient(var(--stack-paper), var(--stack-paper)) 0 8px / 100% calc(100% - 8px) no-repeat;
  }
  .artifact-step:not(:first-child):not(.is-static)::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    pointer-events: none;
    background: linear-gradient(color-mix(in srgb, var(--paper) var(--stack-frost-opacity), transparent), var(--paper));
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
  .artifact-step:not(:first-child):not(.is-static)::after {
    content: "";
    position: absolute;
    inset: auto 0 100%;
    height: 12px;
    pointer-events: none;
    background: linear-gradient(transparent, var(--stack-shadow));
  }
}
.comparison-stack > .artifact-step[id] { scroll-margin-top: calc(var(--navigation-height) + 16px + var(--stack-offset, 0px)); }
.artifact-step:has(:focus-visible) { z-index: 1; }
.artifact-step-copy { padding: 0; min-width: 0; font-size: var(--body-size); color: var(--ink); }
.artifact-step-copy :is(.flow-copy, .detail-copy) { display: block; padding: 0; margin: 0; }
.artifact-step-copy > .flow-copy + .detail-copy { margin-top: 32px; }
.artifact-step-copy :is(h3, h4) { margin-bottom: 24px; }
.artifact-step-label { font-size: var(--section-size); line-height: 1.2; letter-spacing: -.015em; }
.artifact-step-copy > :is(.flow-copy, .detail-copy) + .artifact-step-label { margin-top: 24px; font-size: var(--body-size); line-height: 1.4; color: var(--muted); }
.artifact-step > .artifact { min-width: 0; }
.artifact-step .artifact img { max-height: max(240px, calc(100svh - var(--navigation-height) - 105px - var(--stack-offset, 0px))); object-fit: contain; object-position: left top; }
.phone-stack .artifact img { width: min(100%, max(140px, calc((100svh - var(--navigation-height) - 105px - var(--stack-peek-limit, 72px)) * .46))); max-height: none; }
.case-retrospective { margin-top: 40px; padding: 50px 0 0; border-top: 1px solid var(--rule); }
.case-retrospective .flow-copy { margin-bottom: 0; }
.artifact-viewer { width: calc(100vw - 40px); max-width: 1800px; max-height: calc(100vh - 40px); padding: 20px; border: 0; background: var(--paper); color: var(--ink); }
.artifact-viewer::backdrop { background: #111b; }
.viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.viewer-toolbar p { font-size: 16px; }
.viewer-close { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--rule); background: transparent; cursor: pointer; }
.viewer-scroll { overflow: auto; max-height: calc(100vh - 160px); }
.viewer-scroll img { display: block; width: 100%; min-width: 900px; height: auto; }
body:has(.artifact-viewer[open]) { overflow: hidden; }

footer { padding: 55px var(--gutter) 30px; border-top: 1px solid var(--rule); }
.footer-contact { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: clamp(52px, 15vw - 16px, 200px); font-weight: 500; letter-spacing: -.025em; line-height: 1; }
.footer-contact span { color: var(--accent); transition: transform 250ms ease; }
.footer-contact:hover span { transform: translate(6px, -6px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 80px; }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 1100px) {
  .project-ruler { font-size: 13px; }
  .ruler-item { padding-inline: 7px; }
}
@media (max-width: 760px) {
  :root { --layout-columns: minmax(0, 1fr); --layout-gap: 24px; }
  .project-ruler { font-size: 12px; }
  .ruler-item { padding-inline: 8px; }
  .home { gap: 24px; padding-top: 24px; padding-bottom: 32px; }
  .hero-byline { margin-top: 14px; }
  .hero-role { font-size: 18px; }
  .hero h1 { font-size: clamp(32px, min(9.3vw, 9svh), 64px); }
  .project-index-head { display: none; }
  .project-row { grid-template-columns: minmax(0, 1fr) 42px; min-height: 44px; gap: 2px 12px; padding: 5px 6px; font-size: 16px; line-height: 1.1; }
  .project-name { grid-column: 1; grid-row: 1; }
  .project-row .project-platforms { grid-column: 2; grid-row: 1 / 3; }
  .project-audience { grid-column: 1; grid-row: 2; font-size: 12px; line-height: 1.15; letter-spacing: -.015em; color: var(--muted); }
  .project-row:is(:hover, :focus-visible, [aria-current="location"]) .project-audience { color: inherit; }
  .project-preview { display: none; }
  .project { padding-bottom: 96px; }
  .project-band { gap: 12px 24px; padding-block: 16px; }
  .project-sequence { font-size: 28px; }
  .project-heading { padding: 40px 0 48px; margin-bottom: 32px; }
  .project-heading h2 { font-size: clamp(52px, 12vw, 90px); }
  .project-intro { row-gap: 28px; }
  .flow-copy, .detail-copy { row-gap: 24px; }
  .phone-grid { gap: 28px; }
  .artifact-grid { grid-template-columns: 1fr; }
  .artifact-step { position: relative; top: auto; min-height: 0; padding: 24px 0 40px; box-shadow: none; }
  .artifact-step .artifact img { max-height: none; }
  .phone-stack .artifact img { width: min(100%, 320px); }
  .artifact-viewer { width: calc(100vw - 20px); padding: 16px; }
  .footer-bottom { margin-top: 55px; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .home { padding-top: 16px; gap: 24px; }
  .hero h1 { font-size: clamp(28px, 8.5vw, 40px); }
}
@media (max-width: 480px) {

  .hero h1 { overflow-wrap: normal; }
}
@media (max-width: 360px) {
  .project-heading h2 { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media (prefers-reduced-motion: reduce) { .artifact-step { position: relative; top: auto; min-height: 0; box-shadow: none; } }

/* Focus is neutral and distinct from blue hover, selection, and errors. */
.ruler-item:focus-visible { color: var(--focus); }
.project-row:focus-visible, .project-row[aria-current="location"]:focus-visible { color: var(--brand-ink); }
.contact-pill:focus-visible { color: var(--focus); border-color: var(--focus); }
