/* Sabban&Co website · https://sabbanand.co */
.gallery-projects { display: grid; gap: 14px; }
.project-card { text-decoration: none; font: inherit; display: flex; align-items: center; gap: 18px; padding: 25px 22px; min-width: 0; width: 100%; border: 1px solid #ffffff35; border-radius: 2px; background: #ffffff1c; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #f6f1eb; text-align: left; cursor: pointer; transition: background 240ms, border-color 240ms; }
.project-card:hover { background: #ffffff30; border-color: #ffffff80; }
.project-card-art { flex: 0 0 50px; width: 50px; }
.project-card-art > svg { width: 50px; height: 50px; fill: none; stroke: currentColor; stroke-width: 1; }
.project-app-icon { display: block; width: 50px; height: 50px; border-radius: 12px; }
.project-card-copy { display: flex; flex-direction: column; gap: 9px; min-width: 0; text-transform: none; }
.project-card-copy small { font-size: 10px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.project-card-copy strong { display: flex; align-items: center; gap: 10px; font-size: 18px; line-height: 1.25; font-weight: 300; letter-spacing: .02em; }
.project-card-copy > span { font-size: 12px; line-height: 1.5; opacity: .8; }
.project-card-copy em { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; font-style: normal; letter-spacing: .04em; margin-top: 8px; }
.project-card-copy b { font-weight: 300; font-size: 15px; }
.apple-mark { width: 17px; height: 21px; flex-shrink: 0; }
.project-card .apple-mark { opacity: .75; }
.project-open body { overflow: hidden; }
.project-dialog { --project-ink: #707070; --project-muted: #949494; --project-line: #94949430; --project-panel: #f5f5f2; color: var(--project-ink); background: transparent; border: 0; padding: 0; position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; overflow: hidden; text-transform: none; font-weight: 300; }
.project-dialog::backdrop { background: #1b202544; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.project-dialog[open] { display: grid; place-items: center; }
.project-dialog[open] .project-window { animation: project-fade 400ms ease both; }
@keyframes project-fade { from { opacity: 0; } to { opacity: 1; } }
.project-window { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: min(1140px, calc(100vw - 100px)); height: min(900px, calc(100dvh - 80px)); overflow: hidden; background: rgb(255 255 255 / .8); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border: 1px solid #ffffff40; border-radius: 3px; box-shadow: 0 35px 100px #00000026; }
.project-window-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px 12px 36px; gap: 20px; border-bottom: 1px solid var(--project-line); }
.project-window-header h2 { margin: 0; color: var(--project-muted); font-size: 13px; font-weight: 300; letter-spacing: .16em; text-transform: uppercase; }
.project-close { width: 44px; height: 44px; padding: 0; font-size: 29px; border: 0; color: inherit; background: transparent; cursor: pointer; }
.project-scroll { overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #94949455 transparent; }
.project-window-foot { display: flex; justify-content: space-between; gap: 20px; padding: 13px 36px; font-size: 10px; letter-spacing: .08em; color: var(--project-muted); border-top: 1px solid var(--project-line); }
.project-scroll-cue { color: inherit; padding: 0 8px; min-height: 20px; background: transparent; border: 0; cursor: pointer; font-size: 16px; line-height: 1; }
.project-scroll-cue:disabled { visibility: hidden; }
.showcase-content { --project-ink: #707070; --project-muted: #949494; --project-line: #94949430; --project-panel: #f5f5f2; padding: clamp(26px, 4vw, 64px); color: var(--project-ink); text-transform: none; font-size: 14px; font-weight: 300; line-height: 1.75; }
.showcase-content *, .project-card * { min-width: 0; }
.showcase-content [hidden] { display: none !important; }
.showcase-content h2, .showcase-content h3, .showcase-content h4 { font-weight: 300; color: inherit; }
.showcase-content h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -.035em; margin: 14px 0 22px; }
.showcase-content h3 { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -.02em; margin: 0 0 20px; }
.showcase-content p { margin: 0 0 18px; }
.showcase-content .showcase-kicker { text-transform: uppercase; font-size: 10px; letter-spacing: .15em; color: var(--project-muted); line-height: 1.6; }
.showcase-intro { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.showcase-intro > p:not(.showcase-kicker) { max-width: 490px; margin: 0 auto; font-size: 16px; }
.showcase-content a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.showcase-content button { cursor: pointer; color: inherit; }
.showcase-content button:disabled { cursor: default; opacity: .4; }
.project-card:focus-visible, .project-dialog :focus-visible, .showcase-content :focus-visible { outline: 2px solid #999; outline-offset: 4px; }
.showcase-content .showcase-small { font-size: 11px; line-height: 1.65; color: var(--project-muted); }
.lerosa-app-icon { display: block; border-radius: 17px; width: 72px; height: 72px; margin: 0 auto 25px; }
.lerosa-showcase { padding: clamp(25px, 3vw, 40px); }
.lerosa-showcase .showcase-intro { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; max-width: none; text-align: left; margin: 0 0 32px; }
.lerosa-showcase .lerosa-app-icon { grid-row: 1 / 4; align-self: center; width: 64px; height: 64px; margin: 0; }
.lerosa-showcase .showcase-intro .showcase-kicker { margin: 0; }
.lerosa-showcase .showcase-intro h2 { font-size: clamp(28px, 3vw, 40px); margin: 6px 0 10px; }
.lerosa-showcase .showcase-intro > p:not(.showcase-kicker) { max-width: none; margin: 0; font-size: 14px; }
.lerosa-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(25px, 4vw, 60px); }
.device-stage { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 38px); background: radial-gradient(ellipse, #e5e5e3, #f6f6f3 70%); border-radius: 4px; padding: 42px 28px 28px; }
.device-figure { margin: 0; position: relative; text-align: center; }
.phone-figure { width: min(57%, 18dvh, 200px); }
.watch-figure { width: min(36%, 12dvh, 135px); margin-top: 14%; }
.device-figure figcaption { font-size: 9px; letter-spacing: .035em; margin-top: 20px; white-space: nowrap; color: #737373; }
.phone-device { position: relative; background: #171719; padding: 5px; border: 2px solid #b9b3ab; border-radius: 13.5% / 6.3%; box-shadow: inset 0 0 0 1px #656363, 8px 16px 22px #00000024; }
.phone-device::before, .phone-device::after { content: ''; position: absolute; width: 3px; background: #a6a09b; left: -4px; top: 21%; height: 8%; border-radius: 2px; }
.phone-device::after { left: auto; right: -4px; top: 27%; height: 12%; }
.phone-device img { display: block; width: 100%; height: auto; border-radius: 11.9% / 5.5%; background: #020203; }
.watch-device { position: relative; padding: 5px; border: 4px solid #a7a49b; border-radius: 24% / 20%; background: #292a29; box-shadow: 7px 12px 18px #00000021, inset 0 0 0 1px #e5e4de; }
.watch-device::before, .watch-device::after { content: ''; position: absolute; width: 8px; height: 17%; top: 27%; right: -10px; background: repeating-linear-gradient(0deg, #78756c 0 1px, #b7b4aa 1px 3px); border-radius: 4px; box-shadow: inset -2px 0 #c3bca9; }
.watch-device::after { width: 4px; height: 17%; left: -7px; top: 43%; right: auto; border-radius: 2px; background: #cf693d; box-shadow: none; }
.watch-device img { display: block; width: 100%; height: auto; border-radius: 16% / 13%; background: #000; }
.preview-navigation { display: flex; gap: 20px; align-items: center; margin: 22px 0 0; }
.preview-navigation button { border: 1px solid var(--project-line); background: transparent; width: 44px; height: 44px; font-size: 18px; }
.preview-navigation span { font-size: 11px; font-variant-numeric: tabular-nums; }
.preview-dots { display: flex; margin: 2px 0 18px; gap: 4px; }
.preview-dots button { display: grid; place-items: center; width: 34px; height: 36px; border: 0; background: transparent; }
.preview-dots span { width: 5px; height: 5px; border-radius: 50%; background: #94949444; }
.preview-dots [aria-pressed=true] span { background: var(--project-ink); }
.showcase-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--project-line); padding-top: 28px; margin-top: 42px; font-size: 13px; }
.showcase-benefits strong { display: block; font-weight: 400; margin-bottom: 8px; }
.lerosa-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--project-line); margin-top: 28px; padding-top: 28px; }
.lerosa-footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; }
.showcase-content .app-store-button:disabled { display: flex; align-items: center; gap: 12px; border: 1px solid var(--project-line); border-radius: 8px; padding: 9px 16px; font-size: 22px; line-height: 1.15; text-align: left; background: #121212; color: #f7f7f7; opacity: 1; }
.app-store-button .apple-mark { width: 26px; height: 30px; }
.app-store-button small { display: block; font-size: 9px; line-height: 1.7; }
.website-showcase .showcase-intro { margin-bottom: 36px; }
.motion-toggle { border: 0; border-bottom: 1px solid var(--project-line); background: transparent; font-size: 10px; padding: 10px 0; margin-top: 18px; }
.website-chapter { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 4vw, 65px); padding: 45px 0; border-top: 1px solid var(--project-line); }
.website-chapter:nth-child(odd) .chapter-copy { order: 2; }
.chapter-copy > p:not(.showcase-kicker) { text-align: justify; text-align-last: right; }
.website-scene { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; min-height: 335px; padding: 30px 22px; background: var(--project-panel); border-radius: 3px; overflow: hidden; font-size: 11px; }
.scene-note { display: block; font-size: 10px; letter-spacing: .03em; color: var(--project-muted); text-align: center; }
.scene-browser { border: 1px solid var(--project-line); width: 100%; background: #ffffff65; box-shadow: 0 8px 25px #00000006; border-radius: 4px; overflow: hidden; }
.browser-top { height: 29px; border-bottom: 1px solid var(--project-line); display: flex; align-items: center; gap: 4px; padding: 0 10px; }
.browser-top i { display: block; width: 3px; height: 3px; border-radius: 50%; background: #949494; }
.browser-top span { font-size: 8px; margin-left: 8px; }
.scene-brand { font-size: 23px; font-weight: 200; padding: 25px 20px 12px; letter-spacing: -.04em; }
.scene-lines { margin: 0 20px; }
.scene-lines i { display: block; width: 80%; height: 2px; background: var(--project-line); margin: 7px 0; }
.scene-lines i:last-child { width: 54%; }
.scene-tiles { display: flex; margin: 25px 20px; gap: 10px; }
.scene-tiles span { padding: 12px 6px; border: 1px solid var(--project-line); text-align: center; flex: 1; font-size: 9px; }
.scene-pulse-line { height: 2px; width: 35%; background: #b8a68a; animation: scene-scan 7s ease-in-out infinite; }
@keyframes scene-scan { 0%,100% { transform: translateX(-100%); opacity: 0; } 25%,75% { opacity: .8; } 85% { transform: translateX(290%); } }
.scene-brief { align-self: flex-start; border: 1px solid var(--project-line); padding: 16px; background: #ffffff70; width: 82%; }
.scene-brief > span { font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.scene-brief p { font-size: 13px; line-height: 1.4; margin: 10px 0 0; }
.scene-product { display: flex; flex-direction: column; align-items: center; width: 65%; padding: 5px 10px 17px; border: 1px solid var(--project-line); background: var(--project-panel); margin: -42px -24% 0 0; animation: scene-rise 8s ease-in-out infinite; box-shadow: 0 8px 20px #00000006; }
.scene-product svg { width: 110px; height: 88px; color: #a99e8e; }
.scene-swatches { display: flex; gap: 8px; margin-top: 14px; }
.scene-swatches i { width: 8px; height: 8px; background: #b5a387; border-radius: 50%; }
.scene-swatches i:nth-child(2) { background: #bcbcbc; }.scene-swatches i:nth-child(3) { background: #bea496; }
@keyframes scene-rise { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.flow-track { width: 100%; display: flex; flex-direction: column; align-items: center; }
.flow-track > div { display: flex; align-items: center; gap: 16px; padding: 12px 16px; width: 100%; border: 1px solid var(--project-line); background: #ffffff70; animation: scene-highlight 9s ease infinite; }
.flow-track > div:nth-of-type(2) { animation-delay: 3s; }.flow-track > div:nth-of-type(3) { animation-delay: 6s; }
.flow-track i { font-size: 9px; font-style: normal; color: #ac9b7e; }
.flow-track b { font-weight: 200; padding: 5px; opacity: .5; }
@keyframes scene-highlight { 0%,65%,100% { border-color: var(--project-line); } 20%,40% { border-color: #ae9a7c; box-shadow: 0 4px 15px #b3a28016; } }
.agent-team { display: flex; gap: 8px; justify-content: center; width: 100%; }
.agent-team span { font-size: 8px; padding: 8px 7px; border-bottom: 1px solid var(--project-line); text-align: center; }
.scene-report { width: 100%; border: 1px solid var(--project-line); padding: 22px 18px; background: #ffffff70; animation: scene-rise 9s ease-in-out infinite; }
.scene-report small { font-size: 7px; letter-spacing: .1em; }
.scene-report h4 { font-size: 23px; margin: 12px 0 20px; }
.scene-report p { font-size: 9px; padding: 6px 0; margin: 0; border-top: 1px solid var(--project-line); }
.scene-report p i { font-style: normal; margin-right: 6px; color: #a59983; }
.scene-mobile { width: 170px; min-height: 277px; border: 1px solid #aaa; border-radius: 23px; padding: 30px 13px 18px; position: relative; background: #ffffff80; box-shadow: 5px 8px 18px #00000008; }
.scene-island { position: absolute; top: 10px; left: 50%; width: 36px; height: 6px; border-radius: 5px; transform: translateX(-50%); background: #949494; }
.scene-mobile > small { font-size: 7px; text-transform: uppercase; letter-spacing: .08em; }
.scene-mobile h4 { font-size: 20px; margin: 6px 0 22px; }
.mobile-message, .mobile-reply { border: 1px solid var(--project-line); border-radius: 6px; font-size: 9px; padding: 10px; line-height: 1.4; margin: 0 0 12px; }
.mobile-message { margin-left: 12px; }.mobile-reply { margin-right: 12px; animation: scene-highlight 8s ease infinite; }
.mobile-approve { font-size: 8px; border-top: 1px solid var(--project-line); padding-top: 10px; display: flex; justify-content: space-between; }
.future-orbits { position: relative; width: 240px; max-width: 100%; aspect-ratio: 1; }
.future-orbits > i { position: absolute; inset: 4%; border: 1px solid var(--project-line); border-radius: 50%; }.future-orbits > i:nth-child(2) { inset: 18%; }.future-orbits > i:nth-child(3) { inset: 32%; }
.future-orbits > span { position: absolute; inset: 35%; display: grid; place-items: center; line-height: 1.3; text-align: center; font-size: 16px; }
.future-node { font-size: 8px; font-weight: 300; position: absolute; padding: 6px 10px; background: var(--project-panel); border: 1px solid var(--project-line); border-radius: 20px; animation: scene-rise 8s ease-in-out infinite; }
.future-node.one { top: 12%; left: 9%; }.future-node.two { top: 44%; right: 0; animation-delay: -3s; }.future-node.three { left: 23%; bottom: 5%; animation-delay: -5s; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.showcase-cta { text-align: center; max-width: 590px; margin: 55px auto 0; border-top: 1px solid var(--project-line); padding-top: 38px; }
.showcase-cta button { background: transparent; border: 0; border-bottom: 1px solid var(--project-ink); padding: 9px 0; font-size: 13px; }
.service-page .showcase-content { padding: 0; margin: 60px 0; }
.service-page .showcase-content h2 { margin: 14px 0 22px; font-size: clamp(32px,4vw,52px); }
.service-page .showcase-content h3 { margin: 0 0 20px; }
.service-page .showcase-content p { line-height: 1.75; }
.service-project-links { display: flex; gap: 16px; flex-wrap: wrap; }
.service-project-links a { font-size: 13px; }
[data-theme=dark] .project-card { color: #d7d9dd; background: #191c2459; border-color: #ffffff28; }
[data-theme=dark] .project-card:hover { background: #2f323c80; border-color: #ffffff60; }
[data-theme=dark] .project-window { background: rgb(34 37 43 / .8); border-color: #ffffff20; }
[data-theme=dark] .project-dialog, [data-theme=dark] .showcase-content { --project-ink: #bfc0c3; --project-muted: #989b9f; --project-line: #b1b1b130; --project-panel: #292c32; }
[data-theme=dark] .device-stage { background: radial-gradient(ellipse, #44474e, #292c32 70%); }
[data-theme=dark] .device-figure figcaption { color: #b5b5b5; }
[data-theme=dark] :is(.scene-browser,.scene-brief,.flow-track > div,.scene-report,.scene-mobile) { background: #ffffff05; }
[data-theme=dark] .project-dialog .appearance-controls { color: #c7c7c7; }
@media (max-width: 1100px) and (min-width: 721px) {
  .project-card { padding: 18px 13px; gap: 10px; }.project-card-art { flex-basis: 34px; width: 34px; }.project-card-art > svg,.project-app-icon { width: 34px; height: 34px; }.project-card-copy strong { font-size: 15px; }.project-card-copy > span { font-size: 11px; }
}
@media (max-width: 800px) {
  .project-window { width: calc(100vw - 44px); height: calc(100dvh - 100px); margin-bottom: 34px; }
  .project-window-header { padding: 8px 12px 8px 24px; }.project-window-foot { padding: 11px 24px; }
  .lerosa-layout { grid-template-columns: 1fr; }.device-stage { max-width: 470px; width: 100%; margin: 0 auto; }.lerosa-caption { max-width: 470px; margin: auto; }
  .website-chapter { grid-template-columns: 1fr; gap: 24px; }.website-chapter:nth-child(odd) .chapter-copy { order: 0; }.website-scene { max-width: 440px; width: 100%; justify-self: center; min-height: 300px; }
  .website-chapter { display: flex; flex-direction: column; align-items: stretch; gap: 0; }.chapter-copy { display: contents; }.chapter-copy .showcase-kicker { order: 0; }.chapter-copy h3 { order: 1; }.chapter-copy > p:not(.showcase-kicker) { order: 2; }.website-chapter .website-scene { order: 3; margin: 12px auto 28px; }.chapter-copy > p:last-child { order: 4; }
}
@media (max-width: 520px) {
  .project-window { width: calc(100vw - 24px); height: calc(100dvh - 94px); }
  .showcase-content { padding: 25px 22px; }.showcase-intro { margin-bottom: 30px; }.showcase-intro > p:not(.showcase-kicker) { font-size: 14px; }
  .device-stage { padding: 28px 15px 20px; gap: 19px; }.phone-device { padding: 3px; }.watch-device { padding: 3px; border-width: 3px; }.device-figure figcaption { font-size: 7px; letter-spacing: 0; }
  .lerosa-showcase .showcase-intro { grid-template-columns: 48px 1fr; column-gap: 15px; }.lerosa-showcase .lerosa-app-icon { width: 48px; height: 48px; border-radius: 12px; }.lerosa-showcase .showcase-intro > p:not(.showcase-kicker) { font-size: 12px; }.lerosa-showcase .showcase-intro .showcase-kicker { font-size: 8px; }.lerosa-showcase .showcase-intro h2 { font-size: 28px; }
  .showcase-benefits { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }.lerosa-footer { align-items: flex-start; flex-direction: column; }
  .gallery-projects { gap: 10px; }.project-card { padding: 19px; }.project-card-copy strong { font-size: 17px; }
  .showcase-content h3 { font-size: 24px; }.website-chapter { padding: 30px 0; }.chapter-copy > p:not(.showcase-kicker) { text-align: left; text-align-last: auto; }
}
@media (prefers-reduced-motion: reduce) { .project-dialog[open] .project-window, .website-scene *, .website-scene *::before, .website-scene *::after { animation: none !important; }.project-card { transition: none; }.motion-toggle { display: none; } }

/* LEROSA keeps its own app palette in both studio appearances. */
.project-dialog[data-current-project=lerosa],
:is(html, [data-theme=dark]) .lerosa-showcase {
  --project-ink: #f3f0fb; --project-muted: #b0a8c5; --project-line: #aa9bd532;
  --project-panel: #121021; --lerosa-work: #71d8f5; --lerosa-rest: #9989ff; --lerosa-total: #e16ce9;
  color: var(--project-ink);
}
.project-dialog[data-current-project=lerosa] .project-window { background: rgb(10 8 19 / .8); border-color: #9e8fc940; }
.project-dialog[data-current-project=lerosa] .project-window-header { border-image: linear-gradient(90deg, #71d8f555, #9989ff40, #e16ce935) 1; }
.project-dialog[data-current-project=lerosa] .project-window-header h2 { color: #e3d5ff; }
.project-window-header h2:focus { outline: none; }
.project-dialog[data-current-project=lerosa] .project-close:hover { color: var(--lerosa-work); }
.project-dialog[data-current-project=lerosa] .project-scroll { scrollbar-color: #9989ff66 transparent; }
.project-dialog[data-current-project=lerosa] .project-scroll-cue { color: var(--lerosa-work); }
.lerosa-showcase .showcase-intro .showcase-kicker { color: var(--lerosa-total); }
.lerosa-showcase .showcase-intro > p:last-child { color: var(--project-muted); }
.lerosa-showcase .device-stage { padding: 12px 4px 24px; background: none; border: 0; box-shadow: none; gap: clamp(24px, 3vw, 40px); }
.lerosa-showcase .phone-figure { width: min(59%, 25dvh, 224px); }
.lerosa-showcase .watch-figure { width: min(35%, 16dvh, 142px); margin-top: 18%; }
.lerosa-showcase .device-figure figcaption { color: #bcb2d1; margin-top: 18px; }
.phone-device video { display: block; width: 100%; height: auto; aspect-ratio: 512 / 1112; border-radius: 11.9% / 5.5%; background: #000; pointer-events: none; }
.watch-device img { aspect-ratio: 422 / 514; object-fit: cover; }
.capture-frame { animation: capture-fade 450ms ease both; }
@keyframes capture-fade { from { opacity: .3; } to { opacity: 1; } }
.lerosa-caption h3 { font-size: clamp(24px, 2.8vw, 33px); line-height: 1.22; }
.lerosa-caption h3 span { color: var(--lerosa-work); }
.lerosa-caption > p:not(.showcase-kicker) { color: #ccc5da; font-size: 13px; }
.lerosa-caption .showcase-kicker { color: var(--lerosa-rest); }
.lerosa-rhythm { display: flex; gap: 22px; margin: 24px 0; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }
.lerosa-rhythm > span { display: flex; align-items: center; gap: 8px; color: var(--lerosa-work); }
.lerosa-rhythm > span:nth-child(2) { color: var(--lerosa-rest); }
.lerosa-rhythm > span:nth-child(3) { color: var(--lerosa-total); }
.lerosa-rhythm i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px #ffffff05; animation: lerosa-signal 4s ease-in-out infinite; }
.lerosa-rhythm > span:nth-child(2) i { animation-delay: 1.3s; }.lerosa-rhythm > span:nth-child(3) i { animation-delay: 2.6s; }
@keyframes lerosa-signal { 0%,35%,100% { opacity: .55; box-shadow: 0 0 0 3px #ffffff05; } 15% { opacity: 1; box-shadow: 0 0 0 7px #ffffff10; } }
.capture-controls { border-top: 1px solid var(--project-line); padding-top: 18px; }
.capture-selectors { display: flex; flex-direction: column; gap: 8px; }
.capture-selectors button { display: flex; align-items: center; gap: 12px; border: 0; padding: 8px 0; text-align: left; background: transparent; color: var(--project-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.capture-selectors span { font-size: 12px; }.capture-selectors [aria-pressed=true] { color: var(--lerosa-work); }
.lerosa-showcase .motion-toggle { color: var(--lerosa-rest); margin-top: 7px; padding: 8px 0; }
.lerosa-showcase .showcase-benefits { color: #c7bfd7; margin-top: 24px; gap: 30px; }
.lerosa-showcase .showcase-benefits strong { color: var(--lerosa-work); font-size: 14px; font-weight: 400; }
.lerosa-showcase .showcase-benefits > p:nth-child(2) strong { color: var(--lerosa-rest); }
.lerosa-showcase .showcase-benefits > p:nth-child(3) strong { color: var(--lerosa-total); }
.benefit-number { display: block; color: var(--project-muted); font-size: 9px; letter-spacing: .1em; margin-bottom: 12px; }
.lerosa-compatibility { border-top: 1px solid var(--project-line); margin-top: 28px; padding-top: 35px; }
.compatibility-heading h3 { font-size: 28px; margin-bottom: 12px; }
.compatibility-heading > p:last-child { font-size: 13px; color: #c7bfd7; }
.lerosa-compatibility details { border-top: 1px solid var(--project-line); }
.lerosa-compatibility summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 20px 0; font-size: 16px; color: var(--lerosa-work); }
.lerosa-compatibility summary::-webkit-details-marker { display: none; }
.lerosa-compatibility summary small { margin-left: 12px; color: var(--project-muted); font-size: 10px; }
.lerosa-compatibility summary > span:last-child { transition: transform 200ms; font-size: 22px; }.lerosa-compatibility details[open] summary > span:last-child { transform: rotate(45deg); }
.lerosa-compatibility details:nth-of-type(2) summary { color: var(--lerosa-rest); }
.compatibility-grid { list-style: none; padding: 0 0 26px; margin: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 22px 8px; }
.compatibility-grid li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 9px; line-height: 1.4; color: #cfc7df; }
.compatibility-grid svg { width: 30px; height: 43px; stroke: #b7adcb; stroke-width: 1; fill: none; }
.compatibility-grid .compat-ring { stroke: var(--lerosa-work); stroke-dasharray: 29 9; stroke-width: 1.5; transform: rotate(-90deg); transform-origin: 18px 26px; }
.watch-compatibility .compat-ring { stroke: var(--lerosa-total); transform-origin: 22px 27px; }
.lerosa-compatibility > .showcase-small { margin: 0; padding-top: 12px; }
.lerosa-showcase .lerosa-footer a { text-decoration-color: #9989ff88; }.lerosa-showcase .lerosa-footer a:hover { color: var(--lerosa-work); }
.lerosa-showcase .app-store-button:disabled { border-color: #aa9bd54d; background: #0a081333; color: #e1d9ef; }
.lerosa-showcase .app-store-button small { color: var(--lerosa-total); }
.bracelet-film { margin: 0 auto; max-width: 880px; }
.bracelet-film video { display: block; width: 100%; max-height: 640px; height: auto; object-fit: contain; background: #fff; pointer-events: none; border-radius: 3px; }
.bracelet-film figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 12px; color: var(--project-muted); font-size: 10px; }
.bracelet-film .motion-toggle { margin: 0; flex-shrink: 0; }
body.service-page.lerosa-page { background: #0c0915; color: #cfc7df; }
.lerosa-page :is(h1,h2), [data-theme=dark] .lerosa-page :is(h1,h2) { color: #f3f0fb; }
.lerosa-page :is(.eyebrow,.breadcrumbs,.site-footer) { color: #b0a8c5; }
.lerosa-page a:hover { color: #71d8f5; }.lerosa-page .site-header img { filter: brightness(1.5); }
.lerosa-page .site-footer, .lerosa-page .related { border-color: #aa9bd532; }
@media (max-width: 800px) {
  .lerosa-showcase .device-stage { max-width: 460px; padding-top: 6px; padding-bottom: 10px; }
  .lerosa-showcase .phone-figure { width: min(58%, 24dvh, 220px); }
  .lerosa-showcase .watch-figure { width: min(35%, 15dvh, 138px); }
  .lerosa-caption { width: 100%; }.compatibility-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .lerosa-showcase .device-stage { gap: 26px; }
  .lerosa-showcase .showcase-benefits { gap: 6px; }.benefit-number { margin-bottom: 4px; }
  .lerosa-showcase .showcase-intro { margin-bottom: 24px; }
  .lerosa-caption h3 { font-size: 26px; }.compatibility-heading h3 { font-size: 26px; }
  .compatibility-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 7px; }
  .compatibility-grid li { font-size: 8px; }.lerosa-compatibility summary { font-size: 14px; }
  .lerosa-compatibility summary small { margin-left: 8px; font-size: 9px; }
  .bracelet-film figcaption { align-items: flex-start; font-size: 9px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .lerosa-rhythm i, .capture-frame { animation: none; }
  .lerosa-showcase .motion-toggle, .bracelet-film .motion-toggle { display: inline-block; }
}

.watch-device .watch-native-rotated { transform: rotate(180deg); }

.bracelet-showcase { padding: clamp(26px, 3vw, 40px); }
.bracelet-showcase .showcase-intro { margin-bottom: 28px; }
.bracelet-showcase .showcase-intro h2 { font-size: clamp(28px, 3.2vw, 42px); margin: 12px 0 16px; }
.bracelet-showcase .showcase-intro > p:last-child { font-size: 14px; }
.bracelet-film { width: min(100%, 50dvh, 550px); }
.bracelet-showcase-professional .bracelet-film { width: min(100%, 75dvh, 825px); }
.watch-device img { animation: capture-fade 450ms ease both; }
@media (prefers-reduced-motion: reduce) { .watch-device img { animation: none; } }

/* One shared frame; normal native scrolling in every category. */
.project-dialog .project-window { position:absolute; margin:0!important; max-width:none; max-height:none; }
.project-window > .project-scroll { min-height:0; min-width:0; overflow:auto; overflow-x:hidden; scrollbar-gutter:stable; overscroll-behavior:contain; }
.project-window-header,.project-window-foot { position:relative; z-index:7; flex-shrink:0; }

.project-dialog .project-window { backdrop-filter:none; -webkit-backdrop-filter:none; }
.project-dialog::backdrop { backdrop-filter:none; -webkit-backdrop-filter:none; background:#17141e66; }

/* APP uses the same cylindrical motion as the service wheel, in both directions. */
.gallery-projects.app-barrel{display:block;position:relative;isolation:isolate;--app-cylinder-height:min(clamp(456px,calc(65svh + 106px),686px),calc(100svh - 162px))}
.app-barrel-viewport{position:relative;overflow:clip;height:var(--app-cylinder-height);perspective:1100px;outline:none;touch-action:pan-x pinch-zoom;cursor:ns-resize;user-select:none;-webkit-user-select:none;mask-image:linear-gradient(transparent,#000 2%,#000 98%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 2%,#000 98%,transparent)}
.app-barrel-track{position:absolute;inset:0;transform-style:preserve-3d;pointer-events:none}
html:root .gallery-projects.app-barrel .project-card{position:absolute;left:50%;top:var(--app-card-anchor,50%);width:100%;min-height:150px;box-sizing:border-box;backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform;transition:border-color .25s,box-shadow .25s;transform-origin:center;cursor:pointer}
html:root .gallery-projects.app-barrel .project-card .project-card-copy{gap:6px}
html:root .gallery-projects.app-barrel .project-card .project-card-copy>span{display:none}
html:root .gallery-projects.app-barrel .project-card .project-card-copy em{margin-top:5px}
html:root .gallery-projects.app-barrel .project-card[aria-current=true]{border-color:#ffffff9c;box-shadow:inset 0 1px 0 #ffffff8c,inset 0 -1px 0 #ffffff20,0 16px 32px #0b16252e}
.app-barrel-viewport:focus-visible{outline:1px solid currentColor;outline-offset:6px;border-radius:24px}
@media(min-width:721px){.activity-gallery:has(.app-barrel){right:4%;width:clamp(270px,27vw,400px)}.activity-gallery:has(.app-barrel)>h2{margin-bottom:0}}
@media(min-width:721px) and (max-width:1100px){html:root .gallery-projects.app-barrel .project-card{padding:18px 16px;gap:13px;min-height:140px}html:root .gallery-projects.app-barrel .project-card .project-card-art{width:58px;flex-basis:58px}.app-barrel .app-glass-icon{width:58px;height:58px;flex-basis:58px;border-radius:18px}}
@media(max-width:720px){.gallery-projects.app-barrel{--app-cylinder-height:580px}.activity-gallery:has(.app-barrel){max-width:400px;margin-top:0}html:root .gallery-projects.app-barrel .project-card{min-height:140px}}
@media(prefers-reduced-motion:reduce){html:root .gallery-projects.app-barrel .project-card{transition:none;will-change:auto}}
/* A long mobile APP collection keeps the room backdrop and legal line in flow. */
@media(max-width:720px){
  html:root.school-world:has(.app-barrel){background:#392e25}
  html:root.school-world:has(.app-barrel) body{position:relative;height:auto;min-height:100svh}
  html:root.school-world:has(.app-barrel) body>:is(.appearance-controls,.corner-footer){position:absolute}
  html:root.school-world:has(.app-barrel) main{padding-bottom:44px}
  html:root.school-world:has(.app-barrel) .studio-copyright{position:relative;inset:auto;z-index:1;margin:0 70px;padding:0 0 26px;color:#e7e0d7}
}


/* Keep the APP lane separate from the paper and usable in short windows. */
@media(min-width:721px){
  .activity-gallery:has(.app-barrel)>h2{text-align:center}
}
@media(min-width:721px) and (max-width:1100px){
  body.category-open:has(.app-barrel) #orb{
    --app-paper-left:27.5vw;
    --app-paper-right:calc(96vw - clamp(270px,27vw,400px));
    --app-paper-size:min(calc(var(--app-paper-right) - var(--app-paper-left) - 32px),var(--stage-height));
    left:calc((var(--app-paper-left) + var(--app-paper-right)) / 2);
    width:var(--app-paper-size);height:var(--app-paper-size);
  }
}
@media(min-width:721px) and (max-height:600px){
  .activity-gallery:has(.app-barrel){top:54px;transform:none}
  .gallery-projects.app-barrel{--app-cylinder-height:calc(100svh - 144px)}
}
@media(min-width:721px) and (max-height:450px){
  html:root .gallery-projects.app-barrel .project-card{min-height:100px;padding:8px 16px}
}

/* The app cards themselves provide navigation; no separate arrow glyphs. */
.gallery-projects.app-barrel .project-card-copy em>b{display:none}

/* ARROTA shares the existing project dialog; its page scrolls inside the frame. */
.project-dialog[data-current-project=arrota] .project-scroll{overflow:hidden}
.arrota-preview-frame{display:block;width:100%;height:100%;border:0;background:#060b11}
