@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --page-background: #fdfdfd;
  --portfolio-page-background: #f8f9fa;
  --case-label-size: 12px;
  --paper: #ffffff;
  --lightbox-backdrop: rgba(20, 24, 22, 0.82);
  --lightbox-control-border: rgba(255, 255, 255, 0.35);
  --white: #fff;
  --ink: #1b2024;
  --muted: #5e6469;
  --customer-scenario-bg: #f5f6f7;
  --line: #dcdedc;
  --blue: #0b996e;
  --hero-accent: #0b996e;
  --placeholder: #ebedec;
  --case-media-grey: #e7e9ed;
  --case-media-background: radial-gradient(
    ellipse at center,
    #dbdee4 0%,
    #f1f2f6 100%
  );
  --blue-wash: var(--surface);
  --surface: #f1f2f6;
  --measure: 1200px;
  --gutter: 24px;
  --radius: 5px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --case-return-shadow: 0 4px 20px rgba(27, 32, 36, .1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  scroll-padding-top: 30px;
}
.case-return-top {
  position:fixed;
  right:max(24px,env(safe-area-inset-right));
  bottom:calc(24px + env(safe-area-inset-bottom));
  z-index:30;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  padding:12px 18px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  color:var(--ink);
  box-shadow:var(--case-return-shadow);
  font:550 13px/1.4 Manrope,Arial,sans-serif;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity 160ms ease-out,visibility 160ms,background-color 160ms ease-out,border-color 160ms ease-out;
}
.case-return-top[hidden] { display:none; }
.case-return-top.is-visible { opacity:1; visibility:visible; pointer-events:auto; }
.case-return-top:hover { background:var(--surface); border-color:var(--muted); }
@media(max-width:640px) {
  .case-return-top { right:max(16px,env(safe-area-inset-right)); bottom:calc(16px + env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) { .case-return-top { transition:none; } }
body {
  margin: 0;
  background: var(--page-background);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 18px;
  font-weight: 450;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.home-page,
.project-page {
  --page-background: var(--portfolio-page-background);
}
::selection {
  background: #e7e9ed;
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
  border-radius: 2px;
}
a:hover {
  color: var(--blue);
}
img,
video,
svg {
  max-width: 100%;
  display: block;
}
img,
video {
  height: auto;
}
h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
h2 {
  font-size: 42px;
}
h3 {
  font-size: 25px;
  letter-spacing: -0.025em;
}
p {
  color: var(--muted);
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
svg {
  flex-shrink: 0;
}
main:focus {
  outline: none;
}
sup {
  font-size: 11px;
  font-weight: 500;
  top: -0.6em;
  position: relative;
  margin-left: 3px;
}
.wrap {
  max-width: var(--measure);
  width: calc(100% - 2 * var(--gutter));
  margin-inline: auto;
}
.section {
  padding-block: 96px;
}
.eyebrow,
.section-number,
.meta-key,
.row-number {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.eyebrow {
  color: var(--muted);
}
.section-number {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  font-size: 18px;
  letter-spacing: -0.04em;
  font-weight: 700;
  white-space: nowrap;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 550;
}
.site-header nav .cv-link {
  gap: 12px;
  border: 1px solid #cccfce;
  padding: 0 20px;
  border-radius: var(--radius);
  margin-left: 4px;
  min-height: 44px;
  font-weight: 650;
  transition: border-color 0.2s ease;
}
.site-header nav .cv-link:hover {
  border-color: var(--ink);
}
.cv-short {
  display: none;
}
.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 650;
  min-height: 44px;
  white-space: nowrap;
  line-height: 1.2;
}
.text-link {
  justify-content: flex-start;
}
.button {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 15px 22px;
}
.button-outline {
  border-color: #cccfce;
  color: var(--ink);
  background: transparent;
}
.button-outline:hover {
  border-color: var(--ink);
}
.button-dark {
  background: var(--ink);
  color: var(--white);
}
.button-dark:hover {
  background: var(--blue);
  color: white;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}
.hero {
  padding-top: 56px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--blue);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: end;
}
.hero-type {
  position: relative;
  min-width: 0;
}
.hero h1 {
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 550;
  line-height: 1.075;
  letter-spacing: -0.063em;
}
.hero h1 > span {
  display: block;
  white-space: nowrap;
}
#clarity {
  color: var(--hero-accent);
  position: relative;
}
.hero-support {
  padding: 0 0 6px 24px;
  max-width: 450px;
}
.hero-support p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-metadata {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-top: 46px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.hero-metadata > div {
  display: grid;
  gap: 5px;
}
.meta-key {
  color: var(--muted);
  font-size: 12px;
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  min-height: 44px;
  font-size: 12px;
}
.scroll-cue > span:last-child {
  font-size: 24px;
  color: var(--blue);
}
.selection {
  position: absolute;
  border: 1px solid var(--blue);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
}
.selection i {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--paper);
  border: 1px solid var(--blue);
}
.selection i:nth-child(1) {
  top: -3px;
  left: -3px;
}
.selection i:nth-child(2) {
  top: -3px;
  right: -3px;
}
.selection i:nth-child(3) {
  bottom: -3px;
  left: -3px;
}
.selection i:nth-child(4) {
  bottom: -3px;
  right: -3px;
}
.design-pointer {
  position: absolute;
  left: calc(100% - 1px);
  top: calc(100% - 1px);
  opacity: 0;
}
.clients {
  padding-block: clamp(64px, 8vw, 104px) clamp(68px, 8.5vw, 112px);
}
.clients-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 clamp(34px, 4.5vw, 54px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.marquee {
  --marquee-gap: 76px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}
.marquee-track > span,
.marquee-track > i {
  padding-right: var(--marquee-gap);
}
.marquee-track > span {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.2;
  color: #868d92;
  white-space: nowrap;
}
.marquee-track > i {
  font-style: normal;
  font-size: 11px;
  line-height: 1;
  color: #c4c8c5;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-names {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}
.section-intro {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 96px;
  align-items: end;
  margin-bottom: 44px;
}
.section-intro h2 {
  max-width: 660px;
  font-size: 40px;
  line-height: 1.2;
}
.section-intro > div {
  max-width: 320px;
  justify-self: end;
}
.section-intro p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.work {
  padding-top: clamp(80px, 9vw, 116px);
  padding-bottom: clamp(96px, 11vw, 140px);
}
.work-heading {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.work-heading h2 {
  max-width: 660px;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 23px;
}
.work-heading > p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  max-width: 660px;
  color: var(--muted);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.35s ease;
}
@media (hover: hover) {
  .case-card:has(> .case-card-link):hover {
    border-color: color-mix(in srgb, var(--blue) 52%, var(--line));
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .case-card:has(> .case-card-link):hover {
    transform: translateY(-3px);
  }
}
.case-card:has(> .case-card-link:focus-visible) {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.case-card:has(> .case-card-link:focus-visible) > .case-card-link {
  outline: none;
}
.case-card-link,
.case-card-preview {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px 34px 30px;
}
.case-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  margin: 0 0 22px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.2;
}
.case-card h3 {
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  min-height: 0;
}
.case-thumb {
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: var(--placeholder);
  margin-bottom: 28px;
  transition: background 0.25s ease;
}
.case-thumb.has-hero {
  overflow: hidden;
}
.case-thumb > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card-link:hover .case-thumb {
  background: #e3e6e4;
}
.case-summary {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 auto;
  padding-bottom: 30px;
}
.case-footer {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.case-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}
.case-card-preview .case-labels {
  justify-content: space-between;
}
.case-labels .case-pill,
.project-info .case-labels .eyebrow {
  margin: 0;
}
.case-availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: var(--case-label-size);
  font-weight: 650;
  line-height: 1.2;
}
.case-card-preview .study-cover {
  margin-bottom: 28px;
}
.case-card-preview .case-summary {
  margin-top: 0;
  padding-bottom: 0;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}
.case-metrics > div {
  min-width: 0;
}
.case-metrics dt {
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: var(--blue);
  margin-bottom: 8px;
}
.case-metrics dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.case-metrics .is-placeholder dt,
.case-metrics .is-placeholder dd {
  color: #a6aca8;
}

.case-card--featured {
  grid-column: 1 / -1;
}
@media (min-width: 851px) {
  .case-card--featured .case-card-link {
    display: grid;
    grid-template:
      "badge image" auto
      "title image" auto
      "summary image" 1fr
      "metrics image" auto
      / minmax(0, 5fr) minmax(0, 6fr);
    column-gap: clamp(24px, 4vw, 56px);
    padding: 34px;
  }
  .case-card--featured .case-pill {
    grid-area: badge;
    justify-self: start;
  }
  .case-card--featured h3 {
    grid-area: title;
    font-size: clamp(32px, 3.4vw, 44px);
  }
  .case-card--featured .case-thumb {
    grid-area: image;
    position: relative;
    aspect-ratio: auto;
    margin-bottom: 0;
  }
  .case-card--featured .case-thumb > img {
    position: absolute;
    inset: 0;
  }
  .case-card--featured .case-summary {
    grid-area: summary;
  }
  .case-card--featured .case-footer {
    grid-area: metrics;
  }
}

/* Pointer-fine devices get a cursor badge instead of the arrow. */
.case-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition:
    opacity 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-cursor.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (pointer: fine) {
  .case-cursor-active .case-card-link {
    cursor: none;
  }
}
@media (max-width: 850px) {
  .case-grid {
    gap: 18px;
  }
  .case-card-link,
  .case-card-preview {
    padding: 26px 24px 24px;
  }
  .case-card h3 {
    margin-bottom: 22px;
  }
}
@media (max-width: 700px) {
  .case-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .case-metrics {
    gap: 14px;
  }
  .case-metrics dd {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .case-cursor {
    display: none;
  }
}
.project-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(56px, 7vw, 104px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}
.project-row:first-of-type {
  padding-top: clamp(16px, 2vw, 28px);
}
.project-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.project-media-link {
  display: block;
  min-width: 0;
}
.study-cover {
  width: 100%;
}
.cover-art {
  position: relative;
  aspect-ratio: 8/5;
  border-radius: var(--radius);
  isolation: isolate;
  overflow: hidden;
  background: #f0eff2;
  color: #333d58;
}
.cover-top,
.cover-bottom {
  position: absolute;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
  z-index: 3;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cover-top {
  top: 25px;
}
.cover-top > span:first-child {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.045em;
}
.cover-bottom {
  bottom: 24px;
}
.cover-bottom > span:last-child {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.study-cover > figcaption {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 11px;
  color: var(--muted);
}
.cover-t-mobile-billing .cover-art {
  background: #efdde5;
  color: #80234c;
}
.billing-art {
  position: absolute;
  inset: 15% 22% 12%;
  perspective: 900px;
}
.paper-sheet {
  position: absolute;
  inset: 0 3%;
  background: #fffefa;
  border-radius: 3px;
  padding: 22px;
  color: #222126;
  box-shadow:
    0 3px 6px #50192d08,
    0 18px 30px #50192d12;
  transform: rotate(-7deg);
  transition: transform 0.35s ease;
}
.paper-sheet.back-sheet {
  background: #c92e6f;
  transform: rotate(8deg) translate(14px, 1px);
}
.paper-top {
  display: flex;
  justify-content: space-between;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  color: #c52e6f;
}
.paper-top span {
  font-weight: 500;
}
.paper-title {
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.12;
  letter-spacing: -0.065em;
  font-weight: 600;
  margin-top: 20px;
}
.paper-rules {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 17px;
}
.paper-rules i {
  height: 1px;
  background: #daddd8;
  width: 100%;
}
.paper-rules i:last-child {
  width: 62%;
}
.paper-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #646669;
  margin-top: 17px;
}
.project-media-link:hover .paper-sheet:not(.back-sheet) {
  transform: rotate(-3deg) translateY(-3px);
}
.cover-hotwire .cover-art {
  background: #eee6db;
  color: #774c29;
}
.journey-art {
  position: absolute;
  inset: 16% 0 12%;
  color: #bd693e;
}
.journey-art svg {
  height: 100%;
  width: 100%;
}
.journey-art strong {
  position: absolute;
  top: 37%;
  left: 9%;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 550;
  letter-spacing: -0.06em;
  color: #704e35;
}
.journey-label {
  position: absolute;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: #694c39;
}
.j1 {
  left: 12%;
  top: 71%;
}
.j2 {
  left: 44%;
  top: 17%;
}
.j3 {
  left: 79%;
  top: 82%;
}
.cover-marketone .cover-art {
  background: #e3e8e3;
  color: #354d47;
}
.cover-preview .cover-art {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}
.cover-marketone.cover-preview .cover-art {
  background-image:
    radial-gradient(ellipse at center, var(--white), transparent 74%),
    radial-gradient(circle, var(--line) 1px, transparent 1.5px);
  background-size: 100% 100%, 16px 16px;
  background-position: center;
}
.cover-preview .platform-name {
  background: radial-gradient(ellipse, var(--white) 40%, transparent 72%);
}
.platform-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.platform-name {
  position: relative;
  z-index: 2;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 450;
  letter-spacing: -0.07em;
  background: #e3e8e3;
  padding: 4px 12px;
  display: flex;
  align-items: center;
}
.platform-name > span:first-child {
  font-weight: 750;
}
.platform-dot {
  width: 8px;
  height: 8px;
  background: #557b63;
  display: block;
  border-radius: 50%;
  position: absolute;
  left: -8px;
}
.platform-orbit {
  position: absolute;
  width: 64%;
  height: 88%;
  border: 1px solid #a8b9ad;
  border-radius: 50%;
  transform: rotate(-30deg);
}
.orbit-two {
  transform: rotate(30deg);
}
.orbit-three {
  transform: rotate(90deg);
}
.project-info {
  padding-block: 8px;
  max-width: 460px;
}
.project-info .eyebrow {
  margin-bottom: 20px;
  font-size: 12px;
}
.project-info h3 {
  font-size: clamp(38px, 3.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.project-summary {
  font-size: 16px;
  line-height: 1.7;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 19px;
  font-size: 11px;
  color: var(--muted);
}
.tags li + li::before {
  content: "·";
  display: inline-block;
  margin-right: 18px;
  color: #909695;
}
.project-reach {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.project-reach strong {
  font-size: clamp(56px, 5.4vw, 76px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--blue);
  font-feature-settings: "tnum" 1;
}
.project-reach > span {
  font-size: 14px;
  line-height: 1.45;
  max-width: 170px;
  color: var(--muted);
}
.project-cta {
  margin-top: 30px;
}
.editorial {
  display: grid;
  grid-template-columns: 4fr 7fr;
  column-gap: calc(100% / 12);
  row-gap: 0;
  border-top: 1px solid var(--line);
}
.editorial-heading h2 {
  margin-bottom: 23px;
}
.editorial-heading > p:not(.section-number) {
  font-size: 18px;
  line-height: 1.7;
  max-width: 335px;
}
.principles > li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 24px;
  padding: 29px 0;
  border-top: 1px solid var(--line);
}
.principles > li:first-child {
  padding-top: 0;
  border-top: 0;
}
.principles > li:last-child {
  padding-bottom: 0;
}
.row-number {
  color: var(--blue);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.principles h3 {
  margin-bottom: 13px;
}
.principles p {
  font-size: 17px;
  line-height: 1.7;
}
.numbers {
  padding: 42px 0 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.numbers h2 {
  font-size: 18px;
  letter-spacing: -0.025em;
  margin-bottom: 30px;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.numbers-grid > div + div {
  border-left: 1px solid var(--line);
  padding-left: 48px;
}
.numbers strong {
  color: var(--blue);
  font-size: 66px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.055em;
}
.numbers-grid p {
  font-size: 14px;
  max-width: 220px;
  margin-top: 14px;
}
.about {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: calc(100% / 12);
  align-items: center;
}
.about-aside {
  display: flex;
  align-items: center;
}
.about-portrait {
  position: relative;
  flex: 1;
  aspect-ratio: 4 / 5;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  mix-blend-mode: multiply;
}
.about-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portrait-alt {
  opacity: 0;
  transform: scale(1.025);
  transform-origin: 50% 45%;
  transition:
    opacity 320ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) and (pointer: fine) {
  .about-portrait:hover .portrait-alt {
    opacity: 1;
    transform: scale(1);
    transition-duration: 520ms;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-alt {
    transform: none;
    transition: none;
  }
  .about-portrait:hover .portrait-alt {
    transform: none;
    transition: none;
  }
}
.about-copy h2 {
  margin-bottom: 32px;
}
.about-copy h2 > span {
  display: block;
}
.about-copy h2 > span:first-child {
  color: var(--muted);
}
.about-copy > p {
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 22px;
}
@media (min-width: 601px) {
  .about-aside {
    justify-content: center;
  }
  .about-portrait {
    max-width: 320px;
  }
  .about-copy > p:last-child {
    margin-bottom: 0;
  }
}
.about-copy .availability {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 32px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  color: var(--ink);
}
.experience {
  padding-bottom: 76px;
}
.experience-list > li {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.experience-list > li:first-child {
  padding-top: 0;
  border: 0;
}
.experience-list > li:last-child {
  padding-bottom: 0;
}
.employment-date {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.experience-list h3 {
  font-size: 25px;
  margin-bottom: 7px;
}
.experience-list .employer {
  font-size: 14px;
  margin-bottom: 17px;
  color: var(--ink);
}
.experience-list > li > p:last-of-type {
  font-size: 17px;
  line-height: 1.75;
}
.highlights {
  margin-top: 17px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.highlights li {
  position: relative;
  padding-left: 17px;
  font-size: 13px;
  color: var(--muted);
}
.highlights li::before {
  content: "↗";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 12px;
}
.tools-line {
  grid-column: -2 / -1;
  margin-top: 56px;
  padding-top: 30px;
}
.tools-line > p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
.tools-line ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 34px;
}
.tools-line li {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  color: var(--ink);
}
.tool-icon {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.tool-name.is-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 5;
  padding: 7px 11px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition:
    opacity 0.18s ease,
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.tool-name.is-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 5px solid transparent;
  border-top-color: var(--ink);
  transform: translateX(-50%);
}
.tools-line li:hover .tool-name.is-tip,
.tools-line li:focus-within .tool-name.is-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (prefers-reduced-motion: reduce) {
  .tool-name.is-tip {
    transform: translate(-50%, 0);
    transition: none;
  }
}
.tools-line li:has(.tool-name:not(.is-tip)) {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 850px) {
  .tools-line {
    margin-top: 30px;
    padding-top: 26px;
  }
}
.testimonials {
  padding-top: 76px;
}
.testimonials h2 {
  margin-bottom: 42px;
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.quotes figure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.quote-mark {
  font-size: 52px;
  line-height: 1;
  color: #869888;
  height: 45px;
}
.quotes blockquote {
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 26px;
}
.quotes figcaption {
  display: grid;
  gap: 4px;
  font-size: 12px;
}
.quotes figcaption strong {
  font-weight: 650;
  font-size: 13px;
}
.quotes figcaption span {
  color: var(--muted);
}
.contact {
  border-top: 1px solid var(--line);
  padding-top: 68px;
}
.contact-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}
.contact h2 {
  font-size: 96px;
  line-height: 1.1;
  margin-top: 16px;
  letter-spacing: -0.075em;
  font-weight: 500;
}
.contact-copy p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 490px;
}
.all-work {
  padding-top: 65px;
  padding-bottom: 90px;
}
.all-work > .eyebrow {
  margin-bottom: 22px;
}
.all-work > h1 {
  font-size: 60px;
  max-width: 900px;
}
.work-intro {
  margin-top: 23px;
  margin-bottom: 55px;
  max-width: 600px;
}
.all-work .project-row {
  padding-block: 40px;
}
.case-page {
  padding-bottom: 64px;
}
.case-topline {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 32px 0 44px;
}
.back-link,
.forward-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.back-link::before,
.forward-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.back-link::before {
  border-left: 1.6px solid currentColor;
}
.forward-link::after {
  border-right: 1.6px solid currentColor;
  border-bottom: 0;
  border-top: 1.6px solid currentColor;
}
.case-heading {
  max-width: 910px;
}
.case-heading .eyebrow {
  margin-bottom: 18px;
}
.case-heading h1 {
  font-size: 68px;
  line-height: 1.12;
  font-weight: 550;
  max-width: 950px;
}
.case-summary {
  font-size: 21px;
  line-height: 1.65;
  max-width: 740px;
  margin-top: 24px;
}
.cover-large {
  margin-top: 32px;
}
.cover-large .cover-art {
  aspect-ratio: 12/4.6;
}
.cover-large .billing-art {
  inset: 9% 33% 4%;
}
.cover-large .paper-title {
  font-size: 56px;
  margin-top: 28px;
}
.cover-large .paper-sheet {
  padding: 25px 32px;
}
.cover-large .paper-rules {
  margin-top: 28px;
}
.cover-large .paper-bottom {
  font-size: 12px;
  margin-top: 24px;
}
.cover-large .journey-art {
  inset: 6% 10% 8%;
}
.cover-large .journey-art strong {
  font-size: 70px;
  top: 37%;
  left: 15%;
}
.cover-large .platform-name {
  font-size: 96px;
}
.cover-large .platform-orbit {
  width: 55%;
  height: 135%;
}
.case-hero-media {
  margin-top: 36px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: var(--placeholder);
}
.story-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 100px;
  margin-top: 80px;
}
.contents-rail nav {
  position: sticky;
  top: 40px;
}
.contents-rail .eyebrow {
  margin-bottom: 16px;
}
.contents-rail li a {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  min-height: 38px;
  padding-block: 9px;
  display: block;
}
.contents-rail li a {
  border-left: 2px solid transparent;
  padding-left: 14px;
  margin-left: -16px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}
.contents-rail li a:hover {
  color: var(--blue);
}
.contents-rail li a.is-current {
  color: var(--ink);
  font-weight: 650;
  border-left-color: var(--blue);
}
.mobile-contents {
  display: none;
}
.story > section {
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 35px;
}
.story > section:last-child {
  margin-bottom: 0;
  border: 0;
}
.story h2 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 24px;
}
.story h3 {
  font-size: 24px;
  margin: 18px 0;
}
.story p {
  font-size: 17px;
  line-height: 1.8;
  margin-top: 16px;
}
.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  margin: 30px 0;
}
.project-facts > .fact-scope,
.project-facts > .fact-team {
  grid-column: 1/-1;
}
.project-facts dt {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 4px;
}
.project-facts dd {
  font-size: 17px;
  line-height: 1.75;
}
.authoring-gap {
  background: var(--surface);
  border-left: 2px solid #b3bcb4;
  padding: 20px 24px;
}
.gap-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #586452;
}
.story .authoring-gap p {
  margin-top: 8px;
  font-size: 16px;
}

.story-figure {
  margin: 32px 0;
}
.story-figure img,
.story-figure video {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.story-figure figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.case-page > .media-hero {
  margin: 36px 0 0;
}
.case-page > .media-hero img {
  display: block;
  height: auto;
  border: 0;
  border-radius: 20px;
}
@media (max-width: 640px) {
  .case-heading .case-summary {
    padding-bottom: 0;
  }
  .case-page > .media-hero,
  .case-page > .case-hero-media {
    margin-top: 28px;
  }
}
@media (max-width: 850px) {
  .case-page > .media-hero img {
    border-radius: 16px;
  }
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.source-note {
  font-size: 12px !important;
  color: var(--muted);
}
.next-project {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.next-project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.forward-link {
  margin: 0;
}
.not-found {
  padding: 100px 0 120px;
}
.not-found h1 {
  font-size: 70px;
  margin: 24px 0;
}
.not-found p {
  max-width: 500px;
  margin-bottom: 24px;
}
.legacy-wrap {
  padding: 25px 0 60px;
}
.legacy-wrap .cs-hero {
  padding: 40px 0;
}
.legacy-wrap .hero__eyebrow {
  margin: 24px 0 18px;
  font-size: 13px;
}
.legacy-wrap .cs-title {
  font-size: 60px;
  max-width: 1000px;
}
.legacy-wrap .cs-lede {
  font-size: 21px;
  max-width: 780px;
  margin-top: 30px;
}
.legacy-wrap .cs-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
  font-size: 14px;
}
.legacy-wrap dt {
  color: var(--muted);
  font-size: 12px;
}
.legacy-wrap .ph {
  background: var(--surface);
  border: 1px dashed #adb6aa;
  aspect-ratio: 16/6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}
.legacy-wrap .ph__tag,
.legacy-wrap .ph__ratio {
  font-size: 12px;
}
.legacy-wrap .fig figcaption {
  font-size: 12px;
  margin-top: 12px;
  color: var(--muted);
}
.legacy-wrap .cs-impact {
  padding-block: 55px;
}
.legacy-wrap .cs-label {
  font-size: 24px;
  margin-bottom: 30px;
}
.legacy-wrap .impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.legacy-wrap .impact-card > b {
  font-size: 44px;
  letter-spacing: -0.06em;
}
.legacy-wrap .impact-card h3 {
  font-size: 20px;
  margin: 10px 0;
}
.legacy-wrap .impact-card p {
  font-size: 15px;
}
.legacy-wrap .cs-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  padding: 50px 0;
  border-top: 1px solid var(--line);
}
.legacy-wrap .cs-section__head h2 {
  font-size: 32px;
  margin-top: 15px;
}
.legacy-wrap .cs-num {
  color: var(--blue);
  font-size: 13px;
}
.legacy-wrap .cs-body > * + * {
  margin-top: 25px;
}
.legacy-wrap .cs-body p {
  font-size: 18px;
}
.legacy-wrap .insight {
  padding: 25px;
  background: var(--surface);
}
.legacy-wrap .insight__tag {
  font-size: 13px;
  color: var(--blue);
}
.legacy-wrap .cs-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.legacy-wrap .cs-grid2 .ph {
  aspect-ratio: 4/3;
}
.legacy-wrap .cs-steps li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.legacy-wrap .cs-steps h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.legacy-wrap .num {
  font-size: 13px;
  color: var(--blue);
}
.legacy-wrap .cs-quote {
  padding: 50px 0 50px 310px;
}
.legacy-wrap blockquote {
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: -0.03em;
}
.legacy-wrap cite {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  font-style: normal;
  font-size: 14px;
}
.legacy-wrap .cs-next {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}
.legacy-next-sample > span:first-child {
  display: flex;
  flex-direction: column;
}
.cs-next__label {
  font-size: 13px;
}
.cs-next__title {
  font-size: 32px;
}
.cs-next__arrow {
  display: none;
}
.legacy-samples {
  padding: 60px 0 100px;
}
.legacy-samples > h1 {
  font-size: 60px;
  margin: 20px 0;
}
.legacy-samples > p {
  max-width: 760px;
}
.legacy-samples article {
  padding-block: 40px;
  border-bottom: 1px solid var(--line);
}
.legacy-samples h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.sample-art {
  padding: 32px;
  background: var(--surface);
  border: 1px dashed #a7b0a5;
  margin-top: 18px;
}
.sample-art .mock__kpis,
.sample-art .mock__board,
.sample-art .mock__manifest {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.sample-art .mock__kpi {
  display: flex;
  flex-direction: column;
  min-width: 150px;
}
.sample-art .mock__kpi b {
  font-size: 32px;
}
.sample-art svg,
.sample-art .mock__sidebar,
.sample-art .mock__topbar,
.sample-art .mock__map {
  display: none;
}
.sample-art .mock__mrow {
  display: block;
}
.sample-art em {
  font-style: normal;
}
@media (min-width: 1400px) {
  .hero-grid {
    gap: 36px;
  }
  .hero-support {
    padding-left: 38px;
  }
}
@media (max-width: 1100px) {
  :root {
    --gutter: 32px;
  }
  .hero-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 30px;
  }
  .hero h1 {
    font-size: 66px;
  }
  .hero-support {
    padding-left: 8px;
  }
  .hero-support p {
    font-size: 17px;
  }
  .hero-metadata {
    gap: 36px;
  }
  .section-intro {
    gap: 48px;
  }
  .project-row {
    gap: 44px;
    grid-template-columns: 1.3fr 1fr;
  }
  .project-info h3 {
    font-size: 34px;
  }
  .project-info .eyebrow {
    margin-bottom: 12px;
  }
  .project-summary {
    font-size: 16px;
  }
  .paper-sheet {
    padding: 18px;
  }
  .paper-title {
    font-size: 33px;
    margin-top: 14px;
  }
  .paper-rules {
    margin-top: 12px;
  }
  .paper-bottom {
    margin-top: 12px;
    font-size: 8px;
  }
  .section {
    padding-block: 76px;
  }
  .editorial,
  .about {
    gap: 60px;
    grid-template-columns: 1fr 1.7fr;
  }
  .editorial h2,
  .about h2 {
    font-size: 36px;
  }
  .quotes {
    gap: 32px;
  }
  .quotes blockquote {
    font-size: 21px;
  }
  .contact-top {
    gap: 60px;
  }
  .contact h2 {
    font-size: 82px;
  }
  .case-hero-media {
    margin-top: 36px;
    aspect-ratio: 12 / 5;
    border-radius: 20px;
    background: var(--placeholder);
  }
  .story-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 55px;
  }
  .cover-large .paper-title {
    font-size: 42px;
  }
  .cover-large .paper-sheet {
    padding: 20px;
  }
  .cover-large .paper-rules {
    margin-top: 20px;
  }
  .cover-large .paper-bottom {
    margin-top: 14px;
    font-size: 10px;
  }
}
@media (max-width: 850px) {
  :root {
    --gutter: 24px;
  }
  .site-header {
    height: 80px;
  }
  .site-header nav {
    gap: 23px;
  }
  .hero {
    padding-top: 43px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero h1 {
    font-size: 76px;
  }
  .hero-support {
    padding: 0;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 36px;
    align-items: end;
    max-width: none;
  }
  .hero-support p {
    margin: 0;
  }
  .hero-support .actions {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-metadata {
    margin-top: 32px;
  }
  .section-intro {
    gap: 40px;
    grid-template-columns: 1.4fr 1fr;
  }
  .section-intro h2 {
    font-size: 34px;
  }
  .project-row {
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
  }
  .cover-art {
    aspect-ratio: 4/4.7;
  }
  .cover-top,
  .cover-bottom {
    left: 20px;
    right: 20px;
  }
  .cover-top > span:first-child {
    font-size: 17px;
  }
  .billing-art {
    inset: 24% 13% 22%;
  }
  .paper-title {
    font-size: 32px;
  }
  .journey-art {
    inset: 22% -10% 18%;
  }
  .journey-art strong {
    font-size: 34px;
    top: 40%;
    left: 18%;
  }
  .journey-label {
    font-size: 9px;
  }
  .j1 {
    left: 17%;
    top: 68%;
  }
  .j2 {
    top: 22%;
  }
  .j3 {
    left: 75%;
    top: 75%;
  }
  .platform-name {
    font-size: 34px;
    padding: 4px 8px;
  }
  .platform-orbit {
    width: 78%;
    height: 65%;
  }
  .project-info h3 {
    font-size: 31px;
  }
  .tags {
    gap: 6px 10px;
  }
  .tags li + li::before {
    margin-right: 10px;
  }
  .project-reach {
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
  }
  .project-reach strong {
    font-size: 52px;
  }
  .project-reach > span {
    font-size: 13px;
    max-width: 150px;
  }
  .project-cta {
    margin-top: 12px;
  }
  .editorial,
  .about {
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
  }
  .principles > li {
    gap: 16px;
    grid-template-columns: 20px 1fr;
  }
  .principles h3 {
    font-size: 23px;
  }
  .principles p {
    font-size: 16px;
  }
  .editorial-heading > p:not(.section-number) {
    font-size: 17px;
  }
  .numbers-grid {
    gap: 24px;
  }
  .numbers-grid > div + div {
    padding-left: 28px;
  }
  .numbers strong {
    font-size: 58px;
  }
  .about-copy > p {
    font-size: 17px;
  }
  .about-copy .availability {
    align-items: flex-start;
    font-size: 12px;
  }
  .availability .status-dot {
    margin-top: 7px;
  }
  .quotes {
    gap: 28px;
  }
  .quotes blockquote {
    font-size: 19px;
  }
  .contact h2 {
    font-size: 76px;
  }
  .contact-top {
    gap: 44px;
  }
  .contact-copy p {
    font-size: 16px;
  }
  .contact .actions {
    gap: 14px;
  }
  .case-heading h1 {
    font-size: 56px;
  }
  .case-summary {
    font-size: 19px;
  }
  .cover-large .cover-art {
    aspect-ratio: 8/4;
  }
  .cover-large .billing-art {
    inset: 10% 28% 7%;
  }
  .cover-large .journey-art {
    inset: 5% 8%;
  }
  .cover-large .journey-art strong {
    font-size: 55px;
    left: 9%;
  }
  .cover-large .platform-name {
    font-size: 76px;
  }
  .case-hero-media {
    margin-top: 36px;
    aspect-ratio: 12 / 5;
    border-radius: 20px;
    background: var(--placeholder);
  }
  .story-layout {
    display: block;
    margin-top: 50px;
  }
  .contents-rail {
    display: none;
  }
  .mobile-contents {
    display: block;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    margin-bottom: 44px;
    font-size: 14px;
  }
  .mobile-contents summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 60px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 550;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
  }
  .mobile-contents summary::-webkit-details-marker {
    display: none;
  }
  .mobile-contents summary::marker {
    content: "";
  }
  .mobile-contents summary::after {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-right: 3px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .mobile-contents[open] summary::after {
    transform: translateY(2px) rotate(225deg);
  }
  .mobile-contents summary:focus-visible {
    outline-offset: 3px;
    border-radius: 12px;
  }
  .mobile-contents nav {
    padding-inline: 20px;
  }
  .mobile-contents ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 20px;
    gap: 4px 20px;
  }
  .mobile-contents a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .story > section {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
  .legacy-wrap .cs-title {
    font-size: 48px;
  }
  .legacy-wrap .cs-section {
    grid-template-columns: 180px 1fr;
    gap: 32px;
  }
  .legacy-wrap .cs-quote {
    padding-left: 0;
  }
  .legacy-wrap .impact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .legacy-wrap .cs-meta {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 22px;
  }
  .site-header {
    height: auto;
    min-height: 108px;
    flex-wrap: wrap;
    gap: 3px;
    padding-top: 16px;
    padding-bottom: 9px;
    align-content: center;
  }
  .brand {
    font-size: 17px;
    width: 100%;
    min-height: 28px;
  }
  .site-header nav {
    width: 100%;
    gap: 28px;
    justify-content: flex-start;
  }
  .site-header nav a {
    font-size: 13px;
  }
  .site-header nav .cv-link {
    margin-left: auto;
    min-height: 34px;
    padding: 0 10px;
    gap: 7px;
  }
  .cv-long {
    display: none;
  }
  .cv-short {
    display: inline;
  }
  .hero {
    padding-top: 33px;
  }
  .hero h1 {
    font-size: clamp(38px, 10.9vw, 61px);
    letter-spacing: -0.057em;
    line-height: 1.12;
  }
  .hero-grid {
    gap: 25px;
  }
  .hero-support {
    display: block;
  }
  .hero-support p {
    font-size: 16px;
    line-height: 1.75;
  }
  .hero-support .actions {
    flex-direction: row;
    gap: 22px;
    margin-top: 23px;
    align-items: center;
  }
  .button {
    padding: 14px 18px;
  }
  .button,
  .text-link {
    font-size: 13px;
    gap: 10px;
  }
  .hero-metadata {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px 16px;
    margin-top: 31px;
    padding: 21px 0 24px;
    font-size: 12px;
  }
  .hero-metadata > div:first-child {
    grid-column: 1/-1;
  }
  .hero-metadata .meta-key {
    font-size: 11px;
  }
  .scroll-cue {
    font-size: 11px;
    align-self: end;
    min-height: 40px;
  }
  .section {
    padding-block: 56px;
  }
  .section-intro {
    display: block;
    margin-bottom: 29px;
  }
  .section-intro h2 {
    font-size: 32px;
    line-height: 1.22;
    letter-spacing: -0.045em;
  }
  .section-intro > div {
    max-width: none;
    margin-top: 20px;
  }
  .section-intro p {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .project-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
    padding-block: 52px;
  }
  .project-info {
    max-width: none;
    padding: 0;
  }
  .cover-art {
    aspect-ratio: 8/5;
  }
  .study-cover > figcaption {
    font-size: 10px;
    margin-top: 9px;
  }
  .cover-top,
  .cover-bottom {
    left: 19px;
    right: 19px;
    font-size: 10px;
  }
  .cover-top {
    top: 18px;
  }
  .cover-top > span:first-child {
    font-size: 16px;
  }
  .cover-bottom {
    bottom: 17px;
  }
  .cover-bottom > span:last-child {
    width: 23px;
    height: 23px;
  }
  .cover-bottom svg {
    width: 13px;
    height: 13px;
  }
  .billing-art {
    inset: 15% 25% 13%;
  }
  .paper-sheet {
    padding: 13px;
  }
  .paper-title {
    font-size: 26px;
    margin-top: 10px;
  }
  .paper-top {
    font-size: 18px;
  }
  .paper-rules {
    gap: 5px;
    margin-top: 10px;
  }
  .paper-bottom {
    font-size: 6px;
    margin-top: 10px;
  }
  .journey-art {
    inset: 14% 0 8%;
  }
  .journey-art strong {
    font-size: 34px;
    left: 9%;
    top: 34%;
  }
  .journey-label {
    font-size: 8px;
  }
  .j1 {
    left: 12%;
    top: 73%;
  }
  .j2 {
    left: 44%;
    top: 16%;
  }
  .j3 {
    left: 79%;
    top: 85%;
  }
  .platform-name {
    font-size: 34px;
  }
  .platform-orbit {
    width: 64%;
    height: 90%;
  }
  .project-info .eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .project-info h3 {
    font-size: 34px;
    max-width: 330px;
    margin-bottom: 16px;
  }
  .project-summary {
    font-size: 16px;
    line-height: 1.7;
  }
  .tags {
    margin-top: 16px;
    font-size: 11px;
    gap: 8px 16px;
  }
  .tags li + li::before {
    margin-right: 16px;
  }
  .project-reach {
    margin-top: 30px;
    padding-top: 26px;
  }
  .project-reach strong {
    font-size: 56px;
  }
  .project-reach > span {
    font-size: 13px;
    max-width: 185px;
  }
  .project-cta {
    margin-top: 14px;
  }
  .editorial,
  .about {
    display: block;
  }
  .editorial-heading {
    margin-bottom: 30px;
  }
  .editorial h2,
  .about h2 {
    font-size: 34px;
  }
  .editorial-heading h2 {
    margin-bottom: 17px;
  }
  .editorial-heading > p:not(.section-number) {
    max-width: none;
    font-size: 17px;
  }
  .section-number {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .principles > li:first-child {
    padding-top: 25px;
    border-top: 1px solid var(--line);
  }
  .principles > li {
    padding: 25px 0;
    gap: 16px;
    grid-template-columns: 22px 1fr;
  }
  .principles h3 {
    font-size: 23px;
  }
  .principles p {
    font-size: 16px;
  }
  .numbers {
    padding-block: 30px;
  }
  .numbers h2 {
    margin-bottom: 15px;
  }
  .numbers-grid {
    display: block;
  }
  .numbers-grid > div,
  .numbers-grid > div + div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 22px;
    align-items: center;
    border: 0;
    padding: 23px 0;
  }
  .numbers-grid > div + div {
    border-top: 1px solid var(--line);
  }
  .numbers strong {
    font-size: 49px;
  }
  .numbers-grid p {
    font-size: 12px;
    line-height: 1.65;
    margin: 0;
  }
  .about-aside {
    display: flex;
    margin-bottom: 30px;
  }
  .about-portrait {
    min-height: 200px;
  }
  .about-copy h2 {
    margin-bottom: 26px;
    font-size: 32px;
  }
  .about-copy > p {
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 19px;
  }
  .about-copy .availability {
    margin-top: 27px;
    padding-top: 21px;
    font-size: 12px;
  }
  .experience-list > li:first-child {
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
  .experience-list > li {
    padding-block: 28px;
  }
  .experience-list h3 {
    font-size: 23px;
  }
  .experience-list > li > p:last-of-type {
    font-size: 16px;
  }
  .employment-date {
    font-size: 11px;
  }
  .experience-list .employer {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .highlights li {
    font-size: 12px;
  }
  .tools-line ul {
    gap: 24px;
  }
  .tools-line li {
    min-width: 30px;
    min-height: 30px;
  }
  .tool-icon {
    width: 30px;
    height: 30px;
  }
  .testimonials h2 {
    font-size: 34px;
    margin-bottom: 30px;
  }
  .quotes {
    display: block;
  }
  .quotes figure {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }
  .quotes figure:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border: 0;
  }
  .quotes blockquote {
    font-size: 23px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .quote-mark {
    height: 35px;
    font-size: 45px;
  }
  .quotes figcaption {
    font-size: 11px;
  }
  .contact {
    padding-top: 39px;
  }
  .contact-top {
    display: block;
    padding-bottom: 38px;
  }
  .contact h2 {
    font-size: 77px;
    margin-top: 11px;
    margin-bottom: 26px;
  }
  .contact .eyebrow {
    font-size: 12px;
  }
  .contact-copy p {
    font-size: 16px;
    line-height: 1.75;
  }
  .contact .actions {
    gap: 23px;
  }
  .all-work {
    padding-block: 38px 56px;
  }
  .all-work > h1 {
    font-size: 40px;
    line-height: 1.18;
  }
  .all-work > .eyebrow {
    font-size: 11px;
    margin-bottom: 17px;
  }
  .work-intro {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .all-work .project-row {
    padding-block: 28px;
  }
  .case-topline {
    align-items: flex-start;
    margin: 22px 0 29px;
    gap: 16px;
  }
  .draft-status {
    font-size: 10px;
    max-width: 145px;
    text-align: right;
    padding-top: 12px;
  }
  .case-heading .eyebrow {
    font-size: 10px;
    margin-bottom: 17px;
  }
  .case-heading h1 {
    font-size: 43px;
    line-height: 1.15;
  }
  .case-summary {
    font-size: 17px;
    line-height: 1.7;
    margin-top: 21px;
  }
  .draft-notice {
    font-size: 12px;
    padding: 14px 17px;
    margin: 25px 0;
  }
  .cover-large {
    margin-top: 25px;
  }
  .cover-large .cover-art {
    aspect-ratio: 8/5;
  }
  .cover-large .billing-art {
    inset: 15% 25% 13%;
  }
  .cover-large .paper-sheet {
    padding: 13px;
  }
  .cover-large .paper-title {
    font-size: 26px;
    margin-top: 10px;
  }
  .cover-large .paper-rules {
    margin-top: 10px;
  }
  .cover-large .paper-bottom {
    font-size: 6px;
    margin-top: 10px;
  }
  .cover-large .journey-art {
    inset: 14% 0 8%;
  }
  .cover-large .journey-art strong {
    font-size: 34px;
    left: 9%;
    top: 34%;
  }
  .cover-large .platform-name {
    font-size: 36px;
  }
  .cover-large .platform-orbit {
    width: 64%;
    height: 90%;
  }
  .case-hero-media {
    margin-top: 36px;
    aspect-ratio: 12 / 5;
    border-radius: 20px;
    background: var(--placeholder);
  }
  .story-layout {
    margin-top: 34px;
  }
  .mobile-contents {
    margin-bottom: 33px;
    font-size: 13px;
  }
  .mobile-contents ol {
    display: block;
  }
  .mobile-contents a {
    min-height: 44px;
  }
  .story .section-number {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .story h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .story p {
    font-size: 16px;
    line-height: 1.75;
  }
  .project-facts {
    grid-template-columns: 1fr;
    gap: 17px;
    margin: 20px 0;
  }
  .project-facts dd {
    font-size: 16px;
  }
  .authoring-gap {
    padding: 17px 18px;
  }
  .story .authoring-gap p {
    font-size: 15px;
  }
  .gap-label {
    font-size: 10px;
  }
  .next-project {
    padding-top: 25px;
  }
  .case-page {
    padding-bottom: 36px;
  }
  .comparison {
    grid-template-columns: 1fr;
  }
  .not-found {
    padding: 60px 0 80px;
  }
  .not-found h1 {
    font-size: 44px;
  }
  .not-found p {
    font-size: 16px;
  }
  .legacy-wrap .cs-title {
    font-size: 40px;
  }
  .legacy-wrap .cs-lede {
    font-size: 18px;
  }
  .legacy-wrap .cs-meta {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .legacy-wrap .impact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .legacy-wrap .cs-section {
    display: block;
    padding-block: 35px;
  }
  .legacy-wrap .cs-section__head {
    margin-bottom: 24px;
  }
  .legacy-wrap .cs-body p {
    font-size: 16px;
  }
  .legacy-wrap .cs-grid2 {
    grid-template-columns: 1fr;
  }
  .legacy-wrap .ph {
    aspect-ratio: 4/3;
    font-size: 15px;
  }
  .legacy-wrap .cs-quote {
    padding-block: 30px;
  }
  .legacy-wrap blockquote {
    font-size: 26px;
  }
  .legacy-samples > h1 {
    font-size: 42px;
  }
  .legacy-samples > p {
    font-size: 16px;
  }
  .sample-art {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .selection {
    display: none !important;
  }
}
/* Optical refinements after the first desktop and mobile review. */
@media (min-width: 851px) {
  .hero {
    padding-top: 42px;
  }
  .hero-metadata {
    margin-top: 32px;
    padding-block: 20px 22px;
  }
}
.hero h1 {
  letter-spacing: -0.05em;
}
.project-summary {
  font-size: 17px;
}
.project-info .eyebrow,
.meta-key {
  font-size: 13px;
}
.tags {
  font-size: 12px;
}
.project-reach > span {
  font-size: 14px;
}
.study-cover > figcaption {
  font-size: 12px;
}
.clients-label {
  font-size: 12px;
}
.employment-date {
  font-size: 13px;
}
.cover-top {
  gap: 15px;
}
.cover-top > span:first-child {
  max-width: 80%;
}
@media (max-width: 600px) {
  .hero-support p,
  .principles p,
  .experience-list > li > p:last-of-type,
  .contact-copy p {
    font-size: 17px;
  }
  .hero-metadata {
    margin-top: 26px;
  }
  .hero-metadata .meta-key {
    font-size: 12px;
  }
  .study-cover > figcaption {
    font-size: 11px;
  }
  .section-number {
    font-size: 11px;
  }
  .project-info .eyebrow {
    font-size: 12px;
  }
  .tags {
    font-size: 12px;
    gap: 8px 12px;
  }
  .tags li + li::before {
    margin-right: 12px;
  }
  .cover-top > span:first-child {
    font-size: 15px;
  }
  .draft-status {
    font-size: 11px;
  }
  .case-heading .eyebrow {
    font-size: 12px;
    line-height: 1.7;
  }
  .draft-notice {
    font-size: 13px;
  }
  .story .section-number {
    font-size: 11px;
  }
  .gap-label {
    font-size: 11px;
  }
  .quotes figcaption {
    font-size: 12px;
  }
  .contact .eyebrow {
    font-size: 13px;
  }
  .highlights li {
    font-size: 13px;
  }
}
.generic-cover-title {
  position: absolute;
  inset: 22% 10%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: clamp(30px, 4vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.05em;
}
@media (max-width: 600px) {
  .site-header nav .cv-link {
    min-height: 44px;
  }
}
.actual-cover > img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
/* Hero: draw, type, then place. All layout changes stay within this section. */
.hero.hero-canvas {
  --clarity-shift: 64px;
  min-height: calc(100svh - 88px);
  padding-top: clamp(28px, 4svh, 52px);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}
.replay-alignment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  min-height: 40px;
  padding: 6px 0 6px 16px;
  cursor: pointer;
}
.replay-alignment[hidden] {
  display: none;
}
.replay-alignment:hover {
  color: var(--blue);
}
.hero-canvas .canvas-stage {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  padding: clamp(40px, 7svh, 96px) 0 clamp(44px, 7.5svh, 100px);
}
.headline-canvas {
  position: relative;
  width: max-content;
  max-width: 100%;
}
.hero-canvas h1 {
  font-size: clamp(68px, min(9.5vw, 13.2svh), 136px);
  font-weight: 550;
  letter-spacing: -0.065em;
  line-height: 1.07;
  margin: 0;
}
.hero-canvas h1 > .canvas-line {
  display: block;
  position: relative;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  transform-origin: 0 50%;
}
.hero-canvas .line-copy {
  display: inline;
}
.hero-canvas .noise-line {
  color: #68716c;
  font-weight: 450;
}
.hero-canvas h1 > .clarity-line {
  margin: 9px 0;
  color: var(--hero-accent);
  transform: translate(var(--clarity-shift), -2px) rotate(-1.5deg);
}
.hero-canvas .products-line {
  font-weight: 600;
}
.hero-canvas #clarity {
  position: static;
}
.hero-pending .hero-canvas .type-char {
  opacity: 0;
}
.draw-box {
  position: absolute;
  inset: -14px -18px;
  width: calc(100% + 36px);
  height: calc(100% + 28px);
  overflow: visible;
  opacity: 0;
  pointer-events: none;
}
.draw-box rect {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  fill: none;
  stroke: var(--blue);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.typing-caret {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0.78em;
  font-size: inherit;
  background: var(--blue);
  opacity: 0;
  pointer-events: none;
}
.type-selection {
  position: absolute;
  inset: 3px -12px 0;
  border: 1px solid var(--hero-accent);
  opacity: 0;
  pointer-events: none;
}
.type-selection > i {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--hero-accent);
  background: var(--paper);
}
.type-selection > i:nth-child(1) {
  left: -4px;
  top: -4px;
}
.type-selection > i:nth-child(2) {
  right: -4px;
  top: -4px;
}
.type-selection > i:nth-child(3) {
  left: -4px;
  bottom: -4px;
}
.type-selection > i:nth-child(4) {
  right: -4px;
  bottom: -4px;
}
.canvas-cursor {
  position: absolute;
  right: -78px;
  bottom: 18px;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.canvas-cursor > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--white);
  background: var(--hero-accent);
  padding: 5px 9px;
  border-radius: 3px;
  margin-bottom: -6px;
  margin-left: -5px;
}
.hero-canvas .canvas-bottom {
  display: grid;
  grid-template-columns: minmax(0, 610px) auto;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  margin: 0;
  padding: 0;
  border: 0;
}
.hero-canvas .hero-support {
  display: block;
  max-width: 610px;
  padding: 0;
}
.hero-canvas .hero-support p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
.hero-canvas .canvas-bottom > .actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-self: end;
  gap: 30px;
}
.hero-canvas .canvas-bottom > .actions .button {
  min-width: 140px;
  justify-content: center;
}
.hero-canvas .hero-metadata {
  margin-top: clamp(30px, 5svh, 64px);
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  gap: 60px;
  font-size: 13px;
}
@media (min-width: 601px) and (max-height: 760px) {
  .hero-canvas .canvas-stage {
    padding-block: 28px 38px;
  }
  .hero-canvas .hero-metadata {
    margin-top: 26px;
    padding-block: 20px 25px;
  }
}
@media (max-width: 1100px) {
  .hero-canvas .canvas-bottom {
    gap: 35px;
    grid-template-columns: minmax(0, 560px) auto;
  }
  .hero-canvas .canvas-bottom > .actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 850px) {
  .hero.hero-canvas {
    min-height: calc(100svh - 80px);
    --clarity-shift: 38px;
  }
  .hero-canvas h1 {
    font-size: 10.8vw;
  }
  .hero-canvas .hero-metadata {
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .hero.hero-canvas {
    min-height: calc(100svh - 108px);
    padding-top: 26px;
    --clarity-shift: 23px;
  }
  .replay-alignment {
    font-size: 11px;
    padding-left: 0;
    gap: 5px;
  }
  .replay-alignment svg {
    width: 13px;
  }
  .hero-canvas .canvas-stage {
    padding: 54px 0 62px;
  }
  .hero-canvas h1 {
    font-size: 11.9vw;
    line-height: 1.13;
    letter-spacing: -0.06em;
  }
  .hero-canvas h1 > .clarity-line {
    margin-block: 10px;
  }
  .draw-box {
    inset: -11px -9px;
    width: calc(100% + 18px);
    height: calc(100% + 22px);
  }
  .type-selection {
    inset: 1px -7px -1px;
  }
  .canvas-cursor {
    right: -55px;
    bottom: 8px;
  }
  .canvas-cursor svg {
    width: 22px;
    height: 26px;
  }
  .canvas-cursor > span {
    font-size: 9px;
    padding: 4px 7px;
  }
  .hero-canvas .canvas-bottom {
    display: block;
  }
  .hero-canvas .hero-support p {
    font-size: 16px;
    line-height: 1.75;
  }
  .hero-canvas .canvas-bottom > .actions {
    flex-direction: row;
    justify-self: stretch;
    justify-content: flex-start;
    width: 100%;
    align-items: center;
    gap: 25px;
    margin-top: 24px;
  }
  .hero-canvas .canvas-bottom > .actions .button {
    min-width: 0;
  }
  .hero-canvas .hero-metadata {
    gap: 16px;
    margin-top: 32px;
    padding: 22px 0 30px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pending .hero-canvas .type-char {
    opacity: 1;
  }
  .hero-canvas .draw-box,
  .hero-canvas .type-selection,
  .hero-canvas .canvas-cursor,
  .hero-canvas .typing-caret {
    display: none;
  }
}

.hero-composed .type-selection,
.hero-composed .canvas-cursor {
  opacity: 1;
}
.hero-composed .canvas-cursor {
  transform: translate(7px, 7px);
}

/* Homepage navigation, rolling metrics and anchored experience. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
main section[id],
footer[id] {
  scroll-margin-top: 32px;
}
.ticker {
  display: inline-flex;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
}
.ticker > span { white-space: pre; }
.ticker-space { width:.3em; flex:none; }
.template-studio-page .numbers-grid > div:first-child strong { word-spacing:.12em; }
.ticker-digit {
  display: block;
  height: 1.1em;
  overflow: hidden;
}
.ticker-track {
  display: block;
  will-change: transform;
}
.ticker-track > span {
  display: block;
  height: 1.1em;
  line-height: 1.1;
}
#approach > .editorial-heading,
.experience > .editorial-heading {
  position: sticky;
  top: 48px;
  align-self: start;
}
.contact.wrap {
  --ink: #f7f8f5;
  --muted: #b7beb9;
  --line: #3b433e;
  --blue: #a9c8c4;
  background: #18201d;
  color: var(--ink);
  border: 0;
  border-radius: 24px;
  padding: 64px 56px 68px;
  margin-bottom: 0;
}
.contact .contact-copy p,
.contact .eyebrow {
  color: var(--muted);
}
.contact .button-dark {
  background: #f7f8f5;
  color: #18201d;
  border-color: #f7f8f5;
}
.contact .button-dark:hover {
  background: var(--hero-accent);
  border-color: var(--hero-accent);
  color: var(--white);
}
.copy-email {
  font-family: inherit;
  cursor: pointer;
  min-width: 160px;
}
.copy-email-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.copy-email-status.is-error {
  position: static;
  width: auto;
  height: auto;
  clip-path: none;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.contact .text-link {
  color: var(--ink);
}
.contact .button-outline {
  border-color: #5b6660;
  color: var(--ink);
}
.contact .button-outline:hover {
  border-color: var(--ink);
}
@media (max-width: 850px) {
  .contact.wrap {
    padding: 44px 32px 52px;
    border-radius: 18px;
  }
}
@media (max-width: 600px) {
  #approach > .editorial-heading,
  .experience > .editorial-heading {
    position: static;
  }
  .contact.wrap {
    padding: 36px 24px 44px;
    margin-bottom: 0;
  }
}

/* Metrics and testimonials use the same surface and outline as case panels. */
#numbers {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 42px 48px 46px;
}
#numbers .numbers-grid {
  gap: 40px;
}
#numbers .numbers-grid > div + div {
  border: 0;
  padding-left: 0;
}
#numbers h2 {
  margin-bottom: 32px;
}
#testimonials .quotes {
  gap: 20px;
}
#testimonials .quotes figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  margin: 0;
}
#testimonials .quotes blockquote {
  font-size: 21px;
}
#approach,
#experience {
  border-top: 0;
}
@media (max-width: 850px) {
  #numbers {
    padding: 32px;
    border-radius: 20px;
  }
  #testimonials .quotes {
    gap: 14px;
  }
  #testimonials .quotes figure {
    padding: 24px;
  }
  #testimonials .quotes blockquote {
    font-size: 19px;
  }
}
@media (max-width: 600px) {
  #numbers {
    padding: 28px 24px;
  }
  #numbers h2 {
    margin-bottom: 14px;
  }
  #numbers .numbers-grid > div,
  #numbers .numbers-grid > div + div {
    grid-template-columns: 120px 1fr;
    gap: 14px;
    border: 0;
    padding: 20px 0;
  }
  #numbers .numbers-grid > div:last-child {
    padding-bottom: 0;
  }
  #numbers strong {
    font-size: 44px;
  }
  #testimonials .quotes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #testimonials .quotes figure {
    padding: 28px 24px;
  }
  #testimonials .quotes blockquote {
    font-size: 21px;
  }
}
@media (max-width: 600px) {
  #numbers .numbers-grid > div,
  #numbers .numbers-grid > div + div {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
  }
}
@media (max-width: 360px) {
  #numbers .numbers-grid > div,
  #numbers .numbers-grid > div + div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Testimonials: circular portrait, quote, attribution. */
#testimonials {
  padding-top: clamp(84px, 9vw, 112px);
}
#testimonials h2 {
  margin-bottom: clamp(40px, 5vw, 56px);
}
#testimonials .quotes {
  gap: 24px;
}
#testimonials .quotes figure {
  padding: 36px 34px 32px;
}
.quote-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(27, 32, 36, 0.09);
  width: 100%;
}
.avatar {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(27, 32, 36, 0.12);
}
img.avatar {
  filter: grayscale(1);
}
.avatar-initials {
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #0b996e;
}
#testimonials .quotes figcaption {
  display: grid;
  gap: 3px;
  min-width: 0;
}
@media (max-width: 850px) {
  #testimonials .quotes figure {
    padding: 28px 24px 26px;
  }
  .quote-person {
    margin-top: 22px;
    padding-top: 20px;
    gap: 12px;
  }
  .avatar {
    width: 46px;
    height: 46px;
  }
  .avatar-initials {
    font-size: 15px;
  }
}
@media (max-width: 600px) {
  #testimonials .quotes figure {
    padding: 28px 24px 26px;
  }
  .avatar {
    width: 48px;
    height: 48px;
  }
}

