/* lucascouto.design design system: tokens and shared components.
 *
 * Every page loads this file and /components/lc.js. The Framer pages get it for <lc-more-work>; the
 * hand-built case studies (Chums, Nebula) also use the top bar, footer and /components/case.css.
 * Read docs/components.md (in the repo) before adding a page or a component.
 *
 * Values were measured from the published Framer site (cards, chips, carousel, footer, phone bar),
 * so a component here matches the Framer pages it sits next to. */

@font-face { font-family: "Inter"; src: url("/_a/framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/_a/framerusercontent.com/assets/d3tHnaQIAeqiE5hGcRw4mmgWYU.woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Display"; font-weight: 400; font-display: swap; src: url(/_a/framerusercontent.com/assets/bHYNJqzTyl2lqvmMiRRS6Y16Es.woff2) format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 500; font-display: swap; src: url(/_a/framerusercontent.com/assets/iwWTDc49ENF2tCHbqlNARXw6Ug.woff2) format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 600; font-display: swap; src: url(/_a/framerusercontent.com/assets/PfdOpgzFf7N2Uye9JX7xRKYTgSc.woff2) format("woff2"); }

/* ================================================================== tokens */
:root {
  /* type */
  --lc-font-ui: "Inter", "Inter Placeholder", system-ui, sans-serif;      /* Framer UI: cards, chips, footer, phone bar */
  --lc-font-sans: "Inter Display", "Inter", system-ui, sans-serif;         /* case-study pages */
  --lc-font-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --lc-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --lc-text-label: 500 12px/1 var(--lc-font-sans);                         /* uppercase section labels, tracked 0.12em */
  --lc-text-card-title: 500 16px/32px var(--lc-font-ui);
  --lc-text-card-sub: 400 13px/26px var(--lc-font-ui);
  --lc-text-chip: 500 16px/32px var(--lc-font-ui);
  --lc-text-small: 400 14px/16.8px var(--lc-font-ui);                      /* footer */
  --lc-text-section: 500 clamp(22px, 2vw, 28px)/1.2 var(--lc-font-ui);    /* a section title in Framer UI type: More work */

  /* layout */
  --lc-max: 1280px;                                   /* case-study content width */
  --lc-gutter: clamp(20px, 5vw, 80px);                /* case-study side padding */
  --lc-site-gutter: 40px;                             /* Framer pages: 40 px, 20 px on phones */
  --lc-site-max: 1480px;                              /* Framer content column, gutters included */
  --lc-section-pad: clamp(64px, 8vw, 120px);
  --lc-gap-card: 20px;                                /* Framer grid and carousel gap */

  /* shape */
  --lc-radius-card: 20px;                             /* Framer cards and carousel media */
  --lc-radius-media: clamp(14px, 1.6vw, 22px);        /* case-study stage and figures */
  --lc-radius-pill: 999px;

  /* motion */
  --lc-ease-framer: cubic-bezier(0.44, 0, 0.56, 1);   /* Framer hover: 0.25 s */
  --lc-dur-hover: 0.25s;
  --lc-ease-settle: cubic-bezier(0.16, 1, 0.3, 1);    /* case-study reveals and scrims */

  /* layers: iOS Safari colours the status bar from the topmost fixed layer at the top edge, so the
     phone bar must stay the topmost fixed layer there */
  --lc-z-grain: 40;
  --lc-z-float: 45;
  --lc-z-bar: 49;
  --lc-z-nav: 50;

  /* site palette (the Framer pages) */
  --lc-site-bg: #f5f5f5;
  --lc-site-title: #262626;                           /* card titles */
  --lc-site-sub: #666666;                             /* card lines */
  --lc-site-ink: #383838;                             /* footer text and icons */
  --lc-site-burger: #2b2b2b;
  --lc-chip-writing: #6e6e6e;
  --lc-shade-top: linear-gradient(180deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0) 100%);   /* card top shade */
  --lc-glass-dark: rgba(0, 0, 0, 0.5);                /* Framer carousel buttons */
}
@media (max-width: 809px) { :root { --lc-site-gutter: 20px; } }

