/* Ivan Bayu portfolio: shared styles.
   Source of truth: the live Framer site (ivanbayuf.framer.website) and the
   Framer project. Breakpoints are Framer's own:
     desktop >= 1380px, tablet 810-1379.98px, phone <= 809.98px.
   Type scale per breakpoint is Framer's presets (desktop / tablet / phone),
   measured in a headless browser against the live site. */
:root{
  --bg:#000; --text:#fff; --muted:rgba(255,255,255,.8); --muted-2:rgba(255,255,255,.5);
  --accent:#FF9019; --accent-dark:#B8650D; --shadow-grey:#808080;
  --panel:rgba(50,49,57,.8); --border:rgba(255,255,255,.1);
  --card:#32313A; --radius:24px; --radius-lg:48px; --max:1280px; --pad-x:82px;
  --font:"Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --display:"Bowlby One","Be Vietnam Pro",sans-serif;
  --spring:cubic-bezier(.34,1.4,.64,1);
  --ease-out:cubic-bezier(.22,1,.36,1);
}
@media (max-width:1379.98px){:root{--pad-x:82px}}
@media (max-width:809.98px){:root{--pad-x:24px}}
*{box-sizing:border-box}
/* A sideways two-finger trackpad swipe was going back/forward a page while
   reading (owner, 2026-11-27). This turns off swipe-to-navigate in Chrome,
   Edge and Firefox; browser Back still works. */
html,body{overscroll-behavior-x:none}
html{scroll-behavior:smooth}
html,body{overflow-x:clip}
body{margin:0;background:var(--bg);color:var(--muted);font-family:var(--font);font-size:18px;line-height:1.6;letter-spacing:-.02em;-webkit-font-smoothing:antialiased}
img,video{max-width:100%;display:block}
a{color:var(--text);text-decoration:none}
button{font:inherit;color:inherit}
a[href],button,summary,label[for],[role="button"],[role="tab"]{cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:8px}
h1,h2,h3,h4{font-weight:400;margin:0;color:var(--text)}
p{margin:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Layout container: Framer sections are 1280 max, 82px side padding
   (desktop and tablet), 24px on phone. */
.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 var(--pad-x)}

/* Display type (Framer preset "display-xl"): 64 / 51 / 24 */
.display-xl{font-family:var(--display);font-weight:400;font-size:64px;line-height:1.3;letter-spacing:-.02em;text-transform:uppercase;color:var(--text)}
@media (max-width:1379.98px){.display-xl{font-size:51px}}
@media (max-width:809.98px){.display-xl{font-size:24px;line-height:1.5}}

