*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-black: #000000;
  --color-gray-dark: #323232;
  --color-gray: #898989;
  --color-gray-light: #a8a8a8;
  --color-accent-blue: #4c93bd;
  --color-accent-green: #4b6e48;
  --color-accent-terra: #904f3e;
  --color-accent-navy: #1c304e;
  --color-off-white: #f2f0ef;
  --color-cream: #fdf8ed;
  --color-white: #ffffff;
  --color-nav-bg: rgba(242, 240, 239, 0.9);
  --color-nav-border: #f5f5f5;
  --shadow-nav-active: 0px 10px 10px rgba(30, 42, 48, 0.12);
  --content-width: 600px;
  /* Shared page shell: main columns + footer + case layouts share one inset */
  --page-pad-x: 24px;
  --page-max-width: 1280px;
  --page-shell-width: min(calc(100% - (2 * var(--page-pad-x))), var(--page-max-width));
  /* Distance from viewport edge to shelled column (symmetric left/right) */
  --page-bleed-left: max(var(--page-pad-x), (100vw - var(--page-max-width)) / 2);
  --page-bleed-right: max(var(--page-pad-x), (100vw - var(--page-max-width)) / 2);
  /* Home / About / Playground — tighter than case studies so the sidebar
     doesn’t sit too low. Sticky top matches this pad. */
  --home-main-pad-top: 140px;
  --home-sidebar-sticky-top: var(--home-main-pad-top);
  --footer-width: var(--page-max-width);
  --beli-teal: #134f5c;
  --beli-teal-dark: #00565D;
  --beli-teal-mid: #2c636e;
  --beli-teal-hero: #5C949C;
  --beli-navy: #003548;
  --beli-blue: #1f3f49;
  --beli-text: #242424;
  --beli-case-width: 1044px;
  --menuvo-width: 1043px;
  --menuvo-cream: #fdebcd;
  --menuvo-cream-card: #fdeed3;
  --menuvo-brown-dark: #501f1f;
  --menuvo-brown: #955430;
  --menuvo-brown-card: #733d20;
  --menuvo-orange: #cd512f;
  --menuvo-label: #b2ac88;
  --menuvo-green: #62845f;
  /* Shared case-study sidenav position (brand top == hero frame top).
     Outer left inset comes from --page-shell-width on the layout — keep
     sidenav pad at 0 so brand aligns with home profile / footer left. */
  --case-sidenav-width: 255px;
  --case-sidenav-pad-left: 0px;
  --case-sidenav-sticky-top: 200px;
  --case-sidenav-back-offset: 80px; /* Back sits above brand/hero alignment */
  --case-sidenav-meta-gap: 14px;
  --case-sidenav-meta-mt: 28px;
  --case-sidenav-nav-mt: 28px;
  --case-sidenav-nav-gap: 10px;
  /* Home / About / Playground sidebar — wider than case sidenav */
  --home-profile-width: 300px;
  --sidebar-band-width: 300px;
}

html {
  scrollbar-gutter: stable;
}

/* Native cross-document view transitions: the sidebar/sun carry stable
   names so Home/About/Playground read as one continuous shell while the
   main content cross-fades. */
@view-transition {
  navigation: auto;
}

::view-transition-group(*) {
  animation-duration: 300ms;
  animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}

/* Clean soft crossfade — no warm/orange flash on enter */
::view-transition-old(root) {
  animation: pt-root-out 280ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

::view-transition-new(root) {
  animation: pt-root-in 340ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

@keyframes pt-root-out {
  to {
    opacity: 0;
  }
}

@keyframes pt-root-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Shared shell pieces morph instead of fading with root */
::view-transition-group(home-sidebar),
::view-transition-group(home-sun),
::view-transition-group(home-nav) {
  animation-duration: 320ms;
  animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* Footer "Pause motion" toggle also silences native view transitions. */
html.reduce-motion::view-transition-group(*),
html.reduce-motion::view-transition-old(*),
html.reduce-motion::view-transition-new(*) {
  animation: none !important;
}

/* Fallback page transition (browsers without cross-document view transitions):
   soft opacity fade + barely-there veil, driven by js/page-transitions.js. */
html.pt-fallback body {
  transition: opacity 320ms cubic-bezier(0.33, 1, 0.68, 1);
}

html.pt-fallback.pt-entering body,
html.pt-fallback.pt-leaving body {
  opacity: 0;
}

html.pt-fallback::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  background: rgba(255, 252, 248, 0.55);
  transition: opacity 320ms cubic-bezier(0.33, 1, 0.68, 1);
}

html.pt-fallback.pt-leaving::after,
html.pt-fallback.pt-entering::after {
  opacity: 1;
}

/* Gentle scroll snap — home & about only (body.page-home / body.page-about) */
html:has(body.page-home),
html:has(body.page-about) {
  scroll-snap-type: y proximity;
  scroll-padding-top: 120px;
}

body.page-home .hero {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

body.page-home .project-list .project-card {
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  scroll-margin-block: 48px;
}

body.page-about .about-reveal {
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  scroll-margin-block: 64px;
}

@media (max-width: 768px) {
  html:has(body.page-home),
  html:has(body.page-about) {
    scroll-padding-top: 80px;
  }
}

body {
  background: var(--color-white);
  color: var(--color-gray-dark);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Shared page chrome — Home / About / Playground use one flex column shell so
   .home-profile sits in the same containing block on every main page. */
body.page-home,
body.page-about,
body.page-paint {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Shared warm content field across Home, About, and Playground. */
body.page-home,
body.page-about,
body.page-paint {
  background: #fffbf3;
}

body.page-home {
  --ambient-x: 32%;
  --ambient-y: 38%;
}

body.page-home .home-main,
body.page-about .home-main,
body.page-paint .home-main {
  flex: 1 0 auto;
}

body.page-home .footer,
body.page-about .footer,
body.page-paint .footer {
  flex-shrink: 0;
}

body.page-home .footer {
  scroll-snap-align: end;
  scroll-snap-stop: normal;
}

.hero-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 480px at var(--ambient-x) var(--ambient-y), rgba(76, 147, 189, 0.07), transparent 70%),
    radial-gradient(circle 360px at calc(100% - var(--ambient-x)) calc(100% - var(--ambient-y)), rgba(144, 79, 62, 0.06), transparent 72%),
    radial-gradient(circle 280px at 50% 85%, rgba(28, 48, 78, 0.04), transparent 70%);
  transition: background 400ms ease-out;
}

/* Cat peeping up through the very bottom of the footer (Figma 495:793) */
.footer-cat {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(266px, 62vw);
  height: auto;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 560px) {
  .footer-cat {
    width: min(190px, 56vw);
  }
}

body.page-home main,
body.page-home .footer {
  position: relative;
  z-index: 1;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="url"],
input[type="tel"],
input:not([type]),
textarea,
[contenteditable="true"] {
  cursor: text;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* Nav */
.nav {
  position: fixed;
  top: 63px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  border: none;
  border-radius: 30px;
  background: var(--color-nav-bg);
  box-shadow: inset 0 0 0 1.1px var(--color-nav-border);
  contain: layout style;
}

.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: var(--shadow-nav-active);
  pointer-events: none;
  opacity: 0;
  will-change: transform, width, height;
  transition:
    transform 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    width 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    height 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.2s ease;
}

.nav-indicator.is-ready {
  opacity: 1;
}

.nav-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 300;
  color: var(--color-gray-dark);
  white-space: nowrap;
  background: transparent;
  box-shadow: none;
  transition:
    color 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.nav:not(.nav--project):not(:hover) {
  animation: nav-breathe 6s ease-in-out infinite;
}

@keyframes nav-breathe {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.96;
  }
}

.nav-link:hover {
  transform: translateY(-1.5px);
}

.nav-link:not(.active):hover {
  color: var(--color-accent-blue);
}

.nav-link.active:hover {
  color: var(--color-gray-dark);
}

.nav-link:active {
  transform: translateY(0);
  transition-duration: 0.2s;
}

.nav-link.active {
  color: var(--color-gray-dark);
}

/* Project case study nav — hidden until top hover (see project-nav.js) */

.nav.nav--project {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-16px);
  transition:
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.nav.nav--project.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Home (Figma: Portfolio Outline, node 533:474) */
.home-main {
  width: var(--page-shell-width);
  margin: 0 auto;
  padding: var(--home-main-pad-top) 0 clamp(64px, 10vw, 140px);
}

/* Shared SL mark — same initial placement, scrolls away with the page */
.home-logo,
.site-logo {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  margin: 60px auto clamp(32px, 5vw, 64px);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  view-transition-name: home-logo;
  transition: opacity 250ms ease-out;
}

.home-logo:hover,
.site-logo:hover {
  opacity: 0.75;
}

.home-logo-dot {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  outline: none;
  box-shadow: none;
  background:
    #fff
    radial-gradient(
      53.21% 51.44% at 51.47% 51.52%,
      #ff4a4a 0%,
      rgba(255, 155, 74, 0.89) 31.25%,
      rgba(237, 226, 166, 0.89) 69.46%,
      rgba(255, 255, 255, 0.8) 96%,
      #ffffff 100%
    );
}

.home-logo-text {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: normal;
  color: var(--color-black);
}

.home-columns {
  display: grid;
  grid-template-columns: minmax(0, var(--sidebar-band-width)) minmax(0, 1fr);
  align-items: start;
  justify-content: stretch;
  gap: clamp(24px, 3.5vw, 48px);
}

@media (min-width: 861px) {
  /* Match gutter after sidebar to the page’s right bleed so content isn’t
     left-heavy (Home / About / Playground share .home-columns). */
  .home-columns {
    gap: var(--page-bleed-right);
  }
}

/* Left-side page container — shared across Home / About / Playground */
.home-sidebar {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 0;
  align-self: start;
  view-transition-name: home-sidebar;
}

/* Warm sun field — left band behind the sidebar, hard edge at the
   projects column (projects stay white/cream). Lightened for text contrast. */
.home-sidebar-aura {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: -60px;
  bottom: -64px;
  left: calc(-1 * var(--page-bleed-left, 24px));
  right: 0;
  opacity: 1;
  /* Portrait skyline crop — cover (no stretch). Centered so open sky/water
     sit behind the type instead of the left-edge foliage. */
  background:
    /* Soft white veil for text readability */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.18) 45%,
      rgba(255, 255, 255, 0.12) 100%
    ),
    url("media/home/sidebar-bg-photo.jpg?v=8") center top / cover no-repeat,
    #c4b59a;
  transform: translateZ(0);
}

/* Below laptop: full-bleed the yellow across left + right page margins */
@media (max-width: 860px) {
  .home-sidebar-aura {
    left: 50%;
    right: auto;
    width: 100vw;
    margin-left: -50vw;
  }
}

@media (min-width: 861px) {
  .home-sidebar-aura {
    position: fixed;
    top: 0;
    bottom: auto;
    /* Fill through the left bleed to the browser edge; content stays inset */
    left: 0;
    right: auto;
    margin-left: 0;
    width: calc(var(--page-bleed-left) + var(--sidebar-band-width));
    /* Same viewport-tall field on Home / About / Playground — don't tie to
       --project-aura-height or cover-scaling drifts with scroll. */
    height: 100vh;
  }
}

@media (min-width: 861px) {
  .home-main:has(.home-sidebar) {
    position: relative;
    z-index: 1;
  }
}


/* Shared profile block — same box on Home / About / Playground / Library.
   Sun sits above name; typography + nav spacing match deployed Netlify. */
.home-profile {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: min(var(--home-profile-width), 100%);
  max-width: var(--home-profile-width);
  padding: 0;
  box-sizing: border-box;
}

/* about-columns is a marker only — no layout overrides vs Home */
.about-columns {
  align-items: start;
}

.home-profile-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

/* The sun doubles as the home affordance (refresh on home, go-home elsewhere) */
.home-profile-sun-link,
.home-sun-link {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-sun-link {
  view-transition-name: home-sun;
}

.home-profile-sun-link:hover {
  transform: scale(1.05);
}

.home-profile-sun-link:hover .home-profile-sun,
.home-profile-sun-link:focus-visible .home-profile-sun {
  filter:
    drop-shadow(0 0 8px rgba(255, 210, 74, 0.85))
    drop-shadow(0 0 22px rgba(255, 210, 74, 0.55));
}

.home-profile-sun-link:focus-visible {
  outline: 2px solid rgba(255, 210, 74, 0.75);
  outline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .home-profile-sun-link {
    transition: none;
  }
}

html.reduce-motion .home-profile-sun-link {
  transition: none;
}

.home-profile-sun {
  display: block;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
  overflow: visible;
}

.home-profile-sun path {
  fill: #FFD24A;
}

/* Only the rays spin; the gradient core stays fixed */
.home-profile-sun-rays {
  transform-box: view-box;
  transform-origin: center;
  animation: home-profile-sun-spin 10s linear infinite;
}

@keyframes home-profile-sun-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Gentle warm breathe on the gradient core; returns to baseline each cycle */
.home-profile-sun-core {
  transform-box: view-box;
  transform-origin: center;
  animation: home-profile-sun-breathe 4s ease-in-out infinite;
}

@keyframes home-profile-sun-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-profile-sun-rays,
  .home-profile-sun-core {
    animation: none;
  }
}

.home-name {
  margin: 0;
  font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--color-black);
}

/* Profile-top gap is 20px; pull name→bio to 10px */
.home-name + .home-bio {
  margin-top: -10px;
}

.home-bio {
  margin: 0;
  max-width: 200px;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.02em; /* -2% */
  color: var(--color-black);
}

.home-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 50px;
  view-transition-name: home-nav;
}

.home-nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 50px;
  border: 1.4px solid rgba(50, 50, 50, 0.45);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 400;
  letter-spacing: -0.4px;
  color: var(--color-gray-dark);
  background: rgba(255, 255, 255, 0.55);
  transition:
    border-color 250ms ease-out,
    color 250ms ease-out,
    background 250ms ease-out,
    box-shadow 250ms ease-out,
    transform 250ms ease-out;
}

.home-nav-pill:hover {
  border-color: var(--color-gray-dark);
  color: var(--color-gray-dark);
  transform: translateY(-1px);
}

.home-nav-pill.active {
  border: 1.5px solid var(--color-black);
  color: var(--color-white);
  background: var(--color-black);
  box-shadow: none;
}

.home-nav-pill.active:hover {
  border-color: var(--color-black);
  color: var(--color-white);
  background: var(--color-black);
  box-shadow: 0 10px 20px rgba(30, 42, 48, 0.12);
  transform: none;
}