/* Themes. Components read only these semantic tokens. The Framer pages use the default ("site");
   a hand-built page sets data-lc-theme on <html>. --lc-bg-rgb is the page colour as r, g, b. */
:root, [data-lc-theme="site"] {
  --lc-bg: var(--lc-site-bg); --lc-bg-rgb: 245, 245, 245;
  --lc-surface-2: #ececec; --lc-surface-3: #e2e2e2;
  --lc-text: var(--lc-site-title); --lc-text-2: var(--lc-site-sub); --lc-muted: #8a8a8a;
  --lc-line: rgba(0, 0, 0, 0.08); --lc-line-2: rgba(0, 0, 0, 0.16);
  --lc-accent: #0055ff;
  --lc-ui-ink: var(--lc-site-ink); --lc-burger: var(--lc-site-burger);
  --lc-menu: rgba(242, 242, 242, 0.5);
  --lc-menu-shadow: 0px 0.6px 2.05px -1.25px rgba(0, 0, 0, 0.036), 0px 2.29px 7.78px -2.5px rgba(0, 0, 0, 0.032), 0px 10px 34px -3.75px rgba(0, 0, 0, 0.0125), inset 1px 2px 1.5px -1.5px rgba(255, 255, 255, 0.9), inset -1px -2px 2px -1px rgba(53, 45, 79, 0.17);
  --lc-selection: #0055ff; --lc-selection-ink: #fff;
  --lc-btn-shadow: 0 12px 34px -10px rgba(0, 0, 0, 0.35);
  --lc-glass: rgba(0, 0, 0, 0.35); --lc-glass-hover: rgba(0, 0, 0, 0.55);
  --lc-glass-border: rgba(255, 255, 255, 0.28); --lc-glass-border-hover: rgba(255, 255, 255, 0.45); --lc-glass-text: #fff;
  --lc-grain-opacity: 0; --lc-grain-blend: normal;
  --lc-stage-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.3);
  --lc-mw-btn: var(--lc-glass-dark);
}
[data-lc-theme="paper"] {                             /* Chums */
  --lc-bg: #f6f0e5; --lc-bg-rgb: 246, 240, 229;
  --lc-surface-2: #efe7d8; --lc-surface-3: #e7dccb;
  --lc-text: #15101f; --lc-text-2: #4a4452; --lc-muted: #8a8290;
  --lc-line: rgba(21, 16, 31, 0.10); --lc-line-2: rgba(21, 16, 31, 0.18);
  --lc-accent: #f0aa06;
  --lc-ui-ink: #15101f; --lc-burger: rgb(43, 43, 43);
  --lc-menu: rgba(242, 242, 242, 0.5);
  --lc-menu-shadow: 0px 0.6px 2.05px -1.25px rgba(0, 0, 0, 0.036), 0px 2.29px 7.78px -2.5px rgba(0, 0, 0, 0.032), 0px 10px 34px -3.75px rgba(0, 0, 0, 0.0125), inset 1px 2px 1.5px -1.5px rgba(255, 255, 255, 0.9), inset -1px -2px 2px -1px rgba(53, 45, 79, 0.17);
  --lc-selection: #f0aa06; --lc-selection-ink: #15101f;
  --lc-btn-shadow: 0 12px 34px -10px rgba(21, 16, 31, 0.5);
  --lc-glass: rgba(21, 16, 31, 0.35); --lc-glass-hover: rgba(21, 16, 31, 0.55);
  --lc-glass-border: rgba(255, 255, 255, 0.28); --lc-glass-border-hover: rgba(255, 255, 255, 0.45); --lc-glass-text: #fff;
  --lc-grain-opacity: 0.045; --lc-grain-blend: multiply;
  --lc-stage-shadow: 0 40px 100px -50px rgba(21, 16, 31, 0.45);
  --lc-mw-btn: var(--lc-glass-dark);
}
[data-lc-theme="ink"] {                               /* Nebula */
  --lc-bg: #08080a; --lc-bg-rgb: 8, 8, 10;
  --lc-surface-2: #0e0e11; --lc-surface-3: #16161a;
  --lc-text: #ecebe8; --lc-text-2: #b4b4ba; --lc-muted: #7d7d85;
  --lc-line: rgba(255, 255, 255, 0.08); --lc-line-2: rgba(255, 255, 255, 0.14);
  --lc-accent: #c9dbff;
  --lc-ui-ink: #b4b4ba; --lc-burger: #ecebe8;
  --lc-menu: rgba(30, 30, 34, 0.55);
  --lc-menu-shadow: 0 10px 34px -4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --lc-selection: #c9dbff; --lc-selection-ink: #08080a;
  --lc-btn-shadow: 0 10px 40px -8px rgba(201, 219, 255, 0.55);
  --lc-glass: rgba(10, 10, 12, 0.5); --lc-glass-hover: rgba(30, 30, 36, 0.7);
  --lc-glass-border: rgba(255, 255, 255, 0.14); --lc-glass-border-hover: rgba(255, 255, 255, 0.24); --lc-glass-text: #ecebe8;
  --lc-grain-opacity: 0.05; --lc-grain-blend: normal;
  --lc-stage-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9);
  --lc-mw-btn: rgba(255, 255, 255, 0.16);           /* the Framer 50% black disappears on ink */
}

