/* ==========================================================================
   NUVE LIVE — the moving parts layered on top of nuve.css.

   1. The hero sky: a WebGL cloud that drifts and parts around the cursor.
   2. The headline surfaces out of it, once, on load.
   3. Records play in place: tap a cover, the Nuve player docks at the bottom.
   4. Optional hover previews on covers (when a clip exists).
   5. A/B mix player — rough vs. mix, sample-locked. Hidden until audio exists.

   Remove the <link> and <script> for nuve-live and the site is exactly as it
   was: everything here is additive.
   ========================================================================== */

/* ---------- 1. hero sky ---------- */

.hero-sky {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero.has-sky .hero-sky { opacity: 1; }
/* the static smoke stays underneath as the no-WebGL / first-paint fallback */

/* ---------- 2. headline surfacing ---------- */

.hero h1 .w {
  display: inline-block;
  white-space: pre;
}
.live-intro .hero h1 .w {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(0.28em);
  animation: nuve-surface 1.25s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(0.25s + var(--i) * 0.085s);
}
.live-intro .hero-logo,
.live-intro .hero .lede,
.live-intro .hero-cta,
.live-intro .hero-meta {
  opacity: 0;
  animation: nuve-fade 1.1s ease forwards;
}
.live-intro .hero-logo { animation-delay: 0.05s; }
.live-intro .hero .lede { animation-delay: 0.95s; }
.live-intro .hero-cta  { animation-delay: 1.1s; }
.live-intro .hero-meta { animation-delay: 1.3s; }

@keyframes nuve-surface {
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes nuve-fade { to { opacity: 1; } }

/* ---------- 3. play in place ---------- */

.work-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(12,14,13,.38);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.work-play i {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.94);
  display: grid; place-items: center;
  transform: scale(.86);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.work-play svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--dark); }
.work-item a:hover .work-play,
.work-item a:focus-visible .work-play,
.work-item.is-playing .work-play { opacity: 1; }
.work-item a:hover .work-play i,
.work-item a:focus-visible .work-play i { transform: scale(1); }

.work-marquee.is-live .work-art::after { content: none; }

/* the record that is currently up in the dock */
.work-item.is-playing .work-cover { border-color: rgba(255,255,255,.7); }
.work-item.is-playing .work-play i { background: transparent; box-shadow: none; }
.work-item.is-playing .work-play svg { display: none; }
.work-item.is-playing .work-play i::before { content: none; }

/* equaliser bars — shown on the playing tile, and on a tile previewing a clip */
.eq {
  display: none;
  gap: 4px; align-items: flex-end;
  height: 26px;
}
.eq b {
  width: 4px; height: 100%;
  background: #fff; border-radius: 2px;
  transform-origin: bottom;
  animation: nuve-eq 0.9s ease-in-out infinite;
}
.eq b:nth-child(2) { animation-delay: -0.3s; animation-duration: 0.7s; }
.eq b:nth-child(3) { animation-delay: -0.6s; animation-duration: 1.1s; }
.eq b:nth-child(4) { animation-delay: -0.15s; animation-duration: 0.8s; }
@keyframes nuve-eq {
  0%, 100% { transform: scaleY(.25); }
  50%      { transform: scaleY(1); }
}
.work-item.is-playing .eq,
.work-item.is-previewing .eq { display: flex; }
.work-item.is-previewing .work-play { opacity: 1; }
.work-item.is-previewing .work-play i { background: transparent; box-shadow: none; }
.work-item.is-previewing .work-play svg { display: none; }

/* the dock — a slim bar along the bottom edge, same black as the site */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 60;
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.dock.is-open { transform: none; }
.dock[hidden] { display: block; visibility: hidden; }
.dock.is-open[hidden] { visibility: visible; }

