@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "PingFang";
  src: url("../fonts/PingFang-ExtraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "PingFang";
  src: url("../fonts/PingFang-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "PingFang";
  src: url("../fonts/PingFang-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "PingFang";
  src: url("../fonts/PingFang-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "PingFang";
  src: url("../fonts/PingFang-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "PingFang";
  src: url("../fonts/PingFang-Heavy.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --portfolio-frame-width: 984px;
  --font-family: "PingFang", Arial, sans-serif;
  --background---page: #f5f5f5;
  --background---neutral---primary: rgba(254, 254, 254, 1);
  --background---neutral---secondary: rgba(250, 250, 250, 1);
  --background---neutral---subtle: rgba(237, 237, 237, 1);
  --background---neutral---inverse: rgba(12, 11, 10, 1);
  --background---brand---primary: rgba(16, 70, 63, 1);
  --background---brand---secondary: rgba(7, 88, 79, 1);
  --background---brand---tertiary: rgba(207, 232, 223, 1);
  --background---brand---subtle: rgba(242, 249, 246, 1);
  --text---brand---primary: rgba(16, 70, 63, 1);
  --text---brand---secondary: rgba(40, 146, 127, 1);
  --text---brand---tertiary: rgba(111, 186, 165, 1);
  --text---brand---inverse: rgba(242, 249, 246, 1);
  --text---neutral---primary: rgba(36, 34, 31, 1);
  --text---neutral---secondary: rgba(119, 119, 119, 1);
  --text---neutral---tertiary: #adadad;
  --text---neutral---inverse: rgba(254, 254, 254, 1);
  --border---neutral---default: rgba(216, 216, 216, 1);
  --border---neutral---subtle: rgba(237, 237, 237, 1);
  --border---brand---default: rgba(111, 186, 165, 1);
  --border---brand---subtle: rgba(167, 213, 198, 1);
  --display---x-l: 48px;
  --display---l: 36px;
  --display---m: 32px;
  --heading---x-l: 28px;
  --heading---l: 24px;
  --heading---m: 20px;
  --heading---s: 18px;
  --heading---x-s: 16px;
  --body---regular---l: 20px;
  --body---regular---m: 16px;
  --body---regular---s: 14px;
  --body---regular---x-s: 12px;
  --body---regular---x-x-s: 10px;
  --body---bold---l: 20px;
  --body---bold---m: 16px;
  --body---bold---s: 14px;
  --body---bold---x-s: 12px;
  --body---bold---x-x-s: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}
html,
body {
  min-height: 100%;
  background: var(--background---page);
}
body {
  margin: 0;
  color: var(--text---neutral---primary);
  font-family: var(--font-family);
  font-size: var(--body---regular---m);
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}

.portfolio-frame {
  background: var(--background---neutral---primary);
  width: min(100%, var(--portfolio-frame-width));
  min-height: 100vh;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  margin: 0 auto;
  border-inline: 1px solid var(--border---neutral---subtle);
}
.container {
  width: min(100%, var(--portfolio-frame-width));
  margin-inline: auto;
  padding-inline: 24px;
}
.portfolio-sidebar {
  position: fixed;
  z-index: 2;
  top: 0;
  left: max(1px, calc((100% - var(--portfolio-frame-width)) / 2 + 1px));
  width: 176px;
  height: 100vh;
  min-height: 100vh;
  padding: 30px 12px;
  border-right: 2px solid var(--border---neutral---subtle);
}
.portfolio-sidebar {
  background: var(--background---neutral---primary);
}
.portfolio-name {
  display: block;
  color: var(--text---neutral---primary);
  font-size: var(--body---bold---l);
  font-weight: 700;
}
.portfolio-nav {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.portfolio-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 14px;
}
.nav-muted {
  color: var(--text---neutral---tertiary);
}
.nav-active {
  color: var(--text---neutral---primary);
}
.nav-active::after {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: url("../images/chevron-right.svg") center / contain no-repeat;
}
.menu-button {
  display: none;
}
.scroll-indicator {
  position: fixed;
  z-index: 3;
  top: 66px;
  left: max(177px, calc((100% - var(--portfolio-frame-width)) / 2 + 177px));
  width: 24px;
  max-height: calc(100dvh - 86px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 6px;
  align-items: center;
  scrollbar-width: none;
}
.scroll-indicator-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.scroll-indicator-marker {
  display: grid;
  place-items: center;
  width: 20px;
  min-height: 6px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.scroll-indicator-marker::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: var(--background---neutral---subtle);
  transition:
    height 180ms ease,
    background-color 180ms ease;
}
.scroll-indicator-marker.is-active::before {
  height: 12px;
  background: var(--text---neutral---primary);
}
.scroll-indicator-marker:focus-visible {
  outline: 1px solid var(--text---neutral---primary);
  outline-offset: 2px;
}
.portfolio-content {
  --section-gap: 24px;
  --section-divider-height: 6px;
  --section-divider-left: -24px;
  --section-divider-right: -18px;
  grid-column: 2;
  min-width: 0;
  padding: 0 18px 0 24px;
  background: var(--background---neutral---primary);
}
.content-placeholder {
  min-height: calc(100vh - 86px);
  border: 1px solid var(--border---neutral---subtle);
  background: var(--background---neutral---secondary);
}

.portfolio-section {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  min-height: 0;
  padding: var(--section-gap) 0;
}
.portfolio-section:first-child {
  min-height: 100vh;
  padding-top: 66px;
}
.portfolio-section + .portfolio-section {
  padding-top: calc(var(--section-gap) + var(--section-divider-height));
}
.portfolio-section + .portfolio-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--section-divider-left);
  right: var(--section-divider-right);
  height: var(--section-divider-height);
  background: var(--background---neutral---secondary);
  pointer-events: none;
}
.animation-grid {
  display: grid;
  gap: 16px;
}
.portfolio-section-title {
  margin: 0 0 16px;
  color: var(--text---neutral---secondary);
  font-size: var(--heading---x-s);
  font-weight: 400;
  line-height: 1.5;
}
.animation-grid > [data-scroll-item],
.illustration-gallery > [data-scroll-item] {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 66px;
}
.animation-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.animation-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--border---neutral---subtle);
  overflow: hidden;
}
.animation-media {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 12px;
  overflow: hidden;
  background: var(--background---neutral---secondary);
}
.animation-media--portrait {
  aspect-ratio: 214 / 292;
}
.animation-media--strip {
  aspect-ratio: 444 / 122;
}
.animation-media--showcase {
  aspect-ratio: 444 / 306;
  background: #080808;
  color: #adadad;
}
.animation-placeholder {
  padding: 12px;
  color: var(--text---neutral---secondary);
  font-size: var(--body---regular---x-s);
  line-height: 1.5;
  text-align: center;
}
.animation-media--showcase .animation-placeholder {
  color: inherit;
}
.animation-media > canvas,
.animation-panel > canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.animation-media--multiple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
}
.animation-media--showcase.animation-media--multiple {
  aspect-ratio: 1;
}
.animation-media--themed {
  padding: 0;
}
.animation-panel {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 12px;
  overflow: hidden;
}
.animation-panel--light {
  background: #f8f9fa;
  color: #222;
}
.animation-panel--dark {
  background: #0b0b0b;
  color: #fff;
}
.animation-media > img,
.animation-media > video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.animation-card figcaption {
  flex: 1;
  padding: 12px;
  background: var(--background---neutral---subtle);
  font-size: var(--body---regular---s);
  line-height: 1.5;
}
#responsive,
#animation,
#icon-illustration {
  scroll-snap-align: none;
}
.responsive-stage {
  width: 100%;
  padding-right: 12px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 66px;
}
.responsive-stage + .responsive-stage {
  margin-top: 24px;
}
.responsive-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  aspect-ratio: 576 / 382;
  padding: 10px;
  border: 1px solid #ededed;
  background: linear-gradient(90deg, #efefef, #fff 1%, #fff 99.1769%, #efefef);
}
.responsive-canvas {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  container-type: inline-size;
  border: 1px solid #ededed;
  background: #fff;
}
.responsive-resize-handle {
  position: absolute;
  top: 50%;
  right: -22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 96px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.aldipro-preview,
.responsive-preview {
  display: block;
  width: 133.333333%;
  height: 133.333333%;
  border: 0;
  transform: scale(0.75);
  transform-origin: top left;
}
.responsive-frame.is-resizing iframe {
  pointer-events: none;
}
.responsive-resize-handle img {
  pointer-events: none;
}
.responsive-resize-handle:focus {
  outline: none;
}
.responsive-frame:not(.is-resizing)
  .responsive-resize-handle:focus-visible
  img {
  filter: drop-shadow(0 0 2px #777);
}
.responsive-frame.is-resizing {
  user-select: none;
}
.responsive-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.content-placeholder h1,
.content-placeholder h2 {
  margin: 0;
  padding: 24px;
  font-size: var(--heading---l);
  font-weight: 500;
}
.about-copy {
  max-width: 600px;
  font-size: var(--body---regular---m);
  line-height: 1.4;
  font-weight: 400;
}
.about-copy h1,
.about-copy p {
  margin: 0 0 12px;
  font: inherit;
  font-size: var(--body---regular---m);
}
.about-copy > :last-child {
  margin-bottom: 0;
}
/* Native scroll wheel, modeled on assets/images/scroll.svg. */
#about {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.intro-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 8px;
  margin-top: 0;
  color: var(--text---neutral---tertiary);
  font-size: var(--body---regular---s);
  line-height: 1.4;
  text-align: center;
}
.intro-scroll-cue:focus-visible {
  outline: 1px solid var(--text---neutral---secondary);
  outline-offset: 6px;
  border-radius: 4px;
}
.intro-scroll-cue:hover {
  color: var(--text---neutral---secondary);
}
.intro-scroll-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 77px;
}
.intro-scroll-icon::before {
  content: "";
  position: absolute;
  inset: 3px 7px 3px 7.5px;
  border: 0.5px solid #ededed;
  border-radius: 22px;
  background: radial-gradient(
    ellipse at 30% 50%,
    #fff 32%,
    #f3f3f3 60%,
    #ebebeb
  );
  box-shadow: inset 1px 0 1px #fff;
}
.intro-scroll-wheel {
  position: absolute;
  top: 10px;
  left: 14px;
  width: 30px;
  height: 57.5px;
  overflow: hidden;
  border: 0.5px solid #ededed;
  border-radius: 15px;
  background: linear-gradient(90deg, #ebebeb, #f3f3f3 40%, #fff 70%);
  box-shadow:
    -1px 0 1px #d3d3d3,
    inset 2px 0 2px #fff;
}
.intro-scroll-wheel::before {
  content: "";
  position: absolute;
  inset: 2px 2px;
  border-radius: 50%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 5.5px,
    #cecece 6px,
    #e8e8e8 7px,
    #b1b1b1 7.5px,
    transparent 8px
  );
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  /* Matching end/start speeds keep the eased loop from stopping each cycle. */
  animation: intro-wheel-roll 0.8s cubic-bezier(0.42, 0.2, 0.58, 0.8) infinite;
}
@keyframes intro-wheel-roll {
  to {
    background-position: 0 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-scroll-wheel::before {
    animation: none;
  }
  html:has(.intro-scroll-cue) {
    scroll-behavior: auto;
  }
}
/* Snap to individual studies, not their oversized parent section. */
#study-case {
  scroll-snap-align: none;
}
.case-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 86px);
  max-height: 60vh;
  scroll-snap-align: start;
  scroll-margin-top: 66px;
  scroll-snap-stop: always;
  overflow: hidden;
  border: 1px solid var(--border---neutral---subtle);
  background: var(--background---neutral---secondary);
}
.case-thumbnail + .case-thumbnail {
  margin-top: 24px;
}
.case-thumbnail-phone {
  display: block;
  flex-shrink: 0;
  width: 46%;
  height: auto;
  margin-inline: auto;
}
.case-thumbnail:focus-visible {
  outline: 2px solid var(--text---neutral---primary);
  outline-offset: 3px;
}
.case-page-content {
  overflow-x: clip;
}
html:has([data-next-case-scroll], [data-previous-case-scroll]) {
  scroll-snap-type: none;
  scrollbar-gutter: stable;
}
html.is-case-transition {
  overflow: hidden;
  overscroll-behavior: none;
}
.next-case-scroll {
  --next-case-progress: 0;
  position: relative;
}
.next-case-scroll::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 0;
  left: -24px;
  border-bottom: 1px solid var(--border---neutral---default);
}
.previous-case-scroll.is-scroll-enabled {
  height: 120px;
}
.previous-case-scroll {
  --next-case-progress: 0;
}
.previous-case-scroll {
  display: flex;
  align-items: flex-end;
}
.next-case-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 195px;
  color: var(--text---neutral---tertiary);
  font-size: clamp(var(--heading---s), 2.6vw, var(--heading---x-l));
  font-weight: 400;
  text-align: center;
  text-decoration: none;
}
.next-case-bar {
  position: relative;
  width: 16px;
  height: 64px;
  background: var(--text---neutral---tertiary);
  overflow: hidden;
}
.next-case-fill {
  position: absolute;
  inset: 0;
  background: var(--text---neutral---primary);
  transform: scaleY(var(--next-case-progress));
  transform-origin: bottom;
}
.previous-case-scroll .next-case-fill {
  transform: scaleY(calc(1 - var(--next-case-progress)));
  transform-origin: top;
}
.portfolio-frame-case-study .previous-case-scroll .next-case-prompt {
  padding: 16px 0 32px;
}
.next-case-prompt:focus-visible {
  outline: 2px solid var(--text---neutral---primary);
  outline-offset: -4px;
}
.portfolio-frame-case-study .next-case-scroll {
  width: 100%;
  max-width: 600px;
}
.portfolio-frame-case-study .next-case-prompt {
  height: auto;
  padding: 6px 0 64px;
  gap: 8px;
  font-size: var(--body---regular---m);
  line-height: 1.4;
}
.portfolio-frame-case-study .next-case-bar {
  width: 6px;
  height: 24px;
}
.case-template.case-detail {
  padding-bottom: 24px;
}
.case-template .pack-comparison {
  margin-bottom: 0;
}
.case-detail {
  padding: 66px 0 40px;
  animation: case-slide-in 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
/* Returning to a section via the upward scroll prompt should stay still. */
.case-detail:has(:target) {
  animation: none;
}
@keyframes case-slide-in {
  from {
    transform: translateY(48px);
  }
  to {
    transform: translateY(0);
  }
}
.case-breadcrumb {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--heading---l);
  line-height: 1.4;
}
.case-breadcrumb a {
  flex-shrink: 0;
  color: var(--text---neutral---tertiary);
}
.case-breadcrumb a:hover,
.case-breadcrumb a:focus-visible {
  color: var(--text---neutral---primary);
}
.case-breadcrumb h1 {
  margin: 0;
  font: inherit;
  font-weight: 500;
}
.case-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin: 28px 0 24px;
  font-size: var(--body---regular---m);
  line-height: 1.4;
}
.case-info-label {
  margin: 0 0 8px;
  color: var(--text---neutral---tertiary);
  font: inherit;
}
.case-facts {
  display: grid;
  align-content: start;
  gap: 16px;
  margin: 0;
}
.case-facts dd {
  margin: 0;
}
.case-summary {
  max-width: 600px;
  margin: 0;
  color: var(--text---neutral---primary);
  font-size: var(--body---regular---m);
  line-height: 1.4;
}
.case-background,
.case-goals,
.case-solution,
.case-execution {
  margin-top: 24px;
  font-size: var(--body---regular---m);
  line-height: 1.4;
}
.case-template > header,
.case-template > .case-previews {
  width: 100%;
  max-width: 600px;
}
.case-template .case-breadcrumb {
  font-size: var(--heading---x-l);
}
.case-template .case-overview {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: var(--body---regular---m);
}
.case-template .case-summary {
  max-width: none;
  font-size: inherit;
}
.case-template .case-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.case-template > .case-previews {
  gap: 18px;
}
.case-template .case-background,
.case-template .case-solution,
.case-template .case-execution {
  max-width: 600px;
}
.case-template {
  --case-section-gap: 36px;
}
.case-template > section {
  display: flow-root;
  margin: var(--case-section-gap) 0 0;
}
.case-template .second-iteration {
  display: flow-root;
  margin-top: var(--case-section-gap);
}
.case-template .prototype-observations p:last-child {
  margin-bottom: 0;
}
.case-section-intro {
  margin: 0 0 12px;
}
.case-challenges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.case-challenge {
  padding: 12px;
  border: 1px solid #ff797d;
  background: #f9dfdd;
}
.inventory-user-flow {
  margin: 36px 0 0;
  min-width: 0;
}
.inventory-user-flow figcaption {
  margin-bottom: 24px;
  line-height: 1.4;
}
.inventory-user-flow figcaption strong {
  font-weight: 500;
}
.inventory-user-flow figcaption p {
  margin: 8px 0 12px;
}
.inventory-user-flow figcaption a {
  color: var(--text---brand---primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.inventory-user-flow iframe {
  display: block;
  width: 100%;
  height: 850px;
  border: 0;
}
.privilege-grid {
  display: grid;
  grid-template-columns: repeat(6, 220px);
  gap: 0;
  align-items: start;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 12px;
  border: 1px solid var(--border---neutral---subtle);
  scrollbar-color: var(--border---brand---default)
    var(--background---neutral---secondary);
}
.privilege-grid:focus-visible {
  outline: 2px solid var(--border---brand---default);
  outline-offset: 3px;
}
.privilege-scroll-hint {
  margin: 0 0 12px;
  color: var(--text---neutral---secondary);
  font-size: var(--body---regular---s);
}
.privilege-role {
  min-width: 0;
  padding: 0 8px;
}
.privilege-role header {
  padding: 16px;
  min-height: 82px;
  margin-bottom: 12px;
  border: 1px solid var(--border---brand---subtle);
  background: var(--background---brand---subtle);
}
.privilege-role h3 {
  margin: 4px 0 0;
  font-size: var(--body---regular---m);
  font-weight: 500;
  color: var(--text---brand---primary);
}
.privilege-device {
  margin: 0;
  font-size: var(--body---regular---s);
  color: #626963;
}
.privilege-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.privilege-list li {
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--privilege-border);
  border-left: 2px solid var(--privilege-accent);
  background: var(--privilege-bg);
}
.privilege-list strong {
  display: block;
  font-size: var(--body---regular---s);
  font-weight: 500;
}
.privilege-list li > span {
  display: block;
  margin-top: 4px;
  color: #626963;
  font-size: var(--body---regular---s);
}
.privilege-manage {
  --privilege-bg: #f3f0f7;
  --privilege-border: #e0d8e9;
  --privilege-accent: #89739f;
}
.privilege-act {
  --privilege-bg: #faf5e9;
  --privilege-border: #e9ddbd;
  --privilege-accent: #9a793b;
}
.privilege-view {
  --privilege-bg: #f0f5f8;
  --privilege-border: #d5e1e8;
  --privilege-accent: #668397;
}
.privilege-output {
  --privilege-bg: #edf5ef;
  --privilege-border: #cddfd2;
  --privilege-accent: #527e64;
}
.privilege-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 0;
  margin: 16px 0 24px;
  list-style: none;
  color: #626963;
  font-size: var(--body---regular---s);
}
.privilege-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.privilege-key {
  width: 16px;
  height: 12px;
  background: var(--privilege-bg);
  border: 1px solid var(--privilege-border);
  border-left: 2px solid var(--privilege-accent);
}
.privilege-glossary {
  margin: 20px 0 0;
  color: #626963;
  font-size: var(--body---regular---s);
  line-height: 1.6;
}
.case-challenge p {
  margin: 0 0 12px;
}
.case-challenge strong {
  font-weight: 500;
}
.case-solution-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-solution-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 12px;
  font: inherit;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 1px solid var(--border---neutral---subtle);
  cursor: pointer;
}
.case-solution-button[aria-pressed="true"] {
  border-color: var(--border---brand---subtle);
  background: #e8f4f0;
}
@media (max-width: 760px) {
  .case-solution-button {
    height: auto;
  }
}
.case-solution-button:focus-visible {
  outline: 2px solid var(--border---brand---default);
  outline-offset: 2px;
}
.case-solution-number {
  display: block;
  font-size: var(--body---regular---l);
  font-weight: 500;
}
.case-solution-list p {
  margin: 0;
}
.case-rationale {
  position: relative;
  margin-top: 12px;
  padding: 12px 24px;
  border: 1px solid var(--border---brand---subtle);
}
.case-rationale::before {
  content: "";
  position: absolute;
  top: -7px;
  left: var(--rationale-pointer, 17%);
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  border-left: 1px solid var(--border---brand---subtle);
  border-top: 1px solid var(--border---brand---subtle);
  background: var(--background---neutral---primary);
}
.case-rationale p {
  margin: 0;
}
.pack-comparison {
  position: relative;
  margin-bottom: 48px;
  padding-bottom: 42px;
  touch-action: pan-y;
}
.pack-comparison-images {
  position: relative;
  border: 1px solid var(--border---neutral---default);
}
.pack-comparison-images img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}
.pack-comparison-images .pack-comparison-new {
  position: absolute;
  inset: 0;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}
