/* Local/Current motion layer. Loaded by index.html and work.html.
   Every piece is progressive: without JS the page is unchanged, and
   prefers-reduced-motion gets static end states (see bottom of file). */
:root {
  --lc-blue: #2337E6; --lc-blue-deep: #1A29B4; --lc-ink: #0B0D16; --lc-yellow: #F2C744;
  --lc-sky: #A9D2E4; --lc-pink: #F2B8C6; --lc-green: #1E9268; --lc-night: #090D2A;
  --lc-spring: cubic-bezier(.34, 1.4, .5, 1);
  --lc-out: cubic-bezier(.22, 1, .36, 1);
  --lc-fs: 17px;
}
.lc-work { --lc-fs: 22px; }

/* ---------- 1. Morph nav: one highlight pill + one shared panel ---------- */
[data-lc-nav] { position: relative; isolation: isolate; }
.lc-hl { position: absolute; left: 0; top: 0; height: 0; width: 0; border-radius: 999px; z-index: -1; pointer-events: none;
  background: rgba(35, 55, 230, .09); box-shadow: inset 0 0 0 1px rgba(35, 55, 230, .16); opacity: 0;
  transition: transform .5s var(--lc-spring), width .5s var(--lc-spring), height .3s var(--lc-out), opacity .25s; }
.lc-hl.is-on { opacity: 1; }
[data-lc-nav] a.is-hot:not(.btn) { color: var(--lc-blue); }

.lc-panel { position: absolute; left: 0; top: calc(100% + 10px); z-index: 60; width: 0; height: 0; pointer-events: none; opacity: 0;
  transform: translateY(-6px) scale(.98); transform-origin: 50% 0;
  transition: opacity .2s, transform .45s var(--lc-spring), left .5s var(--lc-spring), width .5s var(--lc-spring), height .5s var(--lc-spring); }
.lc-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.lc-panel-bg { position: absolute; inset: 0; border-radius: 20px; background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(11, 13, 22, .1), inset 0 1px 0 #fff, 0 30px 70px -26px rgba(11, 13, 22, .45), 0 2px 8px rgba(11, 13, 22, .06); }
.lc-caret { position: absolute; top: -6px; left: 0; width: 13px; height: 13px; background: #fff; border-radius: 3px 0 0 0;
  box-shadow: inset 1px 1px 0 rgba(11, 13, 22, .1); transform: rotate(45deg); transition: left .5s var(--lc-spring); }
.lc-clip { position: absolute; inset: 0; overflow: hidden; border-radius: 20px; }
.lc-pc { position: absolute; left: 0; top: 0; width: max-content; padding: 14px; opacity: 0; pointer-events: none;
  transform: translateX(var(--from, 0px)); transition: opacity .22s, transform .45s var(--lc-out); }
.lc-pc.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .06s, 0s; }
.lc-pc a { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--lc-ink); transition: background .2s; }
.lc-pc a:hover, .lc-pc a:focus-visible { background: rgba(35, 55, 230, .07); }
.lc-pc b { display: block; font-weight: 750; font-size: 15.5px; letter-spacing: -.01em; }
.lc-pc em { display: block; font-style: normal; font-size: 14px; color: #4C5260; margin-top: 3px; max-width: 30ch; }
.lc-pc .lc-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--lc-ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.lc-pc .lc-thumb { flex: none; width: 74px; height: 52px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(11, 13, 22, .15); }
.lc-pc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 2px 4px; }
.lc-pc-foot { display: flex !important; justify-content: space-between; margin-top: 6px; background: rgba(35, 55, 230, .06); color: var(--lc-blue) !important; font-weight: 700; font-size: 14.5px; }

/* ---------- 2. Command bar (⌘K) ---------- */
.lc-k { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: inherit; font-weight: 600; color: inherit; cursor: pointer;
  background: rgba(11, 13, 22, .04); border: 1px solid rgba(11, 13, 22, .16); border-radius: 999px; padding: 8px 10px 8px 14px; transition: background .2s, border-color .2s; }