/* ========================================================== retired pages
 * Their homepage cards stay hidden from the first paint, on every page (Framer can render the homepage
 * without loading its HTML). Their work lives in the Gallery now. */
.ssr-variant:has(a[href="./ai-to-vr"]) { display: none !important; }

/* ====================================================== homepage work grid
 * home-cards.js marks the grid and gives each card --lc-o-col (its place down its column) and --lc-o-row
 * (its place reading row by row). Framer stacks the three columns on a phone, so there the columns
 * dissolve into one list in row order. The cards carry their own bottom spacing, so the gap goes. */
[data-lc-grid] > * > *, [data-lc-grid] > * > .ssr-variant > * { order: var(--lc-o-col, 99); }
@media (max-width: 809px) {
  [data-lc-grid] { gap: 0 !important; }
  [data-lc-grid] > * { display: contents !important; }
  [data-lc-grid] > * > *, [data-lc-grid] > * > .ssr-variant > * { order: var(--lc-o-row, 99); }
}

/* =================================================================== chip
 * The tag pills on project cards. Three kinds, as on the Framer homepage:
 *   .lc-chip              outline: UX, AI, ID, Strategy (1.6 px white border)
 *   .lc-chip.lc-chip--xr  XR only: white pill with the gradient image
 *   .lc-chip.lc-chip--writing  articles: white pill, grey text
 * lc.js picks the kind from the tag name (LC.chipKind), so a page never styles a chip by hand. */