@media (min-width: 861px) {
  .home-columns {
    grid-template-columns: var(--sidebar-band-width) minmax(0, 1fr);
  }

  /* Sticky top matches .home-main pad-top so the profile never jumps on scroll
     and Home / About / Playground share one resting + stuck position. */
  .home-sidebar {
    position: sticky;
    top: var(--home-sidebar-sticky-top);
    z-index: 2;
    align-self: start;
    min-height: 0;
    height: fit-content;
  }

  .home-profile {
    width: var(--home-profile-width);
  }

  /* Sun + gap sit above the name — pull profile up so “Stephanie Lin”
     starts at the same height as on Home (aligned with content top). */
  body.page-home .home-profile,
  body.page-about .home-profile,
  body.page-paint .home-profile,
  body.page-library .home-profile {
    margin-top: calc(-60px - 20px);
  }
}

body.page-home .project-list {
  --project-aura-x: 48%;
  --project-aura-y: 22%;
  --project-aura-height: 100vh;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  row-gap: 75px;
  column-gap: 35px;
  flex: 1 1 560px;
  min-width: 0;
  /* Fill the grid's 1fr column so right edge matches shell / footer */
  width: 100%;
}

/* Warm cream band behind the project previews; cards stay gray.
   Fills from viewport top to the footer and out to the right edge,
   meeting the sidebar gradient at a hard vertical edge. */
body.page-home .project-list::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc(var(--page-bleed-left) + var(--sidebar-band-width));
  background: #fffbf3;
  pointer-events: none;
}

@media (max-width: 860px) {
  body.page-home .project-list::before {
    /* Single column — soft contained wash instead of a fixed band */
    position: absolute;
    inset: -24px -20px -32px;
    border-radius: 16px;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Warm sun-glow behind home projects — retired; the warm band now lives
   on the left sidebar (.home-sidebar-aura) and projects stay white. */
body.page-home .project-list-aura {
  display: none;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  inset: -40px -56px -64px -64px;
  opacity: 0.95;
  background:
    radial-gradient(
      110% 70% at var(--project-aura-x) var(--project-aura-y),
      rgba(255, 196, 90, 0.58) 0%,
      rgba(255, 224, 150, 0.32) 34%,
      rgba(255, 244, 210, 0.12) 62%,
      rgba(255, 255, 255, 0) 78%
    ),
    linear-gradient(
      105deg,
      rgba(255, 248, 230, 0.22) 0%,
      rgba(255, 232, 180, 0.38) 42%,
      rgba(255, 220, 150, 0.32) 100%
    ),
    url("media/home/sidebar-bg.png") center / cover no-repeat;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 8%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 8%, #000 90%, transparent 100%);
  mask-composite: intersect;
  transform: translateZ(0);
}

body.page-home .project-list > *:not(.project-list-aura) {
  position: relative;
  z-index: 1;
}

/* Desktop: name aligns with content top via profile margin-top nudge.
   Aura: fixed right band after sidebar → viewport right, y=0 → footer. */
@media (min-width: 861px) {
  body.page-home .project-list-aura {
    position: fixed;
    inset: auto;
    top: 0;
    left: calc(var(--page-bleed-left) + var(--sidebar-band-width));
    right: 0;
    bottom: auto;
    width: auto;
    height: var(--project-aura-height);
    /* Soft fade on LEFT toward white sidebar; solid to top / right / footer */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 100%);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 100%);
    mask-composite: add;
  }
}


body.page-home .project-card-link {
  min-width: 0;
}

body.page-home .project-card {
  gap: 18px;
  max-width: none;
  min-width: 0;
}

body.page-home .project-image-wrap,
body.page-home .project-image-wrap--menuvo,
body.page-home .project-image-wrap--food-blend,
body.page-home .project-image-wrap--rythmeet {
  aspect-ratio: 350 / 400;
  border-radius: 5px;
  background: #eee;
}

body.page-home .project-image-wrap:not(.project-image-wrap--menuvo):not(.project-image-wrap--food-blend) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 115px 22px;
  box-sizing: border-box;
}

body.page-home .project-image-wrap--food-blend {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  box-sizing: border-box;
  overflow: hidden;
  background: #eee;
}

body.page-home .project-image-wrap--menuvo {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 86px 52px;
  box-sizing: border-box;
  overflow: hidden;
}

body.page-home .project-image-wrap > video.project-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

body.page-home .project-image-wrap--rythmeet {
  overflow: hidden;
}

body.page-home .project-image-wrap--rythmeet > video.project-image {
  /* Slight crop for fringe only — keep inside the frame (was 1.12 and overflowed) */
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  transform: scale(1.02);
}

body.page-home .project-text {
  padding: 0;
  gap: 6px;
}

body.page-home .project-title {
  font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.56px;
  color: var(--color-black);
}

body.page-home .project-description {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.36px;
  color: var(--color-gray);
}

@media (max-width: 860px) {
  :root {
    /* Keep a tighter top on stacked mobile layout */
    --home-main-pad-top: clamp(64px, 7.5vw, 100px);
  }

  .home-columns {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .home-sidebar {
    width: min(var(--sidebar-band-width), 100%);
    min-height: 0;
  }

  .home-profile {
    align-items: center;
    text-align: center;
    width: min(var(--home-profile-width), 100%);
    max-width: var(--home-profile-width);
    padding: 0;
  }

  .home-profile-top {
    align-items: center;
  }

  .home-nav {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  body.page-home .project-list {
    width: 100%;
  }
}

@media (max-width: 560px) {
  body.page-home .project-list {
    grid-template-columns: 1fr;
    /* Single column: original 40px spacing + 30px breathing room */
    row-gap: 70px;
  }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  height: 100svh;
  height: 100vh;
  min-height: 100svh;
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(160px, 28vh, 266px) 24px 80px;
  padding-left: clamp(24px, 12.65vw, 162px);
  box-sizing: border-box;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: min(596px, calc(100% - 24px));
  text-align: left;
  position: relative;
  z-index: 1;
}

.hero-cat {
  position: absolute;
  right: 0;
  top: 47.5%;
  transform: translateY(-50%);
  display: block;
  width: min(360px, 32vw);
  height: auto;
  aspect-ratio: 524 / 545;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
  transition:
    opacity 400ms ease-out,
    transform 400ms ease-out;
}

.hero-name {
  font-size: clamp(52px, 11.72vw, 150px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.05em;
  color: var(--color-black);
  text-transform: lowercase;
  transition:
    opacity 300ms ease-out,
    transform 300ms ease-out;
}

.hero-tagline {
  max-width: 326px;
  font-size: clamp(18px, 1.95vw, 25px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.05em;
  color: var(--color-gray-dark);
  text-transform: lowercase;
  transition:
    opacity 300ms ease-out,
    transform 300ms ease-out;
}

.hero-tagline-accent {
  position: relative;
  color: inherit;
  cursor: default;
  transition: color 0.3s var(--ease-out-soft);
}

.hero-tagline-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out-expo);
}

.hero-content:not(.hero-entered) .hero-name,
.hero-content:not(.hero-entered) .hero-tagline {
  opacity: 0;
  transform: translateY(10px);
}

.hero:not(.hero-entered) .hero-cat {
  opacity: 0;
  transform: translate(12px, calc(-50% + 12px));
}

.hero-content.hero-entered .hero-tagline {
  opacity: 1;
  transform: none;
  transition-delay: 0ms;
}

.hero-content.hero-entered .hero-name {
  opacity: 1;
  transform: none;
  transition-delay: 90ms;
}

.hero.hero-entered .hero-cat {
  opacity: 1;
  transform: translateY(-50%);
  transition-delay: 180ms;
}

.hero-highlight {
  position: relative;
  color: var(--color-accent-blue);
  transition:
    color 300ms ease-out,
    opacity 300ms ease-out;
}

.hero-highlight.is-emphasis {
  color: var(--color-accent-navy);
}

.hero-highlight.is-emphasis::after {
  transform: scaleX(1);
  opacity: 0.85;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms ease-out;
}

.hero-highlight:hover {
  color: var(--color-accent-navy);
}

.hero-highlight:hover::after {
  transform: scaleX(1);
  animation: highlight-underline-pulse 600ms ease-out;
}

@keyframes highlight-underline-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.65;
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.55;
  transform: translateX(-50%);
  transition:
    opacity 400ms ease-out,
    transform 400ms ease-out;
}

.hero-scroll-hint.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--color-gray));
  animation: hero-scroll-pulse 2.4s ease-in-out infinite;
}

.hero-scroll-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray);
}

@keyframes hero-scroll-pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(1.15);
    opacity: 1;
  }
}

/* Projects */
.projects {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(calc(100% - (2 * var(--page-pad-x))), var(--content-width));
  margin: 0 auto;
  padding: 80px 0 80px;
  text-align: left;
}

.projects-heading-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin-bottom: 56px;
}

.projects-illustration {
  display: block;
  width: 83px;
  height: 71px;
}

.projects-heading {
  width: 100%;
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--color-black);
}

.project-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 128px;
  width: 100%;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: var(--content-width);
  /* Always visible — no per-card scroll reveal / opacity gate */
  opacity: 1;
  transform: none;
}

.project-image-wrap {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  overflow: hidden;
  border-radius: 5px;
  transition:
    transform 300ms ease-out,
    opacity 300ms ease-out;
}

.project-image-wrap:hover {
  transform: perspective(900px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) scale(1.03) translateY(-2px);
}

.project-card-link:hover .project-image-wrap:not(.project-image-wrap--menuvo) video,
.project-card-link:hover .project-image-wrap:not(.project-image-wrap--menuvo) .project-frame-video {
  filter: brightness(1.08);
  transition: filter 300ms ease-out;
}

.project-card-link:hover .project-image-wrap--menuvo {
  filter: brightness(1.08);
  transition: filter 300ms ease-out;
}

.project-card-link:hover .project-image-wrap--menuvo .project-menuvo-phone {
  filter: brightness(1.08);
  transition: filter 300ms ease-out;
}

.project-card-link:hover .project-image-wrap--food-blend {
  filter: brightness(1.08);
  transition: filter 300ms ease-out;
}

.project-image,
.project-image-wrap > video.project-image,
.project-image-wrap > img.project-image {
  display: block;
  width: 100%;
  height: auto;
}

.project-image-wrap--menuvo {
  background: var(--color-white);
  aspect-ratio: 696 / 445;
}

.project-image-wrap--rythmeet {
  box-sizing: border-box;
  border-radius: 5px;
}

.project-image-wrap--food-blend {
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 713 / 397;
}

.project-food-blend-phone {
  max-width: 100%;
  max-height: 96%;
  width: auto;
  height: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  /* Prefer crisp downscale of UI screenshot */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

.project-menuvo-phone-frame {
  position: relative;
  height: 100%;
  aspect-ratio: 108 / 222;
  flex: 0 0 auto;
  overflow: hidden;
}

.project-menuvo-phone {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: var(--color-white);
}

.project-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px;
  position: relative;
}

.project-index {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-gray-light);
  transition:
    color 300ms ease-out,
    transform 300ms ease-out;
}

.project-card-link:hover .project-index {
  color: var(--color-accent-blue);
  transform: translateX(2px);
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.2px;
  color: var(--color-accent-blue);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 300ms ease-out,
    transform 300ms ease-out,
    gap 300ms ease-out;
}

.project-cta-arrow {
  display: inline-block;
  transition: transform 300ms ease-out;
}

.project-card-link:hover .project-cta {
  opacity: 1;
  transform: translateY(0);
}

.project-card-link:hover .project-cta-arrow {
  transform: translateX(4px);
}

.project-text.center {
  align-items: center;
  text-align: center;
}

.project-text.start {
  align-items: flex-start;
  text-align: left;
}