.pack-comparison-divider {
  position: absolute;
  top: 0;
  bottom: 21px;
  left: var(--reveal);
  width: 3px;
  transform: translateX(-50%);
  background: #999;
  pointer-events: none;
}
.pack-comparison-divider img {
  position: absolute;
  bottom: -21px;
  left: 50%;
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
}
.pack-comparison-range {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 42px;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.prototype-frame {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border---neutral---default);
  background: #fafafa;
}
.prototype-note {
  position: relative;
  padding: 6px 12px;
  text-align: center;
  font-size: var(--body---regular---s);
  font-weight: 500;
  color: var(--text---neutral---secondary);
  border: 1px solid var(--border---neutral---default);
  background: var(--background---neutral---subtle);
}
.prototype-note::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 1px solid var(--border---neutral---default);
  border-bottom: 1px solid var(--border---neutral---default);
  background: var(--background---neutral---subtle);
}
.prototype-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 12px 0 0;
}
.inventory-design-transition {
  margin: 0;
}
.inventory-mutation-feedback[hidden] {
  display: none;
}
.inventory-mutation-feedback img {
  margin-top: 12px;
}
.inventory-setup-preview .prototype-controls {
  align-items: center;
}
.inventory-setup-preview .prototype-stage {
  padding: 0;
}
.inventory-setup-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.inventory-desktop {
  position: relative;
  width: 100%;
}
.inventory-desktop-screen {
  position: absolute;
  inset: 3.14% 2.08% 3.66%;
  overflow: hidden;
}
.inventory-desktop-screen > img {
  height: 100%;
}
.inventory-hotspot {
  position: absolute;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.inventory-hotspot:focus-visible {
  outline: 2px solid #209bab;
  outline-offset: 2px;
}
.inventory-add {
  left: 72.07%;
  top: 19.18%;
  width: 11.17%;
  height: 4.25%;
}
.inventory-popup {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 35%);
}
.inventory-popup[hidden] {
  display: none;
}
.inventory-popup-panel {
  position: relative;
  width: 65%;
}
.inventory-popup-back {
  left: 2.5%;
  top: 2.8%;
  width: 5.5%;
  height: 6.8%;
}
.inventory-popup-submit {
  left: 3.59%;
  top: 87.58%;
  width: 92.82%;
  height: 7.95%;
}
.inventory-row-actions {
  position: absolute;
  inset: 4.396% 0 0;
  display: grid;
  grid-template-rows: repeat(13, 1fr);
}
.inventory-row-actions .inventory-hotspot {
  position: relative;
  width: 100%;
}
.inventory-detail {
  position: absolute;
  inset: 0;
}
.inventory-detail[hidden],
.inventory-add[hidden] {
  display: none;
}
.inventory-detail > img {
  height: 100%;
}
.inventory-detail-back {
  left: 19.18%;
  top: 8.4%;
  width: 8.2%;
  height: 2.8%;
}
.inventory-information-tab {
  left: 19.18%;
  top: 19.85%;
  width: 6.85%;
  height: 3.1%;
}
.inventory-mutation-tab {
  left: 26.1%;
  top: 19.85%;
  width: 6.85%;
  height: 3.1%;
}
.inventory-populated {
  position: absolute;
  inset: 0;
}
.inventory-populated[hidden] {
  display: none;
}
.inventory-populated > img {
  height: 100%;
}
.inventory-populated:not([hidden]) ~ .inventory-add {
  top: 16.67%;
}
.inventory-table-scroll {
  position: absolute;
  left: 19.18%;
  top: 22.08%;
  width: 75.27%;
  height: 75.31%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: #fff;
}
.inventory-table-scroll:focus-visible {
  outline: 2px solid #209bab;
  outline-offset: -2px;
}
.inventory-table-content {
  display: flex;
  width: 142.45%;
  align-items: flex-start;
}
.inventory-table-content .inventory-table-left {
  width: 93.0054%;
  flex: 0 0 93.0054%;
}
.inventory-table-content .inventory-table-right {
  position: sticky;
  right: 0;
  width: 6.9946%;
  flex: 0 0 6.9946%;
  background: #fff;
  box-shadow: -2px 0 4px rgb(0 0 0 / 8%);
}
.prototype-device {
  position: relative;
  width: 244px;
  max-width: 100%;
  aspect-ratio: 244 / 497;
}
.reception-screen {
  position: absolute;
  inset: 2% 4.1%;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
}
.reception-home {
  display: block;
  width: 100%;
  height: 100%;
}
.reception-devices {
  display: grid;
  width: 100%;
  overflow: hidden;
  align-items: start;
}
.reception-devices > * {
  grid-area: 1 / 1;
  justify-self: center;
  transition:
    transform 550ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 550ms ease;
}
.reception-desktop {
  transform: translateX(110%);
  opacity: 0;
  pointer-events: none;
}
.reception-desktop > img {
  display: block;
  width: 100%;
  height: auto;
}
.reception-desktop .inventory-desktop-screen > img {
  display: block;
  width: 100%;
  height: 100%;
}
.reception-devices.is-desktop > .prototype-device {
  transform: translateX(calc(-50vw - 100%));
  opacity: 0;
  pointer-events: none;
}
.reception-devices.is-desktop > .reception-desktop {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.reception-review {
  left: 86.85%;
  top: 26.67%;
  width: 6.85%;
  height: 3.33%;
}
.reception-approval {
  position: absolute;
  inset: 0;
}
.reception-approval[hidden] {
  display: none;
}
.reception-approval-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: rgb(0 0 0 / 25%);
  cursor: pointer;
}
.reception-approval-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 32%;
  height: 100%;
  animation: reception-approval-enter 350ms ease-out;
}
.reception-approval-frame {
  display: block;
  width: 100%;
  height: 100%;
}
.reception-approval-close {
  left: 3%;
  top: 1%;
  width: 9%;
  height: 3.5%;
}
.reception-approve {
  left: 51.4%;
  top: 93.2%;
  width: 44.4%;
  height: 5.4%;
}
.reception-print-qr {
  left: 4.2%;
  top: 93.2%;
  width: 91.6%;
  height: 5.4%;
}
.reception-approve[hidden],
.reception-print-qr[hidden],
.reception-approval-scroll[hidden],
.reception-qr-popup[hidden] {
  display: none;
}
.reception-qr-popup {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.reception-qr-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgb(0 0 0 / 35%);
  cursor: pointer;
}
.reception-qr-panel {
  position: relative;
  width: 29%;
}
.reception-qr-panel > img {
  display: block;
  width: 100%;
  height: auto;
}
.reception-qr-close {
  left: 87%;
  top: 4%;
  width: 7%;
  height: 5%;
}
.reception-approval-scroll {
  position: absolute;
  inset: 5.5% 4.2% 8.3%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: #fff;
}
.reception-approval-scroll > img {
  display: block;
  width: 110%;
  max-width: none;
  height: auto;
}
.reception-approval-scroll:focus-visible {
  outline: 2px solid #209bab;
  outline-offset: -2px;
}
@keyframes reception-approval-enter {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reception-approval-panel {
    animation: none;
  }
}
.reception-roles {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.reception-roles::-webkit-scrollbar {
  display: none;
}
.reception-role-track {
  display: flex;
  gap: 32px;
  padding-inline: max(0px, calc((100% - 244px) / 2));
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}
.reception-role {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 244px;
  width: 244px;
  padding: 6px 8px;
  border: 1px solid #dedede;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  color: #aaa;
  font-size: var(--body---regular---m);
  line-height: 20px;
  text-align: center;
}
.reception-role[aria-current="step"] {
  border-color: #555;
  color: #222;
}
.reception-role:not([aria-current]):hover {
  border-color: #aaa;
  color: #666;
}
.reception-role:focus-visible {
  outline: 2px solid #269580;
  outline-offset: -3px;
}
.reception-role:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 34px;
  border-top: 2px dotted #555;
}
.reception-next-role {
  width: 244px;
  max-width: 100%;
  margin-top: 12px;
  padding: 8px;
  border: 0;
  background: #269580;
  color: #fff;
  font: inherit;
  font-size: var(--body---regular---m);
  cursor: pointer;
}
.reception-next-role[hidden] {
  display: none;
}
.reception-next-role:focus-visible {
  outline: 2px solid #155a4e;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .reception-role-track,
  .reception-devices > * {
    transition: none;
  }
}
.reception-add {
  left: 82%;
  top: 87.5%;
  width: 15%;
  height: 7%;
}
.reception-add[hidden],
.reception-drawer[hidden] {
  display: none;
}
.reception-drawer {
  position: absolute;
  inset: 0;
}
.reception-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgb(0 0 0 / 35%);
  cursor: pointer;
}
.reception-drawer-panel {
  position: absolute;
  bottom: 0;
  width: 100%;
  animation: reception-drawer-enter 220ms ease-out;
}
.reception-drawer-panel img {
  display: block;
  width: 100%;
  height: auto;
}
.reception-drawer-close {
  top: 3%;
  left: 35%;
  width: 30%;
  height: 10%;
}
.reception-drawer-receive {
  left: 3.33%;
  top: 14.29%;
  width: 93.33%;
  height: 23.38%;
}
.usage-drawer-use {
  left: 3.33%;
  top: 41.56%;
  width: 93.33%;
  height: 23.38%;
}
.usage-table-scroll {
  position: absolute;
  left: 19.18%;
  top: 29.17%;
  width: 75.27%;
  overflow-x: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.usage-table-scroll:focus-visible {
  outline: 2px solid #209bab;
  outline-offset: -2px;
}
.usage-table-content {
  display: flex;
  width: 145.18%;
  align-items: flex-start;
}
.usage-table-content > img {
  display: block;
  height: auto;
  max-width: none;
}
.usage-table-left {
  width: 56.293%;
  flex: 0 0 56.293%;
}
.usage-table-right {
  position: sticky;
  right: 0;
  width: 43.707%;
  flex: 0 0 43.707%;
  background: #fff;
  box-shadow: -2px 0 4px rgb(0 0 0 / 8%);
}
.usage-table-right > img {
  display: block;
  width: 100%;
  height: auto;
}
.usage-ircr-action {
  left: 86%;
  top: 48%;
  width: 12.5%;
  height: 32%;
}
.usage-evidence {
  left: 3.33%;
  top: 47.34%;
  width: 93.33%;
  height: 12.18%;
}
.usage-next {
  left: 3.33%;
  top: 92.25%;
  width: 93.33%;
  height: 4.44%;
}
.usage-flow-content[data-step="preview"] .usage-next {
  top: 89.46%;
  height: 6.02%;
}
.usage-flow-content[data-step="pj-list"] .usage-next {
  left: 6.67%;
  top: 42.63%;
  width: 86.67%;
  height: 4%;
}
.usage-flow-content[data-step="pj-detail"] .usage-next {
  left: 51.67%;
  top: 92.4%;
  width: 45%;
  height: 4.35%;
}
.usage-evidence[hidden],
.usage-next[hidden] {
  display: none;
}
.reception-flow {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  background: #fff;
}
.reception-flow[hidden] {
  display: none;
}
.reception-flow::-webkit-scrollbar {
  display: none;
}
.reception-flow-content {
  position: relative;
}
.reception-flow-image {
  display: block;
  width: 100%;
  height: auto;
}
.reception-flow-back {
  left: 2%;
  top: 9.3%;
  width: 10%;
  height: 3%;
}
.reception-flow-next {
  left: 3.33%;
  top: 92.83%;
  width: 93.33%;
  height: 4.1%;
}
.reception-flow-content[data-step="preview"] .reception-flow-back {
  top: 13%;
  height: 4.5%;
}
.reception-flow-content[data-step="preview"] .reception-flow-next {
  top: 89.5%;
  height: 6%;
}
.reception-flow-content[data-step="submitted"] .reception-flow-back {
  left: 6.67%;
  top: 42%;
  width: 16%;
  height: 4%;
}
.reception-flow-content[data-step="submitted"] .reception-flow-next {
  left: 83%;
  top: 86%;
  width: 14%;
  height: 7%;
}
.reception-flow-content[data-step="pj-list"] .reception-flow-next {
  left: 6.67%;
  top: 40.63%;
  width: 86.67%;
  height: 4%;
}
.reception-flow-content[data-step="pj-detail"] .reception-flow-back {
  left: 2%;
  top: 6.2%;
  width: 10%;
  height: 2%;
}
.reception-flow-content[data-step="pj-detail"] .reception-flow-next {
  left: 51.67%;
  top: 95.1%;
  width: 45%;
  height: 2.8%;
}
@keyframes reception-drawer-enter {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reception-drawer-panel {
    animation: none;
  }
}
.prototype-phone {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.prototype-viewport {
  position: absolute;
  inset: 2% 4.1%;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 28px;
  background: #111;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.prototype-viewport::-webkit-scrollbar {
  display: none;
}
.prototype-canvas {
  position: relative;
}
.prototype-image {
  display: block;
  width: 100%;
  height: auto;
}
.prototype-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.prototype-hotspot {
  position: absolute;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}
.prototype-hotspot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
  background: rgb(255 255 255 / 12%);
}
.prototype-controls {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 244px;
  max-width: 100%;
  margin-top: 12px;
  font-size: var(--body---regular---s);
  color: var(--text---neutral---secondary);
}
.inventory-reception-preview .prototype-controls,
.inventory-usage-preview .prototype-controls {
  justify-content: center;
  margin-inline: auto;
}
.prototype-controls button {
  min-height: 32px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.prototype-review {
  margin-top: 28px;
}
.prototype-observations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: prototype-observation;
}
.prototype-observations li {
  counter-increment: prototype-observation;
}
.prototype-observations li::before {
  content: counter(prototype-observation);
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}
.prototype-observations p {
  margin: 0 0 18px;
}
.prototype-feedback {
  position: relative;
  margin-top: 24px;
  padding: 12px;
  border: 1px solid #ff8989;
  background: #ffe1e1;
}
.prototype-feedback::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  border-top: 1px solid #ff8989;
  border-left: 1px solid #ff8989;
  background: #ffe1e1;
}
.prototype-feedback h3,
.prototype-feedback h4 {
  margin: 0 0 10px;
  color: var(--text---neutral---tertiary);
  font-size: var(--body---regular---s);
  font-weight: 400;
}
.prototype-feedback p {
  margin: 0;
}
.prototype-feedback ul {
  margin: 2px 0 0;
  padding-left: 18px;
}
.prototype-reflection {
  margin: 12px 0 0;
}
.second-iteration {
  margin-top: 34px;
}
.second-iteration h3 {
  margin: 0 0 8px;
  color: var(--text---neutral---tertiary);
  font: inherit;
}
.second-iteration > p {
  margin: 0 0 12px;
}
.second-iteration-stage {
  margin-top: 12px;
}
.packs-card-stack {
  position: absolute;
  top: 17.27%;
  left: 3.3333%;
  width: 93.3333%;
  aspect-ratio: 1344 / 888;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.packs-results {
  padding: 36.6667% 3.3333% 6.6667%;
  background: #121212 url("../images/result-background.webp") top center / 100%
    auto no-repeat;
}
.packs-result-card {
  position: relative;
}
.packs-result-card + .packs-result-card {
  margin-top: 5.9524%;
}
.packs-result-toggle {
  top: 0;
  left: 0;
  width: 100%;
}
.packs-result-more {
  left: 3.5714%;
  top: 78.3784%;
  width: 92.8571%;
  height: 16.2162%;
}
.prototype-canvas [hidden] {
  display: none;
}
.case-research-citation {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.case-visual-showcase {
  margin: 0;
  border: 1px solid var(--border---neutral---default);
  background: #f3f3f3;
}
.case-visual-showcase img {
  display: block;
  width: 100%;
  height: auto;
}
.case-template-placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--text---neutral---tertiary);
  text-align: center;
  font-size: var(--body---regular---m);
  line-height: 1.4;
}
.case-visual-showcase.case-template-placeholder {
  min-height: 240px;
}
.case-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.case-impact-card {
  padding: 12px;
  border: 1px solid var(--border---brand---subtle);
  background: #e8f4f0;
}
.case-impact-card h3 {
  margin: 0 0 6px;
  font: inherit;
  font-weight: 500;
}
.case-impact-card p {
  margin: 0;
}
@media (max-width: 600px) {
  .case-impact-grid {
    grid-template-columns: 1fr;
  }
}
.recurring-canvas {
  height: 100%;
}
.recurring-canvas > .prototype-image {
  height: 100%;
}
.recurring-confirmed {
  animation: recurring-confirm 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes recurring-confirm {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .recurring-confirmed {
    animation: none;
  }
}
.recurring-viewport {
  overflow: hidden;
}
.recurring-drawer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(105%);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
  pointer-events: none;
}
.recurring-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.recurring-drawer-backdrop {
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgb(0 0 0 / 28%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  cursor: pointer;
}
.recurring-canvas.drawer-open .recurring-drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.recurring-canvas .prototype-hotspots {
  z-index: 3;
}
@media (prefers-reduced-motion: reduce) {
  .recurring-drawer,
  .recurring-drawer-backdrop {
    transition: none;
  }
}
.packs-card-stack:active {
  cursor: grabbing;
}
.packs-card-stack:focus-visible {
  outline: 2px solid #ffbf00;
  outline-offset: 3px;
  border-radius: 8px;
}
.packs-stack-card {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: auto;
  transform-origin: bottom center;
  transform: translateY(calc(var(--depth, 0) * 2.6%))
    scale(calc(1 - var(--depth, 0) * 0.035));
  z-index: calc(4 - var(--depth, 0));
  transition:
    transform 280ms ease,
    opacity 180ms ease;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .packs-stack-card {
    transition: none;
  }
}
.case-background-copy {
  max-width: 600px;
}
.case-background-copy p {
  margin: 0 0 20px;
}
.case-background-copy ul {
  margin: 0 0 24px;
  padding-left: 20px;
}
.case-previous-design {
  margin: 0;
  border: 1px solid var(--border---neutral---subtle);
}
.case-previous-design img {
  display: block;
  width: 100%;
  height: auto;
}
.case-goal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.case-goal-list li {
  display: flex;
  align-items: center;
  padding: 24px;
  background: var(--background---brand---subtle);
  border: 1px solid var(--border---brand---subtle);
}
.case-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 2.07fr 1fr;
  gap: 24px;
  aspect-ratio: 892 / 550;
}
.case-preview {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border---neutral---subtle);
  background: var(--background---neutral---secondary);
}
.case-preview-primary {
  grid-row: 1 / 3;
}
.case-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
#aldipro-inventory,
#reku-packs,
#reku-withdrawal {
  --case-section-gap: 24px;
}
#aldipro-inventory > section > :last-child,
#aldipro-inventory .case-background-copy > :last-child {
  margin-bottom: 0;
}
#aldipro-inventory .inventory-user-flow {
  margin-top: var(--case-section-gap);
}
#aldipro-inventory .case-summary + .case-summary {
  margin-top: 20px;
}
#aldipro-inventory .inventory-previews {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  aspect-ratio: auto;
}
#aldipro-inventory .case-preview-primary {
  grid-column: 1 / -1;
  grid-row: auto;
}
#aldipro-inventory .case-preview {
  aspect-ratio: auto;
}
#aldipro-inventory .case-preview img {
  height: auto;
}
#aldipro-inventory .inventory-list-intro {
  margin-bottom: 0;
}
#aldipro-inventory .case-background-copy ul {
  margin-bottom: 12px;
}
.portfolio-nav a:hover,
.portfolio-nav a:focus-visible {
  color: var(--text---neutral---primary);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
  .scroll-indicator-marker::before {
    transition: none;
  }
  .case-detail {
    animation: none;
  }
}