/* The odometer keeps the callout's own type size. */
.project-reach strong .ticker,
.project-reach strong .ticker span,
.case-metrics dt .ticker,
.case-metrics dt .ticker span {
  font-size: inherit;
  color: inherit;
}
/* Quote, portrait and attribution line up across all three cards. */
#testimonials .quotes {
  grid-template-rows: auto 1fr auto;
}
#testimonials .quotes figure {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-items: stretch;
  justify-items: start;
}
@media (max-width: 600px) {
  #testimonials .quotes figure {
    display: flex;
    grid-row: auto;
  }
}

/* Reduced motion: the client strip becomes a static, wrapped list. */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee-track {
    display: none;
  }
  .marquee-names {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 44px;
    width: auto;
    height: auto;
    margin: 0;
    clip-path: none;
    white-space: normal;
  }
  .marquee-names li {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 600;
    letter-spacing: -0.045em;
    color: #868d92;
  }
}

/* Copyright sits below the contact card, centred and on the page ground. */
.contact-area {
  display: block;
}
.site-copyright {
  margin: 30px 0 6px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.footer-return {
  text-align: center;
  margin-bottom: 24px;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 10px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
.back-to-top:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.back-to-top:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 850px) {
  .case-hero-media {
    border-radius: 16px;
  }
}
@media (max-width: 600px) {
}

/* Case study body: typographic rhythm, placeholder art, prose outcomes. */
.case-heading .case-pill {
  margin-bottom: 22px;
}
.case-heading .tags {
  margin: 0 0 20px;
  font-size: 13px;
}
.case-page .numbers {
  margin-top: 28px;
}
.story > section {
  padding-bottom: 72px;
  margin-bottom: 72px;
}
.story h2 {
  font-size: 38px;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.story h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 40px 0 0;
}
.section-media {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: var(--placeholder);
  margin-top: 40px;
}
.project-page .case-hero-media,
.project-page .section-media,
.project-page .lightbox-frame.is-placeholder {
  background: var(--case-media-background);
}
.project-page .story .story-figure > img,
.project-page .story .story-figure > video {
  display: block;
  height: auto;
  border: 0;
  border-radius: 16px;
  background: var(--case-media-grey);
}
.project-page .story-figure.has-caption {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}
.project-page .story-figure.has-caption > img,
.project-page .story-figure.has-caption > video {
  display: block;
  border-radius: 0;
  border: 0;
}
.project-page .story-figure.has-caption > figcaption {
  margin: 0;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.case-panel {
  padding: 34px 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}
.project-facts > div {
  min-width: 0;
}
.story .decision + .decision {
  margin-top: 24px;
}
.story .decision:first-of-type {
  margin-top: 30px;
}
.decision h3 {
  display: grid;
  gap: 8px;
  margin: 0 0 26px;
}
.decision-index {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
.decision-title {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.decision-fields {
  display: grid;
  gap: 26px;
  margin: 0;
}
.decision-fields > div {
  display: grid;
  gap: 5px;
}
.decision-fields dt {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.8;
  color: var(--muted);
}
.decision-fields dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
}
.decision .story-figure {
  margin-top: 28px;
}
.story .finding + .finding {
  margin-top: 40px;
}
.story .outcome {
  margin-top: 30px;
}
.story .outcome + .outcome {
  margin-top: 24px;
}
.outcome h3 {
  margin: 0;
  line-height: 1.3;
}
.story .outcome-source {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.outcome-kind {
  font-size: 13px !important;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 10px !important;
}
@media (max-width: 700px) {
  .case-panel {
    padding: 26px 22px;
    border-radius: 16px;
  }
  .decision-fields {
    gap: 22px;
  }
  .decision-title {
    font-size: 20px;
  }
  .decision-fields dd {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .story > section {
    padding-bottom: 52px;
    margin-bottom: 52px;
  }
  .story h2 {
    font-size: 30px;
  }
  .section-media {
    aspect-ratio: 3 / 2;
    margin-top: 30px;
  }
}

/* Zoomable imagery and its lightbox. */
[data-zoom] {
  cursor: pointer;
}
[data-zoom]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
  background: var(--lightbox-backdrop);
  animation: lightbox-in 0.18s ease-out;
}
.lightbox-frame {
  max-width: min(1200px, 100%);
  max-height: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.lightbox-frame.is-placeholder {
  width: min(1200px, 100%);
  aspect-ratio: 16 / 9;
  background: var(--placeholder);
}
.lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
}
.lightbox-close {
  position: absolute;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--lightbox-control-border);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.lightbox-close:hover {
  border-color: #fff;
}
@keyframes lightbox-in {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox {
    animation: none;
  }
}
@media (max-width: 850px) {
  .case-hero-media {
    aspect-ratio: 4 / 3;
  }
}

/* Role progression inside an experience entry. */
.role-track {
  margin: 18px 0 20px;
  padding: 0 0 0 22px;
  list-style: none;
  position: relative;
}
.role-track::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  bottom: 9px;
  width: 1px;
  background: var(--line);
}
.role-track > li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-block: 3px;
}
.role-track > li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.role-track > li.is-current::before {
  background: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--blue);
}
.role-track-title {
  font-size: 15px;
  font-weight: 550;
  line-height: 1.45;
  color: var(--muted);
}
.role-track > li.is-current .role-track-title {
  color: var(--ink);
  font-weight: 650;
}
.role-track-date {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 600px) {
  .role-track {
    margin: 14px 0 16px;
  }
  .role-track-title {
    font-size: 14px;
  }
}

/* Bulleted lists inside case study prose. */
.story-list {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.story-list > li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  font-weight: 450;
  line-height: 1.8;
  color: var(--muted);
}
.story-list > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.decision-fields .story-list > li,
.story .authoring-gap .story-list > li {
  font-size: 17px;
}
@media (max-width: 700px) {
  .story-list > li {
    font-size: 16px;
    line-height: 1.75;
  }
}

/* The numbers band is its own section on the homepage, so it gets its own air. */
body:not(.project-page) #numbers {
  margin-block: clamp(56px, 7vw, 104px);
}