.project-title {
  width: 100%;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.6px;
  color: var(--color-black);
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-description {
  width: 100%;
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.45px;
  color: var(--color-gray-dark);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-btn:hover {
  transform: scale(1.05) translateY(-2px);
  opacity: 0.7;
}

/* Footer — solid deep garden green */
.footer {
  position: relative;
  /* Stack above .home-main (z-index: 1) so the fixed sidebar/cream bands
     never paint over the footer */
  z-index: 2;
  /* Cat peek decoration removed — keep overflow visible so footer content isn't clipped */
  overflow: visible;
  display: flex;
  justify-content: center;
  /* Extra bottom pad reserves the gravity pit for shapes on every page */
  padding: 48px var(--page-pad-x) 130px;
  background-color: #2d4717;
  color: var(--color-white);
}

/* Gravity pit — physics shapes drop in and pile on the footer floor. */

.footer-gravity {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  contain: layout;
  /* Shapes are physics-confined to the footer; clip any visual overshoot */
  overflow: hidden;
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.fg-shape {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}

.fg-shape.is-dragging {
  cursor: grabbing;
}

.fg-shape--icon {
  -webkit-user-drag: none;
  object-fit: contain;
}

.fg-shape--pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: "Hedvig Letters Serif", Georgia, serif;
  font-size: 20px;
  line-height: normal;
  white-space: nowrap;
}

.footer-emoji {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.footer-emoji img {
  display: block;
  flex-shrink: 0;
  transform-origin: center center;
}

/* Moon + smiley: gentle bob only — no hover/focus speed-up or scale */
.footer-emoji img:first-of-type,
.footer-emoji img:last-of-type {
  animation: footer-smiley-bob 2.6s ease-in-out infinite;
}

@keyframes footer-smiley-bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  40% {
    transform: translateY(-3px) rotate(5deg);
  }
  70% {
    transform: translateY(-1px) rotate(-2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-emoji img:first-of-type,
  .footer-emoji img:last-of-type {
    animation: none;
  }
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 120px);
  width: 100%;
  max-width: var(--footer-width);
  min-height: min-content;
  box-sizing: border-box;
  /* Keep reveal translateY / email tooltip from clipping */
  overflow: visible;
}

/* Decorative cat peeping up from the very bottom of the footer */
.footer-cat {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(280px, 40vw);
  height: auto;
  aspect-ratio: 532 / 384;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

@media (max-width: 560px) {
  .footer-cat {
    width: min(180px, 46vw);
  }
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  width: min(350px, 100%);
  flex: 0 1 350px;
  min-width: 0;
}

.footer-connect {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-scroll-note {
  font-size: 20px;
  letter-spacing: -1px;
}

.footer-stay-connected {
  font-size: 30px;
  letter-spacing: -1.5px;
}

.footer-email {
  --footer-email-copy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M4 1.5H3a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-1h-1v1a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z'/%3E%3Cpath fill='%23000' d='M6 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H6zm0 1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-underline-position: from-font;
  cursor: pointer;
  vertical-align: baseline;
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.footer-email::before {
  content: "Click to copy";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  padding: 4px 10px;
  background: var(--color-gray-dark);
  color: var(--color-white);
  font-size: 14px;
  letter-spacing: -0.28px;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.footer-email::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.85);
  background-color: currentColor;
  -webkit-mask: var(--footer-email-copy-icon) no-repeat center / contain;
  mask: var(--footer-email-copy-icon) no-repeat center / contain;
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.footer-email:hover,
.footer-email:focus-visible {
  opacity: 0.85;
  transform: scale(1.02);
}

.footer-email:hover::before,
.footer-email:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer-email:hover::after,
.footer-email:focus-visible::after {
  opacity: 0.75;
  transform: scale(1);
}

.footer-email:focus-visible {
  outline: 2px solid #ff7c54;
  outline-offset: 3px;
}

.footer-email.copied {
  pointer-events: none;
}

.footer-email.copied::before {
  content: "Copied!";
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  animation: footer-copied-tooltip 2s ease forwards;
}

.footer-email.copied::after {
  opacity: 0;
  transform: scale(0.85);
}

@keyframes footer-copied-tooltip {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
  }

  12%,
  75% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.footer-copyright {
  font-size: 18px;
  letter-spacing: -0.9px;
  color: var(--color-white);
}

.footer-right {
  display: flex;
  gap: clamp(40px, 5vw, 70px);
  flex: 0 1 auto;
  min-width: 0;
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-label {
  font-size: 15px;
  letter-spacing: -0.3px;
  color: var(--color-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 20px;
  letter-spacing: -0.4px;
  color: var(--color-white);
}

.footer-links a {
  position: relative;
  display: inline-block;
  width: fit-content;
  transition: color 300ms ease-out, opacity 300ms ease-out;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 1px;
  background: #8ECE54;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms ease-out;
}

.footer-links a:hover {
  color: #8ECE54;
  opacity: 1;
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

/* Motion toggle — link-styled button in the footer navigation group */
.footer-motion-toggle {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  width: fit-content;
  transition: color 300ms ease-out, opacity 300ms ease-out;
}

.footer-motion-toggle:hover {
  color: #8ECE54;
  opacity: 1;
}

.footer-motion-toggle:focus-visible {
  outline: 2px solid #ff7c54;
  outline-offset: 3px;
}

/* Reduced motion via the footer toggle — mirrors the OS-level
   prefers-reduced-motion media queries used elsewhere in this sheet.
   Animations/transitions complete instantly instead of being stuck. */
html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

/* About page */
.about-content {
  flex: 1 1 560px;
  min-width: 0;
  /* Fill the grid's 1fr column so right edge matches shell / footer */
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 85px;
}

.about-reveal {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 300ms ease-out,
    transform 300ms ease-out,
    visibility 0s linear 300ms;
}

.about-reveal.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 300ms ease-out,
    transform 300ms ease-out,
    visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .about-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.about-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  /* Room under last content (photos, pillars, grids) */
  padding-bottom: 40px;
}

.about-eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-gray);
  letter-spacing: -0.28px;
}

.about-heading {
  margin: 0;
  font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.64px;
  color: var(--color-black);
}

.about-eyebrow + .about-heading {
  margin-top: -12px;
}

/* Flex gap on .about-block is 20px; pull heading→body to exactly 10px */
.about-heading + .about-body {
  margin-top: -10px;
}

.about-accent {
  color: #33588f;
}

.about-heading .about-accent {
  color: var(--color-black);
}

.about-underline {
  text-decoration: underline;
  text-underline-position: from-font;
}

.about-body {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--color-black);
}

.about-body em {
  font-style: italic;
}

/* Body → photo: flex gap 20px + margin → 10px */
.about-body + .about-photo-main,
.about-body + .about-photo-grid {
  margin-top: -10px;
}

/* Shared: longer text frame before pillar (+ flex gap 20px → ~40px) */
.about-body + .about-pillars {
  margin-top: 20px;
}

/* Body → player row: flex gap 20px + margin → 15px */
.about-body + .music-player-row,
.about-body + .music-player {
  margin-top: -5px;
}

.music-player-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

@media (max-width: 700px) {
  .music-player-row {
    grid-template-columns: 1fr;
  }
}

.about-photo-main {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
  border-radius: 8px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.about-pillar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 20px 18px;
  border: 2px solid #33588f;
  border-radius: 14px;
  background: #33588f;
  min-width: 0;
  transition:
    transform 300ms ease-out,
    box-shadow 300ms ease-out;
}

.about-pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(51, 88, 143, 0.28);
}

.about-pillar-icon {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.about-pillar-icon--intention {
  width: 22px;
  height: 23px;
}

.about-pillar-icon--connection {
  width: 34px;
  height: 23px;
}

.about-pillar-icon--craft {
  width: 24px;
  height: 24px;
}

.about-pillar-title {
  margin: 0;
  font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.18px;
  color: #ffffff;
}

.about-pillar-text {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #ffffff;
}

@media (max-width: 700px) {
  .about-pillars {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.about-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.about-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 175 / 263;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  transition:
    transform 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-photo:hover {
  transform: scale(1.03) translateY(-2px);
  opacity: 0.9;
}

.music-player {
  position: relative;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.music-player-spotify {
  display: block;
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

@media (max-width: 860px) {
  .about-content {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .about-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* Paint page */
.paint-page {
  flex: 1 1 560px;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.paint-section {
  margin-bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.paint-section.paint-art {
  margin-bottom: 80px;
}

.paint-heading {
  font-size: 40px;
  font-weight: 400;
  line-height: 55px;
  letter-spacing: -2px;
  color: var(--color-black);
}

.paint-body {
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--color-black);
}

.paint-art {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.paint-art-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.paint-art-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.paint-art-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.paint-art-head .paint-heading,
.paint-your-turn-intro .paint-heading {
  font-size: 30px;
  line-height: normal;
  letter-spacing: -0.9px;
  color: var(--color-gray-dark);
}

.paint-art-gallery-wrap {
  width: 100%;
}

/* Column masonry — each piece keeps its natural aspect (no cover-crop) */
.paint-art-masonry {
  column-count: 3;
  column-gap: 14px;
  width: 100%;
  max-width: 936px;
  margin: 0;
}

.paint-art-masonry .paint-gallery-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 14px;
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  object-fit: unset;
  object-position: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition:
    transform 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.paint-art-masonry .paint-gallery-img:last-child {
  margin-bottom: 0;
}

.paint-art-masonry .paint-gallery-img:hover {
  transform: scale(1.015);
  opacity: 0.94;
  z-index: 1;
}

.paint-gallery-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition:
    transform 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.paint-gallery-img:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

@media (max-width: 960px) {
  .paint-art-masonry {
    column-count: 2;
    column-gap: 12px;
    max-width: 100%;
  }

  .paint-art-masonry .paint-gallery-img {
    margin-bottom: 12px;
  }
}

@media (max-width: 560px) {
  .paint-art-masonry {
    column-count: 1;
    column-gap: 0;
  }

  .paint-art-masonry .paint-gallery-img {
    margin-bottom: 12px;
  }
}

.paint-your-turn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.paint-your-turn-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 10px;
  width: 100%;
  text-align: left;
}

.paint-tool {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 15px;
  width: 100%;
  max-width: 591px;
}

.paint-art .paint-heading,
.paint-art .paint-art-head,
.paint-art .paint-art-gallery-wrap,
.paint-your-turn-intro,
.paint-tool,
.paint-library-btn {
  transition:
    opacity 300ms ease-out,
    transform 300ms ease-out;
}

.paint-page:not(.paint-entered) .paint-art .paint-heading,
.paint-page:not(.paint-entered) .paint-art .paint-art-head,
.paint-page:not(.paint-entered) .paint-art .paint-art-gallery-wrap,
.paint-page:not(.paint-entered) .paint-your-turn-intro,
.paint-page:not(.paint-entered) .paint-tool,
.paint-page:not(.paint-entered) .paint-library-btn {
  opacity: 0;
  transform: translateY(12px);
}

.paint-page.paint-entered .paint-art .paint-heading {
  opacity: 1;
  transform: none;
  transition-delay: 0ms;
}

.paint-page.paint-entered .paint-art .paint-art-head {
  opacity: 1;
  transform: none;
  transition-delay: 90ms;
}

.paint-page.paint-entered .paint-art .paint-art-gallery-wrap {
  opacity: 1;
  transform: none;
  transition-delay: 180ms;
}

.paint-page.paint-entered .paint-your-turn-intro {
  opacity: 1;
  transform: none;
  transition-delay: 200ms;
}

.paint-page.paint-entered .paint-tool {
  opacity: 1;
  transform: none;
  transition-delay: 320ms;
}

.paint-page.paint-entered .paint-library-btn {
  opacity: 1;
  transform: none;
  transition-delay: 440ms;
}

.paint-upload-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 349px;
  flex-shrink: 0;
  border: 2px dashed #b8b8b8;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 0.25s ease-out,
    background 0.25s ease-out,
    transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}

.paint-upload-zone:not(.has-image):hover {
  transform: scale(1.025);
  border-color: #9a9a9a;
  background: rgba(242, 240, 239, 0.3);
  animation: paint-upload-border-pulse 2.4s ease-in-out infinite;
}

.paint-upload-zone.drag-over {
  border-color: var(--color-accent-blue);
  background: rgba(76, 147, 189, 0.1);
  transform: scale(1.02);
  animation: none;
}

.paint-upload-zone.has-image {
  border-style: solid;
  border-color: #e0e0e0;
  cursor: default;
  animation: none;
}

.paint-upload-zone.has-image:hover {
  transform: none;
}

@keyframes paint-upload-border-pulse {
  0%,
  100% {
    border-color: #b8b8b8;
  }

  50% {
    border-color: #8f8f8f;
  }
}

.paint-upload-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.44px;
  color: #b8b8b8;
  pointer-events: none;
  text-align: center;
}

.paint-upload-zone:not(.has-image) .paint-upload-placeholder {
  animation: paint-placeholder-shimmer 3s ease-in-out infinite;
}

@keyframes paint-placeholder-shimmer {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.62;
  }
}

.paint-upload-icon {
  width: 32px;
  height: 32px;
  color: #b8b8b8;
  transition: transform 0.3s ease-out;
}

.paint-upload-zone:not(.has-image):hover .paint-upload-icon {
  animation: paint-icon-bounce 0.65s ease-out;
}

@keyframes paint-icon-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(-5px);
  }

  65% {
    transform: translateY(-2px);
  }
}

.paint-canvas {
  max-width: 100%;
  max-height: 345px;
  cursor: crosshair;
  border-radius: 18px;
}

.paint-canvas.hidden,
.hidden {
  display: none;
}

.paint-swatches {
  display: flex;
  gap: 5px;
}

.paint-swatch {
  width: 30px;
  height: 30px;
  background: #eee;
  flex-shrink: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    border-color 300ms ease-out,
    transform 300ms ease-out,
    box-shadow 300ms ease-out;
}

.paint-swatch:hover {
  transform: scale(1.08);
}

.paint-swatch.picked {
  animation: paint-swatch-pop 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes paint-swatch-pop {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(76, 147, 189, 0);
  }

  45% {
    transform: scale(1.16);
    box-shadow: 0 0 0 4px rgba(76, 147, 189, 0.35);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(76, 147, 189, 0);
  }
}

.paint-swatch.active {
  border-color: var(--color-black);
  box-shadow: 0 0 0 1px var(--color-black);
}

.paint-swatch.active.picked {
  animation: paint-swatch-pop-active 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes paint-swatch-pop-active {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 1px var(--color-black);
  }

  45% {
    transform: scale(1.14);
    box-shadow: 0 0 0 4px rgba(76, 147, 189, 0.4);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 1px var(--color-black);
  }
}

.paint-name-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  width: 100%;
  max-width: 591px;
}

.paint-save-note {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.28px;
  text-align: center;
  color: var(--color-gray);
  min-height: 20px;
}

.paint-name-input {
  flex: 1;
  max-width: 329px;
  padding: 15px 20px;
  background: #f3f3f3;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--color-black);
  outline: none;
  transition:
    background 0.2s ease-out,
    box-shadow 0.25s ease-out;
}

.paint-name-input:focus {
  background: #f8f8f8;
  box-shadow: 0 0 0 2px rgba(76, 147, 189, 0.4);
}

.paint-name-input::placeholder {
  color: #b4b1b1;
}

.paint-save-btn {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: #3e3e3e;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.2s cubic-bezier(0.33, 1, 0.68, 1),
    background 0.15s,
    box-shadow 0.2s ease-out;
}

.paint-save-btn:hover:not(.saved) {
  background: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.paint-save-btn.saved {
  background: var(--color-accent-green);
  animation: save-success-pulse 700ms ease-out;
}

@keyframes save-success-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(75, 110, 72, 0.35);
  }

  45% {
    transform: scale(1.06);
    box-shadow: 0 0 0 10px rgba(75, 110, 72, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(75, 110, 72, 0);
  }
}

.paint-library-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  padding: 15px 30px;
  background: #3e3e3e;
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: -0.36px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.paint-library-btn::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 18px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms ease-out;
}

.paint-library-btn:hover {
  background: #2a2a2a;
}

.paint-library-btn:hover::after {
  transform: scaleX(1);
}

/* Color Library — Back + profile stick together; Back sits above name (out of flow) */
.library-columns {
  align-items: flex-start;
}

.library-sidebar {
  position: relative;
  width: min(var(--sidebar-band-width), 100%);
  flex-shrink: 0;
}

@media (min-width: 861px) {
  .library-sidebar {
    position: sticky;
    top: var(--home-sidebar-sticky-top);
    z-index: 2;
    align-self: flex-start;
    width: var(--sidebar-band-width);
  }

  /* Sticky lives on the wrapper so Back scrolls with the profile */
  .library-columns .home-sidebar {
    position: static;
    min-height: 0;
    width: 100%;
  }
}

.library-back {
  position: absolute;
  left: calc(var(--sidebar-band-width) + var(--page-bleed-right));
  top: calc(var(--home-main-pad-top) - 36px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transform: none;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: normal;
  color: var(--color-gray);
  text-decoration: none;
  transition: opacity 200ms ease-out;
}

.library-back svg {
  display: block;
  flex-shrink: 0;
}

.library-back:hover {
  opacity: 0.65;
}

@media (max-width: 860px) {
  .library-back {
    left: 50%;
    transform: translateX(-50%);
  }
}

.library-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding-top: 4px;
}

.library-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0;
  margin: 0;
  width: 100%;
}

.library-title {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  line-height: 55px;
  letter-spacing: -2px;
  color: var(--color-black);
}

.library-subtitle {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.28px;
  color: var(--color-black);
}

.library-status {
  margin: 8px 0 0;
  max-width: 520px;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.26px;
  color: var(--color-gray);
}

.library-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.library-tool-btn {
  appearance: none;
  border: 1px solid #d0d0d0;
  background: #f7f7f7;
  color: var(--color-black);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.26px;
  cursor: pointer;
}

.library-tool-btn:hover {
  background: #efefef;
}

.library-tool-btn--file {
  display: inline-flex;
  align-items: center;
}

.library-card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.library-card-badge {
  flex-shrink: 0;
  font-size: 11px;
  line-height: 1;
  letter-spacing: -0.1px;
  color: #b8d4e0;
  border: 1px solid rgba(184, 212, 224, 0.35);
  border-radius: 999px;
  padding: 5px 8px;
}

.library-card-badge--local {
  color: #b0b0b0;
  border-color: rgba(176, 176, 176, 0.35);
}


.library-empty {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: var(--color-gray);
  max-width: 420px;
}

.library-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.library-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px;
  background: #171717;
  border: 1px solid #dcdcdc;
  border-radius: 30px;
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
}

.library-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: #ffffff;
}

.library-card-swatches {
  display: flex;
  gap: 7px;
  align-items: center;
}

.library-swatch {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid #d3d3d3;
  box-sizing: border-box;
  background: none;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
  z-index: 0;
}

.library-swatch:hover,
.library-swatch:focus-visible,
.library-swatch.is-copied {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.library-swatch:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.library-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.library-swatch:hover::after,
.library-swatch:focus-visible::after,
.library-swatch.is-copied::after {
  opacity: 1;
}

.library-swatch-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(23, 23, 23, 0.94);
  color: #ffffff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: -0.1px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 180ms ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  z-index: 3;
}

.library-swatch-label::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(23, 23, 23, 0.94);
}

.library-swatch:hover .library-swatch-label,
.library-swatch:focus-visible .library-swatch-label,
.library-swatch.is-copied .library-swatch-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.library-swatch-img {
  background-size: cover;
  background-position: center;
}

@media (prefers-reduced-motion: reduce) {
  .library-swatch,
  .library-swatch::after,
  .library-swatch-label {
    transition: none;
  }

  .library-swatch:hover,
  .library-swatch:focus-visible,
  .library-swatch.is-copied {
    transform: none;
  }

  .library-swatch-label {
    transform: translateX(-50%);
  }

  .library-swatch:hover .library-swatch-label,
  .library-swatch:focus-visible .library-swatch-label,
  .library-swatch.is-copied .library-swatch-label {
    transform: translateX(-50%);
  }
}

.library-card-date {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.32px;
  color: #f2f0ef;
}

/* Shared case study header / back arrow */
.case-top,
.menuvo-top,
.cadence-top,
.beli-top,
.rythmeet-top {
  position: relative;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 71px 84px 0 102px;
  min-height: 96px;
}

.case-back,
.menuvo-back,
.cadence-back,
.beli-back,
.rythmeet-back {
  position: absolute;
  top: 64px;
  left: 36px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-black);
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transition:
    opacity 300ms ease-out,
    transform 300ms ease-out;
}