@media (min-width: 761px) {
  .portfolio-sidebar {
    --sidebar-padding-x: 12px;
    --sidebar-item-padding-y: 8px;
    padding: 0;
    border-right-width: 1px;
  }
  .portfolio-name {
    display: flex;
    align-items: center;
    height: 70px;
    padding-inline: var(--sidebar-padding-x);
    font-weight: 500;
  }
  .portfolio-nav {
    gap: 0;
    margin-top: 0;
    border-top: 1px solid var(--border---neutral---subtle);
  }
  .portfolio-nav a {
    min-height: 35px;
    padding: var(--sidebar-item-padding-y) var(--sidebar-padding-x);
    border-bottom: 1px solid var(--border---neutral---subtle);
    font-size: var(--body---regular---s);
  }
  .portfolio-nav .nav-active {
    padding-block: 5px;
    padding-right: 4px;
    font-weight: 500;
    background: var(--background---neutral---secondary);
  }
  .portfolio-nav .nav-active::after {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 760px) {
  .next-case-scroll::after {
    right: -24px;
  }
  .portfolio-frame {
    display: block;
    border-inline: 0;
  }
  .portfolio-sidebar {
    position: sticky;
    left: auto;
    width: auto;
    z-index: 2;
    top: 0;
    min-height: auto;
    height: auto;
    padding: 18px 24px;
    border-right: 0;
    border-bottom: 2px solid var(--border---neutral---subtle);
  }
  .menu-button {
    display: block;
    position: absolute;
    top: 15px;
    right: 18px;
    padding: 0;
    border: 0;
    color: var(--text---neutral---primary);
    background: transparent;
    font-family: var(--font-family);
    font-size: var(--body---regular---m);
    font-weight: 700;
  }
  .portfolio-nav {
    display: none;
  }
  .portfolio-nav.is-open {
    display: grid;
  }
  .portfolio-content {
    --section-divider-right: -24px;
    padding: 0 24px 0 24px;
  }
  .scroll-indicator {
    left: 0;
    width: 24px;
    top: 88px;
    max-height: calc(100dvh - 112px);
  }
  .portfolio-section {
    scroll-margin-top: 64px;
  }
  .portfolio-section:first-child {
    padding-top: var(--section-gap);
    min-height: calc(100vh - 64px);
  }
  .content-placeholder {
    min-height: calc(100vh - 112px);
  }
  .case-thumbnail {
    height: calc(100vh - 112px);
    scroll-margin-top: 88px;
  }
  .responsive-stage,
  .animation-grid > [data-scroll-item],
  .illustration-gallery > [data-scroll-item] {
    scroll-margin-top: 88px;
  }
  .case-thumbnail-phone {
    width: 78%;
  }
  .case-detail {
    padding: 24px 0;
    scroll-margin-top: 64px;
  }
  .case-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .case-goal-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .case-solution-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .case-solution-list li {
    min-height: auto;
  }
  .case-challenges {
    grid-template-columns: minmax(0, 1fr);
  }
  .case-template .case-overview {
    grid-template-columns: minmax(0, 1fr);
  }
  .case-previews {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    aspect-ratio: auto;
  }
  .case-preview-primary {
    grid-row: auto;
    aspect-ratio: 434 / 550;
  }
  .case-preview-secondary {
    aspect-ratio: 434 / 355;
  }
  .case-preview-tertiary {
    aspect-ratio: 434 / 172;
  }
  .prototype-observations {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .prototype-observations li::before {
    margin-bottom: 8px;
  }
  .prototype-observations p {
    margin: 0 0 8px;
  }
  .prototype-feedback::before {
    left: 24px;
  }
}

.usage-agup-action {
  left: 83.5%;
  top: 47.5%;
  width: 14.5%;
  height: 32.5%;
}
.usage-action-dropdown {
  position: absolute;
  z-index: 5;
}
.usage-action-dropdown > img {
  display: block;
  width: 100%;
  height: auto;
}
.usage-service-radio {
  left: 6.5%;
  top: 4%;
  width: 87%;
  height: 23%;
}
.usage-action-dropdown[hidden],
.usage-agup-action[hidden] {
  display: none;
}

.usage-service-submit {
  left: 6.5%;
  top: 57.7%;
  width: 87%;
  height: 20.5%;
}
.usage-service-submit:disabled {
  cursor: default;
}

.usage-devices.is-final-phone > .prototype-device {
  animation: usage-phone-enter-right 550ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.usage-devices.is-final-phone > .reception-desktop {
  transform: translateX(-110%);
}
@keyframes usage-phone-enter-right {
  from {
    transform: translateX(calc(50vw + 100%));
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .usage-devices.is-final-phone > .prototype-device {
    animation: none;
  }
}

.usage-date {
  left: 3.33%;
  top: 28.75%;
  width: 33%;
  height: 3%;
}
.usage-print-bon {
  left: 51.39%;
  top: 27%;
  width: 45.28%;
  height: 4%;
}
.usage-date[hidden],
.usage-print-bon[hidden],
.usage-mobile-popup[hidden] {
  display: none;
}
.usage-mobile-popup {
  position: absolute;
  inset: 0;
  z-index: 6;
}
.usage-date-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.usage-bon-panel {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
}
.usage-date-panel > img,
.usage-bon-panel > img {
  display: block;
  width: 100%;
  height: auto;
}
.usage-date-close {
  left: 40%;
  top: 2.5%;
  width: 20%;
  height: 5%;
}
.usage-date-apply {
  left: 3.33%;
  top: 82.5%;
  width: 93.33%;
  height: 10%;
}
.usage-bon-close {
  left: 85%;
  top: 5%;
  width: 7%;
  height: 8%;
}

.usage-bon-download {
  left: 8.89%;
  top: 68.21%;
  width: 82.22%;
  height: 13.25%;
}
.usage-bon-toast {
  position: absolute;
  z-index: 7;
  left: 6%;
  right: 6%;
  bottom: 8%;
  padding: 10px 12px;
  border-radius: 6px;
  background: #237c65;
  color: #fff;
  font-size: var(--body---regular---x-s);
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 3px 12px rgb(0 0 0 / 16%);
  pointer-events: none;
}
.usage-bon-toast:empty {
  padding: 0;
  opacity: 0;
}

.inventory-reflections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.inventory-reflection > img {
  display: block;
  box-sizing: content-box;
  padding: 4px;
  background: #f8f8f8;
  margin-bottom: 8px;
}
.inventory-reflections,
#reku-packs > section:last-child,
#reku-withdrawal > section:last-child {
  padding-bottom: 36px;
}
.inventory-reflection h3 {
  margin: 0 0 4px;
  font: inherit;
  font-weight: 500;
}
.inventory-reflection p {
  margin: 0;
}
@media (max-width: 600px) {
  .inventory-reflections-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

#aldipro-inventory > header,
#reku-packs > header,
#reku-withdrawal > header {
  border-top: 1px solid var(--border---neutral---default);
  padding-top: 24px;
}

/* Keep case-study scroll prompts 24px from the content dividers. */
#aldipro-inventory,
#reku-packs,
#reku-withdrawal {
  padding-top: 24px;
}
.portfolio-frame-case-study
  .previous-case-scroll:has(+ :is(#aldipro-inventory, #reku-withdrawal)) {
  width: 100%;
  max-width: 600px;
}
.portfolio-frame-case-study
  .previous-case-scroll:has(+ :is(#aldipro-inventory, #reku-withdrawal))
  .next-case-prompt {
  padding-bottom: 0;
}
.portfolio-frame-case-study
  #aldipro-inventory
  + .next-case-scroll
  .next-case-prompt,
.portfolio-frame-case-study #reku-packs + .next-case-scroll .next-case-prompt,
.portfolio-frame-case-study
  #reku-withdrawal
  + .next-case-scroll
  .next-case-prompt {
  padding-top: 0;
}

html:has(#case-bottom:target) {
  scroll-behavior: auto;
}
body:has(#case-bottom:target) .case-detail {
  animation: none;
}

.case-thumbnail.case-thumbnail-cover {
  --cover-text: #fff;
  isolation: isolate;
  position: relative;
  container-type: inline-size;
  display: block;
  height: auto;
  max-height: none;
  aspect-ratio: 1852 / 1584;
}
#study-case-2 {
  --cover-text: #163c3d;
}
#study-case-3 {
  --cover-text: #17383b;
}
.case-thumbnail-cover > .case-cover-image {
  display: block;
  width: 100%;
  height: auto;
}
.case-cover-effects {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  pointer-events: none;
  visibility: hidden;
  /* Keep the wrapper opaque so child filters can sample the cover behind it. */
  transition: visibility 280ms;
}
.case-cover-effects > i {
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(var(--cover-blur));
  backdrop-filter: blur(var(--cover-blur));
  mask-image: linear-gradient(
    to bottom,
    transparent var(--blur-start),
    #000 var(--blur-end)
  );
  opacity: 0;
  transition: opacity 280ms ease;
}
/* Native blur builds smoothly from a clear image to a strongly softened bottom. */
.case-cover-effects > i:nth-child(1) {
  --cover-blur: 2px;
  --blur-start: 0%;
  --blur-end: 25%;
}
.case-cover-effects > i:nth-child(2) {
  --cover-blur: 8px;
  --blur-start: 10%;
  --blur-end: 45%;
}
.case-cover-effects > i:nth-child(3) {
  --cover-blur: 20px;
  --blur-start: 30%;
  --blur-end: 70%;
}
.case-cover-effects > i:nth-child(4) {
  --cover-blur: 40px;
  --blur-start: 50%;
  --blur-end: 90%;
}
.case-cover-caption {
  position: absolute;
  z-index: 1;
  inset: auto 5.1836% 6.8%;
  display: grid;
  gap: 1.7279cqw;
  font-family: "PingFang", var(--font-family);
  color: var(--cover-text);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}
.case-cover-title {
  font-size: 3.8877cqw;
  font-weight: 700;
  line-height: normal;
}
.case-cover-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 2.5918cqw;
  font-family: "PingFang", var(--font-family);
  font-size: 1.7279cqw;
  font-weight: 600;
  line-height: normal;
}
@media (max-width: 760px) {
  .case-cover-outcomes { display: none; }
}
.case-thumbnail-cover:is(:hover, :focus-visible) .case-cover-effects,
.case-thumbnail-cover:is(:hover, :focus-visible) .case-cover-effects > i,
.case-thumbnail-cover:is(:hover, :focus-visible) .case-cover-caption {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
@container (max-width: 480px) {
  .case-cover-caption {
    inset: auto 5.1836% 6.8%;
    gap: 8px;
  }
  .case-cover-title {
    font-size: 16px;
  }
  .case-cover-outcomes {
    font-size: 11px;
    gap: 4px 12px;
  }
}
@media (hover: none) {
  .case-thumbnail-cover .case-cover-effects,
  .case-thumbnail-cover .case-cover-effects > i,
  .case-thumbnail-cover .case-cover-caption {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .case-cover-effects,
  .case-cover-effects > i,
  .case-cover-caption {
    transition: none;
    transform: none;
  }
}

.withdrawal-note {
  padding: 12px;
  border: 1px solid var(--border---neutral---subtle);
  background: var(--background---neutral---secondary);
}
/* Native withdrawal tree: connector positions follow the two-column grids. */
.withdrawal-flow-scroll {
  overflow-x: auto;
  border: 1px solid var(--border---neutral---default);
  background: var(--background---neutral---secondary);
  margin-top: 20px;
}
.withdrawal-flow-scroll:focus-visible {
  outline: 2px solid var(--border---brand---default);
  outline-offset: 3px;
}
.withdrawal-flow {
  min-width: 540px;
  padding: 24px 16px;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.withdrawal-flow-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 6px;
  margin: 0;
  border: 1px solid var(--border---neutral---default);
  background: var(--background---neutral---primary);
  font: inherit;
}
.withdrawal-flow-root {
  width: 132px;
  margin: 0 auto;
  color: var(--text---brand---inverse);
  background: var(--background---brand---primary);
  border-color: var(--background---brand---primary);
}
.withdrawal-flow-branches,
.withdrawal-flow-paths {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 32px;
}
.withdrawal-flow-branches::before,
.withdrawal-flow-paths::before {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(25% - 4px);
  right: calc(25% - 4px);
  border-top: 1px solid var(--border---neutral---default);
}
.withdrawal-flow-root::after,
.withdrawal-flow-destination::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  height: 17px;
  border-left: 1px solid var(--border---neutral---default);
}
.withdrawal-flow-destination {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 12px;
  color: var(--text---brand---primary);
  border-color: var(--border---brand---subtle);
  background: var(--background---brand---subtle);
}
.withdrawal-flow-destination::before,
.withdrawal-flow-auth::before,
.withdrawal-flow-fee::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: 17px;
  border-left: 1px solid var(--border---neutral---default);
}
.withdrawal-flow-auth {
  font-weight: 500;
}
.withdrawal-flow-fee {
  margin-top: 24px;
  color: var(--text---brand---inverse);
  background: var(--background---brand---primary);
  border-color: var(--background---brand---primary);
  font-weight: 500;
  box-shadow: 0 3px 8px rgba(16, 70, 63, 0.12);
}
.withdrawal-flow-fee::before {
  height: 25px;
}
.withdrawal-solution-flow {
  min-width: 1800px;
  padding: 32px;
  font-size: 14px;
}
.withdrawal-solution-flow .withdrawal-flow-fee {
  color: var(--text---neutral---primary);
  background: var(--background---neutral---primary);
  border-color: var(--border---neutral---default);
  box-shadow: none;
}
.withdrawal-option-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 32px;
}
.withdrawal-option-branches::before {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(25% - 3px);
  right: calc(25% - 3px);
  border-top: 1px solid var(--border---neutral---default);
}
.withdrawal-option-branches::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 16px;
  border-left: 1px solid var(--border---neutral---default);
}
.withdrawal-condition {
  min-height: 64px;
}
.withdrawal-condition::before,
.withdrawal-option::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: 17px;
  border-left: 1px solid var(--border---neutral---default);
}
.withdrawal-option {
  margin-top: 24px;
  color: var(--text---brand---inverse);
  background: var(--background---brand---primary);
  border-color: var(--background---brand---primary);
}
.withdrawal-option::before {
  height: 25px;
}
.withdrawal-option-unavailable {
  color: var(--text---neutral---secondary);
  background: var(--background---neutral---subtle);
  border-color: var(--border---neutral---default);
}
.withdrawal-option-direct {
  margin-top: 120px;
}
.withdrawal-option-direct::before {
  height: 121px;
}
.withdrawal-note h3,
.withdrawal-problems h3 {
  margin: 0 0 8px;
  font: inherit;
  font-weight: 500;
}
.withdrawal-note p,
.withdrawal-problems p {
  margin: 0;
}
.withdrawal-visual + .case-section-intro {
  margin-top: 16px;
}
.withdrawal-visual a {
  display: block;
}
.withdrawal-visual a:focus-visible {
  outline: 2px solid var(--border---brand---default);
  outline-offset: 3px;
}
.withdrawal-results-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}
.withdrawal-results {
  width: 100%;
  border-collapse: collapse;
  font: inherit;
}
.withdrawal-results caption {
  text-align: left;
  margin-bottom: 12px;
  color: var(--text---neutral---secondary);
}
.withdrawal-results th,
.withdrawal-results td {
  padding: 12px;
  border: 1px solid var(--border---neutral---default);
  text-align: left;
}
.withdrawal-results th {
  font-weight: 500;
}
.withdrawal-results thead {
  background: var(--background---neutral---secondary);
}
.withdrawal-results td:last-child {
  background: var(--background---brand---subtle);
}