.lc-chip { box-sizing: border-box; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 129px; border: 1.6px solid #fff; color: #fff; font: var(--lc-text-chip); white-space: nowrap; transition: border-width var(--lc-dur-hover) var(--lc-ease-framer); }
.lc-chip--xr { position: relative; overflow: hidden; border: 0; border-radius: 16px; padding: 0 14px; isolation: isolate; }
.lc-chip--xr::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 19px; filter: brightness(0.95); background: #fff url("/_a/framerusercontent.com/images/YVuvcdOaXZizrxSLJDO4oEqwOg__qb07403ff27df.webp") center / cover; }
.lc-chip--writing { border: 0; background: #fff; color: var(--lc-chip-writing); }

/* ========================================================= project card
 * <a class="lc-card"> built by LC.card(project): the homepage card at carousel size. Media with the
 * top shade and chips (both hidden until hover), then the title and line in Framer's card type. The
 * hover copies Framer's: 0.25 s, chips drop 10 px as they fade in, outline chips go to 2 px. */
.lc-card { display: block; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.lc-card__media { position: relative; overflow: hidden; border-radius: var(--lc-radius-card); aspect-ratio: 433 / 392; background: var(--lc-surface-2); }
.lc-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-card__shade { position: absolute; inset: 0; background: var(--lc-shade-top); opacity: 0; transition: opacity var(--lc-dur-hover) var(--lc-ease-framer); }
.lc-card__chips { position: absolute; top: -10px; right: 0; display: flex; gap: 10px; padding: 10px 12px 0 0; opacity: 0; transition: opacity var(--lc-dur-hover) var(--lc-ease-framer), transform var(--lc-dur-hover) var(--lc-ease-framer); }
.lc-card__title { margin: 12px 0 0; font: var(--lc-text-card-title); color: var(--lc-text); }
.lc-card__sub { margin: 0; font: var(--lc-text-card-sub); color: var(--lc-text-2); }
.lc-card:hover .lc-card__shade, .lc-card:focus-visible .lc-card__shade { opacity: 1; }
.lc-card:hover .lc-card__chips, .lc-card:focus-visible .lc-card__chips { opacity: 1; transform: translateY(10px); }
.lc-card:hover .lc-chip:not(.lc-chip--xr):not(.lc-chip--writing) { border-width: 2px; }
.lc-card:focus-visible { outline: 2px solid var(--lc-text); outline-offset: 4px; border-radius: var(--lc-radius-card); }

/* ============================================================ more work
 * <lc-more-work>: the other projects in the order of LC.projects, starting after the current page,
 * as a carousel before the footer. lc.js mounts it on every page with a footer. */
lc-more-work { display: block; box-sizing: border-box; width: 100%; min-width: 0; align-self: stretch; color: var(--lc-text); }   /* Framer page roots are centred flex columns */
/* --lc-mw-inset lines the heading and the first card up with the page's content edge: on Framer pages
   the 40 px gutter of a 1480 px column (Gallery and project grids start at 260 px on a 1920 px screen);
   on a case study (--lc-mw-max and --lc-mw-gutter set) the edge of its centred column */
.lc-mw { --lc-mw-inset: max(var(--lc-mw-gutter, var(--lc-site-gutter)), calc((100% - var(--lc-mw-max, var(--lc-site-max))) / 2 + var(--lc-mw-gutter, var(--lc-site-gutter)))); padding: clamp(40px, 5vw, 72px) 0 clamp(16px, 2vw, 32px); }
.lc-mw__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--lc-mw-inset); margin: 0 0 24px; }
.lc-mw__title { margin: 0; font: var(--lc-text-section); letter-spacing: -0.02em; }
.lc-mw__all { display: inline-flex; align-items: center; gap: 6px; margin: 20px var(--lc-mw-inset) 0; font: var(--lc-text-small); color: var(--lc-text-2); text-decoration: none; transition: color 0.2s var(--lc-ease-framer); }
.lc-mw__all:hover { color: var(--lc-text); }
.lc-mw__all svg { width: 12px; height: 12px; transition: transform 0.2s var(--lc-ease-framer); }
.lc-mw__all:hover svg { transform: translateX(2px); }
.lc-mw__nav { display: flex; gap: 10px; }
.lc-mw__btn { position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 40px; background: var(--lc-mw-btn); color: #fff; display: grid; place-items: center; cursor: pointer; transition: opacity 0.2s var(--lc-ease-framer); }
.lc-mw__btn::before { content: ""; position: absolute; inset: -8px; }                 /* a 44 px hit area */
.lc-mw__btn svg { width: 12px; height: 12px; }
.lc-mw__btn[aria-disabled="true"] { opacity: 0; pointer-events: none; }
.lc-mw__btn:focus-visible { outline: 2px solid var(--lc-text); outline-offset: 3px; }
.lc-mw__track { display: flex; gap: var(--lc-gap-card); margin: 0; padding: 0 var(--lc-mw-inset) 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--lc-mw-inset); overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lc-mw__track::-webkit-scrollbar { display: none; }
.lc-mw__track > li { flex: 0 0 clamp(240px, 24vw, 340px); scroll-snap-align: start; }
@media (min-width: 810px) and (max-width: 1199px) { .lc-mw__track > li { flex-basis: 36vw; } }   /* a third card always peeks */
@media (max-width: 809px) {
  .lc-mw__track > li { flex-basis: 78vw; }
  .lc-mw__nav { display: none; }                     /* phones swipe */
}
@media (prefers-reduced-motion: reduce) { .lc-mw__track { scroll-behavior: auto; } }

/* =============================================================== top bar
 * <lc-topbar> for hand-built pages, copied from the Framer project pages. From 810 px up: a frosted
 * pill of links, 45 px tall, fixed 30 px from the top and centred (50 px between links, 40 px side
 * padding, blur 18 px), and nothing behind it. The name (left) and the two-circle mark (right) sit in
 * the same row but scroll away with the page; the mark's circles lift 3 px on hover, 100 ms apart. Phones (below 810 px): a 54 px frosted bar (blur 14 px,
 * page colour fading to 40%), the name at 16 px, and a two-line menu button that opens the same
 * frosted pill. Any other fixed layer on the page stays below --lc-z-bar. */
lc-topbar { display: block; }
lc-topbar .tb-bar, lc-topbar .tb-home, lc-topbar .tb-burger, lc-topbar .tb-menu { display: none; }
lc-topbar .tb-nav { position: fixed; top: 30px; left: 0; right: 0; z-index: var(--lc-z-nav); display: flex; justify-content: center; pointer-events: none; color: var(--lc-text); }
lc-topbar .tb-nav > * { pointer-events: auto; }
lc-topbar .tb-pill { display: flex; gap: 50px; align-items: center; height: 45px; padding: 0 40px; box-sizing: border-box; border-radius: 20px; background: var(--lc-menu); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--lc-menu-shadow); }
lc-topbar .tb-pill a { display: block; font: 400 15px/21px var(--lc-font-ui); letter-spacing: -0.6px; color: var(--lc-text); text-decoration: none; transition: opacity var(--lc-dur-hover) var(--lc-ease-framer); }
lc-topbar .tb-pill a:hover { opacity: 0.5; }
lc-topbar .tb-pill svg { width: 16px; height: 16px; display: block; }
lc-topbar .tb-head { position: absolute; top: 30px; left: 0; right: 0; height: 45px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; z-index: var(--lc-z-nav); }
lc-topbar .tb-name { pointer-events: auto; font: 400 16px/19.2px var(--lc-font-ui); color: var(--lc-text); text-decoration: none; }
lc-topbar .tb-mark { pointer-events: auto; display: block; width: 40px; height: auto; fill: var(--lc-ui-ink); }
lc-topbar .tb-mark > * { transition: transform 0.5s ease-in-out; }
lc-topbar .tb-mark path { transition-delay: 0.1s; }
lc-topbar .tb-mark:hover > * { transform: translateY(-3px); }
@media (max-width: 809px) {
  lc-topbar .tb-bar { display: block; position: fixed; top: 0; left: 0; right: 0; height: 54px; z-index: var(--lc-z-bar); overflow: hidden; background: linear-gradient(rgb(var(--lc-bg-rgb)) 0%, rgba(var(--lc-bg-rgb), 0.4) 115%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  lc-topbar .tb-nav { display: block; top: 0; height: 45px; padding: 0; }
  lc-topbar .tb-pill, lc-topbar .tb-head { display: none; }
  lc-topbar .tb-home { display: block; position: absolute; left: 20px; top: 12px; font: 400 16px/19.2px var(--lc-font-ui); letter-spacing: 0; }
  lc-topbar .tb-burger { display: block; position: absolute; right: 10px; top: 1px; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  lc-topbar .tb-burger:focus:not(:focus-visible) { outline: none; }
  lc-topbar .tb-burger i { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 10px; background: var(--lc-burger); transition: top 0.3s var(--lc-ease-settle), transform 0.3s var(--lc-ease-settle); }
  lc-topbar .tb-burger i:first-child { top: 15px; }
  lc-topbar .tb-burger i:last-child { top: 26px; }
  lc-topbar.tb-open .tb-burger i:first-child { top: 21px; transform: rotate(-45deg); }
  lc-topbar.tb-open .tb-burger i:last-child { top: 21px; transform: rotate(45deg); }
  lc-topbar .tb-menu { display: flex; position: absolute; left: 10px; right: 10px; top: 50px; height: 41px; padding: 10px; align-items: center; justify-content: center; border-radius: 20px; background: var(--lc-menu); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--lc-menu-shadow); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s var(--lc-ease-settle), visibility 0s linear 0.3s; }
  lc-topbar.tb-open .tb-menu { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s var(--lc-ease-settle), visibility 0s; }
  lc-topbar .tb-menu a { display: block; width: 70px; text-align: center; font: 400 15px/21px var(--lc-font-ui); color: var(--lc-text); text-decoration: none; }
  lc-topbar .tb-menu a.tb-in { width: 36px; padding: 2px 10px 0; }
  lc-topbar .tb-menu svg { width: 16px; height: 16px; display: block; }
}

/* ================================================================ footer
 * <lc-footer> for hand-built pages: the Framer footer. Email on the left, the city on the right, 14 px
 * Inter, 40 px above and 20 px below a 100 px row. Back to top is the floating .lc-to-top button. */
lc-footer { display: block; }
.lc-footer { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 100px; padding: 40px var(--lc-footer-inset, var(--lc-site-gutter)) 20px; box-sizing: content-box; font: var(--lc-text-small); color: var(--lc-ui-ink); }
.lc-footer a { justify-self: start; color: inherit; text-decoration: none; }
.lc-footer a:hover { opacity: 0.6; }
.lc-footer__city { justify-self: end; }
@media (max-width: 809px) {
  .lc-footer { grid-template-columns: 1fr; grid-template-rows: auto auto; row-gap: 6px; padding: 56px 30px 62px; min-height: 0; font: 400 15px/18px var(--lc-font-ui); }   /* 160 px, as measured */
  .lc-footer > a { grid-column: 1; grid-row: 1; }
  .lc-footer__city { grid-column: 1; grid-row: 2; justify-self: start; }
}

/* =========================================================== back to top
 * The floating button lc.js adds to every project page: a 44 px frosted circle (the menu pill's glass)
 * 20 px from the bottom-right corner, 30 px from 810 px up, shown once the page has scrolled. The
 * footer's own centre arrow, on Framer pages the link right after the carousel, is hidden there. */
.lc-to-top { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: var(--lc-z-float); width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: var(--lc-text); background: var(--lc-menu); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--lc-menu-shadow); -webkit-tap-highlight-color: transparent;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s var(--lc-ease-settle), transform 0.3s var(--lc-ease-settle), visibility 0s linear 0.3s; }
.lc-to-top--on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--lc-ease-settle), transform 0.3s var(--lc-ease-settle), visibility 0s; }
.lc-to-top svg { width: 20px; height: 20px; transition: transform var(--lc-dur-hover) var(--lc-ease-framer); }
@media (hover: hover) { .lc-to-top:hover svg { transform: translateY(-2px); } }
.lc-to-top:focus:not(:focus-visible) { outline: none; }
.lc-to-top:focus-visible { outline: 2px solid var(--lc-text); outline-offset: 3px; }
@media (min-width: 810px) { .lc-to-top { right: 30px; bottom: 30px; } }
lc-more-work + * a:has(path[d^="M11.47 2.47"]) { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  lc-topbar *, .lc-card *, .lc-chip, .lc-mw__btn, .lc-to-top, .lc-to-top svg { transition: none !important; }
}