.case-back svg,
.menuvo-back svg,
.cadence-back svg,
.beli-back svg,
.rythmeet-back svg {
  pointer-events: none;
}

.case-back:hover,
.menuvo-back:hover,
.cadence-back:hover,
.beli-back:hover,
.rythmeet-back:hover {
  opacity: 0.55;
  transform: translateX(-2px);
}

.case-header,
.menuvo-case-header,
.cadence-case-header,
.beli-case-header,
.rythmeet-case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin: 0 0 40px;
  padding: 0;
  min-height: 96px;
  box-sizing: border-box;
}

.case-date,
.cadence-date,
.beli-date,
.rythmeet-date {
  font-size: 30px;
  font-weight: 400;
  line-height: 35px;
  letter-spacing: -0.3px;
  color: var(--color-black);
}

.case-palette-label,
.cadence-palette-label,
.beli-color-label,
.rythmeet-palette-label {
  font-size: 30px;
  font-weight: 400;
  line-height: 35px;
  letter-spacing: -0.3px;
  color: var(--color-black);
}

.case-color-palette,
.menuvo-color-palette,
.cadence-color-palette,
.beli-color-palette,
.rythmeet-color-palette {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.case-swatches,
.menuvo-swatches,
.cadence-swatches,
.beli-swatches,
.rythmeet-swatches {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  overflow: visible;
}

.case-swatch,
.menuvo-swatch,
.cadence-swatch,
.beli-swatch,
.rythmeet-swatch {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* Food Blend case study */
.beli-case {
  position: relative;
}

.beli-swatch {
  --drag-x: 0px;
  --drag-y: 0px;
  --float-x: 0px;
  --float-y: 0px;
  position: relative;
  z-index: 0;
  cursor: grab;
  touch-action: none;
  transform: translate(
    calc(var(--drag-x) + var(--float-x)),
    calc(var(--drag-y) + var(--float-y))
  );
  transition: transform 300ms ease-out;
}

.beli-swatch:not(.is-grabbing):hover {
  box-shadow: 0 0 0 2px var(--color-white), 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.beli-swatches.is-dragging .beli-swatch,
.beli-swatch.is-grabbing {
  cursor: grabbing;
  z-index: 101;
  transition: none;
}

.beli-case-header {
  max-width: none;
}

.beli-hero {
  background: var(--beli-teal-hero);
  height: 608px;
  overflow: hidden;
}

.beli-hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: var(--beli-case-width);
  height: 100%;
  margin: 0 auto;
  padding: 48px 40px 48px 104px;
  box-sizing: border-box;
}

.beli-hero-phone-wrap {
  flex: 0 1 228px;
  min-width: 0;
  height: auto;
  max-height: 450px;
  max-width: 228px;
  border-radius: 0;
}

.beli-hero-phone {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 450px;
  aspect-ratio: 139 / 287;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: var(--beli-teal-hero);
}

video.beli-hero-phone,
img.beli-hero-phone {
  display: block;
  background: var(--beli-teal-hero);
}

.beli-hero-tagline {
  flex: 0 1 280px;
  min-width: 0;
  width: min(280px, 100%);
  margin: 0;
  font-size: 26px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.beli-case-body {
  max-width: var(--beli-case-width);
  margin: 0 auto;
  padding: 60px var(--page-pad-x) 120px;
}

.beli-title {
  font-family: "Inclusive Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 90px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -4.5px;
  color: var(--color-black);
  margin-bottom: 80px;
}

.beli-section {
  margin-bottom: 120px;
}

.beli-section-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.beli-label {
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--beli-teal-mid);
  margin-bottom: 10px;
}

.beli-heading {
  font-size: 30px;
  font-weight: 400;
  line-height: 32px;
  color: var(--color-black);
  margin: 0;
}

.beli-subheading {
  font-size: 30px;
  font-weight: 400;
  line-height: 32px;
  color: var(--color-black);
  margin: 60px 0 0;
}

.beli-body {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--beli-text);
}

.beli-heading + .beli-body,
.beli-heading + .beli-two-col,
.beli-subheading + .beli-body {
  margin-top: 10px;
}

.beli-heading + .beli-wireframes,
.beli-heading + .beli-iterating-content,
.beli-heading + .beli-future-cards,
.beli-heading + .beli-reflection-list,
.beli-heading + .beli-section-full {
  margin-top: 20px;
}

.beli-body + .beli-body {
  margin-top: 1em;
}

.beli-underline {
  text-decoration: underline;
  text-underline-position: from-font;
}

.beli-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 90px;
  row-gap: 40px;
  align-items: start;
  width: 100%;
  margin-top: 40px;
}

.beli-meta-item {
  min-width: 0;
}

.beli-quote {
  position: relative;
  margin: 20px 0 20px 50px;
  padding-left: 20px;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--beli-text);
  border-left: 2px solid var(--beli-teal);
}

.beli-quote-italic {
  font-style: italic;
}

.beli-insight-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.beli-insight-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 180px;
  padding: 20px 16px;
  border: 1px solid var(--color-black);
  border-radius: 10px;
  background: var(--color-white);
  text-align: center;
  box-sizing: border-box;
}

.beli-insight-card p {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.32px;
  color: var(--color-black);
}

.beli-numbered-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-left: 30px;
}

.beli-numbered-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--color-gray-dark);
}

.beli-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--beli-teal);
  border-radius: 30px;
  font-size: 22px;
  font-weight: 300;
  color: var(--beli-teal);
}

.beli-num-filled {
  background: var(--color-white);
  border-width: 2.5px;
  font-size: 22px;
  font-weight: 700;
}

.beli-two-col {
  display: flex;
  gap: 51px;
  align-items: flex-start;
}

.beli-body-col {
  flex: 1;
  max-width: 800px;
}

.beli-competitor-logos {
  position: relative;
  width: 145px;
  height: 150px;
  flex-shrink: 0;
}