.withdrawal-bca {
  left: 4.44%;
  top: 36%;
  width: 91.12%;
  height: 7%;
}
.withdrawal-amount {
  left: 4.44%;
  top: 35.5%;
  width: 91.12%;
  height: 6.5%;
}
.withdrawal-back {
  left: 3%;
  top: 5%;
  width: 10%;
  height: 4%;
}
[data-withdrawal-prototype] button[hidden] {
  display: none;
}

.withdrawal-preview {
  left: 4.44%;
  top: 89%;
  width: 91.12%;
  height: 6%;
}
.withdrawal-preview-popup {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.withdrawal-preview-popup[hidden] {
  display: none;
}
.withdrawal-preview-dismiss {
  inset: 0 0 auto;
  width: 100%;
  height: 22%;
}
.withdrawal-preview-cancel {
  left: 9%;
  top: 71.5%;
  width: 82%;
  height: 6%;
}
.withdrawal-confirm {
  left: 9%;
  top: 64%;
  width: 82%;
  height: 6%;
}
.withdrawal-otp {
  left: 4.44%;
  top: 30.25%;
  width: 91.12%;
  height: 6%;
}

/* Figma contact footer: 220px sidebar, 9px mesh spacing, inset CTA. */
.sidebar-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 16px 12px;
  border-top: 1px solid var(--border---neutral---subtle);
  background: var(--background---neutral---secondary);
  color: var(--text---neutral---secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.contact-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, 9px);
  grid-auto-rows: 9px;
  pointer-events: none;
}
.sidebar-contact a {
  font: 500 12px var(--font-family);
  color: inherit;
  opacity: 1;
}
.contact-talk {
  font: 500 10px var(--font-family);
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 32px;
  border: 0;
  padding: 0;
  background: var(--background---neutral---secondary);
}
.contact-button-base {
  position: absolute;
  width: calc(100% - 4px);
  height: 28px;
  top: 2px;
  left: 2px;
  border: 0.762px solid white;
  background: linear-gradient(171.25deg, #f3f3f3 39%, #d7d7d7 99.58%);
  box-shadow:
    inset -1.524px 0 3.048px #cdcdcd,
    inset 0 -1.524px 3.048px #cdcdcd;
}
.contact-button-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.contact-button-face {
  position: absolute;
  inset: 4px;
  border: 1px solid var(--border---neutral---subtle);
  border-radius: 26px;
  background: radial-gradient(
    ellipse at 60% 77%,
    #fff 0%,
    #f3f3f3 40%,
    #d7d7d7 100%
  );
}
.contact-button-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.contact-links {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
}
.contact-links img {
  display: block;
  flex-shrink: 0;
}
.contact-divider {
  position: relative;
  height: 16px;
  width: 0;
}
.contact-divider img {
  position: absolute;
  top: 8px;
  left: -8px;
  transform: rotate(90deg);
}
.sidebar-contact :is(a, button):focus-visible {
  outline: 2px solid var(--text---neutral---secondary);
  outline-offset: 3px;
}
@media (min-width: 761px) {
  .portfolio-frame {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .portfolio-sidebar {
    width: 220px;
    height: 100dvh;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .portfolio-name,
  .portfolio-nav,
  .sidebar-contact {
    flex-shrink: 0;
  }
  .sidebar-contact {
    margin-top: 0;
    border-top: 0;
    border-bottom: 1px solid var(--border---neutral---subtle);
  }
  .scroll-indicator {
    left: max(221px, calc((100% - var(--portfolio-frame-width)) / 2 + 221px));
  }
}
@media (max-width: 760px) {
  .sidebar-contact {
    display: none;
    margin: 0 -24px -18px;
  }
  .portfolio-sidebar:has(.portfolio-nav.is-open) .sidebar-contact {
    display: flex;
  }
  .contact-talk {
    max-width: 194px;
  }
}
/* Expanded responsive previews reuse the contact button's layered treatment. */
.responsive-frame-actions {
  display: flex;
  justify-content: center;
  padding: 12px 0 0;
}
.responsive-frame > .responsive-frame-actions {
  flex: none;
}
.responsive-frame > .responsive-frame-actions > button {
  max-width: 100%;
}
.responsive-popup-button.contact-talk {
  width: 180px;
  height: 40px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text---neutral---secondary);
}
.responsive-popup-button .contact-button-base {
  height: calc(100% - 4px);
}
.responsive-popup-button .contact-button-label {
  gap: 8px;
}
.responsive-popup-button .contact-button-glow {
  display: none;
}
.responsive-popup-button:focus-visible {
  outline: 2px solid var(--text---neutral---secondary);
  outline-offset: 3px;
}
.responsive-button-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.responsive-popup {
  width: min(1200px, calc(100vw - 48px));
  max-width: none;
  height: min(860px, calc(100dvh - 48px));
  max-height: none;
  margin: auto;
  padding: 20px;
  border: 1px solid #ededed;
  background: linear-gradient(90deg, #efefef, #fff 1%, #fff 99%, #efefef);
  box-shadow: 0 8px 40px #0002;
}
.responsive-popup[open] {
  display: flex;
  flex-direction: column;
}
.responsive-popup::backdrop {
  background: rgb(0 0 0 / 28%);
}
.responsive-popup-canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: visible;
  border: 1px solid #ededed;
  background: var(--background---neutral---secondary);
}
.responsive-popup-canvas iframe {
  position: absolute;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  transform-origin: top left;
  background: #fff;
}
.responsive-popup-handle {
  right: auto;
  z-index: 1;
}
.responsive-popup-canvas.is-resizing {
  user-select: none;
}
.responsive-popup-canvas.is-resizing iframe {
  pointer-events: none;
}
.responsive-popup-handle:focus-visible img {
  filter: drop-shadow(0 0 2px #777);
}
.responsive-popup .responsive-frame-actions {
  flex: none;
}
@media (max-width: 600px) {
  .responsive-popup {
    width: calc(100vw - 24px);
    height: calc(100dvh - 24px);
    padding: 10px;
  }
}
/* Mobile portfolio: persistent horizontally scrolling section tabs. */
@media (max-width: 760px) {
  .portfolio-home .portfolio-sidebar {
    padding: 0;
    border-bottom: 1px solid var(--border---neutral---subtle);
    z-index: 5;
  }
  .portfolio-home .portfolio-name {
    padding: 20px 12px 16px;
    font-size: 24px;
    line-height: 1.4;
  }
  .portfolio-home .menu-button {
    display: none;
  }
  .portfolio-home .portfolio-nav,
  .portfolio-home .portfolio-nav.is-open {
    display: flex;
    gap: 0;
    margin: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border-top: 1px solid var(--border---neutral---subtle);
  }
  .portfolio-home .portfolio-nav::-webkit-scrollbar {
    display: none;
  }
  .portfolio-home .portfolio-nav a {
    flex: none;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    min-height: 44px;
    border-right: 1px solid var(--border---neutral---subtle);
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
  }
  .portfolio-home .portfolio-nav .nav-active {
    font-weight: 600;
    background: var(--background---neutral---secondary);
  }
  .portfolio-home .portfolio-nav .nav-active::after {
    width: 20px;
    height: 20px;
    background: url("../images/chevron-down.svg") center / contain no-repeat;
  }
  .portfolio-home .portfolio-content {
    padding-left: 30px;
    padding-right: 24px;
    --section-divider-left: -30px;
  }
  .portfolio-home .portfolio-section {
    scroll-margin-top: var(--mobile-header-height, 115px);
  }
  .portfolio-home .portfolio-section:first-child {
    min-height: calc(100dvh - var(--mobile-header-height, 115px));
    padding-top: 12px;
  }
  .portfolio-home #about {
    gap: 24px;
  }
  .portfolio-home .about-copy p {
    margin-bottom: 24px;
  }
  .portfolio-home .about-copy > :last-child {
    margin-bottom: 0;
  }
  .portfolio-home #about .sidebar-contact {
    display: flex;
    margin: 0;
    width: 100%;
    border: 1px solid var(--border---neutral---subtle);
    padding: 12px;
  }
  .portfolio-home #about .contact-talk {
    max-width: none;
  }
  .portfolio-home #about .contact-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .portfolio-home #about .intro-scroll-cue {
    margin-top: auto;
    padding-top: 64px;
    padding-bottom: 16px;
  }
  .portfolio-home .scroll-indicator {
    top: calc(var(--mobile-header-height, 115px) + 12px);
    max-height: calc(100dvh - var(--mobile-header-height, 115px) - 24px);
  }
  .portfolio-home .case-thumbnail,
  .portfolio-home .responsive-stage,
  .portfolio-home .animation-grid > [data-scroll-item],
  .portfolio-home .illustration-gallery > [data-scroll-item] {
    scroll-margin-top: calc(var(--mobile-header-height, 115px) + 24px);
  }
}