.lc-k:hover { background: rgba(35, 55, 230, .07); border-color: rgba(35, 55, 230, .4); }
.lc-k svg { width: 1em; height: 1em; flex: none; }
.lc-k kbd { font: 600 .78em/1 ui-monospace, "IBM Plex Mono", monospace; padding: 5px 7px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 13, 22, .16), 0 1px 0 rgba(11, 13, 22, .16); }
.site-nav .lc-k { margin-left: 18px; font-size: 15px; padding: 7px 8px 7px 11px; gap: 8px; }
.site-nav .lc-k .lc-k-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.site-nav { white-space: nowrap; }
.lc-work header nav .lc-k { font-size: 22px; padding: 6px 10px 6px 16px; }
@media (max-width: 720px) {
  .lc-k { padding: 9px; }
  .lc-k .lc-k-label, .lc-k kbd { display: none; }
  .site-nav .lc-k { margin-left: 0; }
}

.lc-cmd-back { position: fixed; inset: 0; z-index: 900; background: rgba(9, 13, 42, .38); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.lc-cmd-back.is-on { opacity: 1; }
.lc-cmd { position: fixed; z-index: 901; left: 50%; top: min(14vh, 120px); width: min(680px, calc(100vw - 32px)); max-height: min(72vh, 620px);
  display: flex; flex-direction: column; overflow: hidden; color: var(--lc-ink); font-size: var(--lc-fs);
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(11, 13, 22, .12), 0 40px 100px -30px rgba(9, 13, 42, .65);
  transform-origin: 0 0; margin-left: calc(min(680px, 100vw - 32px) / -2); }
.lc-cmd[hidden] { display: none; }
.lc-cmd-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(11, 13, 22, .1); }
.lc-cmd-top svg { width: 1.1em; height: 1.1em; flex: none; color: var(--lc-blue); }
.lc-cmd input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 1.15em; color: inherit; padding: 6px 0; }
.lc-cmd input::placeholder { color: #6A7080; }
.lc-cmd-esc { font: 600 .72em/1 ui-monospace, monospace; padding: 6px 8px; border-radius: 7px; border: 0; background: rgba(11, 13, 22, .06); color: #4C5260; cursor: pointer; }
.lc-cmd-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; overscroll-behavior: contain; }
.lc-cmd-group { padding: 14px 12px 6px; font: 700 .7em/1 ui-monospace, "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #6A7080; }
.lc-work .lc-cmd-group { font-size: 22px; letter-spacing: .02em; text-transform: none; }
.lc-cmd-opt { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; cursor: pointer; scroll-margin: 8px;
  opacity: 0; transform: translateY(6px); animation: lc-in .35s var(--lc-out) forwards; animation-delay: calc(var(--i, 0) * 18ms); }
.lc-cmd-opt[aria-selected="true"] { background: var(--lc-blue); color: #fff; }
.lc-cmd-opt .lc-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--lc-blue)); box-shadow: 0 0 0 2px #fff; }
.lc-cmd-opt span { flex: 1; min-width: 0; line-height: 1.3; }
.lc-cmd-opt small { flex: none; font-size: .78em; opacity: .65; }
.lc-cmd-opt[aria-selected="true"] small { opacity: .9; }
.lc-cmd-empty { padding: 26px 20px; color: #4C5260; }
@keyframes lc-in { to { opacity: 1; transform: none; } }

/* ---------- 3. Day / night hero ---------- */
.dot-panel { transition: background-color .9s var(--lc-out), box-shadow .9s; }
.lc-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1s var(--lc-out);
  background: radial-gradient(70% 55% at 70% 18%, rgba(139, 151, 255, .35), transparent 70%), linear-gradient(180deg, #0B1036 0%, #121B5C 70%, #1C2A86 100%); }
.lc-stars { position: absolute; inset: 0; }
.lc-stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity .6s; }
.lc-moon { position: absolute; right: 20%; top: 20%; width: 13%; aspect-ratio: 1; border-radius: 50%; background: #FFF6D8;
  box-shadow: 0 0 40px 8px rgba(255, 238, 180, .35); transform: translateY(70px) scale(.7); opacity: 0; transition: transform 1.2s var(--lc-spring), opacity .8s; }
.lc-moon::after { content: ""; position: absolute; inset: -2px -2px auto auto; width: 82%; height: 82%; border-radius: 50%; background: #0F1648; translate: 30% -12%; }
.dot-panel.is-night .lc-sky { opacity: 1; }
.dot-panel.is-night .lc-stars i { opacity: var(--o, .8); transition-delay: var(--d, 0s); }
.dot-panel.is-night .lc-moon { opacity: 1; transform: none; transition-delay: .25s; }
.dot-panel canvas { z-index: 2; }
.dot-panel.is-night::after { opacity: 0; }
.dot-panel::after { transition: opacity .9s; }
.dot-panel.is-night .corner--tl { background: var(--lc-yellow); }

.lc-dn { position: absolute; top: 14px; right: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font: 700 13px/1 var(--mono, ui-monospace), monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-ink);
  padding: 6px 12px 6px 6px; border-radius: 999px; border: 1.5px solid var(--lc-ink); background: #fff; box-shadow: 0 6px 16px -10px rgba(11, 13, 22, .6); transition: background .6s, color .6s, border-color .6s; }
.lc-dn-track { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #FFE9A8; transition: background .6s; }
.lc-dn-knob { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--lc-yellow); box-shadow: 0 0 0 1.5px var(--lc-ink);
  transition: transform .55s var(--lc-spring), background .6s; }
.lc-dn-knob::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1C2A86; transform: translate(9px, -5px) scale(0); transition: transform .5s var(--lc-out); }
.lc-dn[aria-pressed="true"] { background: #141B4E; color: #fff; border-color: rgba(255, 255, 255, .5); }
.lc-dn[aria-pressed="true"] .lc-dn-track { background: #2B3786; }
.lc-dn[aria-pressed="true"] .lc-dn-knob { transform: translateX(20px); background: #FFF6D8; box-shadow: 0 0 10px rgba(255, 238, 180, .7); }
.lc-dn[aria-pressed="true"] .lc-dn-knob::after { transform: translate(7px, -4px) scale(.8); }
.lc-dn.is-hint { animation: lc-nudge 2.4s var(--lc-out) 1.2s 2; }
@keyframes lc-nudge { 0%, 70%, 100% { transform: none; } 78% { transform: translateY(-3px) rotate(-2deg); } 86% { transform: translateY(0) rotate(1.5deg); } }

.lc-calls { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; display: grid; gap: 8px; pointer-events: none; }
.lc-call { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; color: #fff;
  background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 14px 30px -16px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .35s, transform .6s var(--lc-spring); }
.lc-call.is-on { opacity: 1; transform: none; }
.lc-call-ic { flex: none; position: relative; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--lc-green); }
.lc-call-ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lc-call.is-ringing .lc-call-ic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(30, 146, 104, .7); animation: lc-ring 1s infinite; }
@keyframes lc-ring { to { box-shadow: 0 0 0 12px rgba(30, 146, 104, 0); } }
.lc-call-tx { min-width: 0; flex: 1; font-size: 14.5px; line-height: 1.3; }
.lc-call-tx b { display: block; font-weight: 750; }
.lc-call-tx span { display: block; opacity: .78; }
.lc-call time { flex: none; align-self: flex-start; font: 600 12px/1 var(--mono, ui-monospace), monospace; opacity: .7; padding-top: 3px; }
.lc-call--book .lc-call-ic { background: var(--lc-yellow); }
.lc-call--book .lc-call-ic svg { stroke: var(--lc-ink); }
.h-hero .mark { transition: background .8s var(--lc-out), color .8s; }
.lc-is-night .h-hero .mark { background: linear-gradient(104deg, transparent .4%, #141B4E 2.2%, #141B4E 97.6%, transparent 99.4%); color: #FFE9A8; }

/* ---------- 4. Bento glide ---------- */
[data-lc-glide] { position: relative; }
.lc-glide { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 2; pointer-events: none; opacity: 0; border-radius: 18px;
  box-shadow: 0 0 0 2.5px var(--lc-blue), 0 0 0 9px rgba(35, 55, 230, .12), 0 24px 60px -24px rgba(35, 55, 230, .65);
  transition: transform .6s var(--lc-spring), width .6s var(--lc-spring), height .6s var(--lc-spring), opacity .3s; }
.lc-glide.is-on { opacity: 1; }
.lc-glide::before { content: ""; position: absolute; top: -2.5px; left: 18px; right: 18px; height: 2.5px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent); opacity: .9; animation: lc-sheen 2.6s linear infinite; }
@keyframes lc-sheen { from { clip-path: inset(0 100% 0 0); } 50% { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
[data-lc-glide] > :not(.lc-glide) { --mx: 50%; --my: 0%; transition: transform .5s var(--lc-spring), border-color .3s; }
[data-lc-glide] > .is-lit { transform: translateY(-4px); }
[data-lc-glide] > .is-lit { background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(35, 55, 230, .08), transparent 60%); }
[data-lc-glide] > .is-lit .service-kicker, [data-lc-glide] > .is-lit .path-num { color: var(--lc-blue); }

/* ---------- 5. Curtain footer ---------- */
.lc-curtain { position: relative; clip-path: inset(0); height: var(--cf-h, 620px); background: var(--lc-ink); }
.lc-lip { position: absolute; left: 0; right: 0; top: 0; height: 44px; z-index: 2; background: var(--lip, #fff); border-radius: 0 0 44px 44px; border-bottom: var(--lip-border, 0);
  box-shadow: 0 26px 40px -22px rgba(0, 0, 0, .55); }
.lc-cf { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1; height: var(--cf-h, 620px); overflow: hidden; color: #F3F1EC;
  background: var(--lc-ink); font-size: var(--lc-fs); }
.lc-curtain.is-static .lc-cf { position: absolute; }
.lc-cf-haze { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 90%; pointer-events: none; transform-origin: 50% 100%;
  background: radial-gradient(48% 60% at 30% 100%, rgba(35, 55, 230, .7), transparent 70%), radial-gradient(40% 50% at 78% 100%, rgba(242, 199, 68, .35), transparent 70%); }
.lc-cf-in { position: relative; height: 100%; max-width: 1440px; margin: 0 auto; padding: 96px clamp(22px, 5vw, 80px) 28px; display: flex; flex-direction: column; }
.lc-cf-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.lc-cf-ask { margin: 0 0 24px; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.035em; font-weight: 750; max-width: 16ch; color: #fff; }
.lc-pill { position: relative; display: inline-flex; align-items: center; gap: .6em; overflow: hidden; isolation: isolate; text-decoration: none;
  padding: .95em 1.5em; border-radius: 999px; background: #F3F1EC; color: var(--lc-ink); font-weight: 750; font-size: max(18px, 1em); }
.lc-pill-fill { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--lc-blue); z-index: -1; transform: scale(0); transition: transform .55s var(--lc-out); }
.lc-pill:hover { color: #fff; }
.lc-pill:hover .lc-pill-fill, .lc-pill:focus-visible .lc-pill-fill { transform: scale(var(--fs, 40)); }
.lc-pill:focus-visible { color: #fff; outline: 3px solid var(--lc-yellow); outline-offset: 4px; }
.lc-pill > span:not(.lc-pill-fill) { transition: transform .35s var(--lc-spring); }
.lc-pill:hover > span:last-child { transform: translate(3px, -3px); }
.lc-cf-cols { display: flex; gap: clamp(28px, 5vw, 80px); flex-wrap: wrap; }
.lc-cf-cols div { display: grid; gap: .45em; align-content: start; }
.lc-cf-cols h4 { margin: 0 0 .3em; font-size: .78em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8F94A6; }
.lc-work .lc-cf-cols h4 { font-size: 22px; letter-spacing: .02em; text-transform: none; }
.lc-cf-cols a { color: #D6D8E2; text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1.5px no-repeat; transition: background-size .45s var(--lc-out), color .25s; }
.lc-cf-cols a:hover, .lc-cf-cols a:focus-visible { color: #fff; background-position: 0 100%; background-size: 100% 1.5px; }
.lc-cf-word { margin-top: auto; padding-top: 32px; display: flex; justify-content: center; pointer-events: none; user-select: none; }
.lc-cf-wm { display: inline-block; white-space: nowrap; font-weight: 900; font-size: 15vw; line-height: .8; letter-spacing: -.06em; font-variation-settings: "wdth" 112; color: #F3F1EC; }
.lc-cf-wm span { display: inline-block; will-change: transform; }
.lc-cf-wm .lc-sl { color: var(--lc-blue); }
.lc-cf-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; color: #8F94A6; font-size: .9em; }
.lc-work .lc-cf-bot { font-size: 22px; }
.lc-cf-bot a, .lc-cf-bot button { color: #D6D8E2; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .lc-cf-in { padding-top: 76px; }
  .lc-cf-top { flex-direction: column; gap: 32px; }
  .lc-cf-cols { gap: 20px 36px; }
}

/* ---------- 6. Spin gallery (work page) ---------- */
.lc-ring { position: relative; margin: 0 0 76px; padding: 40px 0 0; border-radius: 32px; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 40%, #F4F6FF 0%, #E9EDFB 60%, #DFE5FA 100%); }
.lc-ring-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 0 clamp(22px, 4vw, 48px); flex-wrap: wrap; }
.lc-ring-head h2 { margin: 0; font-size: clamp(32px, 3vw, 44px); }
.lc-ring-head p { margin: 0; color: #414650; }
.lc-ring-stage { position: relative; height: clamp(440px, 46vw, 600px); perspective: 1500px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.lc-ring-stage:active { cursor: grabbing; }
.lc-ring-stage:focus-visible { box-shadow: inset 0 0 0 3px var(--lc-blue); }
.lc-ring-rot { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.lc-card { position: absolute; left: calc(var(--w) / -2); top: calc(var(--h) / -2); width: var(--w); height: var(--h); padding: 10px; border-radius: 24px;
  background: #fff; box-shadow: 0 30px 60px -30px rgba(23, 34, 75, .5), 0 0 0 1px rgba(11, 13, 22, .06); display: flex; flex-direction: column; gap: 12px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: left; border: 0; font: inherit; color: var(--lc-ink); cursor: pointer; }
.lc-card-media { flex: 1; min-height: 0; border-radius: 16px; overflow: hidden; background: #E9EDF8; position: relative; }
.lc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.lc-card-media.is-text { display: flex; align-items: flex-end; padding: 18px; font-size: 30px; line-height: 1.02; letter-spacing: -.03em; font-weight: 650; }
.lc-card-media.is-dark { background: var(--lc-ink); color: #fff; }
.lc-card-media.is-wash { background: #EEF1FF; color: #152575; }
.lc-card-media.is-contain img { object-fit: contain; padding: 14px; }
.lc-card-n { font-size: 22px; color: var(--lc-blue); padding: 0 6px; }
.lc-card-t { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; font-weight: 620; padding: 0 6px 8px; }
.lc-card.is-front { box-shadow: 0 40px 70px -30px rgba(23, 34, 75, .6), 0 0 0 3px var(--lc-blue); }
.lc-ring-floor { position: absolute; left: 50%; bottom: 7%; width: 60%; height: 40px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 34, 75, .22), transparent); pointer-events: none; }
.lc-ring-ctl { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 20px 30px; position: relative; z-index: 2; flex-wrap: wrap; }
.lc-ring-ctl .lc-open { max-width: min(620px, calc(100% - 160px)); gap: 18px; }
.lc-ring-ctl .lc-open b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-weight: 600; }
.lc-ring-ctl .lc-prev, .lc-ring-ctl .lc-next { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #fff; color: var(--lc-ink); font-size: 24px; box-shadow: 0 6px 20px -8px rgba(23, 34, 75, .5); transition: transform .3s var(--lc-spring); }
.lc-ring-ctl .lc-prev:hover, .lc-ring-ctl .lc-next:hover { transform: scale(1.08); }
.lc-ring-ctl { flex-wrap: nowrap; }
@media (max-width: 760px) {
  .lc-ring { border-radius: 24px; padding-top: 26px; margin-bottom: 52px; }
  .lc-ring-stage { height: 470px; }
  .lc-card-t { font-size: 22px; }
  .lc-card-media.is-text { font-size: 26px; }
}

/* ---------- 7. Cursor buddy ---------- */
.lc-buddy { position: fixed; left: 0; top: 0; z-index: 1000; width: 44px; height: 44px; pointer-events: none; opacity: 0; transition: opacity .35s; will-change: transform; }
.lc-buddy.is-on { opacity: 1; }
.lc-buddy svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lc-buddy-say { position: absolute; left: 40px; top: -22px; white-space: nowrap; font: 700 13px/1 var(--grot, system-ui), sans-serif; color: #fff; background: var(--lc-ink);
  padding: 7px 10px; border-radius: 10px 10px 10px 2px; opacity: 0; transform: translateY(6px) scale(.9); transform-origin: 0 100%; transition: opacity .2s, transform .35s var(--lc-spring); }
.lc-buddy-say.is-on { opacity: 1; transform: none; }
.lc-buddy-z { position: absolute; left: 34px; top: -6px; font: 800 14px/1 system-ui, sans-serif; color: var(--lc-blue); opacity: 0; }
.lc-buddy.is-asleep .lc-buddy-z { animation: lc-z 2s ease-in-out infinite; }
@keyframes lc-z { 0% { opacity: 0; transform: translate(0, 4px) scale(.7); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(10px, -16px) scale(1.15); } }
.lc-buddy-toggle { font: inherit; }

/* ---------- 8. Jelly buttons ---------- */
.lc-jelly { transition: none !important; will-change: transform; }

/* ---------- reduced motion: keep the content, drop the movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .lc-hl, .lc-panel, .lc-caret, .lc-pc, .lc-glide, .lc-call, .lc-moon, .lc-sky, .lc-stars i, .lc-dn *, [data-lc-glide] > :not(.lc-glide), .lc-cmd-opt, .lc-pill-fill, .lc-pill > span { transition: none !important; animation: none !important; }
  .lc-cmd-opt { opacity: 1; transform: none; }
  [data-lc-glide] > .is-lit { transform: none; }
  .lc-glide::before, .lc-call.is-ringing .lc-call-ic::after, .lc-dn.is-hint { animation: none; }
}

/* ---------- page-specific resets ---------- */
footer.lc-cf { max-width: none; margin: 0; padding: 0; display: block; border: 0; flex-wrap: nowrap; }
.lc-cf nav { display: flex; }
main > .section--wash:last-child { border-bottom: 0; }
.lc-work header nav { align-items: center; }

/* ================= Round 2 (2026-10-20) ================= */

/* ---------- Hero shader panel (replaces the dot formation) ---------- */
.dot-panel { border: 3px solid var(--lc-ink) !important; border-radius: 20px !important; box-shadow: 0 18px 46px -32px rgba(11, 13, 22, .42) !important;
  background: radial-gradient(45% 40% at 70% 65%, rgba(35, 55, 230, .85), transparent 70%), radial-gradient(30% 25% at 30% 30%, rgba(242, 199, 68, .45), transparent 70%), #FDFBF5; }
.dot-panel.is-night { background: radial-gradient(45% 40% at 70% 65%, rgba(35, 55, 230, .8), transparent 70%), radial-gradient(25% 20% at 30% 30%, rgba(242, 199, 68, .35), transparent 70%), #080A1F; }
.dot-panel::after, .dot-panel .corner { display: none; }
.lc-shader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; opacity: 0; transition: opacity .8s var(--lc-out); }
.lc-shader.is-ready { opacity: 1; }
.lc-sky { background: none; z-index: 2; }

/* ---------- Service card carousel ---------- */
.lc-car { position: relative; margin-top: 42px; }
.lc-car-track { position: relative; overflow: hidden; padding: 8px 4px 34px; touch-action: pan-y;
  -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent); }
.lc-car-track > .card { display: inline-block; vertical-align: top; width: clamp(280px, 40%, 430px); margin-right: 18px; }
.lc-car-rail { display: flex; gap: clamp(16px, 2vw, 22px); will-change: transform; transition: transform .62s cubic-bezier(.65, 0, .25, 1); }
.lc-car-rail.no-anim { transition: none; }
.lc-car-rail > .card { flex: 0 0 clamp(280px, 40%, 430px); margin: 0; }
.lc-car-ctl { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.lc-car-ctl button { font: inherit; cursor: pointer; color: var(--lc-ink); }
.lc-car-play, .lc-car-arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--lc-ink); background: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 800; box-shadow: 3px 3px 0 var(--lc-ink); transition: transform .3s var(--lc-spring), box-shadow .3s; }
.lc-car-play:hover, .lc-car-arrow:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--lc-ink); }
.lc-car-play svg { width: 16px; height: 16px; }
.lc-car-dots { display: flex; gap: 8px; margin-right: auto; }
.lc-car-dot { position: relative; width: 34px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: rgba(11, 13, 22, .15); overflow: hidden; }
.lc-car-dot::after { content: ""; position: absolute; inset: 0; background: var(--lc-blue); transform: scaleX(0); transform-origin: 0 50%; }
.lc-car-dot[aria-current="true"]::after { transform: scaleX(1); }
.lc-car.is-playing .lc-car-dot[aria-current="true"]::after { animation: lc-fill var(--lc-car-ms, 4800ms) linear forwards; }
.lc-car.is-held .lc-car-dot[aria-current="true"]::after { animation-play-state: paused; }
@keyframes lc-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lc-car-dot:focus-visible, .lc-car-ctl button:focus-visible { outline: 3px solid var(--lc-blue); outline-offset: 3px; }
@media (max-width: 720px) { .lc-car-rail > .card { flex-basis: 84%; } .lc-car-dot { width: 24px; } }

/* ---------- Start here: one section, two tabs ---------- */
.lc-tabs-wrap { position: relative; z-index: 1; }
.lc-tabs { position: relative; display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 34px; border: 2px solid var(--lc-ink); border-radius: 999px; background: #fff; box-shadow: 4px 4px 0 var(--lc-ink); isolation: isolate; }
.lc-tabs[hidden] { display: none; }
.lc-tabs [role="tab"] { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; font: 700 16px/1 var(--grot, inherit); padding: 13px 22px; border-radius: 999px; color: var(--lc-ink); transition: color .3s; }
.lc-tabs [role="tab"][aria-selected="true"] { color: #fff; }
.lc-tabs [role="tab"]:focus-visible { outline: 3px solid var(--lc-yellow); outline-offset: 2px; }
.lc-tabs-hl { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--lc-blue); transition: transform .5s var(--lc-spring), width .5s var(--lc-spring); }
.lc-tabpanel:not([hidden]) { animation: lc-in .5s var(--lc-out); }
.lc-tabpanel + .lc-tabpanel:not([hidden]) { margin-top: 0; }
.lc-tabs:not([hidden]) ~ .lc-tabpanel { position: relative; z-index: 1; }
.lc-guide-strip { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 46px 0 0; padding: 18px 22px; border: 2px solid var(--lc-ink); border-radius: 18px; background: #fff; font-size: 16px; line-height: 1.45; }
.lc-guide-strip span:nth-child(2) { flex: 1 1 320px; }
.lc-guide-tag { font: 800 13px/1 var(--grot, inherit); letter-spacing: .08em; text-transform: uppercase; background: #BFE3D2; border: 2px solid var(--lc-ink); border-radius: 999px; padding: 7px 12px; }
.lc-guide-strip a { color: var(--lc-blue); font-weight: 750; white-space: nowrap; }

/* ---------- Tumble footer ---------- */
.lc-cf-word.is-tumble { position: relative; height: var(--tb-h, 260px); display: block; overflow: visible; pointer-events: auto; user-select: none; -webkit-user-select: none; }
.lc-cf-word.is-tumble .lc-cf-wm { visibility: hidden; position: absolute; }
.lc-tile { position: absolute; left: 0; top: 0; display: grid; place-items: center; border: 3px solid var(--lc-ink); border-radius: 22%; color: var(--lc-ink); cursor: grab; will-change: transform;
  font-family: "Archivo", var(--grot, system-ui), sans-serif; font-weight: 900; font-variation-settings: "wdth" 110; line-height: 1; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .55), 0 6px 0 rgba(0, 0, 0, .35); }
.lc-tile:active { cursor: grabbing; }
.lc-tile.is-slash { background: var(--lc-blue) !important; color: #fff; }
.lc-tb-hint { position: absolute; right: 0; top: 8px; font-size: 15px; color: #8F94A6; pointer-events: none; transition: opacity .6s; }
.lc-work .lc-tb-hint { font-size: 22px; }

/* ---------- Work page: homepage header, sticky ---------- */
.lc-work header.lc-site-header { position: sticky; top: 0; z-index: 50; max-width: none; margin: 0; padding: 0; display: block; background: #fff; border-bottom: 3px solid var(--lc-ink); }
.lc-nav-wrap { max-width: 1160px; margin: 0 auto; padding: 14px clamp(20px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lc-brand { display: flex; flex-direction: column; gap: 3px; text-decoration: none; line-height: .98; color: var(--lc-ink); }
.lc-brand-name { font-family: "Archivo", sans-serif; font-weight: 900; font-variation-settings: "wdth" 110; font-size: clamp(2rem, 3.8vw, 2.5rem); letter-spacing: -.028em; }
.lc-brand-name span { color: var(--lc-blue); }
.lc-brand-tag { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #4C5260; }
.lc-work .lc-site-nav { display: flex; align-items: center; gap: 0; white-space: nowrap; font-family: "Archivo", sans-serif; }
.lc-site-nav > a:not(.lc-nav-cta) { font-weight: 600; font-size: 15px; color: var(--lc-ink); text-decoration: none; margin-left: 22px; }
.lc-site-nav > a[aria-current="page"] { color: var(--lc-blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lc-site-nav .lc-k { margin-left: 18px; font-size: 15px; padding: 7px 8px 7px 11px; gap: 8px; }
.lc-site-nav .lc-k .lc-k-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lc-nav-cta { margin-left: 22px; display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 999px; background: var(--lc-blue); color: #fff; text-decoration: none; font-weight: 700; font-size: 15.5px;
  border: 1px solid rgba(11, 13, 22, .72); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 7px 18px -12px rgba(35, 55, 230, .9); transition: transform .14s, background .15s; }
.lc-nav-cta:hover { background: var(--lc-blue-deep); transform: translateY(-1px); }
.lc-nav-wrap > .lc-site-nav { margin-left: auto; }
.lc-cta-short { display: none; }
@media (max-width: 900px) {
  .lc-nav-wrap { flex-wrap: wrap; row-gap: 8px; padding-top: 10px; padding-bottom: 8px; }
  .lc-brand-tag { display: none; }
  .lc-brand-name { font-size: clamp(1.35rem, 6vw, 1.7rem); }
  .lc-nav-cta { margin-left: auto; padding: 9px 13px; font-size: 13.5px; white-space: nowrap; }
}
@media (max-width: 480px) {
  .lc-cta-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lc-cta-short { display: inline; }
  .lc-nav-wrap > .lc-site-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; padding: 6px 2px 4px; }
  .lc-site-nav::-webkit-scrollbar { display: none; }
  .lc-site-nav > a:first-child { margin-left: 0; }
  .lc-site-nav > a:not(.lc-nav-cta) { margin-left: 18px; }
  .lc-site-nav > a:first-of-type { margin-left: 4px; }
  .lc-site-nav .lc-k { margin-left: auto; }
}
.lc-work .hero { scroll-margin-top: 120px; }
.lc-work .project, .lc-work #work { scroll-margin-top: 110px; }

@media (prefers-reduced-motion: reduce) {
  .lc-car-rail { transition: none; }
  .lc-tabs-hl, .lc-tabs [role="tab"], .lc-shader { transition: none !important; }
  .lc-tabpanel:not([hidden]) { animation: none; }
}