.beli-competitor-logo {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.beli-logo-1 {
  position: absolute;
  top: 3px;
  left: 0;
  transform: rotate(-6.5deg);
}

.beli-logo-2 {
  position: absolute;
  top: 0;
  left: 78px;
  transform: rotate(12.8deg);
  border: 0.5px solid var(--color-black);
}

.beli-logo-3 {
  position: absolute;
  top: 85px;
  left: 38px;
}

.beli-opportunity-cards {
  display: grid;
  /* Keep 3-up when space allows; reflow before long titles clip */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.beli-opportunity-card {
  background: var(--beli-teal-mid);
  color: var(--color-white);
  padding: 40px 24px 28px;
  min-height: 340px;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  overflow: visible;
}

.beli-opportunity-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  min-width: 0;
}

.beli-opportunity-header h3 {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.36px;
  line-height: 1.3;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.beli-opportunity-card ul {
  list-style: disc;
  margin: 0;
  padding-left: 1.25em;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.beli-opportunity-card li {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.32px;
}

.beli-opportunity-card li::marker {
  color: var(--color-white);
}

.beli-wireframes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 34px;
}

.beli-wireframe-wide {
  grid-column: 1 / -1;
}

.beli-wireframe img {
  width: 100%;
  border: 1px solid #a0a0a0;
  border-radius: 10px;
}

.beli-wireframe figcaption {
  margin-top: 12px;
  font-size: 18px;
  font-style: italic;
  color: #a7a6a6;
}

.beli-section-image {
  width: 100%;
  border-radius: 5px;
}

.beli-iterating-content {
  width: 100%;
  height: auto;
  display: block;
}

/* Final Flow label sits at the bottom of the iterating image — keep media tight underneath */
.beli-section-iterating {
  margin-bottom: 40px;
}

.beli-user-testing-intro {
  margin-bottom: 50px;
}

.beli-user-testing-rows {
  display: flex;
  flex-direction: column;
  gap: 63px;
  max-width: 912px;
  width: 100%;
}

.beli-user-testing-row {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}

.beli-user-testing-screens {
  flex: 1 1 auto;
  min-width: 0;
}

.beli-user-testing-phones {
  display: block;
  width: 100%;
  max-width: 468px;
  height: auto;
}

.beli-user-testing-phone-single {
  display: block;
  max-width: 226px;
  width: 100%;
  height: auto;
  border: 0.75px solid rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.beli-user-testing-callout {
  flex: 0 0 260px;
  min-width: 0;
  max-width: 315px;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: 10px;
  padding: 24px;
  box-sizing: border-box;
}

.beli-user-testing-callout ul {
  margin: 0;
  padding-left: 27px;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--color-black);
}

.beli-user-testing-callout li + li {
  margin-top: 0;
}

.beli-user-testing-callout strong {
  font-weight: 700;
}

.beli-final-flow-section {
  margin-top: 0;
  margin-bottom: 120px;
}

.beli-final-flow {
  background: var(--beli-teal-dark);
  min-height: 577px;
  padding: 41px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.beli-final-flow-video,
img.beli-final-flow-video,
video.beli-final-flow-video {
  width: 246px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 5px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  background: #000;
}

.beli-final-product-section .beli-heading {
  max-width: var(--beli-case-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.beli-final-product-stage {
  margin-top: 40px;
  margin-bottom: 0;
}

.beli-final-product-teal {
  background: var(--beli-teal);
  min-height: 640px;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.beli-final-product-video,
img.beli-final-product-video {
  width: 260px;
  max-width: 100%;
  max-height: 564px;
  height: auto;
  aspect-ratio: 352 / 764;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  flex-shrink: 0;
}

.beli-final-screen {
  max-width: 388px;
  width: 100%;
  border-radius: 10px;
}

.beli-final-screens-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.beli-final-screen-sm {
  max-width: 280px;
  width: 100%;
  border: 0.75px solid rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.beli-reflection-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 30px;
}

.beli-reflection-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.beli-reflection-list p {
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--color-gray-dark);
}

.beli-future-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.beli-future-card {
  background: var(--beli-teal);
  color: var(--color-white);
  min-height: 300px;
  padding: 10px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.beli-future-card h3 {
  font-size: 25px;
  font-weight: 400;
  line-height: 30px;
  text-decoration: underline;
  text-underline-position: from-font;
}

.beli-future-card p {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  max-width: 229px;
}

@media (max-width: 768px) {
  /* Mobile case-top already supplies top space — avoid stacking with page pad */
  .menuvo-page,
  .cadence-case,
  .beli-case,
  .rythmeet-case {
    padding-top: 0;
  }

.case-top,
.menuvo-top,
.cadence-top,
.beli-top,
.rythmeet-top {
    padding: 100px var(--page-pad-x) 0 72px;
    min-height: 72px;
  }

.case-back,
.menuvo-back,
.cadence-back,
.beli-back,
.rythmeet-back {
    top: 93px;
    left: 17px;
  }

  .case-header,
  .menuvo-case-header,
  .cadence-case-header,
  .beli-case-header,
  .rythmeet-case-header {
    padding: 0;
    min-height: 72px;
    margin-bottom: 24px;
  }

.case-date,
.cadence-date,
.beli-date,
.rythmeet-date,
.case-palette-label,
.cadence-palette-label,
.beli-color-label,
.rythmeet-palette-label {
    font-size: 22px;
    line-height: 28px;
  }

.case-swatch,
.menuvo-swatch,
.cadence-swatch,
.beli-swatch,
.rythmeet-swatch {
    width: 32px;
    height: 32px;
  }

.case-color-palette,
.menuvo-color-palette,
.cadence-color-palette,
.beli-color-palette,
.rythmeet-color-palette {
    gap: 8px;
  }

  .beli-hero {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .beli-hero-inner {
    flex-direction: column;
    gap: 30px;
    padding: 40px 24px;
    height: auto;
    min-height: 0;
  }

  .beli-hero-phone-wrap {
    height: auto;
    max-width: min(200px, 55vw);
  }

  .beli-hero-phone {
    width: 100%;
    height: auto;
  }

  .beli-hero-tagline {
    flex: 0 1 auto;
    width: auto;
    max-width: 296px;
    text-align: center;
    font-size: 24px;
  }

  .beli-title {
    font-size: 48px;
    letter-spacing: -2.4px;
    margin-bottom: 48px;
  }

  .beli-heading,
  .beli-subheading {
    font-size: 24px;
    line-height: 30px;
  }

  .beli-two-col {
    flex-direction: column;
  }

  .beli-competitor-logos {
    margin: 0 auto;
  }

  .beli-opportunity-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .beli-opportunity-card {
    max-width: none;
    width: auto;
    min-height: 0;
  }

  .beli-insight-cards {
    grid-template-columns: 1fr;
  }

  .beli-insight-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .beli-wireframes {
    grid-template-columns: 1fr;
  }

  .beli-section {
    margin-bottom: 80px;
  }

  .beli-section-iterating {
    margin-bottom: 32px;
  }

  .beli-user-testing-rows {
    gap: 40px;
  }

  .beli-final-flow {
    min-height: 420px;
    padding: 35px 24px;
  }

  .beli-final-product-teal {
    min-height: 460px;
    padding: 28px 24px;
  }

  .beli-user-testing-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .beli-user-testing-callout {
    max-width: 100%;
  }

  .beli-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 30px;
  }

  .beli-future-cards {
    grid-template-columns: 1fr;
  }
}

.placeholder-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 16px;
  min-height: 60vh;
  padding: 180px 24px 80px;
}

.placeholder-title {
  font-size: 55px;
  font-weight: 400;
  letter-spacing: -2.75px;
  color: var(--color-black);
}

.placeholder-text {
  font-size: 22px;
  color: var(--color-gray-dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-inner {
    flex-direction: column;
    gap: 60px;
    align-items: flex-start;
  }

  /* Flatten left column so copyright can order after .footer-right */
  .footer-left {
    display: contents;
  }

  .footer-connect {
    order: 1;
    width: 100%;
  }

  .footer-right {
    order: 2;
  }

  .footer-copyright {
    order: 3;
  }
}

@media (max-width: 768px) {
  .nav {
    top: 24px;
    gap: 8px;
    padding: 8px;
    border-radius: 24px;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 14px;
  }

  .about-page {
    padding-top: 140px;
  }

  .about-hero {
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
  }

  .about-hero-text {
    max-width: 100%;
  }

  .about-hero-visual {
    flex-direction: column;
    align-items: center;
  }

  .about-profile {
    width: 100%;
    max-width: 378px;
    height: auto;
    aspect-ratio: 378 / 448;
    object-fit: cover;
    object-position: center top;
  }

  .about-two-col {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .about-col {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .about-two-col .about-body {
    max-width: 100%;
  }

  .about-section {
    margin-bottom: 120px;
  }

  .about-heading {
    font-size: 32px;
    line-height: 44px;
  }

  .about-photo-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-photo-movie-1,
  .about-photo-movie-2,
  .about-photo-movie-3 {
    width: 100%;
    height: auto;
    aspect-ratio: 175 / 263;
  }

  .about-photo-food-1,
  .about-photo-food-2,
  .about-photo-food-3 {
    width: 100%;
    height: auto;
    aspect-ratio: 175 / 263;
  }

  .about-music-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-photo-gym-1,
  .about-photo-gym-2,
  .about-photo-gym-3 {
    width: 100%;
    height: auto;
    aspect-ratio: 175 / 263;
  }

  .paint-page {
    padding-top: 140px;
  }

  .paint-section.paint-art {
    margin-bottom: 60px;
  }

  .paint-your-turn-intro {
    gap: 10px;
  }

  .paint-heading {
    font-size: 32px;
    line-height: 44px;
  }

  .paint-name-row {
    flex-wrap: wrap;
  }

  .paint-name-input {
    max-width: 100%;
  }

  .library-content {
    width: 100%;
    gap: 24px;
  }

  .library-title {
    font-size: 32px;
    line-height: 44px;
  }

  .library-cards {
    gap: 16px;
  }

  .library-card {
    width: 100%;
  }

  .hero {
    height: 100svh;
    height: 100vh;
    min-height: 100svh;
    min-height: 100vh;
    padding: 140px 24px 64px;
    padding-left: 24px;
  }

  .hero-content {
    width: min(100%, 596px);
  }

  .hero-cat {
    width: min(210px, 38vw);
    right: 0;
  }

  .hero-name {
    font-size: clamp(44px, 12vw, 72px);
  }

  .hero-tagline {
    max-width: min(326px, 100%);
    font-size: clamp(17px, 4.2vw, 22px);
  }

  .projects {
    padding-top: 64px;
  }

  .projects-heading-group {
    margin-bottom: 48px;
  }

  .projects-illustration {
    width: 66px;
    height: 56px;
  }

  .projects-heading {
    font-size: 32px;
  }

  .project-list {
    gap: 100px;
  }

  .project-title {
    font-size: 28px;
  }

  .project-description {
    font-size: 18px;
    line-height: 26px;
  }
}

/* Case studies — top breathing room; clip heroes on the content
   column so sidenav sticky isn’t broken by overflow. */
.menuvo-page,
.cadence-case,
.beli-case,
.rythmeet-case {
  padding-top: 200px;
}

.menuvo-layout,
.cadence-layout,
.beli-layout,
.rythmeet-layout {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  /* Mobile: full-width shell; section padding supplies the 24px gutter.
     Desktop (≥861px): match home/footer via --page-shell-width. */
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  box-sizing: border-box;
}

.menuvo-content,
.cadence-content,
.beli-content,
.rythmeet-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 0;
  overflow-x: clip;
}

.menuvo-sidenav,
.cadence-sidenav,
.beli-sidenav,
.rythmeet-sidenav {
  display: none;
}

@media (min-width: 861px) {
  .menuvo-layout,
  .cadence-layout,
  .beli-layout,
  .rythmeet-layout {
    width: var(--page-shell-width);
    max-width: none;
  }

  /* Stays put while case content scrolls. Negative margin + top padding pull
     Back above the brand without clipping it; brand lines up with the hero.
     No internal scroll — wheel over the sidebar moves the page. */
  .menuvo-sidenav,
  .cadence-sidenav,
  .beli-sidenav,
  .rythmeet-sidenav {
    display: flex;
    flex-direction: column;
    width: var(--case-sidenav-width);
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--case-sidenav-sticky-top) - var(--case-sidenav-back-offset));
    /* Below .footer (z-index: 2) so sticky never paints over the garden */
    z-index: 1;
    margin-top: calc(-1 * var(--case-sidenav-back-offset));
    padding: var(--case-sidenav-back-offset) 0 24px var(--case-sidenav-pad-left);
    background: var(--color-white);
    align-self: flex-start;
    height: fit-content;
    overflow: visible;
  }

  .menuvo-sidenav-back,
  .cadence-sidenav-back,
  .beli-sidenav-back,
  .rythmeet-sidenav-back {
    position: absolute;
    top: 0;
    left: var(--case-sidenav-pad-left);
  }

  .menuvo-sidenav-nav,
  .cadence-sidenav-nav,
  .beli-sidenav-nav,
  .rythmeet-sidenav-nav {
    flex: 0 0 auto;
    overflow: visible;
  }

  .menuvo-content .menuvo-top,
  .cadence-content .cadence-top,
  .beli-content .beli-top,
  .rythmeet-content .rythmeet-top {
    max-width: none;
    margin: 0 0 40px;
    padding: 0 var(--page-pad-x);
    min-height: 0;
  }

  .menuvo-content .menuvo-back,
  .menuvo-content .menuvo-title,
  .menuvo-content .menuvo-github-wrap,
  .menuvo-content .menuvo-case-header--mobile,
  .cadence-content .cadence-back,
  .cadence-content .cadence-title,
  .cadence-content .cadence-case-header--mobile,
  .beli-content .beli-back,
  .beli-content .beli-title,
  .beli-content .beli-case-header--mobile,
  .rythmeet-content .rythmeet-back,
  .rythmeet-content .rythmeet-title,
  .rythmeet-content .rythmeet-case-header--mobile {
    display: none;
  }

  /* Desktop: date/colors live in the sidenav — collapse empty top chrome */
  .menuvo-content .menuvo-top,
  .cadence-content .cadence-top,
  .beli-content .beli-top,
  .rythmeet-content .rythmeet-top {
    margin-bottom: 0;
    padding: 0;
    min-height: 0;
  }

  /* Right-bleed past shelled column to the viewport edge (--page-bleed-right
     accounts for both the pad-x gutter and the centered max-width gutter).
     Extra right padding offsets the bleed so the preview stays centered in
     the content column on wide windows (otherwise it sits ~bleed/2 too far right). */
  .rythmeet-content .rythmeet-hero {
    width: calc(100% + var(--page-bleed-right));
    max-width: none;
    position: relative;
    left: 0;
    margin: 0;
    box-sizing: border-box;
    padding-right: calc(24px + var(--page-bleed-right));
  }

  /* Menuvo: bleed only to viewport right so the phone pair centers in the
     visible cream band (100vw from content left mis-centered the group). */
  .menuvo-content .menuvo-hero {
    width: calc(100% + var(--page-bleed-right));
    max-width: none;
    position: relative;
    left: 0;
    margin: 0 0 20px;
    padding: 60px var(--page-pad-x);
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
  }

  /* Beli: right-bleed only past centered page shell (avoids tagline clip) */
  .beli-content .beli-hero {
    width: calc(100% + var(--page-bleed-right));
    max-width: none;
    position: relative;
    left: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .cadence-content .cadence-hero {
    margin: 0 auto;
    max-width: var(--cadence-width);
  }

  .beli-content .beli-case-body,
  .cadence-content .cadence-case-body,
  .rythmeet-content .rythmeet-case-body {
    padding-top: 20px;
  }

  .cadence-content .cadence-final-product-stage {
    margin-left: 0;
    margin-right: 0;
  }

  .beli-content .beli-hero-inner {
    max-width: none;
    width: 100%;
    padding: 48px 40px 48px 104px;
  }

  .beli-content .beli-final-flow-section.beli-section-full,
  .beli-content .beli-final-product-stage.beli-section-full {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .beli-content .beli-final-flow,
  .beli-content .beli-final-product-teal {
    /* Match hero right-bleed: content column → viewport right. */
    width: calc(100% + var(--page-bleed-right));
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
}

.menuvo-sidenav-back,
.cadence-sidenav-back,
.beli-sidenav-back,
.rythmeet-sidenav-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-gray);
  font-size: 16px;
  letter-spacing: -0.8px;
  text-decoration: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.menuvo-sidenav-back svg,
.cadence-sidenav-back svg,
.beli-sidenav-back svg,
.rythmeet-sidenav-back svg {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.menuvo-sidenav-back:hover,
.cadence-sidenav-back:hover,
.beli-sidenav-back:hover,
.rythmeet-sidenav-back:hover {
  opacity: 0.6;
  transform: translateX(-2px);
}

/* Mirrors .home-name typography; top aligns with hero (Back is absolutely offset above) */
.menuvo-sidenav-brand,
.cadence-sidenav-brand,
.beli-sidenav-brand,
.rythmeet-sidenav-brand {
  margin: 0;
  font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--color-black);
}

.menuvo-sidenav-meta,
.cadence-sidenav-meta,
.beli-sidenav-meta,
.rythmeet-sidenav-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--case-sidenav-meta-gap);
  margin-top: var(--case-sidenav-meta-mt);
  width: 100%;
}

.menuvo-sidenav .menuvo-date,
.menuvo-sidenav .menuvo-palette-label,
.cadence-sidenav .cadence-date,
.cadence-sidenav .cadence-palette-label,
.beli-sidenav .beli-date,
.beli-sidenav .beli-color-label,
.rythmeet-sidenav .rythmeet-date,
.rythmeet-sidenav .rythmeet-palette-label {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.3px;
  color: var(--color-black);
}

/* Keep dates on one line; meta is a column so width shrinks to content */
.menuvo-sidenav .menuvo-date,
.cadence-sidenav .cadence-date,
.beli-sidenav .beli-date,
.rythmeet-sidenav .rythmeet-date {
  white-space: nowrap;
  width: max-content;
  max-width: none;
}

.menuvo-sidenav .menuvo-color-palette,
.cadence-sidenav .cadence-color-palette,
.beli-sidenav .beli-color-palette,
.rythmeet-sidenav .rythmeet-color-palette {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: nowrap;
  width: max-content;
  max-width: 100%;
}

.menuvo-sidenav .menuvo-palette-label,
.cadence-sidenav .cadence-palette-label,
.beli-sidenav .beli-color-label,
.rythmeet-sidenav .rythmeet-palette-label {
  white-space: nowrap;
  flex-shrink: 0;
}

.menuvo-sidenav .menuvo-swatches,
.cadence-sidenav .cadence-swatches,
.beli-sidenav .beli-swatches,
.rythmeet-sidenav .rythmeet-swatches {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  overflow: visible;
}

.menuvo-sidenav .menuvo-swatch,
.cadence-sidenav .cadence-swatch,
.beli-sidenav .beli-swatch,
.rythmeet-sidenav .rythmeet-swatch {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.menuvo-sidenav-nav,
.cadence-sidenav-nav,
.beli-sidenav-nav,
.rythmeet-sidenav-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--case-sidenav-nav-gap);
  margin-top: var(--case-sidenav-nav-mt);
}

/* Food Blend sidenav pills — gap 15px; casing is literal HTML (e.g. "Problem + Research"), not Figma ALL CAPS */
.beli-sidenav-nav {
  gap: 15px;
}

.menuvo-sidenav-github {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 50px;
  background: var(--menuvo-green);
  color: var(--color-white);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 400;
  letter-spacing: -0.4px;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.menuvo-sidenav-github:hover {
  transform: scale(1.03);
  opacity: 0.85;
}

/* Match homepage .home-nav-pill size + hover/active (black fill, no yellow shadow) */
.menuvo-sidenav-pill,
.cadence-sidenav-pill,
.beli-sidenav-pill,
.rythmeet-sidenav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 13px 20px;
  border-radius: 50px;
  border: 1.4px solid #bababa;
  background: transparent;
  color: var(--color-gray);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 400;
  letter-spacing: -0.4px;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
  transition:
    border-color 250ms ease-out,
    color 250ms ease-out,
    background 250ms ease-out,
    box-shadow 250ms ease-out,
    transform 250ms ease-out;
}

.menuvo-sidenav-pill:hover,
.cadence-sidenav-pill:hover,
.beli-sidenav-pill:hover,
.rythmeet-sidenav-pill:hover {
  border-color: var(--color-gray-dark);
  color: var(--color-gray-dark);
  transform: translateY(-1px);
  box-shadow: none;
}

.menuvo-sidenav-pill.is-active,
.menuvo-sidenav-pill.active,
.cadence-sidenav-pill.is-active,
.cadence-sidenav-pill.active,
.beli-sidenav-pill.is-active,
.beli-sidenav-pill.active,
.rythmeet-sidenav-pill.is-active,
.rythmeet-sidenav-pill.active {
  border: 1.5px solid var(--color-black);
  color: var(--color-white);
  background: var(--color-black);
  box-shadow: none;
}

.menuvo-sidenav-pill.is-active:hover,
.menuvo-sidenav-pill.active:hover,
.cadence-sidenav-pill.is-active:hover,
.cadence-sidenav-pill.active:hover,
.beli-sidenav-pill.is-active:hover,
.beli-sidenav-pill.active:hover,
.rythmeet-sidenav-pill.is-active:hover,
.rythmeet-sidenav-pill.active:hover {
  border-color: var(--color-black);
  color: var(--color-white);
  background: var(--color-black);
  box-shadow: 0 10px 20px rgba(30, 42, 48, 0.12);
  transform: none;
}

.menuvo-top {
  position: relative;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 71px 84px 0 102px;
  min-height: 96px;
}

.menuvo-back:hover {
  opacity: 0.55;
  transform: translateX(-2px);
}

.menuvo-case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin: 0 0 40px;
  padding: 0;
  min-height: 96px;
  box-sizing: border-box;
}

.menuvo-color-palette {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.menuvo-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--menuvo-cream);
  padding: 60px var(--page-pad-x);
  margin: 0 calc(50% - 50vw) 60px;
  max-width: none;
  box-sizing: border-box;
}

.menuvo-date {
  font-size: 30px;
  font-weight: 400;
  line-height: 35px;
  letter-spacing: -0.3px;
  color: var(--color-black);
}

.menuvo-palette-label {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--color-black);
}

.menuvo-swatches {
  display: flex;
  gap: 10px;
  overflow: visible;
}

.menuvo-swatch {
  --drag-x: 0px;
  --drag-y: 0px;
  --float-x: 0px;
  --float-y: 0px;
  position: relative;
  z-index: 0;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  cursor: grab;
  touch-action: none;
  transform: translate(
    calc(var(--drag-x) + var(--float-x)),
    calc(var(--drag-y) + var(--float-y))
  );
  transition: transform 300ms ease-out;
}

.menuvo-swatch:not(.is-grabbing):hover {
  box-shadow: 0 0 0 2px var(--color-white), 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.menuvo-swatches.is-dragging .menuvo-swatch,
.menuvo-swatch.is-grabbing {
  cursor: grabbing;
  z-index: 101;
  transition: none;
}

.menuvo-hero-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.menuvo-hero-phone {
  flex: 1 1 0;
  min-width: 0;
  max-width: 240px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: var(--menuvo-cream);
}

.menuvo-title {
  max-width: var(--menuvo-width);
  margin: 0 auto 24px;
  padding: 0 var(--page-pad-x);
  font-family: "Inclusive Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 90px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -4.5px;
  color: var(--color-black);
}

.menuvo-github-wrap {
  max-width: var(--menuvo-width);
  margin: 0 auto 80px;
  padding: 0 var(--page-pad-x);
}

.menuvo-section {
  max-width: var(--menuvo-width);
  margin: 0 auto 120px;
  padding: 0 var(--page-pad-x);
}

.menuvo-eyebrow {
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--menuvo-label);
  margin-bottom: 10px;
}

.menuvo-subtitle {
  font-size: 30px;
  font-weight: 400;
  line-height: 32px;
  color: var(--color-black);
  margin: 0;
}

.menuvo-subtitle + .menuvo-body,
.menuvo-subtitle + p.menuvo-body {
  margin-top: 10px;
}

.menuvo-subtitle + .menuvo-final-visual {
  margin-top: 10px;
}

.menuvo-subtitle + .menuvo-reflection-item {
  margin-top: 10px;
}

.menuvo-subtitle + .menuvo-numbered-item {
  margin-top: 10px;
}

.menuvo-subtitle-spaced {
  margin-top: 60px;
}

.menuvo-key-insights-heading {
  margin-top: 100px;
}

.menuvo-research > .menuvo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  justify-content: stretch;
  margin-top: 32px;
  margin-bottom: 80px;
}