@media (max-width: 760px) {
  .portfolio-home .portfolio-section-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .portfolio-home .responsive-popup-handle {
    display: none;
  }
  .case-detail .case-breadcrumb > a,
  .case-detail .case-breadcrumb > span[aria-hidden="true"] {
    display: none;
  }
  #aldipro-inventory > header,
  #reku-packs > header,
  #reku-withdrawal > header {
    border-top: 0;
    padding-top: 0;
  }
  .previous-case-scroll + :is(#aldipro-inventory, #reku-withdrawal) > header {
    border-top: 1px solid var(--border---neutral---default);
    padding-top: 24px;
  }
}
@view-transition {
  navigation: auto;
}
.case-page-sliding .portfolio-sidebar {
  view-transition-name: case-sidebar;
}
.case-page-sliding .case-detail {
  animation: none;
}
.case-page-sliding::view-transition-group(root),
.case-page-sliding::view-transition-group(case-sidebar) {
  animation: none;
}
.case-page-sliding::view-transition-old(root),
.case-page-sliding::view-transition-new(root) {
  mix-blend-mode: normal;
  opacity: 1;
  animation: 680ms cubic-bezier(0.65, 0, 0.2, 1) both;
}
.case-page-sliding::view-transition-old(root) {
  animation-name: case-page-out;
}
.case-page-sliding::view-transition-new(root) {
  animation-name: case-page-in;
}
.case-page-backward::view-transition-old(root) {
  animation-name: case-page-out-backward;
}
.case-page-backward::view-transition-new(root) {
  animation-name: case-page-in-backward;
}
.case-page-sliding::view-transition-old(case-sidebar) {
  animation: none;
  opacity: 0;
}
.case-page-sliding::view-transition-new(case-sidebar) {
  animation: none;
}
@keyframes case-page-out {
  to { transform: translateY(-100vh); }
}
@keyframes case-page-in {
  from { transform: translateY(100vh); }
}
@keyframes case-page-out-backward {
  to { transform: translateY(100vh); }
}
@keyframes case-page-in-backward {
  from { transform: translateY(-100vh); }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
/* Mobile case-study header and right-hand navigation drawer. */
.case-mobile-drawer { display:none; }
@media (max-width:760px) {
  .portfolio-frame-case-study .portfolio-sidebar { height:62px; min-height:62px; padding:0 18px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--border---neutral---subtle); background:#fff; z-index:10; }
  .portfolio-frame-case-study .portfolio-name { padding:0; font-size:20px; line-height:28px; font-weight:600; }
  .portfolio-frame-case-study .menu-button { position:static; display:grid; place-items:center; width:44px; height:44px; margin-right:-10px; }
  .portfolio-frame-case-study .case-page-content { padding-inline:18px; }
  .portfolio-frame-case-study .case-detail { padding-top:18px; }
  .portfolio-frame-case-study .case-breadcrumb { font-size:20px; line-height:1.4; }
  .portfolio-frame-case-study .case-breadcrumb h1 { font-weight:600; }
  .portfolio-frame-case-study .case-overview { margin-top:28px; gap:28px; font-size:14px; line-height:1.5; }
  .portfolio-frame-case-study .case-facts { gap:18px; }
  .portfolio-frame-case-study .case-info-label { margin-bottom:6px; }
  .case-mobile-drawer { position:fixed; inset:0 0 0 auto; margin:0; padding:0; width:83.333vw; max-width:420px; height:100dvh; max-height:100dvh; border:1px solid #ededed; background:#fff; color:var(--text---neutral---primary); overflow-y:auto; overscroll-behavior:contain; }
  .case-mobile-drawer[open] { display:block; }
  .case-mobile-drawer::backdrop { background:rgb(0 0 0 / 25%); }
  .case-drawer-header { height:62px; display:flex; align-items:center; padding:0 12px; border-bottom:1px solid #ededed; }
  .case-drawer-close { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:none; color:#444; cursor:pointer; }
  .case-mobile-drawer .portfolio-nav { display:flex; flex-direction:column; gap:0; margin:0; }
  .case-mobile-drawer .portfolio-nav a { position:relative; display:flex; justify-content:flex-end; align-items:center; min-height:44px; padding:12px 16px 12px 40px; border-bottom:1px solid #ededed; font-size:16px; line-height:20px; }
  .case-mobile-drawer .portfolio-nav .nav-active { font-weight:600; background:#fafafa; }
  .case-mobile-drawer .nav-active::after { position:absolute; left:8px; width:28px; height:28px; }
  .case-mobile-drawer .sidebar-contact { display:flex; width:auto; margin:16px; padding:12px; border:1px solid #ededed; }
  .case-mobile-drawer .contact-talk { max-width:none; }
  .case-mobile-drawer .contact-links { flex-wrap:wrap; justify-content:center; }
  .case-mobile-drawer .contact-button-label { font-size:10px; }
  .case-mobile-drawer .contact-links a { font-size:12px; }
  .case-drawer-close:focus-visible { outline:2px solid #777; outline-offset:-4px; }
}
/* Larger email target on mobile, including the case-study drawer. */
@media (max-width:760px) {
  .sidebar-contact [data-copy-email] { height:48px; font-size:12px; }
  .sidebar-contact [data-copy-email] .contact-button-base { height:calc(100% - 4px); }
  .sidebar-contact [data-copy-email] .contact-button-label { font-size:inherit; gap:6px; }
  .sidebar-contact [data-copy-email] .contact-button-label img { width:16px; height:16px; }
}
