/* Arial resized to Inter's metrics: text keeps its size and line breaks when Inter swaps in,
   so the late-loading web font no longer shifts the layout */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%; }
:root {
  --ink: #090909;
  --paper: #fff;
  --mist: #f3f3f3;
  --muted: #a7a7a7;
  --line: #A1A1A1;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
/* Shared content-image corners; preserve the original Hero and cover artwork. */
main img:not(:where(.hero img, .bw-cover img, .brand img)),
.bw-next-project-art img { border-radius: 12px; }
/* This image is already cropped by its frame, so round that existing clip too. */
.brio-showcase__details > figure { border-radius: 12px; }
.page-shell { width: calc(100% - 80px); max-width: 1360px; margin-left: auto; margin-right: auto; }

/* Header + hero */
.page-preloader { color: #090909; font-family: "Inter", "Inter Fallback", Arial, sans-serif; align-items: center; padding: 40px; }
.page-preloader__inner { width: 100%; max-width: 1360px; margin-inline: auto; text-align: center; }
.page-preloader__copy { min-width: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.case-title-link { color: inherit; text-decoration: none; }
.page-preloader__copy .page-preloader__title { margin: 0; font-size: clamp(24px, 3.4vw, 48px); line-height: 1.12; font-weight: 600; letter-spacing: -.04em; }
.page-preloader__copy p { margin: 16px 0 0; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; font-weight: 400; }
.page-preloader__percentage { position: absolute; top: clamp(24px, 4vw, 56px); right: clamp(20px, 4vw, 56px); font-size: clamp(48px, 7vw, 100px); line-height: 1; font-weight: 400; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 1024px) {
  .page-preloader { padding: 32px 20px; }
  .page-preloader__inner { gap: 24px; }
}
@media (max-width: 600px) {
  .page-preloader__inner { gap: 12px; }
  .page-preloader__copy { flex: 1; }
  .page-preloader__copy .page-preloader__title { font-size: clamp(20px, 5vw, 28px); }
  .page-preloader__percentage { font-size: clamp(48px, 12vw, 72px); }
}

.hero { min-height: 850px; background: var(--mist); position: relative; overflow: hidden; padding-top: 62px; }
.topbar { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; height: 62px; margin: 0; padding-inline: 40px; background: transparent; }
.topbar-content { position: relative; width: 100%; max-width: 1360px; height: 100%; margin-left: auto; margin-right: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; font-size: 10px; font-weight: 700; letter-spacing: -.03em; }
.brand { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; transition: opacity 200ms ease; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand:hover { opacity: .6; }
.desktop-nav { position: relative; isolation: isolate; display: flex; align-items: center; gap: 8px; }
.nav-indicator { position: absolute; top: 0; left: 0; z-index: 0; width: 0; height: 0; border-radius: 6px; background: #000000; pointer-events: none; will-change: transform, width, height; }
.desktop-nav a { position: relative; z-index: 1; padding: 10px 20px; border-radius: 6px; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 18px; transition: color 180ms ease; }
.quiet-link { padding: 10px 20px; border-radius: 6px; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 18px; transition: background .2s, color .2s; }
.topbar a[href^="mailto:"], .fn-cover-nav a[href^="mailto:"] { cursor: pointer; pointer-events: auto; }
.desktop-nav a:not(.is-active):hover, .quiet-link:hover { color: #737373; }
.desktop-nav .is-active { background: transparent; color: #FFFFFF; }
#home .topbar :is(.desktop-nav a, .quiet-link) { color: var(--ink); cursor: pointer; transition: background-color 225ms ease, color 225ms ease; }
#home .topbar :is(.desktop-nav a, .quiet-link):hover { color: #737373; }
#home .topbar :is(.desktop-nav a, .quiet-link):is(.is-active, [aria-current="page"], :active) { background: #000000; color: #FFFFFF; }
.topbar-actions { justify-self: end; display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; }
.desktop-nav .mobile-nav-action, .boltwagon-page .desktop-nav > a { display: none; }
/* Scrolled: the bar drops a little and sits in a floating white pill (script.js toggles .is-scrolled).
   The pill is a pseudo-element bleeding past the content, so nothing inside the bar moves sideways. */
.topbar-content { top: 0; isolation: isolate; transition: top 360ms cubic-bezier(.22, 1, .36, 1); }
.topbar-content::before { content: ""; position: absolute; inset: 3px -12px; z-index: -1; border: 1px solid rgba(0, 0, 0, .06); border-radius: 16px; background: #fff; box-shadow: 0 8px 32px rgba(0, 0, 0, .06); opacity: 0; transform: scale(.98); pointer-events: none; transition: opacity 240ms ease, transform 360ms cubic-bezier(.22, 1, .36, 1); }
.topbar.is-scrolled .topbar-content { top: 12px; }
.topbar.is-scrolled .topbar-content::before { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .topbar-content::before { inset: 4px -8px; border-radius: 14px; }
  .topbar.is-scrolled .topbar-content { top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .topbar-content, .topbar-content::before { transition: opacity 160ms linear; transform: none; }
}
@media (max-width: 760px) {
  #home .topbar .desktop-nav { border-radius: 12px; }
  /* Home and case studies use the same full-width menu and transition. */
  .topbar .desktop-nav {
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
  }
  .topbar .desktop-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .topbar .desktop-nav a { cursor: pointer; }
  .topbar .desktop-nav .mobile-nav-action,
  .boltwagon-page .topbar .desktop-nav > a { display: block; cursor: pointer; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .topbar .desktop-nav { transition: none; transform: none; }
}
.work-preview__cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  pointer-events: none;
}
.work-preview__cursor > .work-preview__overlay {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,.08) 48%, rgba(255,255,255,.2));
  -webkit-backdrop-filter: blur(4px) saturate(140%);
  backdrop-filter: blur(4px) saturate(140%);
  box-shadow: inset 1px 1px 2px rgba(255,255,255,.8), inset -1px -1px 8px rgba(255,255,255,.15), 0 6px 20px rgba(0,0,0,.06);
  color: #000;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  letter-spacing: normal;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.85);
  transition: opacity 350ms ease-in-out, transform 350ms ease-in-out;
}
.work-preview__cursor.is-visible > .work-preview__overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (hover: hover) and (pointer: fine) {
  .case .work-preview, .case .work-preview * { cursor: none; }
}
@media (prefers-reduced-motion: reduce) {
  .work-preview__cursor > .work-preview__overlay { transition-duration: 0ms; }
}

.bellows-showcase-shell { padding-inline: 40px; margin-top: 20px; }
.bellows-showcase { display: grid; gap: 20px; width: 100%; max-width: 1360px; margin-inline: auto; }
.bellows-showcase__row { display: grid; grid-template-columns: minmax(0, 2716fr) minmax(0, 2644fr); gap: 20px; align-items: start; }
.bellows-showcase figure { position: relative; min-width: 0; margin: 0; }
.bellows-showcase__link { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.bellows-showcase img { display: block; width: 100%; max-width: 100%; height: auto; }
@media (max-width: 1024px) {
  .bellows-showcase-shell { padding-inline: 20px; }
}
@media (max-width: 760px) {
  .bellows-showcase-shell { padding-inline: 16px; }
  .bellows-showcase__row { grid-template-columns: minmax(0, 1fr); }
}

.konfidi-showcase-shell { padding-inline: 40px; margin-top: 20px; }
.konfidi-showcase { display: grid; gap: 20px; width: 100%; max-width: 1360px; margin-inline: auto; }
.konfidi-showcase__row { display: grid; gap: 20px; align-items: start; }
.konfidi-showcase__row--profile { grid-template-columns: minmax(0, 1760fr) minmax(0, 3600fr); }
.konfidi-showcase__row--team { grid-template-columns: minmax(0, 3136fr) minmax(0, 2224fr); }
.konfidi-showcase figure { position: relative; min-width: 0; margin: 0; }
.konfidi-showcase__link { position: absolute; inset: 0; z-index: 1; }
.konfidi-showcase__link:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.konfidi-showcase img { display: block; width: 100%; max-width: 100%; height: auto; }
@media (max-width: 1024px) {
  .konfidi-showcase-shell { padding-inline: 20px; }
}
@media (max-width: 760px) {
  .konfidi-showcase-shell { padding-inline: 16px; }
  .konfidi-showcase__row { grid-template-columns: minmax(0, 1fr); }
}

.brio-showcase-shell { padding-inline: 40px; margin-top: 20px; }
.brio-showcase { display: grid; gap: 20px; width: 100%; max-width: 1360px; margin-inline: auto; }
.brio-showcase__details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.brio-showcase__stack { display: grid; gap: 20px; min-width: 0; }
.brio-showcase figure { position: relative; min-width: 0; margin: 0; }
.brio-showcase__link { position: absolute; inset: 0; z-index: 1; }
.brio-showcase__link:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.brio-showcase img { display: block; width: 100%; max-width: 100%; height: auto; }
@media (min-width: 761px) {
  /* Let the left stack set the row height; trim only the portrait's bottom. */
  .brio-showcase__details > figure { position: relative; align-self: stretch; min-height: 0; overflow: hidden; }
  .brio-showcase__details > figure > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
}
@media (max-width: 1024px) {
  .brio-showcase-shell { padding-inline: 20px; }
}
@media (max-width: 760px) {
  .brio-showcase-shell { padding-inline: 16px; }
  .brio-showcase__details { grid-template-columns: minmax(0, 1fr); }
}

.futuresight-showcase-shell { padding-inline: 40px; margin-top: 20px; }
.futuresight-showcase { width: 100%; max-width: 1360px; margin-inline: auto; display: grid; gap: 20px; }
.futuresight-showcase__middle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.futuresight-showcase__stack { display: grid; gap: 20px; min-width: 0; }
.futuresight-showcase figure { position: relative; margin: 0; min-width: 0; }
.futuresight-showcase__link { position: absolute; inset: 0; z-index: 1; }
.futuresight-showcase__link:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.futuresight-showcase img { display: block; width: 100%; max-width: 100%; height: auto; }
@media (max-width: 1024px) {
  .futuresight-showcase-shell { padding-inline: 20px; }
}
@media (max-width: 760px) {
  .futuresight-showcase-shell { padding-inline: 16px; }
  .futuresight-showcase__middle { grid-template-columns: minmax(0, 1fr); }
}

.hero-copy { text-align: center; margin-top: 72px; position: relative; z-index: 1; }
.hero-copy h1 { margin: 0; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 96px; line-height: 100%; letter-spacing: -6px; text-align: center; color: #000000; font-weight: 600; }
.hero-word-mask { display: inline-block; overflow: hidden; vertical-align: top; }
.hero-word { display: block; opacity: 0; transform: translateY(110%); animation: hero-word-reveal 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards; will-change: transform, opacity; }
.hero-word--design { animation-delay: 0ms; }
.hero-word--that { animation-delay: 120ms; }
.hero-word--connects { animation-delay: 240ms; }
@media (min-width: 761px) {
  .hero-copy h1 { width: 100%; max-width: 100%; min-width: 0; padding-inline: 12px; overflow: visible; }
  /* Leave room for glyph edges while preserving the vertical reveal mask. */
  .hero-copy h1 .hero-word-mask { padding-inline: 12px; margin-inline: -12px; }
}
.hero-copy p { margin: 28px 0 0; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 30px; line-height: 44px; color: #6F6F6F; letter-spacing: -0.03em; text-align: center; font-weight: 500; opacity: 0; transform: translateY(18px); animation: hero-subheading-reveal 640ms cubic-bezier(0.22, 1, 0.36, 1) 400ms forwards; will-change: transform, opacity; }
@keyframes hero-word-reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-subheading-reveal { to { opacity: 1; transform: translateY(0); } }
.hero-cards { position: relative; left: 50%; width: 1360px; min-width: 0; height: 350px; display: flex; align-items: center; justify-content: center; gap: 0; margin: 96px 0 0 -680px; overflow: hidden; transform: scale(1); transform-origin: center top; }
.hero-card { --spread-x: 0px; --card-duration: 680ms; width: 280px; height: 286px; flex: 0 0 280px; position: relative; overflow: visible; margin: 0 0 0 -10px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); transform: translateX(var(--spread-x)) translateY(var(--card-offset)) rotate(var(--card-tilt)); transition: transform var(--card-duration) cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--spread-delay); will-change: transform; }
.hero-card:first-child { margin-left: 0; }
.hero-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-cards:not(.is-spread) .hero-card--konfidi { --spread-x: 540px; }
.hero-cards:not(.is-spread) .hero-card--bolt { --spread-x: 270px; }
.hero-cards:not(.is-spread) .hero-card--brio { --spread-x: 0px; }
.hero-cards:not(.is-spread) .hero-card--future { --spread-x: -270px; }
.hero-cards:not(.is-spread) .hero-card--bellows { --spread-x: -540px; }
.hero-card:hover { --card-duration: 360ms; z-index: 10; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08); transform: translateX(var(--spread-x)) translateY(calc(var(--card-offset) - 6px)) rotate(var(--card-tilt)) scale(1.04); transition-delay: 0ms; }
.hero-cards.is-scroll-linking .hero-card:not(:hover) { transition: box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1); transition-delay: 0ms; }
.hero-card--konfidi { --card-tilt: 5.99deg; --card-offset: 0px; --spread-delay: 0ms; z-index: 1; }
.hero-card--bolt { --card-tilt: 10.2deg; --card-offset: 0px; --spread-delay: 55ms; z-index: 2; }
.hero-card--brio { --card-tilt: -8.78deg; --card-offset: 0px; --spread-delay: 110ms; z-index: 3; }
.hero-card--future { --card-tilt: -2.97deg; --card-offset: 0px; --spread-delay: 165ms; z-index: 4; }
.hero-card--bellows { --card-tilt: -11.91deg; --card-offset: 0px; --spread-delay: 220ms; z-index: 5; }
.hero-card.partial { flex-basis: 118px; height: 151px; }
.sage-card { background: #c9e8df; transform: rotate(-4deg); }
.tan-card { background: #d69f5d; transform: rotate(6deg); }
.orange-card { background: #ff5a1f; transform: rotate(-10deg); }
.violet-card { background: #9e7dfa; transform: rotate(8deg); }
.dark-card { background: #11483f; transform: rotate(5deg); }
.slim-browser { position: absolute; width: 94px; height: 140px; background: #fff; right: -20px; top: 12px; box-shadow: 0 5px 12px #0002; }
.slim-browser::before { content: ""; display: block; height: 13px; background: #e9e9e9; border-bottom: 1px solid #ddd; }
.slim-browser::after { content: ""; position: absolute; inset: 28px 11px 10px; background: repeating-linear-gradient(0deg,#d6d6d6 0 4px,transparent 4px 10px); }
.slim-browser.light { left: -23px; right: auto; }
.mini-window { position: absolute; inset: 24px 28px 27px; background: #fff; padding: 15px 14px; box-shadow: 0 6px 12px #0002; }
.mini-window span { width: 5px; height: 5px; border-radius: 100%; display: inline-block; background: #e9e9e9; margin-right: 3px; }
.mini-window b { display: block; height: 16px; background: #eef2f3; margin-top: 10px; }
.mini-window em { display: block; height: 38px; margin-top: 8px; background: repeating-linear-gradient(90deg,#e9eeee 0 13px, #64a1ff 13px 16px, #e9eeee 16px 25px); }
.mini-window i { display: block; height: 22px; margin-top: 8px; background: linear-gradient(90deg,#fbfbfb 50%,#eaeaea 50%); }
.phone { width: 68px; height: 129px; position: absolute; bottom: 17px; border: 3px solid #111; border-radius: 10px; background: #fbf8f6; padding: 14px 6px 6px; box-shadow: 0 6px 9px #0003; }
.phone::before { content: ""; position: absolute; width: 25px; height: 4px; border-radius: 4px; background: #111; top: 5px; left: 50%; transform: translateX(-50%); }
.phone-a { left: 42px; transform: rotate(-6deg); }
.phone-b { right: 38px; height: 123px; transform: rotate(7deg); background: #dbe4db; }
.phone b { display:block; height: 24px; background: #e7d3f6; margin-bottom: 5px; }
.phone i { display:block; height: 6px; background:#ddd; margin: 4px 0; }
.phone em { display:block; height: 28px; background:#fccbcd; }
.dashboard { position: absolute; inset: 23px 22px; border: 5px solid #f6f6f0; background: #171b17; color: #aaff47; padding: 10px; font-family: var(--mono); transform: rotate(-4deg); }
.dashboard small { font-size: 7px; }
.dashboard b { display:block; height:22px; margin:6px 0; background: linear-gradient(90deg,#121812 55%,#c9fa45 55%); }
.dashboard i,.dashboard em,.dashboard u { display:block; text-decoration:none; height:11px; margin-top: 4px; background: repeating-linear-gradient(90deg,#485248 0 8px,transparent 8px 12px); }
.dashboard em { background:#1f3c8b; width:75%; }.dashboard u { background:#306d52; width:45%; }

/* Introduction */
.intro { background: var(--mist); padding: 108px 0 118px; }
.intro-copy { text-align: center; max-width: 1280px; }
.intro h2 { margin: 0; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 96px; line-height: 100%; letter-spacing: -6px; text-align: center; color: #000000; font-weight: 600; }
.intro p { max-width: 1280px; margin: 28px auto 0; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 30px; line-height: 44px; color: #6F6F6F; letter-spacing: -0.03em; text-align: center; font-weight: 500; opacity: 0; transform: translateY(18px); animation: hero-subheading-reveal 640ms cubic-bezier(0.22, 1, 0.36, 1) 400ms forwards; will-change: transform, opacity; }
.intro-body-lead { color: #000000; }
.intro-body-detail { color: #6F6F6F; }
@media (min-width: 761px) and (max-width: 1024px) {
  #about .intro-copy { width: calc(100% - 40px); max-width: 984px; }
  #about p { width: 100%; max-width: 984px; margin-inline: auto; text-align: center; white-space: normal; text-wrap: pretty; }
  #about p br { display: none; }
}
.intro .hero-word, .intro p { animation-play-state: paused; }
.intro.is-revealed .hero-word, .intro.is-revealed p { animation-play-state: running; }
.intro .hero-word-mask { padding-bottom: 0.12em; margin-bottom: -0.12em; }
.intro strong { color:#272727; font-weight: 700; }

/* Work structure */
.work { padding-top: 84px; }
.section-title { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; margin-bottom: 85px; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 96px; line-height: 100%; letter-spacing: -6px; text-align: center; color: #000000; font-weight: 600; }
.work-title-line { display: flex; justify-content: center; width: 100%; }
.work .section-title { min-width: 0; overflow: visible; }
.work .work-title-line { min-width: 0; overflow: visible; }
/* Expand the reveal clipping box without shifting the text or laptop image. */
.work .section-title .hero-word-mask { flex-shrink: 0; padding-inline: 12px; margin-inline: -12px; }
.work-title-content { display: flex; align-items: center; justify-content: center; gap: 16px; height: 1lh; }
.work-title-image { display: block; width: auto; height: 1lh; object-fit: contain; flex: 0 0 auto; }
.section-title .hero-word { animation-play-state: paused; }
.section-title.is-revealed .hero-word { animation-play-state: running; }
.title-device { width: 105px; height: 66px; background: #080808; padding: 5px; transform: rotate(-1deg); box-shadow: 0 4px 7px #0002; }
.title-device::before { content:""; display:block; height: 8px; background:#ddd; }
.title-device i { display: block; width: 37px; height: 30px; margin: 8px auto; background: linear-gradient(135deg,#f5f5f5 48%, #bebebe 49% 53%, #f5f5f5 54%); }
.case { padding-bottom: 115px; }
.ticker { overflow:hidden; display:flex; gap:58px; white-space:nowrap; color:#dedede; font-size: clamp(25px, 4.2vw, 60px); font-weight:700; letter-spacing:-.09em; line-height:1; margin-bottom:42px; transform: translateX(-2%); }
.ticker span { flex: 0 0 auto; }
.case-intro { border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.eyebrow { font-family:var(--mono); font-size: 8px; margin: 0 0 10px; color:#929292; }
.case-brief { display:grid; grid-template-columns: .86fr 1.14fr; align-items:start; gap:42px; }
.case h3 { font-size: clamp(34px,4vw,58px); margin: 0; font-weight:700; letter-spacing:-.08em; line-height:.92; }
.case-copy h3 { margin:0 0 8px; font-size: 12px; line-height:1.2; letter-spacing:-.04em; }
.case-copy p { max-width: 570px; color:#777; font-size:11px; line-height:1.44; letter-spacing:-.022em; margin:0; }
.case-meta { display:grid; grid-template-columns: .86fr 1.14fr; gap:42px; margin-top:26px; color:#929292; font: 8px var(--mono); }
.case-meta div { display:flex; flex-wrap:wrap; gap: 27px; }
.case-meta div > span { color:#151515; font-family:var(--sans); font-size: 9px; font-weight:700; text-decoration: underline; text-underline-offset:4px; }
.project-marquee { display: block; gap: 52px; color: #D4D4D4; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 72px; font-weight: 600; letter-spacing: normal; line-height: normal; transform: none; }
.project-marquee-track { display: flex; width: max-content; will-change: transform; }
.project-marquee-group { display: flex; flex: 0 0 auto; gap: 52px; padding-right: 52px; }
.project-marquee-group span:nth-child(odd) { color: #000000; }
/* Decorative repeats are drawn by CSS (data-text), so they read as decoration, not page text */
:is(.project-marquee-group, .boltwagon-operations__message) span[data-text]::before { content: attr(data-text); }
.case .case-intro { display: grid; grid-template-columns: .86fr 1.14fr; column-gap: 42px; row-gap: 26px; }
.case .case-intro > .eyebrow { grid-column: 1; grid-row: 1; margin: 0; }
.case .case-intro > .case-brief { grid-column: 2; grid-row: 1; }
.case .case-intro > .case-meta { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
.case .case-brief { grid-template-columns: 1fr; }
.case .eyebrow, .case .case-meta > span { font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 20px; font-weight: 500; line-height: 28px; letter-spacing: normal; text-transform: uppercase; color: #6F6F6F; }
.case .case-copy h3 { margin-bottom: 8px; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 28px; font-weight: 600; line-height: 28px; letter-spacing: normal; text-transform: uppercase; color: #171717; }
.case .case-copy p { max-width: 680px; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 24px; font-weight: 500; line-height: 36px; letter-spacing: -1px; color: #6F6F6F; }
.case .case-meta { margin-top: 0; }
.case .case-meta div { gap: 24px; }
.case .case-meta div > span { display: inline-flex; width: fit-content; flex: 0 0 auto; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 18px; font-weight: 600; line-height: 28px; letter-spacing: normal; text-transform: uppercase; color: #171717; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.project-grid { display:grid; gap:10px; margin-top:10px; }
.project-shot { position:relative; overflow:hidden; }

/* Boltwagon media showcase */
.boltwagon-media { margin-top: 10px; }
.bolt-media-frame { position: relative; width: 100%; aspect-ratio: 1360 / 650; border-radius: 12px; overflow: hidden; isolation: isolate; }
.bolt-main-video { display: grid; place-items: center; background: #000000; }
.bolt-main-video video { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity 260ms ease; }
.bolt-dashboard-final { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #5BAFAC; opacity: 0; visibility: hidden; transition: opacity 420ms ease; }
.bolt-dashboard-final__screen { position: absolute; top: 50%; left: 50%; width: 838px; height: 490px; margin: 0; display: grid; place-items: center; opacity: 1; transform: translate3d(-50%, -50%, 0); will-change: left, width, height, opacity; transition: left 1200ms cubic-bezier(.65, 0, .35, 1), width 1200ms cubic-bezier(.65, 0, .35, 1), height 1200ms cubic-bezier(.65, 0, .35, 1), opacity 700ms ease-in-out; }
.bolt-dashboard-final__screen img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bolt-dashboard-final__screen.is-left { left: calc(50% - 951px); }
.bolt-dashboard-final__screen.is-center { left: 50%; width: 945px; height: 550px; z-index: 2; }
.bolt-dashboard-final__screen.is-right { left: calc(50% + 951px); }
.bolt-dashboard-final__screen.is-exit-left { left: calc(50% - 1500px); opacity: 0; }
.bolt-dashboard-final__screen.is-enter-right { left: calc(50% + 1500px); opacity: 0; }
.bolt-media-frame.is-final-state video { opacity: 0; }
.bolt-media-frame.is-final-state .bolt-dashboard-final { opacity: 1; visibility: visible; }
.boltwagon-image-section { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.boltwagon-feature-image { margin: 0; }
.boltwagon-feature-image img { display: block; width: 100%; height: auto; max-width: 100%; }
.boltwagon-operations { display: grid; grid-template-columns: minmax(0, 1fr) 740px; column-gap: 120px; margin: 0; }
.boltwagon-operations__message { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 12px; min-height: 100%; padding: 0 24px 0 0; background: transparent; color: #000000; font-family: "Inter", "Inter Fallback", Arial, sans-serif; font-size: 64px; font-weight: 500; line-height: 84px; letter-spacing: 0; text-align: right; }
.boltwagon-operations__message span { color: #D4D4D4; cursor: default; transition: color 250ms ease; }
.boltwagon-operations__message span[data-text="MONITOR"] { color: #000000; }
.boltwagon-operations__message:has(span:hover) span { color: #D4D4D4; }
.boltwagon-operations__message:has(span:hover) span:hover { color: #000000; }
.boltwagon-operations__image { min-width: 0; margin: 0; }
.boltwagon-operations__image img { display: block; width: 100%; height: auto; max-width: 100%; }
.boltwagon-operations__image-pair { display: grid; width: 100%; min-width: 0; gap: 20px; }
.boltwagon-operations__image--charger { display: grid; min-height: 0; place-items: center; }
.boltwagon-operations__image--charger img { width: 680px; height: auto; max-width: 100%; object-fit: contain; justify-self: end; }
@media (min-width: 981px) {
  .boltwagon-operations__image-pair { grid-template-columns: repeat(2, minmax(0, 640px)); justify-content: end; }
  .boltwagon-operations__image-pair .boltwagon-operations__image img { object-fit: contain; }
}
@media (max-width: 980px) {
  .boltwagon-operations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .boltwagon-operations__image-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boltwagon-operations__image--charger { min-height: 0; }
  .boltwagon-operations__image--charger img { width: 100%; height: auto; }
  .bolt-dashboard-final__screen { width: 61.62%; height: 75.38%; }
  .bolt-dashboard-final__screen.is-center { width: 69.49%; height: 84.62%; }
  .bolt-dashboard-final__screen.is-left { left: -19.93%; }
  .bolt-dashboard-final__screen.is-right { left: 119.93%; }
  .bolt-dashboard-final__screen.is-exit-left { left: -60.29%; }
  .bolt-dashboard-final__screen.is-enter-right { left: 160.29%; }
}
@media (max-width: 760px) {
  .boltwagon-operations { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 0; }
  .boltwagon-operations__image-pair { grid-template-columns: minmax(0, 1fr); }
  .boltwagon-operations__message { min-height: 220px; padding: 32px; font-size: clamp(44px, 15vw, 64px); }
}

/* Boltwagon mockup set */
.bolt-grid { grid-template-columns: repeat(2, 1fr); }
.bolt-grid .project-shot { min-height: 330px; }
.bolt-grid .bolt-hero, .bolt-grid .bolt-board { grid-column: span 2; min-height: 365px; }
.bolt-hero { background:#d9eee8; }
.bolt-angle { position:absolute; width:360px; height:430px; background:#00675d; transform: rotate(43deg); right:37%; top:-130px; }
.bolt-hero strong { position:absolute; left:5%; top: 34%; font-size:clamp(30px, 3.8vw,55px); line-height:.9; letter-spacing:-.08em; font-weight: 500; }
.bolt-hero strong i { color:#00a39c; font-style:normal; }
.bolt-hero span { position:absolute; right:6%; top:37%; font-size:clamp(20px,2.6vw,37px); line-height:.92; letter-spacing:-.07em; }
.ev-monitor { position:absolute; width: 43%; height: 68%; left: 50%; top: 19%; transform: translateX(-50%); background:#131515; border:9px solid #e8e8e8; box-shadow:0 11px 20px #0003; z-index:1; }
.ev-monitor b { position:absolute; inset:13% 8%; background:linear-gradient(120deg,#dedede 0 53%,#3f4644 53%); }
.ev-monitor i { position:absolute; width:33%; height:50%; background:linear-gradient(90deg,#5d5d5d,#111); left:10%; bottom:10%; }
.bolt-board { background:linear-gradient(110deg,#a9ebe1 3%,#e1fbf5 52%,#3dccc6 100%); }
.charging-post { position:absolute; height:72%; width:15%; left:11%; top:15%; background:#161f1e; border:8px solid white; box-shadow:15px 12px 20px #0003; }
.charging-post::after { content:""; position:absolute; right:-38px; bottom:15px; border:4px solid #111; border-left:0; width:42px; height:80px; border-radius:0 50px 50px 0; }
.data-board { position:absolute; left:33%; top:19%; width:50%; height:65%; background:#fafafa; border:8px solid #3d5652; box-shadow: 18px 20px 32px #0003; padding: 18px; }
.data-board::after { content:""; position:absolute; width:26%; height:15px; background:#333; left:38%; bottom:-23px; }
.data-board div { height:28px; background:#ecf1f0; border-bottom: 1px solid #c8cecc; }
.data-board i { display:block; height: 11%; margin:6px 0; background:linear-gradient(90deg,#bde3d9 10%,#e9f2ef 10% 45%,#76c9b8 45% 57%,#e9f2ef 57%); }
.bolt-cable { background:linear-gradient(110deg,#f2f2f2 0 42%,#d3ecf0 42%); }
.bolt-cable h5 { position:absolute; z-index:1; left:8%; top:8%; margin:0; font-size:26px; line-height:.9; letter-spacing:-.07em; font-weight:500; }.bolt-cable h5 b { color:#c9c9c9; font-weight:500; }
.cable { position:absolute; width:23%; height:73%; right:18%; top:14%; border-radius:48% 48% 9px 9px; background:linear-gradient(90deg,#fafafa 0 40%,#c9c9c9 41% 48%,#fafafa 49%); border:2px solid #2e2e2e; }.cable::after { content:""; position:absolute; width:190%; height:92px; left:-70%; top:75%; border-radius: 0 0 90px 90px; border: 12px solid #202020; border-top:0; }
.bolt-flow { background:linear-gradient(126deg,#dfdfdc 0 45%,#fcfcfc 45%); }.flow-edge { position:absolute; width:8px; background:#eee; height:100%; left:28%; }.flow-panel { position:absolute; right:0; top:14%; height:73%; width:58%; background:#fff; border-left:10px solid #057b70; padding:20px; box-shadow:-18px 5px 18px #0001; }.flow-panel b { display:block; color:#aaa; font-size:14px; }.flow-panel i { display:block; height:13%; margin:10px 0; background:linear-gradient(90deg,#f3f3f3 67%,#a2ded4 67% 75%, #f3f3f3 75%); }

/* FutureShift mockup set */

/* Brio mockup set */

/* Konfid mockup set */

/* Bellows mockup set */
.bellows-grid {grid-template-columns:1.3fr .9fr;}.bellows-laptop{min-height:420px;background:linear-gradient(135deg,#e4e7e1,#cfd5d1);}.bellows-laptop::before{content:"";position:absolute;width:66%;height:68%;left:17%;top:10%;border:9px solid #818181;background:#f6f7f4;box-shadow:13px 17px 18px #0002;}.bellows-laptop::after{content:"";position:absolute;width:78%;height:20px;left:11%;top:78%;border-radius:0 0 50% 50%;background:#a5a5a5;}.service-screen{position:absolute;z-index:2;left:27%;top:20%;}.service-screen small{font:8px var(--mono);color:#797979;}.service-screen h5{font-size:clamp(18px,2.3vw,33px);letter-spacing:-.08em;line-height:.92;margin:22px 0;}.service-screen h5 i{font-weight:400;}.service-screen b{background:#2d65e1;color:white;padding:7px 11px;font-size:9px;}.bellows-split{min-height:420px;display:grid;grid-template-columns:1fr 1fr;}.service-list{background:#fff;padding:35px 16px;}.service-list b{font-size:16px;letter-spacing:-.06em;display:block;margin-bottom:24px;}.service-list i{display:block;height:37px;margin:8px 0;border:1px solid #e1e1e1;border-left:5px solid #376fe7;}.service-person{background:linear-gradient(135deg,#ecf8f6,#bae1d7);position:relative;overflow:hidden;}.service-person::before{content:"";position:absolute;width:103px;height:160px;border-radius:50% 50% 0 0;background:#1e2927;bottom:-18px;left:50%;transform:translateX(-50%);}.service-person::after{content:"";position:absolute;width:48px;height:48px;border-radius:50%;background:#be856d;bottom:117px;left:50%;transform:translateX(-50%);}.service-person span{position:absolute;top:16px;left:13px;font:8px var(--mono);color:#56847d;}

/* Footer */
.portfolio-footer { width: 100%; max-width: 1440px; margin-inline: auto; padding: 60px 40px 24px; background: #000000; color: #ffffff; font-family: "Inter", "Inter Fallback", Arial, sans-serif; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 48px; }
.footer-top h2 { margin: 0; font-size: 60px; line-height: 68px; font-weight: 600; letter-spacing: -.04em; }
.footer-top h2 span { display: block; }
.footer-socials { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.footer-socials a { color: #ffffff; font-size: 24px; line-height: 24px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; transition: color 225ms ease; cursor: pointer; }
.footer-socials a:hover { color: #BDBDBD; }
.footer-bottom { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-top: 64px; padding-top: 12px; border-top: 1px solid #ffffff; }
.footer-bottom p { margin: 0; font-size: 18px; line-height: 18px; font-weight: 400; }
@media (max-width: 1024px) {
  .portfolio-footer { padding: 48px 20px 24px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer-top h2 { font-size: clamp(28px, 5.8vw, 60px); line-height: 1.133333; }
  .footer-bottom { margin-top: 48px; }
}
@media (max-width: 600px) {
  .footer-top h2 { width: 100%; max-width: 100%; min-width: 0; height: auto; overflow: visible; white-space: normal; overflow-wrap: anywhere; word-break: normal; text-align: left; }
  .footer-top h2 span { max-width: 100%; white-space: normal; overflow: visible; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}

/* ---------- Home footer: statement, smiley mark, social links ----------
   Scoped to .portfolio-footer--home so case-study footers keep their own layout. */
:is(.portfolio-footer--home, .portfolio-footer--next) { max-width: none; background: #0A0A0A; }
/* Footers close the page at full screen height: the main block centres in the space and the
   copyright row sits on the bottom edge. svh keeps phones steady as the browser bars move. */
:is(.portfolio-footer--home, .portfolio-footer--next) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
:is(.portfolio-footer--home, .portfolio-footer--next) :is(.footer-top, .footer-bottom) { width: 100%; max-width: 1360px; margin-inline: auto; }
.portfolio-footer--home .footer-top { flex: 1; align-content: center; }
.portfolio-footer--home .footer-top { grid-template-columns: minmax(0, 1fr) 200px; align-items: end; gap: 48px; }
.portfolio-footer--home .footer-top h2 { font-size: var(--fs-cta); line-height: calc(var(--fs-cta) + 8px); font-weight: 400; letter-spacing: -.04em; }
.footer-smile { display: block; width: 104px; height: 104px; margin-top: var(--space-heading); color: #fff; transition: transform 600ms cubic-bezier(.22, 1, .36, 1); }
.footer-smile svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; }
.footer-smile circle { stroke-width: 3; }
.footer-smile path { stroke-width: 5; }
.footer-smile:hover, .footer-smile:focus-visible { transform: rotate(-14deg) scale(1.04); }
/* All links white at rest; hovering one keeps it white and fades the others to grey */
.portfolio-footer--home .footer-socials { gap: 36px; }
:is(.portfolio-footer--home, .portfolio-footer--next) .footer-socials a { display: inline-flex; align-items: center; gap: 6px; color: #fff; background-image: none; transition: color 320ms ease; }
:is(.portfolio-footer--home, .portfolio-footer--next) .footer-socials a:is(:hover, :focus-visible) { color: #fff; }
:is(.portfolio-footer--home, .portfolio-footer--next) .footer-socials:has(a:is(:hover, :focus-visible)) a:not(:is(:hover, :focus-visible)) { color: #6B6B6B; }
.footer-socials__arrow { flex: none; width: .5em; height: .5em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 320ms cubic-bezier(.22, 1, .36, 1); }
.footer-socials a:is(:hover, :focus-visible) .footer-socials__arrow { transform: translate(2px, -2px); }
:is(.portfolio-footer--home, .portfolio-footer--next) .footer-bottom { margin-top: 64px; padding-top: 24px; border-top-color: rgba(255, 255, 255, .12); }
:is(.portfolio-footer--home, .portfolio-footer--next) .footer-bottom p { font-size: 16px; line-height: 24px; letter-spacing: -.01em; text-transform: none; }
@media (max-width: 1024px) {
  .portfolio-footer--home .footer-top { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .portfolio-footer--home .footer-socials { flex-direction: row; flex-wrap: wrap; gap: 16px 32px; }
  .footer-smile { width: 80px; height: 80px; }
}
@media (max-width: 760px) {
  :is(.portfolio-footer--home, .portfolio-footer--next) .footer-bottom { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .footer-smile { width: 64px; height: 64px; }
  .portfolio-footer--home .footer-bottom { margin-top: 48px; }
  :is(.portfolio-footer--home, .portfolio-footer--next) .footer-bottom p { font-size: 14px; line-height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-smile, .footer-socials__arrow { transition: none; }
  .footer-smile:hover, .footer-smile:focus-visible, .footer-socials a:is(:hover, :focus-visible) .footer-socials__arrow { transform: none; }
}

@media (max-width: 760px) {
  .page-shell {width:calc(100% - 32px);max-width:1440px;margin-left:auto;margin-right:auto;}
  .hero {min-height:706px;padding-top:58px;}.topbar{left:0;width:100%;margin:0;height:58px;}.topbar-content{width:calc(100% - 32px);height:100%;grid-template-columns:1fr auto;}.desktop-nav {display:none;position:absolute;left:0;right:0;top:58px;background:#fff;border:1px solid #e7e7e7;padding:9px;flex-direction:column;align-items:stretch;box-shadow:0 12px 30px #0001;z-index:10;}.desktop-nav.is-open{display:flex;}.desktop-nav a{padding:11px 12px;}.quiet-link{display:none;}.menu-toggle{display:grid;width:31px;height:29px;padding:8px 6px;border:0;background:transparent;gap:5px;cursor:pointer;}.menu-toggle i{height:2px;background:#111;width:100%;display:block;}.hero-copy{margin-top:70px;}.hero-copy h1{font-size:clamp(47px,14vw,68px);line-height:.91;}.hero-copy p{font-size:15px;line-height:1.35;margin-top:24px;}.wide-only{display:none;}.hero-cards{height:224px;min-width:730px;margin-top:78px;gap:11px;transform:translateX(-16%);}.hero-card{flex-basis:145px;height:131px;}.hero-card.partial{flex-basis:66px;height:104px;}.mini-window{inset:17px 19px 18px;padding:8px;}.mini-window b{height:11px;margin-top:7px;}.mini-window em{height:27px;margin-top:5px;}.mini-window i{height:17px;margin-top:5px;}.phone{width:46px;height:93px;bottom:12px;border-width:2px;border-radius:7px;padding:10px 4px 3px;}.phone::before{top:4px;width:17px;height:3px;}.phone-a{left:25px;}.phone-b{right:22px;height:88px;}.phone b{height:15px;margin-bottom:3px;}.phone i{height:4px;margin:3px 0;}.phone em{height:18px;}.dashboard{inset:15px 14px;border-width:3px;padding:5px;}.dashboard b{height:13px;margin-top:7px;}.dashboard b{height:13px;margin:3px 0;}.dashboard i,.dashboard em,.dashboard u{height:7px;margin-top:2px;}.slim-browser{height:97px;width:63px;}.intro{padding:75px 0 82px;}.intro p{font-size:14px;margin-top:23px;}.work{padding-top:60px;}.section-title{gap:10px;justify-content:center;font-size:clamp(43px,13vw,60px);margin-bottom:62px;}.title-device{width:64px;height:43px;padding:3px;}.title-device::before{height:5px;}.title-device i{width:23px;height:19px;margin:5px auto;}.case{padding-bottom:76px;}.ticker{font-size:33px;gap:28px;margin-bottom:28px;}.case-brief,.case-meta{grid-template-columns:1fr;gap:17px;}.case-copy h3{font-size:10px;margin-bottom:6px;}.case-copy p{font-size:10px;}.case-meta{margin-top:20px;}.case-meta div{gap:13px 19px;}.case-meta div > span{font-size:8px;}.bolt-grid,.bellows-grid{grid-template-columns:1fr;gap:7px;}.bolt-grid .project-shot,.bolt-grid .bolt-hero,.bolt-grid .bolt-board{grid-column:auto;min-height:230px;}.bolt-hero strong{font-size:29px;}.bolt-hero span{font-size:20px;}.ev-monitor{height:59%;width:46%;}.data-board{left:32%;width:55%;height:60%;padding:10px;border-width:5px;}.charging-post{left:9%;height:68%;border-width:5px;}.bolt-cable h5{font-size:22px;}.bolt-flow{min-height:250px!important;}.bellows-laptop,.bellows-split{min-height:300px;}.bellows-split{min-height:300px;}
}

@media (min-width: 761px) and (max-width: 980px) {
  .hero-cards { transform: translateX(-13%) scale(.88); margin-top:75px; }
  .hero {min-height: 790px;}.project-grid{gap:8px;}.bolt-grid .project-shot{min-height:280px;}.bolt-grid .bolt-hero,.bolt-grid .bolt-board{min-height:310px;}.bellows-laptop,.bellows-split{min-height:350px;}
}

@media (min-width: 761px) {
  .case .case-meta div { flex-wrap: nowrap; white-space: nowrap; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .page-shell { width: calc(100% - 40px); }
}

/* Match the showcase gutters without changing the navbar's height. */
@media (max-width: 1024px) {
  .topbar { padding-inline: 20px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .topbar .desktop-nav, .topbar-actions { gap: 4px; }
  .topbar .desktop-nav a, .topbar .quiet-link { padding-inline: 12px; }
}
@media (max-width: 760px) {
  .topbar { padding-inline: 16px; }
  .topbar .topbar-content { width: 100%; max-width: 1360px; }
}

/* Scale the dashboard canvas at tablet sizes, including iPad Pro. */
@media (min-width: 761px) and (max-width: 1024px) {
  .bolt-main-video video { width: 100%; height: auto; max-height: 100%; min-height: 0; object-fit: contain; }
  .bolt-dashboard-final__screen { width: 61.62%; height: 75.38%; }
  .bolt-dashboard-final__screen.is-center { width: 69.49%; height: 84.62%; }
  .bolt-dashboard-final__screen img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
  .bolt-dashboard-final__screen.is-left { left: -19.93%; }
  .bolt-dashboard-final__screen.is-right { left: 119.93%; }
  .bolt-dashboard-final__screen.is-exit-left { left: -60.29%; }
  .bolt-dashboard-final__screen.is-enter-right { left: 160.29%; }
}

/* Share the content column through the 1024px iPad Pro breakpoint. */
@media (min-width: 761px) and (max-width: 1024px) {
  .case .case-intro { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); column-gap: 42px; }
  .case .case-intro > .case-meta { display: grid; grid-template-columns: subgrid; column-gap: inherit; align-items: start; min-width: 0; }
  .case .case-meta > span { grid-column: 1; grid-row: 1; width: auto; justify-self: start; white-space: nowrap; }
  .case .case-brief,
  .case .case-copy { min-width: 0; }
  .case .case-copy p { width: 100%; max-width: none; }
  .case .case-meta > div { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; flex-wrap: wrap; white-space: normal; gap: 24px; align-items: flex-start; justify-content: flex-start; }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .hero { min-height: 0; }
  /* Match flow height to the scaled group; transforms alone leave empty space. */
  .hero-cards { left: 50%; width: 1360px; height: 350px; margin-left: -680px; margin-bottom: calc(350px * (var(--tablet-card-scale, .5) - 1)); overflow: visible; transform: scale(var(--tablet-card-scale, .5)); transform-origin: center top; }
  .hero + .intro { padding-top: 120px; }
  .hero-card { width: 280px; height: 286px; flex-basis: 280px; margin-left: -10px; }
  .hero-card:first-child { margin-left: 0; }
}

@media (max-width: 760px) {
  .hero-cards { left: 16px; width: calc(100% - 32px); min-width: 0; height: 430px; display: block; margin: 120px 0 0; overflow: visible; transform: none; }
  .hero-cards .hero-card {
    --mobile-side-shift: min(220px, 64vw);
    --pile-y: 0px;
    position: absolute;
    /* Upper envelope of the existing 280x286 rotated cards and pile offsets. */
    top: 172.5318355843px;
    left: 50%;
    width: min(280px, calc(100% - 8px));
    height: auto;
    aspect-ratio: 280 / 286;
    margin: 0;
    pointer-events: none;
    transform: translate3d(calc(-50% + var(--mobile-side-shift)), calc(-50% + var(--pile-y)), 0) rotate(var(--card-tilt)) scale(.9);
    animation: hero-mobile-card-carousel 22.5s cubic-bezier(.65, 0, .35, 1) infinite both;
    will-change: transform, opacity;
  }
  .hero-cards .hero-card--konfidi { --pile-y: -5px; animation-delay: -20.25s; }
  .hero-cards .hero-card--bolt { --pile-y: -7px; animation-delay: -15.75s; }
  .hero-cards .hero-card--brio { --pile-y: 2px; animation-delay: -11.25s; }
  .hero-cards .hero-card--future { --pile-y: 7px; animation-delay: -6.75s; }
  .hero-cards .hero-card--bellows { --pile-y: 10px; animation-delay: -2.25s; }
  @keyframes hero-mobile-card-carousel {
    0% {
      z-index: 8;
      opacity: 1;
      transform: translate3d(-50%, calc(-50% + var(--pile-y)), 0) rotate(var(--card-tilt)) scale(1);
    }
    20% {
      z-index: 2;
      opacity: .76;
      transform: translate3d(calc(-50% - var(--mobile-side-shift)), calc(-50% + var(--pile-y)), 0) rotate(var(--card-tilt)) scale(.9);
    }
    59% {
      z-index: 1;
      opacity: .38;
      transform: translate3d(calc(-50% - var(--mobile-side-shift)), calc(-50% + var(--pile-y)), 0) rotate(var(--card-tilt)) scale(.9);
    }
    60% {
      z-index: 1;
      opacity: 0;
      transform: translate3d(calc(-50% - var(--mobile-side-shift)), calc(-50% + var(--pile-y)), 0) rotate(var(--card-tilt)) scale(.9);
    }
    60.1%, 70% {
      z-index: 3;
      opacity: 0;
      transform: translate3d(calc(-50% + var(--mobile-side-shift)), calc(-50% + var(--pile-y)), 0) rotate(var(--card-tilt)) scale(.9);
    }
    80% {
      z-index: 5;
      opacity: .76;
      transform: translate3d(calc(-50% + var(--mobile-side-shift)), calc(-50% + var(--pile-y)), 0) rotate(var(--card-tilt)) scale(.9);
    }
    100% {
      z-index: 8;
      opacity: 1;
      transform: translate3d(-50%, calc(-50% + var(--pile-y)), 0) rotate(var(--card-tilt)) scale(1);
    }
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .hero-copy p { width: 100%; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 760px) {
  .hero-copy p { width: 100%; max-width: 280px; margin-inline: auto; }
  .hero-copy h1 .hero-word-mask { padding-inline: 8px; margin-inline: -8px; }
  .topbar .menu-toggle { width: 40px; height: 40px; padding: 0 10px; border-radius: 6px; background: transparent; align-content: center; gap: 5px; }
  .intro-copy { width: 100%; height: auto; min-height: 0; overflow: visible; }
  .intro h2 { margin-inline: 16px; height: auto; min-height: 0; line-height: 1.05; overflow: visible; }
  .intro .hero-word-mask { overflow: visible; padding-bottom: 0; margin-bottom: 0; }
  .intro p { box-sizing: border-box; width: 100%; max-width: none; padding-inline: 20px; text-align: center; height: auto; min-height: 0; overflow: visible; line-height: 1.45; white-space: normal; overflow-wrap: normal; }
  .intro p br { display: none; }
  .intro h2 { font-size: clamp(47px, 14vw, 68px); line-height: 1.05; }
  .intro p { font-size: 15px; line-height: 1.45; }
  .work .section-title { gap: 0; font-size: clamp(47px, 14vw, 68px); line-height: .91; }
  .work-title-content { gap: 10px; }
  .case .case-intro { grid-template-columns: 1fr; row-gap: 17px; }
  .case .case-intro > .eyebrow,
  .case .case-intro > .case-brief,
  .case .case-intro > .case-meta { grid-column: 1; grid-row: auto; }
  .case .case-meta div { flex-wrap: wrap; gap: 13px 19px; }
}

/* Reduced motion: text reveals become short opacity fades, and the mobile card carousel rests as a static pile. */
@keyframes reduced-motion-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-word, .hero-copy p, .intro p { transform: none; animation-name: reduced-motion-fade; animation-duration: 200ms; animation-timing-function: linear; will-change: auto; }
}