.menuvo-research > .menuvo-cards .menuvo-card {
  width: auto;
  min-width: 0;
  max-width: none;
}

@media (max-width: 768px) {
  .menuvo-research > .menuvo-cards {
    grid-template-columns: 1fr;
  }
}

.menuvo-body {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: #242424;
}

.menuvo-context .menuvo-body {
  margin-bottom: 40px;
}

.menuvo-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 40px;
  align-items: start;
  width: 100%;
}

.menuvo-meta-item {
  min-width: 0;
}

.menuvo-meta-item dd {
  margin: 0;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .menuvo-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 30px;
  }
}

@media (max-width: 480px) {
  .menuvo-meta-grid {
    grid-template-columns: 1fr;
  }
}

.menuvo-github-btn {
  padding: 18px 20px;
  background: var(--menuvo-green);
  color: var(--color-white);
  border-radius: 30px;
  font-size: 18px;
  line-height: 25px;
}

.menuvo-quote {
  margin: 0 0 20px 30px;
  padding-left: 20px;
  border-left: 2px solid #d1d1d1;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: #242424;
}

.menuvo-numbered-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-left: 30px;
}

.menuvo-numbered-compact {
  margin-bottom: 20px;
}

.menuvo-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border: 1px solid var(--menuvo-brown);
  border-radius: 30px;
  background: var(--color-white);
  font-size: 25px;
  font-weight: 300;
  line-height: 30px;
  color: var(--menuvo-brown);
}

.menuvo-item-title {
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  letter-spacing: -0.44px;
  color: var(--color-gray-dark);
  margin-bottom: 10px;
}

.menuvo-list {
  margin: 0;
  padding-left: 27px;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--color-black);
}

.menuvo-list li {
  margin-bottom: 4px;
}

.menuvo-research .menuvo-body {
  margin-bottom: 20px;
}

.menuvo-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 20px;
}

.menuvo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 290px;
  min-height: 280px;
  padding: 30px;
  background: var(--menuvo-cream-card);
  border: 1px solid var(--menuvo-label);
  text-align: center;
}

.menuvo-card-title {
  font-size: 25px;
  font-weight: 400;
  line-height: 30px;
  text-decoration: underline;
  color: var(--color-black);
}

.menuvo-card--dark {
  width: 259px;
  min-height: 242px;
  padding: 50px;
  background: var(--menuvo-brown-card);
  border: none;
}

.menuvo-card-title--dark {
  font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  text-decoration: none;
  color: var(--color-white);
}

.menuvo-body--dark {
  color: var(--color-white);
  font-size: 16px;
  letter-spacing: -0.32px;
}

.menuvo-tagline {
  font-size: 20px;
  line-height: 25px;
  letter-spacing: -0.4px;
  color: var(--color-black);
  margin-bottom: 40px;
}

.menuvo-solution-subtitle {
  margin-bottom: 60px;
}

.menuvo-solution-layout {
  display: grid;
  grid-template-columns: 489px minmax(0, 411px);
  column-gap: 100px;
  align-items: center;
  justify-content: start;
  width: 100%;
}

.menuvo-solution-phones {
  position: relative;
  width: 489px;
  height: 522px;
  flex-shrink: 0;
}

.menuvo-solution-phone {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.menuvo-solution-phone--reviews {
  width: 261px;
  left: 12px;
  top: 0;
  transform: rotate(-7.13deg);
  transform-origin: center center;
  z-index: 2;
}

.menuvo-solution-phone--steps {
  width: 209px;
  left: 248px;
  top: 57px;
  transform: rotate(4.32deg);
  transform-origin: center center;
  z-index: 1;
}

.menuvo-solution-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  margin-left: 0;
  padding-left: 8px;
}

.menuvo-solution-brand {
  margin: 0 0 0 34px;
  font-size: 64px;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.64px;
  color: var(--color-black);
}

.menuvo-solution-quote {
  position: relative;
  width: min(411px, 100%);
  margin: 30px 0 0;
  padding: 0;
  border: none;
}

.menuvo-solution-tagline {
  margin: 29px 0 0 36px;
  padding: 10px 12px 14px 18px;
  background: var(--color-white);
  font-size: 20px;
  line-height: 25px;
  letter-spacing: -0.4px;
  color: var(--color-black);
}

.menuvo-solution-tagline p {
  margin: 0;
}

.menuvo-solution-corner {
  position: absolute;
  pointer-events: none;
}

.menuvo-solution-corner--bl {
  left: 0;
  bottom: 0;
  transform: rotate(-90deg);
}

.menuvo-solution-corner--tr {
  right: -14px;
  top: -10px;
  transform: rotate(90deg);
}

.menuvo-process-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: var(--menuvo-width);
  margin-bottom: 48px;
}

.menuvo-process-item {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.menuvo-process-text--right {
  text-align: right;
}

.menuvo-process-gallery {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: var(--menuvo-width);
}

/* Figma Frame 548 / 549 / 550 — caption outside bordered stage (10px gap) */
.menuvo-process-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.menuvo-process-caption {
  margin: 0;
  font-size: 18px;
  font-style: italic;
  line-height: 25px;
  color: #a7a6a6;
}

/* Figma 606:12342 / 606:12343 / 606:12344 — 1px #000, 30px radius, white fill */
.menuvo-process-stage-frame {
  box-sizing: border-box;
  width: 100%;
  background: #fff;
  border: 1px solid #000;
  border-radius: 30px;
}

.menuvo-process-stage-frame--low {
  padding: 37px 25px;
}

.menuvo-process-stage-frame--mid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px 32px 33px;
}

.menuvo-process-stage-frame--high {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 55px 24px;
}

.menuvo-sketch-collage {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
}

.menuvo-sketch-img {
  display: block;
  width: auto;
  height: clamp(120px, 16vw, 220px);
  max-width: 100%;
  object-fit: contain;
}

/* onboard-sketch-1 — keep clear of the stage frame’s left edge */
.menuvo-sketch-collage .menuvo-sketch-img:nth-child(5) {
  transform: translateX(12px);
}

.menuvo-process-name {
  font-size: 25px;
  font-weight: 700;
  line-height: 30px;
  color: var(--color-black);
  margin-bottom: 20px;
}

.menuvo-process-text {
  flex: 1;
  max-width: 660px;
}

.menuvo-ghost-num {
  font-size: 200px;
  font-weight: 700;
  line-height: 175px;
  letter-spacing: 30px;
  color: rgba(0, 0, 0, 0.07);
  flex-shrink: 0;
  user-select: none;
}

.menuvo-underline {
  text-decoration: underline;
}

.menuvo-phone-row--onboard-lofi .menuvo-phone-shot {
  height: 271px;
}

.menuvo-phone-row--onboard-hifi .menuvo-phone-shot {
  height: 270px;
}

.menuvo-phone-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  max-width: var(--menuvo-width);
  margin: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.menuvo-phone-shot {
  display: block;
  flex: 0 0 auto;
  width: auto;
  object-fit: contain;
  border-radius: 5px;
}

.menuvo-phone-row--discover-lofi .menuvo-phone-shot {
  height: 274px;
}

.menuvo-phone-row--discover-hifi .menuvo-phone-shot {
  height: 279px;
}

.menuvo-phone-row--create-lofi .menuvo-phone-shot {
  height: 306px;
}

.menuvo-phone-row--create-hifi .menuvo-phone-shot {
  height: 304px;
}

.menuvo-phone-row--cookbooks-lofi .menuvo-phone-shot {
  height: 325px;
}

.menuvo-phone-row--cookbooks-hifi .menuvo-phone-shot {
  height: 334px;
}

.menuvo-ideation {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  margin-top: 60px;
}

.menuvo-ideation-img {
  display: block;
  flex: 0 1 auto;
  width: auto;
  max-width: 418px;
  height: auto;
  object-fit: contain;
}

.menuvo-ideation-img--secondary {
  max-width: 407px;
}

.menuvo-final-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  max-width: 1053px;
  width: 100%;
  margin: 0 auto;
}

.menuvo-final-phone {
  flex: 1 1 0;
  min-width: 0;
  max-width: 346px;
  width: 100%;
  aspect-ratio: 339 / 314;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 5px;
}

.menuvo-reflection-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.menuvo-reflection-item .menuvo-body {
  padding-left: 19px;
}

.menuvo-reflection-item .menuvo-item-title {
  font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 30px;
}

.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-link:hover .project-title {
  color: #5B7C99;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-link:hover .project-description {
  opacity: 0.75;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 900px) {
  .menuvo-case-header {
    padding: 0;
  }

  .menuvo-date,
  .menuvo-palette-label {
    font-size: 22px;
    line-height: 28px;
  }

  .menuvo-swatch {
    width: 32px;
    height: 32px;
  }

  .menuvo-ghost-num {
    font-size: 100px;
    line-height: 1;
    letter-spacing: 10px;
  }

  .menuvo-process-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .menuvo-process-text--right {
    text-align: left;
  }

  .menuvo-process-gallery {
    gap: 32px;
  }

  .menuvo-process-stage-frame--low {
    padding: 24px 16px;
  }

  .menuvo-process-stage-frame--mid {
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .menuvo-process-stage-frame--high {
    gap: 24px;
    padding: 32px 16px;
  }

  .menuvo-hero-phones {
    max-width: min(480px, 85vw);
  }

  .menuvo-solution-subtitle {
    margin-bottom: 40px;
  }

  .menuvo-solution-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 48px;
  }

  .menuvo-solution-phones {
    width: min(320px, 88vw);
    height: auto;
    aspect-ratio: 320 / 522;
    transform: scale(0.92);
    transform-origin: top center;
  }

  .menuvo-solution-phone--reviews {
    width: 81.6%;
    left: 0;
    top: 0;
  }

  .menuvo-solution-phone--steps {
    width: 65.3%;
    left: 77.8%;
    top: 10.9%;
  }

  .menuvo-solution-copy {
    width: 100%;
    max-width: 411px;
    margin-left: 0;
    padding-left: 0;
  }

  .menuvo-solution-brand {
    margin-left: 0;
    font-size: 48px;
    text-align: center;
  }

  .menuvo-solution-quote {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
  }

  .menuvo-solution-tagline {
    margin-left: 16px;
  }

  .menuvo-sketch-img {
    height: clamp(90px, 26vw, 160px);
  }

  .menuvo-phone-row--discover-lofi .menuvo-phone-shot {
    height: 220px;
  }

  .menuvo-phone-row--discover-hifi .menuvo-phone-shot {
    height: 224px;
  }

  .menuvo-phone-row--create-lofi .menuvo-phone-shot {
    height: 240px;
  }

  .menuvo-phone-row--create-hifi .menuvo-phone-shot {
    height: 240px;
  }

  .menuvo-phone-row--cookbooks-lofi .menuvo-phone-shot {
    height: 244px;
  }

  .menuvo-phone-row--cookbooks-hifi .menuvo-phone-shot {
    height: 268px;
  }

.menuvo-phone-row--onboard-lofi .menuvo-phone-shot {
    height: 220px;
  }

  .menuvo-phone-row--onboard-hifi .menuvo-phone-shot {
    height: 218px;
  }

  .menuvo-final-visual {
    max-width: min(1053px, 100%);
  }

  .menuvo-ideation-img,
  .menuvo-ideation-img--secondary {
    max-width: 100%;
  }

}

@media (max-width: 768px) {
  .menuvo-title {
    font-size: 48px;
    letter-spacing: -2.4px;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: clamp(40px, 11vw, 52px);
  }

  .hero-tagline {
    font-size: 17px;
    line-height: 1.2;
  }

  .hero-cat {
    width: min(150px, 36vw);
    right: 0;
  }

  .project-list {
    gap: 64px;
  }

  .footer-stay-connected {
    font-size: 24px;
  }

  .footer-right {
    gap: 40px;
  }
}