/* Featured case-study deck: stacked at rest, a full list on hover or focus. */
.hero.hero-with-deck {
  --clarity-shift: 32px;
  padding-top: 24px;
}
.hero-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(44px, 5vw, 80px);
  align-content: center;
  align-items: end;
  flex: 1;
  padding: 30px 0 24px;
}
.hero-copy {
  min-width: 0;
}
.hero-with-deck .canvas-stage {
  padding: 0;
  display: block;
}
.hero-with-deck h1 {
  font-size: clamp(48px, 5.85vw, 84px);
  line-height: 1.08;
}
.hero-with-deck .canvas-bottom {
  display: block;
  margin-top: 36px;
}
.hero-with-deck .hero-support p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 540px;
}
.hero-with-deck .canvas-bottom > .actions {
  flex-direction: row;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 26px;
}
.hero-with-deck .hero-metadata {
  margin-top: 16px;
}
.hero-featured {
  min-width: 0;
  position: relative;
}
.hero-deck {
  --tile-height: 108px;
  --tile-gap: 12px;
  --deck-height: calc(var(--case-count, 4) * var(--tile-height) + (var(--case-count, 4) - 1) * var(--tile-gap));
  position: relative;
  display: grid;
  gap: var(--tile-gap);
}
.hero-case {
  display: flex;
  align-items: center;
  min-width: 0;
  height: var(--tile-height);
  padding: 12px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  text-decoration: none;
  color: var(--ink);
}
.hero-case-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
  transition: opacity 0.24s ease-out;
}
.hero-case-thumb {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 82px;
  height: 82px;
  border-radius: 21px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-case-thumb::before,
.hero-case-thumb::after {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: -1;
  border: 1px solid #ffffff40;
  border-radius: 43%;
  transform: rotate(-30deg);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-case-thumb::after {
  inset: -25%;
  transform: rotate(20deg);
}
.hero-case-thumb > span {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -0.06em;
}
.thumb-telecom { background:var(--paper); }
.thumb-telecom::before,.thumb-telecom::after { content:none; }
.thumb-telecom > img { display:block; width:56%; height:68%; object-fit:contain; }
.thumb-platform {
  background:
    radial-gradient(ellipse at 100% 0%, #82ecd0, transparent 65%),
    linear-gradient(140deg, #083c31, #1e9673);
}
.thumb-bank {
  background:
    radial-gradient(ellipse at 0% 0%, #50c7f6, transparent 65%),
    linear-gradient(140deg, #053252, #0674ab);
}
.thumb-bank > span {
  font-size: 22px;
  letter-spacing: -0.04em;
}
.thumb-hotwire {
  background:
    radial-gradient(ellipse at 90% 0%, #9b7ff0, transparent 65%),
    linear-gradient(140deg, #242348, #57439e);
}
.thumb-hotwire > span {
  font-size: 40px;
  font-weight: 500;
}
.hero-case-copy {
  display: block;
  min-width: 0;
  flex: 1;
}
.hero-case-copy small {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero-case-copy strong {
  display: block;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
.hero-case-arrow {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  transition:
    transform 0.35s ease,
    background 0.25s ease;
}
.hero-case:hover {
  background: #fff;
}
.hero-case:hover .hero-case-thumb::before {
  transform: rotate(-5deg) scale(1.08);
}
.hero-case:hover .hero-case-thumb::after {
  transform: rotate(45deg) scale(1.08);
}
.hero-case:hover .hero-case-arrow {
  transform: translateX(3px);
  background: #e7e9ed;
}
.hero-deck.is-ready {
  height: var(--deck-height);
  display: block;
}
.hero-deck.is-ready .hero-case {
  position: absolute;
  inset: 0 0 auto;
  height: var(--tile-height);
  z-index: calc(10 - var(--depth));
  transform: translateY(
      calc(var(--deck-height) - var(--tile-height) - 30px + var(--depth) * 10px)
    )
    scale(calc(1 - var(--depth) * 0.045));
  transition:
    transform 0.42s cubic-bezier(0.25, 0.75, 0.25, 1),
    opacity 0.24s ease-out,
    background 0.2s ease;
  transform-origin: center;
}
.hero-deck.is-ready .hero-case:not([data-depth="0"]) {
  pointer-events: none;
}
.hero-deck.is-ready .hero-case:not([data-depth="0"]) .hero-case-inner {
  opacity: 0;
}
.hero-deck.is-ready .hero-case[data-depth="3"] {
  opacity: 0.65;
}
.hero-deck.is-ready.is-open .hero-case {
  transform: translateY(
      calc(var(--depth) * (var(--tile-height) + var(--tile-gap)))
    )
    scale(1);
  opacity: 1;
  pointer-events: auto;
}
.hero-deck.is-ready.is-open .hero-case .hero-case-inner {
  opacity: 1;
}
.hero-deck.is-ready.is-positioning .hero-case,
.hero-deck.is-ready.is-positioning .hero-case-inner {
  transition: none;
}
.hero-deck-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.hero-deck-controls[hidden] {
  display: none;
}
.hero-deck-dots {
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 30px;
  padding: 0 6px;
}
.hero-deck-dots button {
  background: none;
  border: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 36px;
  cursor: pointer;
}
.hero-deck-dots button > span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 12px;
  background: #b5b6b0;
  transition:
    width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease;
}
.hero-deck-dots button[aria-pressed="true"] {
  width: 38px;
}
.hero-deck-dots button[aria-pressed="true"] > span {
  width: 22px;
  background: var(--ink);
}
.hero-deck-toggle {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
  min-height: 36px;
}
.hero-deck-toggle > span {
  font-size: 18px;
  margin-left: 6px;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .hero-feature-grid {
    gap: 36px;
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  }
  .hero-with-deck h1 {
    font-size: 5.7vw;
  }
  .hero-with-deck .hero-support p {
    font-size: 15px;
  }
  .hero-deck {
    --tile-height: 106px;
  }
  .hero-case {
    padding: 10px;
    border-radius: 24px;
  }
  .hero-case-inner {
    gap: 12px;
  }
  .hero-case-thumb {
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }
  .hero-case-copy small {
    font-size: 11px;
  }
  .hero-case-copy small > span {
    display: none;
  }
  .hero-case-copy strong {
    font-size: 15px;
  }
  .hero-case-arrow {
    width: 26px;
    height: 26px;
  }
}
@media (max-width: 760px) {
  .hero.hero-with-deck {
    --clarity-shift: 23px;
    padding-top: 32px;
  }
  .hero-feature-grid {
    display: block;
    padding: 0;
  }
  .hero-with-deck h1 {
    font-size: 11.25vw;
  }
  .hero-with-deck .canvas-bottom {
    margin-top: 34px;
  }
  .hero-with-deck .canvas-bottom > .actions {
    margin-top: 24px;
  }
  .hero-featured {
    margin-top: 42px;
  }
  .hero-deck {
    --tile-height: 106px;
  }
  .hero-deck.is-ready {
    height: calc(var(--tile-height) + 32px);
    transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .hero-deck.is-ready .hero-case {
    transform: translateY(calc(var(--depth) * 10px))
      scale(calc(1 - var(--depth) * 0.045));
  }
  .hero-deck.is-ready.is-open {
    height: var(--deck-height);
  }
  .hero-case-thumb {
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }
  .hero-case-inner {
    gap: 12px;
  }
  .hero-case-copy strong {
    font-size: 15px;
  }
  .hero-case-copy small {
    font-size: 11px;
  }
  .hero-case-copy small > span {
    display: none;
  }
  .hero-case {
    border-radius: 24px;
    padding: 10px;
  }
  .hero-case-arrow {
    width: 28px;
    height: 28px;
  }
  .hero-deck-toggle {
    display: block;
  }
  .hero-with-deck .hero-metadata {
    margin-top: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-featured *,
  .hero-featured *::before,
  .hero-featured *::after {
    transition: none !important;
  }
}

.hero-with-deck .canvas-bottom > .actions {
  width: 100%;
  justify-self: stretch;
}
@media (max-width: 360px) {
  .hero-deck {
    --tile-height: 122px;
  }
  .hero-case-thumb {
    width: 62px;
    height: 62px;
    border-radius: 17px;
  }
  .hero-case-copy strong {
    font-size: 14px;
  }
  .hero-case-arrow {
    width: 26px;
    height: 26px;
  }
  .hero-with-deck .canvas-bottom > .actions .button {
    min-width: 0;
    padding-inline: 16px;
  }
}

/* The featured hero deck is desktop-only. */
@media (max-width: 760px) {
  .hero-with-deck .hero-featured {
    display: none;
  }
}
@media (max-width: 760px) {
  .hero.hero-with-deck {
    min-height: 0;
  }
  .hero-with-deck .hero-feature-grid {
    flex: none;
  }
}

/* T-Mobile: a simplified, explorable view of the supplied billing flow. */
.billing-flow {
  --flow-accent: #e20074;
  --flow-wash: #fff3f8;
  margin: 40px 0 0;
  padding: 30px 0;
  border: 0;
  background: #fff;
  isolation: isolate;
}
.billing-flow [hidden] {
  display: none !important;
}
/* Keep the T-Mobile diagram's outer canvas continuous with the page. */
#billing-flow {
  background: transparent;
  padding-bottom: 0;
}
.billing-flow p {
  margin: 0;
}
.flow-origin {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid #cbd0cc;
  border-radius: 14px;
  background: white;
  padding: 20px;
  position: relative;
}
.flow-origin-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flow-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1px;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  background: var(--flow-accent);
  color: white;
  border-radius: 9px;
  font-size: 26px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.07em;
}
.flow-brand > span {
  font-size: 22px;
}
.flow-origin-entry {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 3px;
}
.flow-origin strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.flow-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}
.flow-summary > span {
  font-size: 11px;
  color: var(--muted);
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--surface);
}
.flow-connectors {
  display: block;
  width: 100%;
  height: 56px;
  overflow: visible;
}
.flow-line,
.flow-route,
.flow-pulse {
  fill: none;
  stroke: #d5d9d5;
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
}
.flow-pulse {
  stroke: var(--flow-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.025 0.975;
  opacity: 0;
}
.flow-route {
  display: none;
  stroke: var(--flow-accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: none;
}
.billing-flow[data-branch="changes"] .flow-route--changes,
.billing-flow[data-branch="breakdown"] .flow-route--breakdown,
.billing-flow[data-branch="actions"] .flow-route--actions {
  display: initial;
}
.route-drawing[data-branch="changes"] .flow-pulse--changes,
.route-drawing[data-branch="breakdown"] .flow-pulse--breakdown,
.route-drawing[data-branch="actions"] .flow-pulse--actions {
  animation: bill-route-travel 900ms cubic-bezier(0.22, 0.6, 0.36, 1) both;
}
.flow-branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.flow-branch {
  display: block;
  position: relative;
  padding: 16px 15px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  min-width: 0;
  color: var(--ink);
  transition:
    border-color 200ms,
    background 200ms,
    transform 200ms;
}
.flow-branch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  color: #737d76;
}
.flow-branch-number {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #929a94;
}
.flow-branch strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.flow-branch-note {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 5px;
}
.flow-label-short {
  display: none;
}
.billing-flow .flow-branch:hover {
  color: var(--ink);
  border-color: #aeb7b0;
  transform: translateY(-2px);
}
.billing-flow .flow-branch[aria-selected="true"] {
  border-color: var(--flow-accent);
  background: var(--flow-wash);
}
.flow-branch[aria-selected="true"] .flow-branch-top,
.flow-branch[aria-selected="true"] .flow-branch-number {
  color: var(--flow-accent);
}
.billing-flow a:focus-visible {
  outline: 2px solid var(--flow-accent);
  outline-offset: 4px;
  border-radius: 8px;
}
.flow-detail {
  margin-top: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.flow-detail-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}
.flow-step {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--flow-accent);
  margin-bottom: 12px;
}
.billing-flow h4 {
  font-size: 23px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}
.billing-flow .flow-panel p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.flow-context-note {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 18px;
}
.flow-views {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: var(--surface);
  border-radius: 8px;
  position: relative;
  isolation: isolate;
  margin-bottom: 14px;
}
.flow-view-indicator {
  display: none;
  position: absolute;
  z-index: -1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: white;
  border: 1px solid #e2e5e0;
  border-radius: 5px;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.is-enhanced .flow-view-indicator {
  display: block;
}
[data-view="category"] .flow-view-indicator {
  transform: translateX(100%);
}
.billing-flow .flow-views a {
  text-align: center;
  padding: 7px 3px;
  font-size: 13px;
  font-weight: 550;
  color: var(--muted);
  border-radius: 5px;
}
.billing-flow .flow-views a[aria-selected="true"] {
  color: var(--ink);
}
.flow-charge-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 10px;
  margin: 0;
  padding: 0;
}
.flow-charge-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}
.flow-charge-list strong {
  font-weight: 600;
}
.flow-charge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  background: var(--surface);
  border: 1px solid #edefe8;
  border-radius: 5px;
  color: #77817a;
  font-size: 14px;
}
.flow-view-note {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}
.flow-options {
  list-style: none;
  display: grid;
  align-content: start;
  gap: 9px;
  margin: 0;
  padding: 0;
}
.flow-options li {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e7eae3;
  border-radius: 8px;
  padding: 12px 10px;
  min-height: 48px;
  font-size: 13px;
  line-height: 1.5;
}
.flow-option-mark {
  color: var(--flow-accent);
  font-size: 16px;
  flex: 0 0 18px;
  text-align: center;
}

.flow-benefits {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow-benefits li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.flow-benefits strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.flow-benefits li > span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.flow-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.billing-flow:not(.is-enhanced) .flow-panel + .flow-panel {
  margin-top: 30px;
}
.billing-flow:not(.is-enhanced)
  [data-flow-view-panel]
  + [data-flow-view-panel] {
  margin-top: 18px;
}
.is-enhanced .flow-panel:not([hidden]) {
  animation: bill-detail-in 280ms ease both;
}
.is-enhanced [data-flow-view-panel]:not([hidden]) {
  animation: bill-detail-in 220ms ease both;
}
.is-introducing .flow-origin {
  animation: bill-origin-in 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.is-introducing .flow-branch {
  animation: bill-detail-in 550ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.is-introducing .flow-branch:nth-child(1) {
  animation-delay: 250ms;
}
.is-introducing .flow-branch:nth-child(2) {
  animation-delay: 400ms;
}
.is-introducing .flow-branch:nth-child(3) {
  animation-delay: 550ms;
}
@keyframes bill-origin-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes bill-detail-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bill-route-travel {
  0% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
  15% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: -1;
  }
}
@media (max-width: 1100px) and (min-width: 851px) {
  .billing-flow {
    padding: 24px 0;
  }
  .flow-detail {
    padding: 20px;
  }
  .flow-detail-layout {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .billing-flow {
    padding: 20px 0;
    margin-top: 30px;
  }
  .flow-origin {
    max-width: 100%;
    padding: 16px;
  }
  .flow-origin strong {
    font-size: 21px;
  }
  .flow-connectors {
    height: 38px;
  }
  .flow-branches {
    gap: 7px;
  }
  .flow-branch {
    padding: 12px 8px 13px;
    border-radius: 9px;
  }
  .flow-branch-top {
    margin-bottom: 9px;
  }
  .flow-branch-top > svg {
    width: 19px;
    height: 19px;
  }
  .flow-branch-number {
    font-size: 11px;
  }
  .flow-branch strong {
    font-size: 11px;
    line-height: 1.5;
  }
  .flow-label-full,
  .flow-branch-note {
    display: none;
  }
  .flow-label-short {
    display: inline;
  }
  .flow-detail {
    padding: 20px 16px;
  }
  .flow-detail-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .billing-flow h4 {
    font-size: 23px;
    max-width: 240px;
  }
  .billing-flow .flow-panel p {
    font-size: 13px;
  }
  .flow-step {
    font-size: 11px;
  }
  .flow-context-note {
    display: none;
  }
  .flow-views {
    margin-bottom: 14px;
  }
  .billing-flow .flow-views a {
    font-size: 12px;
    padding: 8px 4px;
  }
  .flow-charge-list {
    grid-template-columns: 1fr 1fr;
    gap: 9px 10px;
  }
  .flow-charge-list li {
    font-size: 11px;
    gap: 6px;
  }
  .flow-charge-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
  .flow-view-note {
    font-size: 11px;
  }
  .flow-options li {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .billing-flow *,
  .billing-flow *::before,
  .billing-flow *::after {
    animation: none !important;
    transition: none !important;
  }
  .billing-flow .flow-pulse {
    display: none;
  }
}

/* Exact source-image crops with visible before/after explanations. */
.case-comparison {
  --cmp-accent: #e20074;
  --cmp-wash: #fff3f8;
  margin: 32px 0 40px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.case-comparison [hidden] {
  display: none !important;
}
.cmp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.cmp-eyebrow {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cmp-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 176px;
  gap: 4px;
  background: var(--surface);
  padding: 4px;
  border-radius: 8px;
}
.case-comparison .cmp-tabs a {
  padding: 7px 15px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-align: center;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
  color: var(--muted);
}
.case-comparison .cmp-tabs a[aria-selected="true"] {
  color: var(--ink);
  background: #fff;
  border-color: #e2e5e0;
}
.cmp-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.cmp-screen {
  margin: 0;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.cmp-screen > figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.cmp-side {
  display: block;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cmp-screen:nth-child(2) .cmp-side {
  color: var(--cmp-accent);
}
.cmp-screen-label {
  color: var(--muted);
  font-size: 11px;
}
.cmp-screen-stage {
  position: relative;
}
.cmp-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 7px;
  background: var(--case-media-grey);
}
.cmp-viewport > img {
  position: absolute;
  display: block;
  width: var(--crop-width);
  max-width: none;
  height: auto;
  left: var(--crop-left);
  top: var(--crop-top);
  opacity: 1;
}
.cmp-pin {
  display: none;
  position: absolute;
  right: -9px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  padding: 0;
  border: 1px solid var(--cmp-accent);
  border-radius: 50%;
  background: white;
  color: var(--cmp-accent);
  font:
    650 12px/1 Manrope,
    sans-serif;
  cursor: pointer;
  transition:
    background-color 400ms ease-in-out,
    color 400ms ease-in-out,
    transform 440ms cubic-bezier(.22,.61,.36,1);
  z-index: 1;
}
.is-enhanced .cmp-pin {
  display: flex;
}
.cmp-pin::after {
  content: "";
  position: absolute;
  inset: -7px;
}
.cmp-pin:hover,
.cmp-pin[aria-pressed="true"] {
  transform: translateY(-50%) scale(1.18);
  background: var(--cmp-accent);
  color: white;
}
.cmp-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.cmp-note {
  scroll-margin-block: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 400ms ease-in-out,
    background-color 400ms ease-in-out;
}
.cmp-note-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border: 1px solid #efd1df;
  border-radius: 50%;
  color: var(--cmp-accent);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  transition:
    transform 440ms cubic-bezier(.22,.61,.36,1),
    background-color 400ms ease-in-out,
    border-color 400ms ease-in-out,
    color 400ms ease-in-out;
}
.cmp-note[aria-pressed="true"] .cmp-note-number {
  transform: scale(1.12);
  background: var(--cmp-accent);
  border-color: var(--cmp-accent);
  color: white;
}
.cmp-note-copy {
  display: block;
  min-width: 0;
}
.cmp-note-copy > strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cmp-note-line {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.cmp-note-line > b {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cmp-note-after > b {
  color: var(--cmp-accent);
}
.cmp-note:not(:disabled):hover,
.cmp-note[aria-pressed="true"] {
  border-color: var(--cmp-accent);
  background: var(--cmp-wash);
}
.case-comparison :is(a, button, [role="tabpanel"]):focus-visible {
  outline: 2px solid var(--cmp-accent);
  outline-offset: 4px;
}
.case-comparison .cmp-static-title {
  margin: 0 0 20px;
  font-size: 20px;
}
.is-enhanced .cmp-static-title {
  display: none;
}
.case-comparison:not(.is-enhanced) .cmp-panel + .cmp-panel {
  margin-top: 32px;
}
.is-enhanced .cmp-panel:not([hidden]) {
  animation: bill-detail-in 220ms ease both;
}
@media (max-width: 700px) {
  .case-comparison {
    padding: 22px;
  }
  .cmp-header {
    gap: 14px;
    flex-wrap: wrap;
  }
  .cmp-tabs {
    flex-basis: 166px;
  }
  .cmp-notes {
    grid-template-columns: 1fr;
  }
  .cmp-note {
    flex-direction: row;
    gap: 14px;
    padding: 16px;
  }
  .cmp-note-copy > strong {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .cmp-note-line {
    font-size: 13px;
    margin-top: 8px;
  }
  .cmp-note-line > b {
    display: inline;
    margin-right: 7px;
  }
}
@media (max-width: 600px) {
  .case-comparison {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .cmp-header {
    margin-bottom: 20px;
  }
  .cmp-eyebrow {
    font-size: 10px;
  }
  .cmp-tabs {
    flex: 1 1 100%;
  }
  .cmp-screens {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cmp-screen {
    padding: 14px;
  }
  .cmp-screen > figcaption {
    margin-bottom: 14px;
  }
  .cmp-side,
  .cmp-screen-label {
    font-size: 12px;
  }
  .cmp-pin {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .cmp-notes {
    margin-top: 18px;
  }
  .cmp-note {
    padding: 14px 12px;
    gap: 10px;
  }
  .cmp-note-line > b {
    display: block;
  }

}
@media (prefers-reduced-motion: reduce) {
  .case-comparison *,
  .case-comparison *::before,
  .case-comparison *::after {
    animation: none !important;
    transition: none !important;
  }
}

.cmp-note:disabled {
  opacity: 1;
  cursor: default;
}

/* Customer context, empathy cards and the design response. */
.billing-empathy {
  --empathy-accent: #bc005f;
  margin: 36px 0 46px;
  padding: 30px;
  background: var(--customer-scenario-bg);
  border-radius: 20px;
}
.empathy-eyebrow,
.story .documentation-group h3 {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.65;
}
.empathy-intro {
  margin-bottom: 20px;
}
.empathy-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.empathy-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.empathy-avatar {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: 55% 40%;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}
.empathy-person strong, .empathy-person div > span { display: block; }
.empathy-person strong { font-size: 15px; font-weight: 600; }
.empathy-person div > span { color: var(--muted); font-size: 11px; }
.billing-empathy ul { list-style: none; padding: 0; }
.billing-empathy .empathy-context {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 24px;
}
.billing-empathy .empathy-context li {
  padding: 4px 9px;
  border-radius: 6px;
  background: #e9ecee;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.empathy-map { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.empathy-area {
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.billing-empathy h4 { margin: 0; font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.empathy-area h4 { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.empathy-area h4 > svg {
  box-sizing: content-box;
  width: 23px;
  height: 23px;
  padding: 9px;
  border-radius: 10px;
  background: #fff3f8;
  color: var(--empathy-accent);
}
.billing-empathy .empathy-area ul { display: grid; gap: 7px; margin: 14px 0 0; }
.billing-empathy .empathy-area li {
  margin: 0;
  padding: 5px 7px;
  border-radius: 6px;
  background: #f5f6f7;
  font-size: 12px;
  line-height: 1.5;
}
.empathy-takeaway {
  margin-top: 18px;
  padding: 22px;
  border-radius: 14px;
  background: #1c2421;
  color: #fff;
}
.billing-empathy .empathy-takeaway h4 { font-size: 16px; font-weight: 600; line-height: 1.4; }
.billing-empathy .empathy-takeaway ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 16px 0 0; }
.billing-empathy .empathy-takeaway li { margin: 0; }
.empathy-takeaway strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 600; }
.empathy-takeaway span { display: block; margin-top: 5px; color: #c2cac6; font-size: 12px; line-height: 1.6; }
@media (max-width: 1100px) and (min-width: 851px) {
  .empathy-map { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .billing-empathy { padding: 22px 16px; margin-top: 24px; border-radius: 16px; }
  .empathy-profile { align-items: flex-start; flex-direction: column; gap: 14px; }
  .empathy-map { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .empathy-takeaway { padding: 20px; }
  .billing-empathy .empathy-takeaway ul { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 360px) {
  .empathy-map { grid-template-columns: 1fr; }
  .empathy-area h4 { flex-direction: row; align-items: center; }
}

/* Image-only comparison viewer; annotation controls stay on the page. */
.cmp-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
}
.cmp-zoom:not(:disabled) { cursor: zoom-in; }
.cmp-lightbox {
  width: min(1400px, calc(100vw - 48px));
  max-width: none;
  max-height: 94svh;
  padding: 16px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: auto;
  background: white;
  color: var(--ink);
  overflow: hidden;
}
.cmp-lightbox::backdrop { background: rgb(16 22 19 / .82); }
.cmp-lightbox-bar { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.cmp-lightbox-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  cursor: pointer;
}
.cmp-lightbox-close:hover { background: var(--surface); }
.cmp-lightbox-images { max-height: calc(94svh - 94px); overflow: auto; overscroll-behavior: contain; }
.cmp-lightbox-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.cmp-lightbox-pair figure { min-width: 0; margin: 0; }
.cmp-lightbox-pair figcaption { margin-bottom: 12px; }
.cmp-lightbox-pair figure:nth-child(2) figcaption { color: var(--cmp-accent); }

.cmp-lightbox .cmp-viewport { border: 1px solid var(--line); }
@media (max-width: 600px) {
  .cmp-lightbox { width: calc(100vw - 24px); padding: 12px; border-radius: 14px; }
  .cmp-lightbox-pair { width: calc(200% + 16px); gap: 16px; }
  .cmp-lightbox-images { max-height: calc(94svh - 82px); }
}

/* Keep model assumptions visible alongside the potential-impact figures. */
.numbers .impact-model-note {
  margin: 28px 0 0;
  max-width: 90ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Original production artifacts: page content is preserved, never reconstructed. */
.billing-documentation { margin-top: 32px; }
.documentation-group { background: var(--customer-scenario-bg); padding: clamp(18px, 3vw, 28px); border-radius: 24px; }
.documentation-group + .documentation-group { margin-top: 28px; }
.story .documentation-group h3 { margin: 0 0 20px; }
.documentation-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.documentation-logic-rules .documentation-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.documentation-messaging .documentation-pages { grid-template-columns: minmax(0, 1fr); }
.documentation-pages li { min-width: 0; margin: 0; }
.documentation-page { display: flex; position: relative; align-items: flex-start; justify-content: center; height: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: zoom-in; overflow: hidden; }
.documentation-page img { display: block; width: 100%; height: auto; }
.documentation-page:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.document-viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(20px, 3vw, 32px); border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #fff; overflow: hidden; }
.document-viewer::backdrop { background: var(--lightbox-backdrop); }
.document-viewer[open] { display: flex; flex-direction: column; gap: 18px; }
.document-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; }
.document-viewer .document-position { margin: 0; color: #fff; font-size: 15px; line-height: 1.4; }
.document-controls { display: flex; gap: 8px; }
.document-controls button { font: inherit; font-size: 13px; font-weight: 650; border: 1px solid var(--lightbox-control-border); border-radius: 999px; background: transparent; color: #fff; min-width: 42px; min-height: 40px; padding: 0 18px; cursor: pointer; white-space: nowrap; }
.document-controls button:hover:not(:disabled) { border-color: #fff; }
.document-controls button:disabled { opacity: .35; cursor: default; }
.document-controls button[hidden] { display: none; }
.document-controls button:focus-visible, .document-canvas:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.document-canvas { flex: 1; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; overscroll-behavior: contain; }
.document-canvas img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 16px; background: #fff; }
.document-canvas.is-zoomed { display: block; }
.document-canvas.is-zoomed img { max-width: none; max-height: none; width: auto; height: auto; margin: 0 auto; }
@media (max-width: 640px) {
  .documentation-pages, .documentation-logic-rules .documentation-pages { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .document-viewer { padding: 20px; }
  .document-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .document-controls { width: 100%; justify-content: space-between; }
  .document-controls button { padding: 8px 12px; }
}

/* Reviewed story: provenance is quiet; estimated business potential stays secondary. */
.story .presentation-note { font-size: 13px; line-height: 1.6; color: var(--muted); margin: -8px 0 32px; max-width: 75ch; }
.business-opportunity { margin: 32px 0 0; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; }
.business-opportunity summary { cursor: pointer; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.5; }
.business-opportunity[open] summary { margin-bottom: 16px; }
.story .business-opportunity > p { font-size: 15px; line-height: 1.7; }
.story .business-opportunity > p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .business-opportunity { padding: 20px; } }
/* Keep source decision screens readable as individual images on small screens. */
.decision-visual-pair { margin: 28px 0 0; padding: 22px; background: var(--placeholder); border-radius: 16px; }
.decision-visual-pair .comparison { align-items: start; }
.decision-visual-pair .story-figure { margin: 0; padding: 18px; border-radius: 12px; background: #fff; }
.decision-visual-pair .story-figure img { border-radius: 0; }
.story .decision-visual-caption { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
@media (max-width: 640px) { .decision-visual-pair { padding: 14px; } .decision-visual-pair .story-figure { padding: 16px; } }
/* Original Figma exports may be transparent; keep their white product canvas in the viewer. */
.lightbox-frame { background: #fff; }
/* Restore visible impact and the project's billing-scenario breadth. */
.outcome-number { display: block; margin: 18px 0 20px; color: var(--ink); font-size: clamp(46px, 6vw, 70px); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
.business-opportunity > h3 { margin: 0 0 16px; font-size: 18px; line-height: 1.5; }
.bill-scenarios { margin: 32px 0 0; }
.story .bill-scenarios > h3 { margin-top: 0; }
.bill-scenarios .story-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-bottom: 0; }
.bill-scenarios .story-list li { break-inside: avoid; }
@media (max-width: 640px) { .bill-scenarios .story-list { grid-template-columns: 1fr; } }
/* Product screens retain a white canvas through their transparent source pixels. */
.project-page .story .decision-visual-pair .story-figure > img { background: #fff; border-radius: 0; }
/* Use one grey surface for case-study presentation cards. */
.project-page {
  --placeholder: var(--surface);
  --customer-scenario-bg: var(--surface);
  --case-media-grey: var(--surface);
  --case-media-background: var(--surface);
}
/* Distinct outcome cards make every metric a complete, readable unit. */
.story > #results { container-type: inline-size; }
.impact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.impact-card { min-width: 0; padding: 28px 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.story .impact-card-value { margin: 0; color: var(--blue); font-size: 48px; font-weight: 500; line-height: 1.1; letter-spacing: -.055em; white-space: nowrap; }
.story .impact-card h3 { margin: 22px 0 0; font-size: 14px; line-height: 1.65; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.story .impact-card-context { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.story .impact-cards-note { margin: 18px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
@container (max-width: 680px) {
  .impact-cards { grid-template-columns: 1fr; gap: 16px; }
  .impact-card { padding: 28px; }
  .story .impact-card-value { font-size: 56px; }
  .story .impact-card h3 { margin-top: 20px; font-size: 15px; }
  .story .impact-card-context { font-size: 15px; }
}
@media (max-width: 640px) { .case-page #numbers strong { font-size: 40px; } }
/* Documentation is supporting evidence within its decision, with less nested inset. */
.decision.has-documentation { padding-inline: 28px; }
.decision .billing-documentation { margin-top: 28px; }
.decision .documentation-group { padding: 20px; border-radius: 16px; }
.decision .documentation-group + .documentation-group { margin-top: 22px; }
.decision .documentation-pages { gap: 16px; }
@media (max-width: 640px) {
  .decision.has-documentation { padding-inline: 18px; }
  .decision .documentation-group { padding: 12px; }
  .decision .documentation-pages { gap: 14px; }
}

/* Template Studio extends the existing editorial case-study layout. */
.norlys-page .contents-rail nav { max-height:calc(100vh - 80px); overflow:auto; }
.norlys-page .contents-rail li a { min-height:32px; padding-block:6px; }
.norlys-page .numbers-grid > div:first-child strong { word-spacing:.12em; }
.norlys-page .norlys-prompts { max-width:440px; margin:32px auto; }
.norlys-page .norlys-process { display:grid; gap:24px; margin:32px 0; }
.norlys-page .norlys-process .story-figure { margin:0; }
.norlys-page .story-figure > a { display:inline-block; margin:0 18px 18px; font-size:13px; }
.story .norlys-source { color:var(--muted); font-size:12px; line-height:1.7; }
.norlys-page .billing-empathy { --customer-scenario-bg:var(--surface); }
.norlys-page .persona-photo-crop { position:relative; overflow:hidden; }
.norlys-page .persona-photo-crop > img { position:absolute; width:192px; height:128px; max-width:none; left:-60px; top:-24px; object-fit:cover; }
.norlys-mobile { display:grid; grid-template-columns:repeat(2,minmax(0,320px)); justify-content:center; gap:24px; margin:32px 0; }
.norlys-mobile .story-figure { margin:0; }
@media(max-width:600px) { .norlys-mobile { gap:14px; } }
.studio-delivered { display:flex; flex-wrap:wrap; gap:12px 28px; margin:24px 0 0; color:var(--muted); font-size:13px; }
.studio-delivered span::before { content:'✓'; margin-right:8px; color:var(--ink); }
.template-studio-page .contents-rail nav { max-height:calc(100vh - 80px); overflow:auto; }
.template-studio-page .contents-rail li a { min-height:32px; padding-block:6px; }
.story .studio-section-kicker { margin:0 0 12px; color:var(--muted); }
.studio-detail-pair { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:32px 0; align-items:start; }
.studio-detail-pair .story-figure { margin:0; padding:24px; background:var(--surface); border-radius:20px; }
.project-page .story .studio-detail-pair .story-figure > img { display:block; width:100%; height:auto; border-radius:14px; background:transparent; }
.studio-pending-pair,.studio-output-pair { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:32px 0; }
.studio-pending { padding:28px; margin:32px 0; border:1px dashed var(--line); border-radius:16px; background:var(--paper); }
.studio-pending-pair .studio-pending { margin:0; }
.studio-pending-label,.studio-output-format { font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.story .studio-pending h3,.story .studio-output-pair h3 { margin:12px 0; font-size:20px; }
.story .studio-pending p,.story .studio-output-pair p { margin:0; font-size:14px; }
.studio-output-pair > div { padding:28px; background:var(--surface); border-radius:16px; }
.studio-workflow { margin:48px 0 0; }
.studio-flow-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.story .studio-flow-head h3 { margin:0; font-size:24px; }
.studio-flow-switch { min-width:320px; margin:0; }
.studio-flow-switch[hidden] { display:none; }
.studio-workflow[data-enhanced] .flow-view-indicator { display:block; }
.studio-workflow[data-route="previous"] .flow-view-indicator { transform:translateX(100%); }
.studio-flow-switch button { appearance:none; border:0; border-radius:5px; padding:7px 10px; background:transparent; color:var(--muted); font:inherit; font-size:13px; font-weight:550; cursor:pointer; transition:color 200ms,background 200ms; }
.studio-flow-switch button:hover { color:var(--ink); background:color-mix(in srgb,var(--ink) 4%,transparent); }
.studio-flow-switch button[aria-selected=true] { color:var(--ink); }
.studio-flow-stages { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:24px; padding:0; list-style:none; margin:0; }
.studio-flow-stages li { min-width:0; position:relative; }
.studio-workflow { --flow-accent:var(--blue); --flow-wash:color-mix(in srgb,var(--blue) 5%,white); }
.studio-workflow [hidden] { display:none !important; }
.studio-connector { position:absolute; width:24px; height:32px; right:100%; top:calc(50% - 16px); overflow:visible; }
.studio-connector .flow-route { display:none; }
.studio-flow-stages li.is-reached .flow-route { display:initial; }
.studio-workflow.is-introducing .flow-pulse,
.studio-workflow.route-drawing li.is-reached .flow-pulse { animation:bill-route-travel 900ms cubic-bezier(.22,.6,.36,1) both; animation-delay:var(--travel-delay,0ms); }
.studio-flow-stages button:hover { border-color:#aeb7b0; transform:translateY(-2px); }
.studio-workflow button:focus-visible { outline:2px solid var(--flow-accent); outline-offset:4px; }
.studio-workflow[data-enhanced] .studio-flow-detail:not([hidden]) { animation:bill-detail-in 220ms ease both; }
.studio-workflow.is-introducing .studio-flow-stages li { animation:bill-detail-in 550ms cubic-bezier(.22,1,.36,1) both; animation-delay:var(--travel-delay,0ms); }

.studio-flow-stages button { display:flex; flex-direction:column; width:100%; height:100%; min-height:208px; text-align:left; padding:16px 12px; border:1px solid var(--line); border-radius:12px; background:var(--paper); color:var(--ink); font:inherit; cursor:pointer; }
.studio-flow-stages button[aria-pressed=true] { background:var(--flow-wash); border-color:var(--flow-accent); }
.studio-flow-stages button[aria-pressed=true] .studio-stage-number { color:var(--flow-accent); }
.studio-stage-number { color:var(--muted); font-size:11px; margin-bottom:16px; }
.studio-flow-stages strong { font-size:13px; font-weight:600; line-height:1.5; }
.studio-stage-note { font-size:12px; line-height:1.6; margin:12px 0 16px; color:var(--muted); }
.studio-stage-owner { margin-top:auto; font-size:11px; line-height:1.5; color:var(--muted); }
.story .studio-route h4 { font-size:15px; margin:24px 0 16px; }
.studio-workflow[data-enhanced] .studio-route h4 { display:none; }
.studio-flow-detail { padding:24px; margin-top:18px; border:1px solid var(--line); border-radius:12px; background:var(--paper); font-size:14px; line-height:1.7; color:var(--muted); }
.studio-workflow figcaption { color:var(--muted); font-size:12px; margin-top:16px; }
@media(max-width:640px) {
 .studio-detail-pair,.studio-pending-pair,.studio-output-pair { grid-template-columns:1fr; }
 .studio-flow-stages { grid-template-columns:1fr; gap:12px; }
 .studio-connector { width:24px; height:24px; top:-24px; right:auto; left:20px; transform:rotate(90deg); }
 .studio-flow-stages { gap:24px; }
 .studio-flow-switch { min-width:0; width:100%; }
 .studio-flow-stages button { min-height:0; padding:18px 20px; }
 .studio-stage-number { margin-bottom:8px; }
 .studio-flow-stages strong { font-size:16px; }
 .studio-stage-note { font-size:13px; margin:8px 0; }
 .studio-stage-owner { font-size:12px; }
 .studio-flow-detail { min-height:0; }
 .studio-pending,.studio-output-pair > div { padding:24px; }
}

@media (prefers-reduced-motion: reduce) { .studio-workflow *, .studio-workflow *::before { animation:none !important; transition:none !important; } .studio-flow-stages button:hover { transform:none; } }

/* Fresh exports omit imported artboard outlines. Match image and caption
   container corners so rounded masks never reveal a second perimeter. */
.project-page .template-studio-page .story-figure.media-detail > img {
  border:0; border-radius:16px 16px 0 0;
  clip-path:inset(0 round 16px 16px 0 0);
}
.project-page .template-studio-page .studio-detail-pair .story-figure > img {
  border-radius:14px; clip-path:inset(0 round 14px);
}

/* Supplied Amdocs emblem, shared by the two Amdocs case studies. */
.thumb-amdocs { background:var(--paper); }
.thumb-amdocs::before,.thumb-amdocs::after { content:none; }
.thumb-amdocs > img { display:block; width:76%; height:64%; object-fit:contain; }

/* Two complementary outputs, delivered together. */
.studio-output-pair { grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr); gap:12px; align-items:stretch; }
.studio-output-plus { align-self:center; justify-self:center; color:var(--muted); font-size:28px; font-weight:400; }
.studio-output-icon { display:block; margin-bottom:20px; color:var(--ink); }
.studio-output-format { display:block; }
.media-focus-print-colour { position:relative; aspect-ratio:5/4; overflow:hidden; border-radius:16px 16px 0 0; background:var(--paper); }
.project-page .story .media-focus-print-colour > img { display:block; position:absolute; width:200%; max-width:none; height:auto; right:0; top:50%; transform:translateY(-53%); border:0; border-radius:0; }
@media(max-width:640px) {
 .studio-output-pair { grid-template-columns:1fr; gap:12px; }
 .studio-output-plus { line-height:1; }
}

.story .studio-evidence-context { margin:0 0 24px; font-size:13px; color:var(--muted); }

/* Template Studio uses the established comparison pins and note cards. */
.studio-proof { --cmp-accent:var(--blue); --cmp-wash:color-mix(in srgb,var(--blue) 5%,white); padding:24px; }
.studio-proof-head { margin-bottom:24px; }
.studio-proof .cmp-notes { grid-template-columns:repeat(2,minmax(0,1fr)); }
.studio-proof .cmp-note-number { border-color:var(--line); }
.studio-proof-range { position:absolute; pointer-events:none; border:1px dashed var(--cmp-accent); border-radius:4px; background:color-mix(in srgb,var(--cmp-accent) 5%,transparent); }
.studio-proof .cmp-lightbox-close { width:auto; padding-inline:18px; font:inherit; }
.studio-proof .cmp-lightbox .cmp-viewport { background:white; }
@media(max-width:640px) {
 .studio-proof { padding:16px; }
 .studio-proof .cmp-screens { grid-template-columns:1fr; gap:20px; }
 .studio-proof .cmp-notes { grid-template-columns:1fr; }
 .studio-proof .cmp-pin { width:28px; height:28px; }
}

/* One comparison section, with two related evidence groups. */
.studio-proof-group { --cmp-accent:var(--blue); --cmp-wash:color-mix(in srgb,var(--blue) 5%,white); padding:24px; }
.studio-proof-group > .studio-proof { padding:0; margin:0; border:0; border-radius:0; background:transparent; }
.studio-proof + .studio-proof { margin-top:32px; padding-top:32px; border-top:1px solid var(--line); }
.studio-proof-colour-layer { position:absolute; display:block; width:var(--crop-width); max-width:none; height:auto; left:var(--crop-left); top:var(--crop-top); pointer-events:none; }
@media(max-width:640px) { .studio-proof-group { padding:16px; } }

/* Match the T-Mobile comparison label, while retaining heading semantics. */
.case-comparison :is(.studio-proof-head,.studio-proof-subhead) .cmp-eyebrow {
 margin:0; font-size:11px; font-weight:650; line-height:1.6; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);
}
.studio-proof-subhead { margin-bottom:24px; }
@media(max-width:600px) { .case-comparison :is(.studio-proof-head,.studio-proof-subhead) .cmp-eyebrow { font-size:10px; } }

/* Restored editorial comparison headings after review. */
.case-comparison .studio-proof-head .cmp-eyebrow { margin:10px 0 0; font-size:22px; font-weight:600; line-height:1.4; letter-spacing:-.02em; text-transform:none; color:var(--ink); }
.case-comparison .studio-proof-subhead .cmp-eyebrow { margin:0; font-size:20px; font-weight:600; line-height:1.4; letter-spacing:-.02em; text-transform:none; color:var(--ink); }

.template-studio-page #results .impact-cards { margin-bottom:30px; }

/* Norlys guidance uses the same selectable cards as the T-Mobile journey. */
.norlys-page { --norlys-red:#ed0812; --norlys-wash:color-mix(in srgb,var(--norlys-red) 5%,white); }
.norlys-page .billing-empathy { --empathy-accent:var(--norlys-red); }
.norlys-page .empathy-area h4 > svg { background:var(--norlys-wash); }
.norlys-journey.billing-flow { --flow-accent:var(--norlys-red); --flow-wash:var(--norlys-wash); padding:0; margin:36px 0 0; }
.story .norlys-walk-hint { margin:12px 0 20px; color:var(--muted); font-size:13px; }
.norlys-walk-tabs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin:24px 0; }
.norlys-walk-tabs .flow-branch { text-decoration:none; }
.norlys-walk-frame { aspect-ratio:16/9; background:var(--surface); border-radius:16px; overflow:hidden; }
.norlys-walk-frame .story-figure { margin:0; height:100%; }
.project-page .story .norlys-walk-frame .story-figure > img { display:block; width:100%; height:100%; object-fit:contain; border-radius:0; }
.norlys-walk-panel + .norlys-walk-panel { margin-top:32px; }
.norlys-journey.is-enhanced .norlys-walk-screens { position:relative; aspect-ratio:16/9; }
.norlys-journey.is-enhanced .norlys-walk-panel { position:absolute; inset:0; margin:0; }
.norlys-journey.is-enhanced .norlys-walk-step-caption { display:none; }
.story .norlys-walk-caption { box-sizing:border-box; margin:0; padding:14px 18px; background:var(--surface); border-radius:0 0 16px 16px; color:var(--muted); font-size:14px; line-height:1.6; }
.norlys-journey.is-enhanced .norlys-walk-frame { border-radius:16px 16px 0 0; }
@media(max-width:1100px) {
  .norlys-walk-tabs .flow-branch-note { display:none; }
  .norlys-walk-tabs .flow-branch { padding:14px 10px; }
}
@media(max-width:640px) {
  .norlys-walk-tabs { gap:6px; }
  .norlys-walk-tabs .flow-branch { padding:12px 4px; text-align:center; }
  .norlys-walk-tabs .flow-branch-top { justify-content:center; margin-bottom:7px; }
  .norlys-walk-tabs .flow-branch-top > svg { display:none; }
  .norlys-walk-tabs .flow-branch strong { font-size:11px; letter-spacing:-.02em; }
  .story .norlys-walk-caption { padding:14px 16px; font-size:13px; }
}
@media(prefers-reduced-motion:reduce) { .norlys-walk-tabs .flow-branch { transition:none; } .norlys-walk-tabs .flow-branch:hover { transform:none; } }

/* Silent looping demo: restrained transport and in-page enlargement. */
.norlys-video { margin:32px 0; }
/* Crop the annotation strip plus a 4px edge allowance for scaling, without re-encoding. */
.norlys-video-stage { position:relative; aspect-ratio:1920/718; border-radius:16px; overflow:hidden; background:var(--surface); }
.norlys-video-stage video { display:block; width:100%; height:auto; }
.norlys-video-open { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; background:transparent; cursor:zoom-in; border-radius:inherit; }
.norlys-video-toggle { position:absolute; right:14px; bottom:14px; z-index:2; display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:1px solid var(--line); border-radius:50%; background:var(--paper); color:var(--ink); box-shadow:var(--case-return-shadow); cursor:pointer; opacity:0; transition:opacity 160ms ease; }
.norlys-video-stage:hover .norlys-video-toggle,.norlys-video-stage:focus-within .norlys-video-toggle,.norlys-video-stage.is-paused .norlys-video-toggle { opacity:1; }
.norlys-video-toggle:hover { background:var(--surface); }
.norlys-video-dialog { width:min(1600px,94vw,calc((92svh - 64px) * 2.67409)); max-width:none; max-height:92svh; padding:0; border:0; background:transparent; overflow:visible; }
.norlys-video-dialog::backdrop { background:var(--lightbox-backdrop); }
.norlys-video-close { display:block; margin:0 0 12px auto; min-height:44px; padding:8px 18px; border:1px solid var(--lightbox-control-border); border-radius:999px; background:var(--ink); color:var(--white); font:inherit; font-size:14px; cursor:pointer; }
.norlys-video-dialog .norlys-video-open { display:none; }
@media(hover:none) { .norlys-video-toggle { opacity:1; } }
@media(prefers-reduced-motion:reduce) { .norlys-video-toggle { transition:none; } }

/* Lift the approved photograph consistently across cards, hero and lightbox. */
img[src*="/norlys/hero-perspective-v2-"] { filter:brightness(1.08) contrast(1.025) saturate(1.015); }

/* Norlys: early interaction behaviour study, using the shared case-study palette. */
.nb-behaviour-study { --nb-block:#f0f1ef; --nb-quiet:#bfc5c1; margin-top:40px; }
.nb-behaviour-study .nb-eyebrow { color:var(--muted); margin:0 0 12px; }
.story .nb-study-intro h3 { margin:0 0 16px; font-size:24px; font-weight:550; line-height:1.3; }
.story .nb-study-intro > p:last-child { color:var(--muted); margin:0 0 24px; }
.nb-starting-question { display:flex; align-items:flex-start; gap:16px; padding:24px; margin:24px 0; background:var(--surface); border-left:3px solid var(--norlys-red); border-radius:0 16px 16px 0; }
.nb-starting-question > span { flex-shrink:0; display:grid; place-items:center; width:28px; height:28px; border:1px solid var(--muted); border-radius:50%; font-size:16px; }
.nb-starting-question strong { font-size:16px; font-weight:600; line-height:1.6; }
.story .nb-starting-question p { font-size:14px; color:var(--muted); margin:8px 0 0; }
.nb-behaviour-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.nb-behaviour-option { min-width:0; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:16px; background:var(--white); overflow:hidden; padding:20px 12px 0; }
.nb-behaviour-option.nb-chosen { border-color:var(--norlys-red); }
.nb-behaviour-option > header { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:16px; }
.nb-option-number { color:var(--muted); font-size:11px; }
.story .nb-option-tag { font-size:9px; line-height:1.5; margin:0; padding:4px 6px; border-radius:4px; background:var(--surface); color:var(--muted); }
.nb-chosen .nb-option-tag { background:var(--norlys-wash); color:var(--norlys-red); }
.story .nb-behaviour-option h4 { font-size:18px; font-weight:600; line-height:1.3; letter-spacing:-.025em; margin:0; min-height:47px; }
.nb-behaviour-option svg { display:block; width:100%; height:auto; margin:16px 0 12px; color:var(--norlys-red); }
.nb-browser { fill:var(--white); stroke:var(--nb-quiet); stroke-width:1; }
.nb-rule { fill:none; stroke:var(--line); }
.nb-dot { fill:var(--nb-quiet); }
.nb-tiny { font:500 9px Manrope,Arial,sans-serif; fill:var(--muted); letter-spacing:.06em; }
.nb-micro { font:450 9px Manrope,Arial,sans-serif; fill:var(--ink); }
.nb-block { fill:var(--nb-block); }
.nb-question { fill:#e3e9e6; }
.nb-skeleton { stroke:var(--nb-quiet); stroke-width:3; stroke-linecap:round; }
.nb-ghost { fill:none; stroke:var(--nb-quiet); stroke-dasharray:3 3; opacity:.5; }
.nb-ghost-line { stroke:var(--nb-quiet); stroke-width:3; opacity:.3; }
.nb-movement { fill:none; stroke:var(--norlys-red); stroke-width:1.5; stroke-dasharray:3 3; }
.nb-notice { fill:var(--norlys-wash); stroke:var(--norlys-red); stroke-width:1; }
.nb-notice-text { fill:var(--norlys-red); }
.nb-choice { fill:var(--ink); }
.nb-choice-text { font:500 8px Manrope,Arial,sans-serif; fill:var(--white); }
.nb-pointer { fill:var(--ink); stroke:var(--white); stroke-width:1.3; }
.nb-system-arrow { fill:none; stroke:var(--norlys-red); stroke-width:1.5; stroke-dasharray:4 4; }
.nb-wait { fill:var(--white); stroke:var(--norlys-red); stroke-width:1.3; }
.nb-wait-mark { stroke:var(--norlys-red); stroke-width:1.5; }
.nb-state-label { font:550 11px Manrope,Arial,sans-serif; fill:var(--ink); }
.nb-customer-line { stroke:var(--norlys-red); stroke-width:1.3; }
.story .nb-option-finding { display:flex; align-items:center; gap:8px; flex:1; margin:0 -12px; padding:16px 12px; background:var(--surface); font-size:13px; line-height:1.6; }
.nb-chosen .nb-option-finding { background:var(--norlys-wash); }
.nb-option-finding > span { color:var(--norlys-red); font-size:18px; }
.nb-study-principle { display:flex; justify-content:space-between; align-items:center; gap:24px; margin:32px 0 24px; }
.story .nb-study-principle h4 { margin:0; font-size:22px; font-weight:550; line-height:1.3; letter-spacing:-.02em; }
.story .nb-study-principle > p { color:var(--muted); font-size:13px; margin:0; }
.nb-final-route { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; border-radius:16px; background:var(--surface); margin-top:32px; padding:24px 16px; font-size:12px; }
.nb-final-route i { color:var(--muted); font-style:normal; }
.nb-final-route strong { color:var(--norlys-red); font-weight:600; background:var(--white); border:1px solid var(--norlys-red); border-radius:6px; padding:8px; }
.nb-behaviour-study > footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 24px; margin-top:20px; }
.story .nb-behaviour-study > footer p { font-size:11px; color:var(--muted); line-height:1.7; margin:0; }
.nb-diagram-key { display:flex; flex-wrap:wrap; gap:16px; }
.nb-diagram-key > span { display:flex; align-items:center; gap:8px; }
.nb-diagram-key i { width:22px; border-top:1.5px dashed var(--norlys-red); }
.nb-diagram-key > span:last-child { color:var(--norlys-red); }
@media(max-width:600px) {
 .nb-behaviour-options { grid-template-columns:1fr; gap:24px; }
 .nb-behaviour-option { padding:24px 20px 0; }
 .story .nb-option-tag { font-size:11px; }
 .story .nb-behaviour-option h4 { min-height:0; font-size:22px; }
 .nb-behaviour-option svg { max-width:400px; align-self:center; }
 .story .nb-option-finding { margin:0 -20px; padding:20px; font-size:14px; }
 .nb-study-principle { flex-direction:column; align-items:flex-start; gap:16px; }
 .nb-starting-question { padding:20px; }
 .nb-starting-question > span { display:none; }
 .nb-study-principle br { display:none; }
 .nb-final-route { justify-content:flex-start; }
}

/* One metadata hierarchy for case-study section labels, at every breakpoint.
   Diagram annotations, control labels and image captions have separate roles. */
.case-page .story :is(
  .studio-section-kicker,
  .nb-eyebrow,
  .decision-index,
  .empathy-eyebrow,
  .documentation-group h3,
  .cmp-header > .cmp-eyebrow
) {
  font-size:var(--case-label-size);
  font-weight:600;
  line-height:1.65;
  letter-spacing:.1em;
  text-transform:uppercase;
}