/* ---------------- Navigation (Framer Header component) ---------------- */
.nav-wrap{position:sticky;top:40px;z-index:50;display:flex;justify-content:center;align-items:center;height:70px;padding:0 16px;pointer-events:none}
.pill-nav{pointer-events:auto;display:flex;align-items:center;gap:16px;height:70px;padding:8px 16px 8px 8px;border-radius:48px;background:rgba(255,255,255,.05);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
.brand{display:flex;align-items:center;gap:0;transition:gap .4s var(--spring)}
.avatar{width:54px;height:54px;border-radius:50%;object-fit:cover;flex:none;background:#fff}
/* Collapsed on load (name hidden); the first scroll down expands it and it
   stays expanded (Framer scrollVariantEffect, onScrollDirection down). */
.brand-name{font-family:var(--display);font-size:24px;line-height:1.1;letter-spacing:-.04em;color:var(--text);white-space:nowrap;max-width:0;opacity:0;overflow:hidden;transition:max-width .4s var(--spring),opacity .3s ease}
.pill-nav.expanded .brand{gap:12px}
.pill-nav.expanded .brand-name{max-width:220px;opacity:1}
.nav-links{display:flex;padding-right:12px}
.nav-links a{font-family:var(--display);font-size:14px;line-height:1.4;letter-spacing:-.04em;color:var(--text);padding:10px;transition:color .3s ease}
.nav-links a:hover,.nav-links a:focus-visible{color:var(--accent)}
.menu-btn,.menu-panel{display:none}
@media (max-width:1379.98px){
  .brand-name{font-size:19px}
  .nav-links a{font-size:11px}
}
/* Phone: compact pill (avatar + name + menu button), opens a frosted panel. */
@media (max-width:809.98px){
  .nav-wrap{top:12px}
  .pill-nav{height:58px;gap:16px;padding:8px 16px 8px 8px;border-radius:28px}
  .avatar{width:42px;height:42px}
  .brand,.pill-nav.expanded .brand{gap:8px}
  .brand-name,.pill-nav.expanded .brand-name{max-width:none;opacity:1;font-size:16px;line-height:1.5}
  .nav-links{display:none}
  .menu-btn{display:grid;place-items:center;width:32px;height:32px;padding:0;margin-left:8px;border:0;background:none;border-radius:50%}
  .menu-btn svg{width:24px;height:24px}
  .menu-panel{position:fixed;z-index:60;top:18px;left:50%;width:295px;height:430px;margin-left:-147.5px;border-radius:28px;background:rgba(0,0,0,.4);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.12);padding:8px 16px 0 8px;flex-direction:column;opacity:0;transform:scale(.96);transform-origin:top center;transition:opacity .25s ease,transform .3s var(--spring)}
  .menu-panel.open{display:flex}
  .menu-panel.shown{opacity:1;transform:none}
  .menu-top{display:flex;align-items:center;justify-content:space-between;height:42px}
  .menu-top .brand{gap:8px}
  .menu-close{width:32px;height:32px;display:grid;place-items:center;border:0;background:none;padding:0}
  .menu-close svg{width:22px;height:22px}
  .menu-links{display:flex;flex-direction:column;align-items:center;gap:30px;margin-top:62px}
  .menu-links a{font-family:var(--display);font-size:24px;line-height:1.5;letter-spacing:-.04em;color:var(--text)}
  .menu-links a:hover{color:var(--accent)}
}

/* ---------------- Buttons (Framer Button-primary / secondary) ---------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:50px;padding:12px 24px;border:0;border-radius:32px;background:var(--text);color:rgba(0,0,0,.8);font-family:var(--display);font-size:16px;line-height:1.6;letter-spacing:-.02em;text-transform:uppercase;white-space:nowrap;box-shadow:0 6px 0 0 var(--shadow-grey);transition:box-shadow .4s var(--spring),transform .4s var(--spring)}
.btn:hover{box-shadow:0 11px 0 0 var(--shadow-grey);color:rgba(0,0,0,.8)}
.btn:active{box-shadow:0 0 0 0 var(--shadow-grey);transform:translateY(6px)}
.btn.orange{background:var(--accent);color:#fff;box-shadow:0 6px 0 0 var(--accent-dark)}
.btn.orange:hover{box-shadow:0 11px 0 0 var(--accent-dark);color:#fff}
.btn.orange:active{box-shadow:0 0 0 0 var(--accent-dark)}
.btn-arrow,.btn-icon{width:16px;height:16px;flex:none}
@media (max-width:1379.98px){.btn{height:45px;font-size:13px}}
@media (max-width:809.98px){.btn{height:43px;font-size:12px}}

/* Liquid-glass pill (Framer "Year Label" / chips): translucent white fill,
   hairline border, backdrop blur. */
.glass{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;border-radius:200px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-family:var(--display);font-size:12px;line-height:1.6;letter-spacing:-.02em;text-transform:uppercase;color:var(--text);white-space:nowrap}
@media (max-width:1379.98px){.glass{font-size:10px}}

/* ---------------- Badges (shared hero + footer) ---------------- */
.badge-img{width:100%;height:100%;border-radius:50%;cursor:pointer;display:block;transition:transform .4s var(--spring)}

/* ---------------- Footer (Framer Footer component) ---------------- */
.site-footer{margin-top:300px}
/* Case-study and About pages end their content with Framer's own bottom
   padding, so the footer follows directly. */
.case-study .site-footer,.about-page .site-footer{margin-top:0!important}
.footer-panel{position:relative;overflow:hidden;background:var(--panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:160px 160px 0 0;padding:100px 24px 128px;text-align:center}
.footer-badges{position:relative;z-index:1;display:flex;justify-content:center;gap:100px}
.footer-badges .badge-tilt{display:block;width:220px;height:220px;flex:none}
.footer-badges .badge-img:hover{transform:rotate(20deg)}
.click-note{position:absolute;z-index:2;left:50%;top:44px;transform:translateX(-50%);font-size:16px;font-weight:700;line-height:1.6;letter-spacing:-.02em;color:var(--text);opacity:.5;white-space:nowrap;pointer-events:none}
.bubbles-layer{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.footer-title{position:relative;z-index:1;margin-top:42px;text-align:center}
.contact-row{position:relative;z-index:1;display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin-top:33px}
.footer-connect-row{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-top:32px}
.footer-connect{font-family:var(--display);font-size:16px;line-height:1.6;letter-spacing:-.02em;text-transform:uppercase;color:var(--text);opacity:.5}
.social-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px} /* 8px, not 16: the three pills read as one group, and the row fits a 390px phone (owner, 2026-11-28) */
.social-row a{transition:transform .2s var(--ease-out-strong)} /* Emil: a press-able pill grows a touch on hover, gives on press */
@media (hover:hover) and (pointer:fine){.social-row a:hover{transform:scale(1.06)}}
.social-row a:active{transform:scale(.97);transition-duration:.1s}
.footer-bottom{display:flex;justify-content:center;align-items:center;gap:135px;height:50px;padding:12px 32px;background:rgba(0,0,0,.8);font-size:12px;line-height:1.6;letter-spacing:-.02em;color:var(--muted-2)}
.footer-bottom a{display:inline-flex;align-items:center;gap:4px;font-size:16px;font-weight:700;color:var(--text)}
.footer-bottom a svg{width:20px;height:20px}
.footer-bottom a:hover{color:var(--accent)}
@media (max-width:1379.98px){
  .site-footer{margin-top:240px}
  .footer-badges{gap:50px}
  .footer-badges .badge-tilt{width:170px;height:170px}
  .click-note{top:50px;font-size:13px}
  .footer-title{margin-top:82px}
  .contact-row{max-width:560px;margin-left:auto;margin-right:auto}
  .footer-connect{font-size:13px}
  .footer-panel{padding-bottom:87px}
  .footer-bottom a{font-size:13px}
}
@media (max-width:809.98px){
  .site-footer{margin-top:120px}
  .footer-panel{border-radius:80px 80px 0 0;padding:72px 20px 33px}
  .footer-badges{gap:8px}
  .footer-badges .badge-tilt{width:109px;height:109px}
  .click-note{top:28px;font-size:12px}
  .footer-title{margin-top:7px}
  .contact-row{flex-direction:column;gap:23px;margin-top:32px}
  .footer-connect-row{margin-top:23px}
  .contact-row .btn{width:100%}
  .footer-connect{font-size:12px}
  .footer-bottom{flex-direction:column-reverse;gap:16px;height:auto;padding:20px 32px}
  .footer-bottom a{font-size:12px}
}

/* ---------------- Reveal on scroll ---------------- */
html.js .reveal{opacity:0;transform:translateY(40px);transition:opacity 1.2s var(--ease-out),transform 1.2s var(--ease-out)}
html.js .reveal.visible{opacity:1;transform:none}

/* Lenis smooth scrolling (round 6): one shared instance from app.js drives
   every page. Native smooth-scroll would fight it, and a stopped Lenis
   (intro, sheet, lightbox) locks the page. */
html.lenis{scroll-behavior:auto}
.lenis.lenis-stopped{overflow:hidden}

/* ---------------- Lightbox (Framer Lightbox.tsx, round 6) ----------------
   A single-image viewer. The image flies from its thumbnail to the centre;
   the backdrop is solid #323139 (never transparent, the page never shows
   through); the caption sits in a black pill with zoom in/out; drag to pan,
   pinch or wheel to zoom (max 5x). Built by app.js on open, removed on close. */
.portfolio-lightbox{position:fixed;inset:0;z-index:2147483647;box-sizing:border-box;overflow:hidden;isolation:isolate;font-family:var(--font);overscroll-behavior:none}
.portfolio-lightbox .lb-backdrop{position:absolute;inset:0;background:#323139;pointer-events:none}
.portfolio-lightbox .lb-close{position:absolute;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));z-index:3;width:44px;height:44px;flex:none;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.035);color:#fff;cursor:pointer;display:grid;place-items:center;padding:0}
.portfolio-lightbox .lb-close svg{width:22px;height:22px}
.portfolio-lightbox .lb-stage{position:absolute;inset:0;z-index:1;overflow:hidden;touch-action:none;user-select:none;cursor:default}
.portfolio-lightbox .lb-stage.is-zoomed{cursor:grab}
.portfolio-lightbox .lb-stage img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;transform:translate(-50%,-50%);will-change:transform;backface-visibility:hidden;pointer-events:none}
.portfolio-lightbox .lb-footer{position:absolute;z-index:3;left:max(32px,env(safe-area-inset-left));right:max(32px,env(safe-area-inset-right));bottom:max(32px,env(safe-area-inset-bottom));margin:0 auto;max-width:1120px;box-sizing:border-box;background:#000;border-radius:999px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px 12px 24px}
.portfolio-lightbox .lb-caption{flex:1 1 0;min-width:0;max-height:15vh;overflow:auto;overflow-wrap:anywhere;color:#B9B8BF;font-size:18px;font-weight:200;line-height:1.45}
.portfolio-lightbox .lb-zoom{display:flex;gap:8px;flex:none;margin-left:auto}
.portfolio-lightbox .lb-zoom button{width:44px;height:44px;flex:none;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.035);color:#fff;cursor:pointer;display:grid;place-items:center;padding:0}
.portfolio-lightbox .lb-zoom button:disabled{opacity:.4;cursor:not-allowed}
.portfolio-lightbox .lb-zoom svg{width:22px;height:22px}
.portfolio-lightbox .lb-status{position:absolute;inset:0;display:grid;place-items:center;color:#B9B8BF}
.portfolio-lightbox button:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media (max-width:767px){
  .portfolio-lightbox .lb-caption{font-size:12px}
  .portfolio-lightbox .lb-close,.portfolio-lightbox .lb-zoom button{width:36px;height:36px}
  .portfolio-lightbox .lb-footer{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}
}
/* Lightbox triggers read as zoomable (Framer: cursor zoom-in on the image). */
figure img,.lightboxable{cursor:zoom-in}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  html.js .reveal{opacity:1;transform:none}
}

/* ---------------- Legacy helpers still used by the case-study and About
   pages (kept until those pages are rebuilt on the shared system). ---------------- */
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.eyebrow{font-size:13px;letter-spacing:.22em;text-transform:uppercase;color:var(--accent);font-weight:800;margin-bottom:12px}
.lead{font-size:18px;color:var(--muted)}
.small{color:var(--muted-2);font-size:14px}
.card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);padding:40px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.accent-word{color:var(--accent)}
.tabs{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}
.tab{background:var(--card);border:1px solid #3A3A40;color:var(--text);border-radius:999px;padding:10px 20px;font-weight:700;font-family:var(--font)}
.tab.active,.tab:hover{background:var(--accent);color:#000;border-color:var(--accent)}
.btn-row{display:flex;gap:16px;flex-wrap:wrap}
@media (max-width:809.98px){.grid-3{grid-template-columns:1fr}}

/* ---------- Shared components from the home redesign (2026-11-27) ----------
   Buttons and the header (nav pill + rotation-button links) live here so every
   page renders the same component; home-v2.css keeps only home-page motion. */
:root{--ease-out-strong:cubic-bezier(.23,1,.32,1)}
/* ---------- Buttons: a physical key ----------
   Hover lifts the face 3px while the base (shadow) stays put; press pushes
   it all the way down. Short ease-out, no overshoot: the old spring curve
   plus the magnetic pull made hover jump. The ::after strip below the face
   keeps the hover alive in the gap the lift opens, so it cannot flicker. */
/* The lift uses `translate`, not `transform`: entrance tweens write transform,
   and a CSS transition on the same property made them stutter. */
.btn{position:relative;transition:translate .2s var(--ease-out-strong),box-shadow .2s var(--ease-out-strong)}
.btn::after{content:"";position:absolute;left:0;right:0;top:0;bottom:-12px}
.btn-arrow{transition:transform .2s var(--ease-out-strong)}
.btn:hover{box-shadow:0 6px 0 0 var(--shadow-grey)}
.btn.orange:hover{box-shadow:0 6px 0 0 var(--accent-dark)}
@media (hover:hover) and (pointer:fine){
  .btn:hover{translate:0 -4px;box-shadow:0 10px 0 0 var(--shadow-grey)}
  .btn.orange:hover{box-shadow:0 10px 0 0 var(--accent-dark)}
  .btn:hover .btn-arrow{transform:translateX(3px)} /* arrows nudge right; other icons redraw (chrome.js) */
}
.btn:active,.btn:hover:active{transform:none;translate:0 6px;box-shadow:0 0 0 0 var(--shadow-grey);transition-duration:.08s}
.btn.orange:active,.btn.orange:hover:active{box-shadow:0 0 0 0 var(--accent-dark)}

/* ---------- Header: Framer "Header" component ----------
   Glass pill: 5% white, 24px blur, 1px border on the sides and bottom only,
   48px radius, spring 0.4s / bounce 0.2. Scrolling switches it to the
   Collapsed variant, which hides the name. */
:root{--spring-02:cubic-bezier(.3,1.25,.55,1);--spring-04:cubic-bezier(.34,1.56,.64,1)}
.pill-nav{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.39);border-top:0;transition:gap .4s var(--spring-02),padding .4s var(--spring-02)}
.brand{transition:gap .4s var(--spring-02)}
.brand-name{transition:max-width .4s var(--spring-02),opacity .25s ease}
/* html prefix: app.js can still add .expanded after a jump-scroll; compact wins. */
html .pill-nav.compact .brand{gap:0}
html .pill-nav.compact .brand-name{max-width:0;opacity:0}
@media (max-width:809.98px){
  .pill-nav{border-color:rgba(255,255,255,.2);border-top:0}
  /* One state on phones, scrolled or not: avatar, name and menu button. */
  html .pill-nav.compact .brand{gap:8px}
  html .pill-nav .brand-name,html .pill-nav.compact .brand-name{max-width:160px;opacity:1}
}

/* Nav links: Framer "Rotation Button". The label sits on an arm pivoting
   75px to its right; on hover it swings up and out while an orange pill and
   a fresh label swing in from below (spring 0.6s, bounce 0.4). The helper
   copy is invisible and sets the width; screen readers read it. */
.nav-links a.rb{position:relative;display:inline-flex;align-items:center;height:30px;padding:0 10px;color:var(--text)}
.rb-helper{opacity:0}
.rb-arm span{color:#fff}
.rb-space{position:absolute;left:0;right:0;bottom:-5px;height:40px;overflow:hidden;pointer-events:none}
.rb-arm{position:absolute;left:0;bottom:5px;width:200%;height:30px;display:flex;align-items:center;padding:0 10px;transform-origin:100% 50%;transition:transform .6s var(--spring-04)}
.rb-a1{z-index:1}
.rb-a2{z-index:2;padding:0;transform:rotate(-18deg)}
.rb-a3{z-index:3;transform:rotate(-35deg)}
.rb-fill{width:50%;height:30px;border-radius:100px;background:#fff;opacity:0;filter:blur(2px);transition:opacity .6s var(--spring-04),filter .6s var(--spring-04),background-color .2s ease}
.rb-a3 span{opacity:0;transform:scale(.6);transform-origin:0 50%;transition:opacity .5s var(--spring-02) .03s,transform .5s var(--spring-02) .03s}
@media (hover:hover) and (pointer:fine){
  .rb:hover .rb-a1{transform:rotate(25deg)}
  .rb:hover .rb-a2{transform:rotate(0)}
  .rb:hover .rb-a3{transform:rotate(0);transition-duration:.5s;transition-delay:.03s}
  .rb:hover .rb-fill{opacity:1;filter:none;background:var(--accent)}
  .rb:hover .rb-a3 span{opacity:1;transform:none}
}
.rb:focus-visible .rb-a1{transform:rotate(25deg)}
.rb:focus-visible .rb-a2,.rb:focus-visible .rb-a3{transform:rotate(0)}
.rb:focus-visible .rb-fill{opacity:1;filter:none;background:var(--accent)}
.rb:focus-visible .rb-a3 span{opacity:1;transform:none}


/* ---------- Pointer (the Framer "Cursor" component, shared) ----------
   A 32px glass dot follows the mouse and opens into the 90px VIEW lens over
   work media (.work-visual, homepage) and case-study media (.cs2-media
   figures, .lightboxable images). Mouse only; touch keeps the system
   behaviour. The dot is the pointer (cursor:none hides the system one);
   keyboard focus is unaffected — :focus-visible outlines still render. */
html.has-fx-cursor,html.has-fx-cursor *{cursor:none!important}
/* The glass dot sits below the lightbox (z 200 vs max), so inside the lightbox
   the system cursor comes back and the dot hides. */
html:has(.portfolio-lightbox) .fx-cursor{display:none}
html.has-fx-cursor .portfolio-lightbox,html.has-fx-cursor .portfolio-lightbox *{cursor:default!important}
html.has-fx-cursor .portfolio-lightbox .lb-stage.is-zoomed{cursor:grab!important}
html.has-fx-cursor .portfolio-lightbox button{cursor:pointer!important}
html.has-fx-cursor .portfolio-lightbox button:disabled{cursor:not-allowed!important}
.fx-cursor{position:fixed;left:0;top:0;z-index:200;width:0;height:0;pointer-events:none;opacity:0;transition:opacity .2s ease}
.fx-cursor.on{opacity:1}
.spark-canvas{position:fixed;inset:0;width:100%;height:100%;z-index:300;pointer-events:none} /* click spark, app.js */
.fx-dot{position:absolute;left:-16px;top:-16px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.78);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);transition:width .4s var(--spring-02),height .4s var(--spring-02),left .4s var(--spring-02),top .4s var(--spring-02),background-color .3s ease,border-color .3s ease,transform .25s cubic-bezier(.16,1,.3,1),opacity .25s ease}
.fx-view{font-family:var(--display);font-size:13px;letter-spacing:-.02em;color:#fff;opacity:0;transition:opacity .15s ease}
.fx-cursor.is-view .fx-dot{left:-45px;top:-45px;width:90px;height:90px;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.3);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.fx-cursor.is-view .fx-view{opacity:1;transition-delay:.1s}
/* Press: the dot collapses (fast, .12s) and returns (.25s expo-out) — the
   same press/release the homepage ran through gsap, now class-driven so the
   shared cursor needs no gsap. */
.fx-cursor.is-pressed .fx-dot{transform:scale(0);opacity:0;transition:width .4s var(--spring-02),height .4s var(--spring-02),left .4s var(--spring-02),top .4s var(--spring-02),background-color .3s ease,border-color .3s ease,transform .12s ease,opacity .12s ease}

/* ---------- Outlines (owner, 2026-11-28) ----------
   No decorative ring on cards. A plain 1px outline only where the outline
   carries meaning: flow steps, branches, and outline-only cards. */
:root{--outline:1px solid rgba(255,255,255,.2)}

/* ---------- Header and footer motion (chrome.js, every page) ---------- */
/* Labels never drop below 11px (tablet preset was 10px). */
@media (max-width:1379.98px){.glass{font-size:11px}}
/* ---------- Phone menu grows from the header pill ----------
   The panel's glass is drawn by .menu-shape, whose edges JS springs from the
   pill's box out to the panel (width first, then height, as the island in
   meeting-transcriber). A real shape, not a clip, so the bounce can grow
   past the panel's edge and settle back. */
@media (max-width:809.98px){
  html.menu-morph .menu-panel{top:12px;opacity:1;transform:none;transition:none;background:none;border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
  html.menu-morph .menu-shape{position:absolute;z-index:-1;border-radius:28px;background:rgba(0,0,0,.4);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.12);pointer-events:none}
  /* The top row rides the shape's edges, so avatar, name and the menu/close
     button stay exactly where the pill had them and never fade out. */
  html.menu-morph .menu-panel .menu-top{position:absolute;z-index:1;margin:0}
  html.menu-morph .menu-panel .menu-links{margin-top:104px}
  html.menu-morph .menu-panel .menu-links a{opacity:0}
}
/* ---------- Footer bubbles (Framer BubbleCircles) ----------
   The canvas covers the panel; bubbles pile on its floor in front of the
   text, as on the live site. The badges sit above it and spin from JS. */
.bubble-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
html.has-bubbles .footer-badges{z-index:3}
html.has-bubbles .footer-badges .badge-img{transition:none}
html.has-bubbles .footer-badges .badge-img:hover{transform:none}
html.has-bubbles .bubbles-layer{display:none}

/* Stat chips (shared component, owner 2026-11-28): the homepage work cards
   and every case-study results row. A pill per result: the label, then the
   number with its trend icon; the pills wrap. */
.stat-chips{display:flex;flex-wrap:wrap;gap:12px;width:100%}
.stat-chip{display:flex;align-items:center;gap:16px;min-height:44px;padding:10px 20px;border-radius:999px;background:var(--panel)}
.stat-chip-label{margin:0;font-family:var(--font);font-size:16px;font-weight:500;line-height:1.4;letter-spacing:-.02em;color:var(--text)}
.stat-chip-num{display:flex;align-items:center;gap:6px;margin:0;font-family:var(--display);font-weight:400;font-size:20px;line-height:1.2;letter-spacing:0;color:var(--accent)}
.stat-chip-num svg{width:20px;height:20px;flex:none}
.stat-chip-num .up{color:#34C759}
.stat-chip-num .down{color:#FF383C}
@media (max-width:1379.98px){.stat-chips{gap:10px}.stat-chip{gap:12px;padding:8px 16px}.stat-chip-label{font-size:14px}.stat-chip-num{font-size:18px}.stat-chip-num svg{width:18px;height:18px}}
@media (max-width:809.98px){.stat-chips{gap:8px}.stat-chip{gap:10px;padding:8px 14px}.stat-chip-num{font-size:16px}.stat-chip-num svg{width:16px;height:16px}}

/* Line height (owner, 2026-11-28): every piece of text on the site is 150%.
   The :not(#_) adds ID weight so this beats the component rules, including
   the ones marked !important. Pseudo-elements (the quote mark) keep theirs. */
html body *:not(#_){line-height:1.5!important}
/* Exception: the hero name keeps its display leading (0.9), so "IVAN" and
   "BAYU" sit tight when the name wraps on phone (owner, 2026-11-28). */
html body .hero-name:not(#_),html body .hero-name *:not(#_){line-height:.9!important}