/* Cadence case study */
:root {
  --cadence-width: 1071px;
  --cadence-navy: #1a2332;
  --cadence-blue: #2d4263;
  --cadence-label: #2d4263;
}

.cadence-case {
  position: relative;
}

.cadence-top {
  position: relative;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 71px 84px 0 102px;
  min-height: 96px;
}

.cadence-back:hover {
  opacity: 0.55;
  transform: translateX(-2px);
}

.cadence-case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 96px;
}

.cadence-date,
.cadence-palette-label {
  font-size: 30px;
  font-weight: 400;
  line-height: 35px;
  letter-spacing: -0.3px;
  color: var(--color-black);
}

.cadence-color-palette {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.cadence-swatches {
  display: flex;
  gap: 10px;
}

.cadence-swatch {
  --drag-x: 0px;
  --drag-y: 0px;
  --float-x: 0px;
  --float-y: 0px;
  position: relative;
  z-index: 0;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  cursor: grab;
  touch-action: none;
  transform: translate(
    calc(var(--drag-x) + var(--float-x)),
    calc(var(--drag-y) + var(--float-y))
  );
  transition: transform 300ms ease-out;
}

.cadence-swatch:not(.is-grabbing):hover {
  box-shadow: 0 0 0 2px var(--color-white), 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.cadence-swatches.is-dragging .cadence-swatch,
.cadence-swatch.is-grabbing {
  cursor: grabbing;
  z-index: 101;
  transition: none;
}

.cadence-hero {
  background: var(--cadence-navy);
  height: 711px;
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cadence-hero-video {
  width: 100%;
  max-width: 1282px;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cadence-case-body {
  max-width: var(--cadence-width);
  margin: 0 auto;
  padding: 80px var(--page-pad-x) 120px;
}

.cadence-title {
  font-family: "Inclusive Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 90px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -4.5px;
  color: var(--color-black);
  margin-bottom: 80px;
}

.cadence-section {
  margin-bottom: 120px;
}

.cadence-section-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.cadence-label {
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--cadence-label);
  margin-bottom: 10px;
}

.cadence-heading {
  font-size: 30px;
  font-weight: 400;
  line-height: 32px;
  color: var(--color-black);
  margin: 0;
}

.cadence-subheading {
  font-size: 30px;
  font-weight: 400;
  line-height: 32px;
  color: var(--color-black);
  margin: 60px 0 0;
}

.cadence-body {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--beli-text);
}

.cadence-heading + .cadence-body,
.cadence-subheading + .cadence-body {
  margin-top: 10px;
}

.cadence-subheading + .cadence-feature {
  margin-top: 10px;
}

.cadence-heading + .cadence-future-cards,
.cadence-heading + .cadence-reflection-list,
.cadence-heading + .cadence-section-full {
  margin-top: 20px;
}

.cadence-reflection .cadence-label {
  margin-bottom: 0;
}

.cadence-reflection .cadence-heading + .cadence-reflection-list {
  margin-top: 10px;
}

.cadence-body + .cadence-body {
  margin-top: 1em;
}

.cadence-body-emphasis {
  margin-top: 24px;
}

.cadence-underline {
  text-decoration: underline;
  text-underline-position: from-font;
}

.cadence-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 40px;
  align-items: start;
  width: 100%;
  margin-top: 40px;
}

.cadence-meta-item {
  min-width: 0;
}

@media (max-width: 768px) {
  .cadence-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 30px;
  }
}

@media (max-width: 480px) {
  .cadence-meta {
    grid-template-columns: 1fr;
  }
}

.cadence-quote {
  position: relative;
  margin: 20px 0 20px 50px;
  padding-left: 20px;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--beli-text);
  border-left: 2px solid var(--cadence-blue);
}

.cadence-feature {
  margin-bottom: 35px;
}

.cadence-feature-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.cadence-feature-title p {
  font-size: 25px;
  font-weight: 400;
  line-height: 30px;
  color: var(--color-black);
}

.cadence-feature-desc {
  margin-left: 67px;
}

.cadence-feature-list {
  margin: 0 0 0 87px;
  padding: 0;
  list-style: disc;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--beli-text);
}

.cadence-feature-list li + li {
  margin-top: 0.35em;
}

.cadence-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border: 1px solid var(--color-black);
  border-radius: 50%;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
}

.cadence-process-grid {
  display: grid;
  grid-template-columns: 353px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
  margin-top: 40px;
}

.cadence-process-sketches {
  grid-row: 1 / 3;
}

.cadence-process-sketches-frame {
  border: 0.89px solid #d3d3d3;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 24px 10px;
  overflow: hidden;
}

.cadence-process-sketch-1 {
  width: 100%;
  max-width: 332px;
  aspect-ratio: 332 / 390;
  object-fit: cover;
  object-position: top;
  border-radius: 9px;
}

.cadence-process-sketch-2 {
  width: 100%;
  max-width: 265px;
  aspect-ratio: 265 / 230;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  margin-top: 1px;
}

.cadence-process-image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #d3d3d3;
  object-fit: cover;
}

.cadence-process-flow .cadence-process-image {
  aspect-ratio: 698 / 420;
}

.cadence-process-hifi .cadence-process-image {
  aspect-ratio: 698 / 363;
}

.cadence-process-caption {
  margin-top: 10px;
  font-size: 18px;
  font-style: italic;
  line-height: 25px;
  color: #a7a6a6;
}

.cadence-process-caption-left {
  margin-top: 10px;
}

.cadence-final-product-section .cadence-heading {
  margin-bottom: 40px;
}

.cadence-final-product-stage {
  margin-top: 0;
}

.cadence-final-product-bg {
  background: #264568;
  min-height: 642px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cadence-final-product-video {
  width: 302px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 302 / 586;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  background: var(--cadence-navy);
}

.cadence-future-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.cadence-future-card {
  background: var(--cadence-blue);
  color: var(--color-white);
  min-height: 232px;
  padding: 10px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.cadence-future-card h3 {
  font-size: 25px;
  font-weight: 400;
  line-height: 30px;
  text-decoration: underline;
  text-underline-position: from-font;
}

.cadence-future-card p {
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  max-width: 229px;
}

.cadence-reflection-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 30px;
}

.cadence-reflection-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.cadence-reflection-list p {
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--color-gray-dark);
}

@media (max-width: 768px) {
  .cadence-top {
    padding: 100px var(--page-pad-x) 0 72px;
    min-height: 72px;
  }

  .cadence-back {
    top: 93px;
    left: 17px;
  }

  .cadence-date,
  .cadence-palette-label {
    font-size: 22px;
    line-height: 28px;
  }

  .cadence-swatch {
    width: 32px;
    height: 32px;
  }

  .cadence-hero {
    height: auto;
    min-height: 320px;
  }

  .cadence-hero-video {
    height: auto;
    min-height: 320px;
  }

  .cadence-title {
    font-size: 48px;
    letter-spacing: -2.4px;
    margin-bottom: 48px;
  }

  .cadence-heading,
  .cadence-subheading {
    font-size: 24px;
    line-height: 30px;
  }

  .cadence-process-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .cadence-process-sketches {
    grid-row: auto;
  }

  .cadence-process-caption-left {
    position: static;
    margin-top: 12px;
  }

  .cadence-future-cards {
    grid-template-columns: 1fr;
  }

  .cadence-feature-desc,
  .cadence-feature-list {
    margin-left: 0;
  }

  .cadence-final-product-bg {
    min-height: 480px;
  }
}

/* Rythmeet case study */
:root {
  --rythmeet-width: 1071px;
  --rythmeet-purple: #6950d1;
  --rythmeet-accent: #4a21e3;
}

.rythmeet-case {
  position: relative;
}

.rythmeet-top {
  position: relative;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 71px 84px 0 102px;
  min-height: 96px;
}

.rythmeet-back:hover {
  opacity: 0.55;
  transform: translateX(-2px);
}

.rythmeet-case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 96px;
}

.rythmeet-date,
.rythmeet-palette-label {
  font-size: 30px;
  font-weight: 400;
  line-height: 35px;
  letter-spacing: -0.3px;
  color: var(--color-black);
}

.rythmeet-color-palette {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.rythmeet-swatches {
  display: flex;
  gap: 10px;
}

.rythmeet-swatch {
  --drag-x: 0px;
  --drag-y: 0px;
  --float-x: 0px;
  --float-y: 0px;
  position: relative;
  z-index: 0;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  cursor: grab;
  touch-action: none;
  transform: translate(
    calc(var(--drag-x) + var(--float-x)),
    calc(var(--drag-y) + var(--float-y))
  );
  transition: transform 300ms ease-out;
}

.rythmeet-swatch:not(.is-grabbing):hover {
  box-shadow: 0 0 0 2px var(--color-white), 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.rythmeet-swatches.is-dragging .rythmeet-swatch,
.rythmeet-swatch.is-grabbing {
  cursor: grabbing;
  z-index: 101;
  transition: none;
}

.rythmeet-hero {
  background: var(--rythmeet-purple);
  height: 720px;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  box-sizing: border-box;
}

.rythmeet-hero-frame {
  width: 100%;
  max-width: 880px;
  aspect-ratio: 591 / 421;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--rythmeet-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.rythmeet-hero-video {
  display: block;
  width: 85%;
  height: 85%;
  object-fit: contain;
  object-position: center center;
  /* Nudge past any encoded white fringe on the preview edges */
  transform: scale(1.02);
  transform-origin: center center;
}

.rythmeet-case-body {
  max-width: var(--rythmeet-width);
  margin: 0 auto;
  padding: 80px var(--page-pad-x) 80px;
}

.rythmeet-title {
  font-family: "Inclusive Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 90px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -4.5px;
  color: var(--color-black);
  margin-bottom: 80px;
}

.rythmeet-section {
  margin-bottom: 120px;
}

.rythmeet-case-body > .rythmeet-section:last-child {
  margin-bottom: 0;
}

.rythmeet-label {
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #4a21e3;
  margin: 0 0 8px;
}

.rythmeet-label--accent {
  color: #4a21e3;
}

.rythmeet-heading {
  font-size: 30px;
  font-weight: 400;
  line-height: 32px;
  color: var(--color-black);
  margin: 0;
}

.rythmeet-label + .rythmeet-heading {
  margin-top: 0;
}

.rythmeet-body {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--beli-text);
}

.rythmeet-heading + .rythmeet-body {
  margin-top: 10px;
}

.rythmeet-heading + .rythmeet-contribution-block,
.rythmeet-heading + .rythmeet-reflection-list {
  margin-top: 20px;
}

.rythmeet-body--light {
  font-weight: 300;
}

.rythmeet-body + .rythmeet-body {
  margin-top: 1em;
}

.rythmeet-underline {
  text-decoration: underline;
  text-underline-position: from-font;
}

.rythmeet-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 90px;
  row-gap: 40px;
  align-items: start;
  width: 100%;
  margin-top: 40px;
}

.rythmeet-meta-item {
  min-width: 0;
}

.rythmeet-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--rythmeet-purple);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--rythmeet-purple);
  background: #fff;
}

.rythmeet-reflection-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 30px;
}

.rythmeet-reflection-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.rythmeet-reflection-list p {
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--color-gray-dark);
}

.rythmeet-reflection-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rythmeet-reflection-copy p {
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.36px;
  color: var(--color-gray-dark);
}

.rythmeet-contribution {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.rythmeet-contribution > .rythmeet-label {
  margin-bottom: 0;
}

.rythmeet-contribution > .rythmeet-label + .rythmeet-heading {
  /* Counter flex gap so label→heading stays ~8px like other sections */
  margin-top: -22px;
  margin-bottom: 0;
}

.rythmeet-contribution-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.rythmeet-contribution-block--steps {
  margin-top: 20px;
}

.rythmeet-contribution-row {
  display: flex;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.rythmeet-contribution-row--steps {
  gap: 50px;
  align-items: center;
}

.rythmeet-contribution-figure {
  margin: 0;
  flex-shrink: 0;
}

.rythmeet-contribution-image {
  display: block;
  width: 351px;
  max-width: 100%;
  height: auto;
  border: 1px solid #b8b8b8;
  border-radius: 5px;
}

.rythmeet-contribution-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.rythmeet-contribution-notes--narrow {
  max-width: 265px;
  flex: 0 1 265px;
}

.rythmeet-contribution-notes--narrow .rythmeet-body p + p {
  margin-top: 15px;
}

.rythmeet-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.rythmeet-checkitem {
  display: flex;
  gap: 20px;
  align-items: center;
  min-height: 40px;
}

.rythmeet-checkicon {
  flex-shrink: 0;
  width: 19px;
  height: 17px;
}

.rythmeet-checklabel {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-black);
}

.rythmeet-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 29px;
  flex: 1;
  min-width: 0;
}

.rythmeet-step-figure {
  margin: 0;
}

.rythmeet-step-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1.44px solid #b8b8b8;
  border-radius: 7px;
}

@media (max-width: 1024px) {
  .rythmeet-hero {
    height: auto;
    min-height: 520px;
    padding: 40px 24px;
  }

  .rythmeet-hero-frame {
    max-width: min(720px, 92vw);
  }
}

@media (max-width: 768px) {
  .rythmeet-top {
    padding: 100px var(--page-pad-x) 0 72px;
    min-height: 72px;
  }

  .rythmeet-back {
    top: 93px;
    left: 17px;
  }

  .rythmeet-date,
  .rythmeet-palette-label {
    font-size: 22px;
    line-height: 28px;
  }

  .rythmeet-swatch {
    width: 32px;
    height: 32px;
  }

  .rythmeet-hero {
    height: auto;
    min-height: 320px;
    padding: 40px 24px;
  }

  .rythmeet-hero-frame {
    max-width: 100%;
  }

  .rythmeet-title {
    font-size: 48px;
    letter-spacing: -2.4px;
    margin-bottom: 48px;
  }

  .rythmeet-heading {
    font-size: 24px;
    line-height: 28px;
  }

  .rythmeet-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 30px;
  }

  .rythmeet-section {
    margin-bottom: 80px;
  }

  .rythmeet-contribution-row,
  .rythmeet-contribution-row--steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .rythmeet-contribution-notes--narrow {
    max-width: none;
    flex: 1 1 auto;
  }

  .rythmeet-contribution-image {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .rythmeet-meta {
    grid-template-columns: 1fr;
  }
}

/* Palette Companion */
.palette-companion {
  --companion-x: 0px;
  --companion-y: 0px;
  --companion-primary: var(--color-black);
  --companion-accent: var(--color-accent-blue);
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 50;
  pointer-events: none;
  transform: translate(var(--companion-x), var(--companion-y));
  transition: transform 300ms ease-out;
}

.palette-companion__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  pointer-events: auto;
  cursor: default;
}

.palette-companion__square {
  --drag-x: 0px;
  --drag-y: 0px;
  --float-x: 0px;
  --float-y: 0px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: grab;
  touch-action: none;
  transition:
    transform 300ms ease-out,
    background-color 400ms ease-out;
  transform: translate(
    calc(var(--drag-x) + var(--float-x)),
    calc(var(--drag-y) + var(--float-y))
  );
}