.dock-in {
  max-width: var(--maxw); margin: 0 auto;
  padding: 12px var(--edge);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px) auto;
  gap: clamp(14px, 2.4vw, 32px);
  align-items: center;
}
.dock-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dock-art { width: 56px; height: 56px; flex: none; object-fit: cover; background: var(--dark-2); }
.dock-text { min-width: 0; line-height: 1.2; }
.dock-title {
  font-family: var(--head); font-size: 1.25rem; letter-spacing: .04em;
  text-transform: uppercase; margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dock-sub {
  font-size: .8125rem; color: var(--on-dark-2); margin: 3px 0 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dock-close {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff;
  font-size: 1.15rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.dock-close:hover { background: #fff; color: var(--dark); }
.dock-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.dock-frame { height: 80px; border-radius: 12px; overflow: hidden; background: var(--dark-2); }
.dock-frame iframe { display: block; width: 100%; height: 80px; border: 0; }

@media (max-width: 720px) {
  .dock-in { grid-template-columns: minmax(0, 1fr) auto; padding-block: 10px; gap: 10px 14px; }
  .dock-frame { grid-column: 1 / -1; grid-row: 2; }
  .dock-art { width: 40px; height: 40px; }
  .dock-title { font-size: 1.0625rem; }
}

/* keep the bar clear of the page's last lines */
body.has-dock { padding-bottom: 106px; }
@media (max-width: 720px) { body.has-dock { padding-bottom: 166px; } }

/* ---------- 5. A/B mix player ---------- */

.ab { margin-top: clamp(56px, 8vw, 96px); }
.ab[hidden] { display: none; }
.ab-card {
  background: var(--dark);
  color: #fff;
  border-radius: 14px;
  padding: clamp(22px, 3.4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 860px) { .ab-card { grid-template-columns: 1fr; } }
.ab-copy h3 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: .98; margin: 0 0 14px; }
.ab-copy p { color: var(--on-dark); margin: 0; max-width: 44ch; }
.ab-copy .ab-song { color: var(--on-dark-2); font-size: .9375rem; margin-top: 16px; }

.ab-wave {
  position: relative;
  height: 112px;
  cursor: pointer;
  touch-action: none;
}
.ab-wave canvas { display: block; width: 100%; height: 100%; }
.ab-wave:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }

.ab-controls {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 18px;
}
.ab-play {
  width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: #fff; color: var(--dark);
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.ab-play svg { width: 18px; height: 18px; fill: currentColor; }
.ab-play .i-pause { display: none; }
.ab.is-playing .ab-play .i-play { display: none; }
.ab.is-playing .ab-play .i-pause { display: block; }
.ab-play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.ab-switch {
  position: relative;
  display: inline-grid; grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 4px;
}
.ab-switch button {
  position: relative; z-index: 1;
  border: 0; background: transparent; color: var(--on-dark-2);
  font-family: var(--head); font-size: 1rem; letter-spacing: .08em;
  text-transform: uppercase;
  padding: 9px 20px; cursor: pointer; border-radius: 999px;
  transition: color .25s ease;
}
.ab-switch button[aria-pressed="true"] { color: var(--dark); }
.ab-switch button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ab-switch::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  background: #fff; border-radius: 999px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.ab[data-side="after"] .ab-switch::before { transform: translateX(100%); }
.ab-hint { font-size: .8125rem; color: var(--on-dark-2); }
.ab-time { margin-left: auto; font-size: .8125rem; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero-sky { transition: none; }
  .live-intro .hero h1 .w,
  .live-intro .hero-logo,
  .live-intro .hero .lede,
  .live-intro .hero-cta,
  .live-intro .hero-meta { animation: none; opacity: 1; filter: none; transform: none; }
  .eq b { animation: none; transform: scaleY(.6); }
  .dock { transition: none; }
}

/* ==========================================================================
   CLEAN PASS — quieter sections. Overrides for nuve.css, homepage only.
   ========================================================================== */

/* the app recording sits in the phone frame, rising from the panel's bottom edge */
.appcard-visual video {
  position: absolute; left: 50%; top: clamp(28px, 3vw, 44px); transform: translateX(-50%);
  width: clamp(190px, 19vw, 250px); height: auto; aspect-ratio: 600 / 1304;
  border-radius: 30px; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  background: #000; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.appcard-visual:hover video { transform: translateX(-50%) translateY(-6px); }
@media (max-width: 820px) { .appcard-visual video { width: 180px; } }

.appcard { border-radius: 18px; }
.appcard-id { margin-bottom: 16px; }
.appcard-id h3 { margin-bottom: 4px; }
.appcard-status { margin: 0; font-size: .875rem; color: var(--muted); }
.appcard-claim { margin-bottom: 26px; max-width: 40ch; }
.appcard .app-actions { gap: 18px; }
.appcard .textlink { font-size: .9375rem; }
.appcard.is-prelaunch .store-link { display: none; }

/* testimonials: no box, no quote glyph, name sits right under the words */
.car-track { align-items: flex-start; padding: 0 !important; }
.car-slide { display: block !important; border: 0 !important; border-radius: 0 !important; padding: 8px 0 0 !important; background: transparent !important; box-shadow: none !important; }
.car-slide::before { content: none !important; }
.car-q { margin-bottom: 22px !important; padding-top: 0 !important; }
.car-who { border-top: 0 !important; padding-top: 0 !important; margin-top: 0 !important; }

/* booking form: a plain field, not a floating card */
.form--card { border-radius: 0; box-shadow: none; border: 0; padding: 0; }
.contact-solo { max-width: 760px; }

/* ==========================================================================
   APP PAGES — clean pass
   ========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* hero: the app running, in the same frame the still used */
.apphero-visual video {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: clamp(230px, 23vw, 310px); height: auto; aspect-ratio: 600 / 1304;
  border-radius: 36px; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 40px 80px rgba(0,0,0,.55);
  background: #000; object-fit: cover; display: block;
}
.app-id { margin-bottom: 22px; }

/* DAW list: one quiet word, then the names */
.daws-lead { margin: 0 0 10px; font-size: .9375rem; color: var(--muted); }

/* feature columns: plain text, no boxes, no ticks */
.feat3 > div { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; }
.feat3 > div > p { border-bottom: 0 !important; padding-bottom: 0 !important; }
.feat3 h3 { margin-top: 0 !important; }
.feat3 .feats li { padding-left: 0 !important; }
.feat3 .feats li::before { display: none !important; }

/* steps: the number is enough */
.flow-step .flow-n { margin-bottom: 14px; }

/* pricing: Free next to Pro */
.pricing2 {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}
@media (max-width: 720px) { .pricing2 { grid-template-columns: 1fr; } }
.tier { border-top: 2px solid var(--hair); padding-top: 22px; }
.tier--pro { border-top-color: var(--ink); }
.tier h3 { font-size: 1.5rem; margin: 0 0 10px; }
.tier-price { font-family: var(--head); font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.1; color: var(--ink); margin: 0 0 12px; letter-spacing: .02em; }
.tier-price small { font-size: .55em; color: var(--muted); letter-spacing: .06em; }
.tier > p { font-size: 1rem; color: var(--body); margin: 0 0 18px; max-width: 40ch; }
.tier .feats { margin: 0; }
.tier .feats li { padding-left: 0; }
.tier .feats li::before { display: none; }

.flow--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.formats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
@media (max-width: 520px) { .flow--2, .formats--2 { grid-template-columns: 1fr; } }
.feat3 > div > p { margin-bottom: 0 !important; }

/* DAW line */
.daws-line { margin: 0; max-width: 60ch; color: var(--body); }

/* ==========================================================================
   PHONES
   ========================================================================== */
@media (max-width: 760px) {
  /* testimonials: a short stack instead of a sideways carousel */
  .car-track { display: block; overflow: visible; }
  .car-slide { flex: none; width: auto; padding: 0 0 26px !important; margin-bottom: 26px !important; border-bottom: 1px solid var(--hair) !important; }
  .car-slide:nth-child(n+4), .car-foot { display: none !important; }
  .car-slide:nth-child(3) { border-bottom: 0 !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }

  /* room photos: wide, not tall */
  .svc-media img { aspect-ratio: 4 / 3; }

  /* hero: tighter */
  .hero-logo { width: 120px; margin-bottom: 26px; }
  .hero .lede, .apphero .lede { font-size: 1rem; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-grid > div:first-child p { max-width: none !important; }
  .foot-base { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ==========================================================================
   READABILITY — nothing smaller than 14px, no light grey on small text,
   short tracked labels loosened. Applies to every page.
   ========================================================================== */
:root {
  --muted: #585E5C;                 /* was #6E7472: passes AA on white at small sizes */
  --on-dark-2: rgba(255,255,255,.74);
}
body { font-size: 17px; line-height: 1.7; }
.small, .fine, .dim, .appcard-meta, .car-role, .plan-foot, .notify .fine,
.midifile-sub, .fmt p, .flow-step p, .svc p, .feat3 > div > p, .tier .feats li, .feats li,
.foot-list a, .foot .small { font-size: 0.9375rem !important; line-height: 1.6; }
.fine, .small.dim, .notify .fine { color: var(--muted) !important; }
.band--dark .fine, .foot .fine, .notify .fine { color: var(--on-dark-2) !important; }

/* Bebas labels: bigger, less tracking */
.work-credit, .reels figcaption, .fmt-badge, .fmt-ext + *, .fmt .fmt-sub,
.foot-base, .foot-h, .field label, label.eyebrow, .site-nav a, .dock-sub,
.apphero-visual figcaption, .car-name, .work-title {
  letter-spacing: 0.08em !important;
}
.work-credit { font-size: 0.8125rem !important; padding: 6px 12px !important; }
.reels figcaption, .foot-h, .foot-base, .field label { font-size: 0.9375rem !important; }
.foot-base { line-height: 1.7; }
.car-name { font-size: 1.125rem !important; }
.work-title { font-size: 1.25rem !important; }
.work-artist { font-size: 1rem !important; }
.fmt-badge { font-size: 0.8125rem !important; }
.fmt h3 { font-size: 1.0625rem !important; letter-spacing: 0.06em !important; color: var(--ink) !important; }
.fmt-ext { font-size: 1.5rem !important; }

/* body copy measure */
.lede { max-width: 56ch; }
p { max-width: 68ch; }
.hero .lede { max-width: 48ch; }
.shead .lede { font-size: 1.125rem; line-height: 1.65; }

/* pricing fixes: price size wins; no bullet remnants */
.tier > p.tier-price { font-size: clamp(2rem, 3.2vw, 2.75rem) !important; line-height: 1.1; margin: 0 0 14px; max-width: none; }
.tier > p.tier-price small { font-size: .5em; }
.pricing2 .feats li::before, .feat3 .feats li::before { content: none !important; display: none !important; }
.pricing2 .feats li { padding: 10px 0 !important; }
.pricing2 .feats li::after, .feat3 .feats li::after { content: none !important; display: none !important; }

/* skip link, shown only when focused */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; font-family: var(--head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 12px; }

/* small pages (thanks, 404) */
.plain { min-height: 60vh; display: grid; align-items: center; }
.plain .lede { margin: 14px 0 28px; }

/* the nav knows where you are */
.site-nav a.is-here:not(.btn) { color: var(--ink); border-bottom: 1px solid var(--ink); }
#studio .shead .lede + .lede { margin-top: 18px; }

/* ==========================================================================
   CHORDS LIVE page
   ========================================================================== */
.cl-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); max-width: 860px; }
@media (max-width: 720px) { .cl-shots { grid-template-columns: 1fr 1fr; } .cl-shots figure:last-child { display: none; } }
.cl-shots figure { margin: 0; }
.cl-shots img { width: 100%; height: auto; aspect-ratio: 600 / 1304; object-fit: cover; border-radius: 18px; border: 1px solid var(--hair); background: var(--dark); display: block; }
.cl-shots figcaption { font-family: var(--head); font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.cl-pedals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); max-width: 900px; }
@media (max-width: 640px) { .cl-pedals { grid-template-columns: 1fr; } }
.cl-pedals figure { margin: 0; }
.cl-pedals img { width: 100%; height: auto; border-radius: 22px; display: block; }
.cl-pedals figcaption { font-size: .9375rem; color: var(--body); margin-top: 14px; max-width: 40ch; }
@media (min-width: 1000px) { .appcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .appcard-visual video, .appcard-visual img { width: clamp(170px, 15vw, 210px); } .appcard-visual { height: clamp(240px, 24vw, 320px); } }
.appcard-visual img { position: absolute; left: 50%; top: clamp(28px, 3vw, 44px); transform: translateX(-50%); width: clamp(190px, 19vw, 250px); height: auto; aspect-ratio: 600 / 1304; border-radius: 30px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px rgba(0,0,0,.5); object-fit: cover; }

/* Chords Live: phone + copy rows */
.cl-row { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cl-row--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.cl-row--flip .cl-phone { order: 2; }
.cl-phone { margin: 0; }
.cl-phone img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--hair); background: var(--dark); display: block; box-shadow: 0 30px 60px -30px rgba(13,15,14,.45); }
.cl-copy h2 { margin-bottom: 14px; }
.cl-copy .lede { margin-bottom: 26px; }
.cl-list { margin: 0; }
.cl-list > div { padding: 14px 0; border-top: 1px solid var(--hair); }
.cl-list dt { font-family: var(--head); font-size: 1.125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.cl-list dd { margin: 0; font-size: 1rem; color: var(--body); max-width: 48ch; }
@media (max-width: 760px) {
  .cl-row, .cl-row--flip { grid-template-columns: 1fr; }
  .cl-row--flip .cl-phone { order: 0; }
  .cl-phone { max-width: 280px; margin: 0 auto; }
}
.band--dark .cl-pedals figcaption { color: var(--on-dark); }
.band--dark .cl-pedals img { border: 1px solid rgba(255,255,255,.12); }

/* ==========================================================================
   DEVICE FRAME — iPhone 17 Pro proportions. Wrap a 600x1304 full-screen
   capture (img or video) in <span class="dev">. JS adds the inner pieces and
   keeps --w (the shell's width in px) current, so every radius scales.
   ========================================================================== */
.dev {
  --w: 300px;
  position: relative; display: block; box-sizing: border-box; width: 100%;
  padding: calc(var(--w) * 0.024);                       /* silver titanium band */
  border-radius: calc(var(--w) * 0.168);
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 14%, rgba(255,255,255,0) 86%, rgba(255,255,255,.35)),
    linear-gradient(90deg, #9a9ca1, #e9eaec 5%, #d4d5d8 12%, #cfd0d3 88%, #e9eaec 95%, #9a9ca1);
  box-shadow:
    inset 0 0 0 calc(var(--w) * 0.003) rgba(0,0,0,.35),
    0 calc(var(--w) * 0.1) calc(var(--w) * 0.18) calc(var(--w) * -0.05) rgba(0,0,0,.45);
}
.dev-screen {
  position: relative; display: block; overflow: hidden;
  padding: calc(var(--w) * 0.028);                       /* black inner bezel */
  background: #000;
  border-radius: calc(var(--w) * 0.146);
}
.dev-screen > img, .dev-screen > video {
  position: static !important; transform: none !important;
  display: block; width: 100% !important; height: auto !important;
  aspect-ratio: 600 / 1304; object-fit: cover; background: #000;
  border-radius: calc(var(--w) * 0.118); border: 0 !important; box-shadow: none !important;
}
/* Dynamic Island, matched to the capture */
.dev-screen::after {
  content: ""; position: absolute; z-index: 2;
  top: calc(var(--w) * 0.028 + var(--w) * 0.03); left: 50%;
  width: calc(var(--w) * 0.3); height: calc(var(--w) * 0.086);
  transform: translateX(-50%);
  background: #000; border-radius: 999px;
}
/* side buttons */
.dev-btn { position: absolute; background: linear-gradient(90deg, #9a9ca1, #dcdde0 50%, #9a9ca1); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); width: calc(var(--w) * 0.012); border-radius: 2px; z-index: -1; }
.dev-btn.l1 { left: calc(var(--w) * -0.009); top: 17.5%; height: 3%; }
.dev-btn.l2 { left: calc(var(--w) * -0.009); top: 23%;   height: 6.2%; }
.dev-btn.l3 { left: calc(var(--w) * -0.009); top: 30.6%; height: 6.2%; }
.dev-btn.r1 { right: calc(var(--w) * -0.009); top: 25%;  height: 10%; }

/* contexts: the shell is positioned where the raw media used to be, whole phone visible */
.apphero-visual { height: auto !important; padding-bottom: clamp(32px, 5vw, 64px); }
.apphero-visual .dev { position: relative; left: auto; top: auto; transform: none; width: clamp(230px, 22vw, 300px); margin: 0 auto; }
.apphero .wrap { align-items: center; }
.appcard-visual { height: auto !important; padding: clamp(24px, 3vw, 36px) 0 0; display: flex; justify-content: center; }
.appcard-visual .dev { position: relative; left: auto; top: auto; transform: none; width: clamp(170px, 15vw, 200px); margin-bottom: -22%; transition: transform .5s ease; }
.appcard-visual:hover .dev { transform: translateY(-6px); }
.appcard-visual video, .appcard-visual img { width: 100%; }
.reels .dev, .cl-pedals .dev { max-width: 300px; margin: 0 auto; }
.cl-phone .dev { width: 100%; }
.reels .reel-pad { display: none !important; }
.reels .reel-phone { display: block !important; }
.cl-phone img, .cl-pedals img { border-radius: 0; box-shadow: none; }
.cl-pedals { max-width: 760px; }
.cl-pedals figcaption { max-width: 300px; margin-inline: auto; }
.appcard-visual { padding: clamp(24px, 3vw, 36px) 0 !important; }
.appcard-visual .dev { margin-bottom: 0 !important; width: clamp(160px, 14vw, 190px); }

/* one phone size everywhere (cards share a smaller one) */
:root { --devw: clamp(230px, 22vw, 300px); --devw-card: clamp(160px, 14vw, 190px); }
.apphero-visual .dev, .reels .dev, .cl-pedals .dev, .cl-phone .dev { width: var(--devw) !important; max-width: 100%; margin-inline: auto; }
.appcard-visual .dev { width: var(--devw-card) !important; }
.cl-phone { max-width: none; }
.cl-row { grid-template-columns: var(--devw) minmax(0, 1fr); }
.cl-row--flip { grid-template-columns: minmax(0, 1fr) var(--devw); }
@media (max-width: 720px) {
  :root { --devw: 240px; }
  .cl-row, .cl-row--flip { grid-template-columns: 1fr; }
  .reels, .reels--2, .cl-pedals { display: grid !important; grid-auto-flow: row !important; grid-template-columns: 1fr !important; justify-items: center; overflow: visible !important; }
  .reels figure, .cl-pedals figure { width: auto !important; flex: none !important; }
  .reels figcaption, .cl-pedals figcaption { text-align: center; max-width: 36ch; }
}