.palette-companion.is-dragging .palette-companion__square,
.palette-companion__square.is-grabbing {
  cursor: grabbing;
  transition: background-color 400ms ease-out;
}

.palette-companion__square--primary {
  background: var(--companion-primary);
}

.palette-companion__square--accent {
  background: var(--companion-accent);
}

.palette-companion:not(.is-dragging):hover .palette-companion__square--primary {
  transform: translate(
    calc(var(--drag-x) + var(--float-x)),
    calc(var(--drag-y) + var(--float-y) - 3px)
  ) rotate(-4deg);
}

.palette-companion:not(.is-dragging):hover .palette-companion__square--accent {
  transform: translate(
    calc(var(--drag-x) + var(--float-x)),
    calc(var(--drag-y) + var(--float-y) + 3px)
  ) rotate(4deg);
}

.palette-companion.is-pulse .palette-companion__inner {
  animation: companion-pulse 320ms ease-out;
}

@keyframes companion-breathe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes companion-pulse {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .palette-companion {
    right: 20px;
    bottom: 20px;
  }

  .palette-companion__square {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.page-home),
  html:has(body.page-about) {
    scroll-snap-type: none;
  }

  .nav:not(.nav--project) {
    animation: none;
  }

  .nav-link:hover,
  .nav-link:active {
    transform: none;
    color: var(--color-gray-dark);
  }

  .hero-content:not(.hero-entered) .hero-name,
  .hero-content:not(.hero-entered) .hero-tagline {
    opacity: 1;
    transform: none;
  }

  .hero:not(.hero-entered) .hero-cat {
    opacity: 1;
    transform: translateY(-50%);
  }

  .hero-highlight::after {
    display: none;
  }

  .hero-highlight:hover {
    color: var(--color-accent-blue);
  }

  .hero-highlight:hover::after {
    animation: none;
  }

  .footer-links a::after {
    display: none;
  }

  .footer-links a:hover {
    opacity: 1;
  }

  .about-profile {
    --parallax-y: 0px;
    transform: none;
    transition: none;
  }

  .project-card-link:hover .project-image-wrap video,
  .project-card-link:hover .project-image-wrap .project-frame-video,
  .project-card-link:hover .project-image-wrap--menuvo {
    filter: none;
  }

  .paint-save-btn.saved {
    animation: none;
  }

  .paint-page:not(.paint-entered) .paint-art .paint-heading,
  .paint-page:not(.paint-entered) .paint-art .paint-art-head,
  .paint-page:not(.paint-entered) .paint-art .paint-art-gallery-wrap,
  .paint-page:not(.paint-entered) .paint-your-turn-intro,
  .paint-page:not(.paint-entered) .paint-tool,
  .paint-page:not(.paint-entered) .paint-library-btn {
    opacity: 1;
    transform: none;
  }

  .paint-gallery-img:hover {
    transform: none;
    opacity: 1;
  }

  .paint-upload-zone:not(.has-image):hover {
    transform: none;
    animation: none;
  }

  .paint-upload-zone.drag-over {
    transform: none;
  }

  .paint-upload-zone:not(.has-image) .paint-upload-placeholder {
    animation: none;
  }

  .paint-upload-zone:not(.has-image):hover .paint-upload-icon {
    animation: none;
  }

  .paint-swatch:hover {
    transform: none;
  }

  .paint-swatch.picked,
  .paint-swatch.active.picked {
    animation: none;
    transform: none;
    box-shadow: none;
  }

  .paint-swatch.active {
    box-shadow: none;
  }

  .paint-save-btn:hover:not(.saved) {
    transform: none;
    box-shadow: none;
  }

  .paint-library-btn::after {
    display: none;
  }

  .paint-name-input:focus {
    box-shadow: none;
  }

  .palette-companion__square {
    --drag-x: 0px;
    --drag-y: 0px;
    --float-x: 0px;
    --float-y: 0px;
    cursor: pointer;
    touch-action: auto;
    transform: none;
  }

  .project-image-wrap {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
  }

  .project-image-wrap:hover {
    transform: none;
  }

  .case-back:hover,
  .menuvo-back:hover,
  .cadence-back:hover,
  .beli-back:hover,
  .rythmeet-back:hover {
    transform: none;
  }

  .palette-companion__inner {
    animation: none;
  }

  .palette-companion:hover .palette-companion__square--primary,
  .palette-companion:hover .palette-companion__square--accent {
    transform: none;
  }

  .palette-companion.is-pulse .palette-companion__inner {
    animation: none;
  }

  .menuvo-swatches .menuvo-swatch,
  .beli-swatches .beli-swatch,
  .cadence-swatches .cadence-swatch,
  .rythmeet-swatches .rythmeet-swatch {
    --drag-x: 0px;
    --drag-y: 0px;
    --float-x: 0px;
    --float-y: 0px;
    cursor: default;
    touch-action: auto;
    transform: none;
  }

  .hero-scroll-line {
    animation: none;
  }

  .hero-scroll-hint {
    opacity: 0;
  }

  .hero-highlight.is-emphasis::after {
    transform: none;
  }

  .project-cta {
    opacity: 1;
    transform: none;
  }

  .about-reveal.is-visible .about-value:hover {
    transform: none;
    box-shadow: none;
  }

  .about-photo:hover {
    transform: none;
    opacity: 1;
  }
}

/* === Interactivity & motion enhancements === */

:root {
  --ease-out-expo: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-out-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --reveal-distance: 14px;
  --reveal-duration: 520ms;
}

/* Scroll reveal — hidden only when JS is active; content stays visible without JS */
html.js-enabled .reveal-on-scroll:not(.is-revealed) {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--reveal-duration) var(--ease-out-expo),
    transform var(--reveal-duration) var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.js-enabled .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--reveal-duration) var(--ease-out-expo),
    transform var(--reveal-duration) var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

/* Footer: single simultaneous reveal (no column stagger) */
html.js-enabled .footer-inner.reveal-on-scroll {
  --reveal-delay: 0ms;
}


/* Project card hover lift */
.project-card-link {
  transition:
    transform 0.45s var(--ease-out-expo),
    opacity 0.35s var(--ease-out-soft);
}

.project-card-link:hover {
  transform: translateY(-4px);
}

.project-card-link:active {
  transform: translateY(-1px);
  transition-duration: 0.15s;
}

.project-image-wrap {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    transform 0.45s var(--ease-out-expo),
    opacity 0.35s var(--ease-out-soft),
    box-shadow 0.45s var(--ease-out-expo),
    filter 0.35s var(--ease-out-soft);
}

.project-card-link:hover .project-image-wrap {
  box-shadow: 0 14px 36px rgba(28, 48, 78, 0.1);
}

.project-title {
  transition: color 0.35s var(--ease-out-expo);
}

/* Nav — subtle compact state on scroll */
.nav {
  transition:
    top 0.4s var(--ease-out-expo),
    padding 0.4s var(--ease-out-expo),
    background 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo),
    backdrop-filter 0.4s var(--ease-out-expo);
}

.nav.is-scrolled {
  top: 28px;
  padding: 7px 9px;
  background: rgba(242, 240, 239, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 0 0 1.1px var(--color-nav-border),
    0 8px 28px rgba(28, 48, 78, 0.06);
}

.nav-link {
  transition:
    color 0.45s var(--ease-out-expo),
    transform 0.45s var(--ease-out-expo),
    opacity 0.3s var(--ease-out-soft);
}

/* Footer link polish */
.hero-tagline-accent:hover {
  color: var(--color-accent-green);
}

.hero-tagline-accent:hover::after {
  transform: scaleX(1);
}

.footer-links a {
  transition:
    opacity 0.3s var(--ease-out-soft),
    color 0.3s var(--ease-out-soft),
    transform 0.3s var(--ease-out-expo);
}

.footer-links a::after {
  transition: transform 0.35s var(--ease-out-expo);
}

.footer-links a:hover {
  opacity: 1;
  color: #8ECE54;
  transform: translateX(3px);
}

.footer-email {
  transition:
    color 0.3s var(--ease-out-soft),
    opacity 0.3s var(--ease-out-soft),
    transform 0.3s var(--ease-out-expo);
}

.footer-email:hover {
  color: #8ECE54;
  transform: translateY(-1px);
}

.footer-back-to-top {
  transition:
    opacity 0.3s var(--ease-out-soft),
    color 0.3s var(--ease-out-soft),
    transform 0.3s var(--ease-out-expo);
}

.footer-back-to-top:hover {
  color: #8ECE54;
  transform: translateX(3px);
}

/* Case study buttons & back links */
.case-study-btn,
.case-back,
.menuvo-back,
.cadence-back,
.beli-back,
.rythmeet-back {
  transition:
    transform 0.35s var(--ease-out-expo),
    opacity 0.3s var(--ease-out-soft),
    color 0.3s var(--ease-out-soft);
}

.case-study-btn:hover {
  transform: scale(1.03) translateY(-2px);
  opacity: 0.85;
}

.case-back:hover,
.menuvo-back:hover,
.cadence-back:hover,
.beli-back:hover,
.rythmeet-back:hover {
  transform: translateX(-3px);
  opacity: 0.75;
}

/* Case study media — subtle zoom on hover */
.media-zoom-wrap {
  overflow: hidden;
  border-radius: inherit;
}

.media-zoom-wrap img,
.media-zoom-wrap video {
  transition: transform 0.65s var(--ease-out-expo);
  will-change: transform;
}

.media-zoom-wrap:hover img,
.media-zoom-wrap:hover video {
  transform: scale(1.025);
}

.menuvo-card {
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo);
}

html.js-enabled .menuvo-card.is-revealed:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(80, 31, 31, 0.08);
}

/* Hero & footer cat motion */
.hero-cat.has-float-motion {
  animation: hero-cat-float 7s ease-in-out infinite;
}

.hero-cat.has-float-motion {
  transform: translateY(calc(-50% + var(--cat-parallax-y, 0px)));
}

.hero.hero-entered .hero-cat.has-float-motion {
  transform: translateY(calc(-50% + var(--cat-parallax-y, 0px)));
}

@keyframes hero-cat-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -6px;
  }
}

.footer-cat.has-peek-motion {
  animation: footer-cat-peek 5.5s ease-in-out infinite;
  transform: translateX(-50%) translateY(var(--cat-parallax-y, 0px));
}

@keyframes footer-cat-peek {
  0%,
  100% {
    translate: 0 0;
  }

  45% {
    translate: 0 -5px;
  }
}

/* Projects heading illustration */
.projects-illustration {
  transition: transform 0.5s var(--ease-out-expo);
}

html.js-enabled .projects-heading-group.is-revealed:hover .projects-illustration {
  transform: rotate(-4deg) translateY(-2px);
}

/* Food Blend (Beli) card — softer, calmer hover */
.project-image-wrap--food-blend {
  transition:
    transform 0.55s var(--ease-food-blend, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 0.55s var(--ease-food-blend, cubic-bezier(0.22, 1, 0.36, 1)),
    filter 0.55s var(--ease-food-blend, cubic-bezier(0.22, 1, 0.36, 1));
}

/* Replace the shared 3D perspective tilt with a gentle scale + lift */
.project-image-wrap--food-blend:hover {
  transform: scale(1.015) translateY(-3px);
}

.project-card-link:hover .project-image-wrap--food-blend {
  filter: brightness(1.05);
  transition: filter 0.55s var(--ease-food-blend, cubic-bezier(0.22, 1, 0.36, 1));
}

/* Keep the card lift subtle so it doesn't double-jump with the image-wrap */
.project-card-link:has(.project-image-wrap--food-blend):hover {
  transform: translateY(-2px);
}

.project-card-link:has(.project-image-wrap--food-blend):hover .project-image-wrap--food-blend {
  box-shadow: 0 12px 30px rgba(28, 48, 78, 0.09);
}

/* Subtle inner content motion, matched easing */
.project-food-blend-phone {
  transition: transform 0.55s var(--ease-food-blend, cubic-bezier(0.22, 1, 0.36, 1));
  will-change: transform;
}

.project-card-link:hover .project-food-blend-phone {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  html.js-enabled .reveal-on-scroll:not(.is-revealed),
  html.js-enabled .reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .project-image-wrap--food-blend:hover,
  .project-card-link:has(.project-image-wrap--food-blend):hover,
  .project-card-link:hover .project-food-blend-phone {
    transform: none;
  }

  .project-card-link:hover .project-image-wrap--food-blend {
    filter: none;
  }

  .project-card-link:has(.project-image-wrap--food-blend):hover .project-image-wrap--food-blend {
    box-shadow: none;
  }

  .project-card-link:hover,
  .project-card-link:active {
    transform: none;
  }

  .project-card-link:hover .project-image-wrap {
    box-shadow: none;
  }

  .nav.is-scrolled {
    top: 63px;
    padding: 10px;
    background: var(--color-nav-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: inset 0 0 0 1.1px var(--color-nav-border);
  }

  .footer-links a:hover,
  .footer-email:hover,
  .footer-back-to-top:hover {
    transform: none;
  }

  .case-study-btn:hover,
  .case-back:hover,
  .menuvo-back:hover,
  .cadence-back:hover,
  .beli-back:hover,
  .rythmeet-back:hover {
    transform: none;
  }

  .media-zoom-wrap:hover img,
  .media-zoom-wrap:hover video {
    transform: none;
  }

  html.js-enabled .menuvo-card.is-revealed:hover {
    transform: none;
    box-shadow: none;
  }

  .hero-cat.has-float-motion,
  .footer-cat.has-peek-motion {
    animation: none;
  }

  .hero-cat.has-float-motion {
    transform: translateY(-50%);
  }

  .hero.hero-entered .hero-cat.has-float-motion {
    transform: translateY(-50%);
  }

  .footer-cat.has-peek-motion {
    transform: translateX(-50%);
  }

  html.js-enabled .projects-heading-group.is-revealed:hover .projects-illustration {
    transform: none;
  }
}

/* Custom cursor — Figma 632:20217 ring only */
html.has-custom-cursor,
html.has-custom-cursor * {
  cursor: none !important;
}

html.has-custom-cursor input,
html.has-custom-cursor textarea,
html.has-custom-cursor select,
html.has-custom-cursor [contenteditable="true"] {
  cursor: text !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease-out;
}

.custom-cursor.is-visible {
  opacity: 1;
}

/* Figma default cursor circle — 30×30, hotspot at center */
.custom-cursor-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  pointer-events: none;
  will-change: transform;
  overflow: visible;
}

@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  html.has-custom-cursor,
  html.has-custom-cursor * {
    cursor: auto !important;
  }

  html.has-custom-cursor input,
  html.has-custom-cursor textarea,
  html.has-custom-cursor select,
  html.has-custom-cursor [contenteditable="true"] {
    cursor: text !important;
  }

  .custom-cursor {
    display: none;
  }
}
