/* ==========================================================
   UniforMD — site styles
   Brand: indigo #4f46e5 · ink #111340 · Sora + Outfit
   ========================================================== */
:root {
  --ink: #0d0f2e; --ink-2: #111340; --ink-3: #1b1e55;
  --indigo: #4f46e5; --violet: #8b7dff; --mint: #5ef0c5; --mint-d: #12b48a;
  --lav: #f1f0ff; --lav-2: #e6e4ff; --paper: #fafaff; --white: #fff;
  --text: #1a1c44; --muted: #666a92; --line: rgba(17, 19, 64, .1);
  --d-text: #d9dbff; --d-muted: #9a9dcb; --d-line: rgba(255, 255, 255, .1);
  --display: "Sora", system-ui, sans-serif; --body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .9, .2, 1); --ease-io: cubic-bezier(.7, 0, .2, 1);
  --pad: clamp(20px, 4.2vw, 64px); --sec: clamp(90px, 12vw, 170px);
  --r: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
::selection { background: var(--indigo); color: #fff; }
:focus-visible { outline: 2px solid var(--mint-d); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: var(--sec) 0; position: relative; }
.dark { background: var(--ink); color: var(--d-text); }

/* ---------- Type ---------- */
.display, .title, .statement { font-family: var(--display); letter-spacing: -0.04em; margin: 0; }
.display { font-weight: 600; font-size: clamp(46px, 7.4vw, 124px); line-height: .98; color: #fff; }
.display em { font-style: normal; color: var(--mint); }
.display em.alt { color: transparent; -webkit-text-stroke: 1.5px var(--violet); background: linear-gradient(100deg, var(--violet), var(--mint)); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; }
.title { font-weight: 600; font-size: clamp(34px, 4.7vw, 76px); line-height: 1.04; color: var(--ink-2); max-width: 15ch; }
.title--xl { font-size: clamp(44px, 6.4vw, 104px); }
.title em { font-style: normal; color: var(--indigo); }
.dark .title { color: #fff; }
.dark .title em { color: var(--mint); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); margin-bottom: 22px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 18%, transparent); }
.dark .kicker { color: var(--mint); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(44px, 6vw, 84px); }
.sec-note { color: var(--muted); max-width: 40ch; font-size: clamp(17px, 1.3vw, 20px); }
.dark .sec-note { color: var(--d-muted); }

/* ---------- Logo / buttons / chips ---------- */
.logo { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.04em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 3px; }
.logo b { font-weight: 700; font-size: .72em; letter-spacing: 0; background: var(--indigo); color: #fff; padding: 4px 8px; border-radius: 9px 9px 9px 3px; }
.logo--light { color: #fff; }
.btn { --bg: var(--indigo); --fg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 30px; border-radius: 999px; background: var(--bg); color: var(--fg); font-family: var(--display); font-weight: 500; font-size: 15.5px; letter-spacing: -0.01em; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); will-change: transform; }
.btn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 130%; aspect-ratio: 1; border-radius: 50%; background: var(--ink-2); transform: translate(-50%, -50%) scale(0); transition: transform .6s var(--ease); z-index: -1; }
.btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn:hover { box-shadow: 0 16px 40px -14px rgba(79, 70, 229, .7); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--mint { --bg: var(--mint); --fg: var(--ink); }
.btn--mint::before { background: #fff; }
.btn--line { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn--line::before { background: #fff; }
.btn--line:hover { color: var(--ink); }
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--full { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; padding: 9px 16px; border-radius: 999px; }
.chip--glass { color: var(--d-text); background: rgba(255, 255, 255, .07); border: 1px solid var(--d-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(94, 240, 197, .7); animation: ping 2s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(94, 240, 197, 0); } }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 400; background: var(--ink); display: none; flex-direction: column; justify-content: center; padding: 0 var(--pad); gap: 26px; transition: clip-path 1s var(--ease-io); clip-path: inset(0 0 0 0); }
.motion .loader { display: flex; }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader-row { display: flex; justify-content: space-between; align-items: end; }
.loader .logo { font-size: clamp(30px, 5vw, 60px); }
.loader-num { font-family: var(--display); font-weight: 600; font-size: clamp(60px, 13vw, 200px); line-height: .8; color: #fff; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.loader-stitch { width: 100%; height: 40px; overflow: visible; }
.loader-stitch path { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-dasharray: 14 10; vector-effect: non-scaling-stroke; clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
html.is-loading body { overflow: hidden; }

.progress-bar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 210; pointer-events: none; }
.progress-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--indigo), var(--mint)); }

/* ---------- Nav ---------- */
.nav { position: fixed; left: 50%; top: 18px; z-index: 200; transform: translateX(-50%); width: min(1180px, calc(100% - 28px)); display: flex; align-items: center; gap: 28px; padding: 10px 10px 10px 24px; border-radius: 999px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 10px 40px -18px rgba(13, 15, 46, .45), inset 0 0 0 1px rgba(255, 255, 255, .7); transition: transform .6s var(--ease), background .4s; }
.nav.is-hidden { transform: translate(-50%, -140%); }
.menu-open .nav.is-hidden { transform: translateX(-50%); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; font-size: 15px; font-weight: 500; padding: 9px 16px; border-radius: 999px; color: var(--ink-2); transition: background .3s, color .3s; }
.nav-links a:hover { background: var(--lav); }
.nav-links a.is-active { background: var(--ink-2); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink-2); position: relative; margin-left: auto; flex: 0 0 auto; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger i:first-child { top: 19px; } .burger i:last-child { top: 26px; }
.menu-open .burger i:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 190; background: var(--ink); padding: 120px var(--pad) 40px; clip-path: circle(0 at calc(100% - 50px) 50px); transition: clip-path .8s var(--ease-io); visibility: hidden; display: flex; align-items: center; }
.menu-open .menu { clip-path: circle(150vmax at calc(100% - 50px) 50px); visibility: visible; }
.menu nav { display: grid; gap: 6px; width: 100%; }
.menu a { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 10vw, 60px); letter-spacing: -0.04em; color: #fff; display: flex; align-items: baseline; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--d-line); }
.menu a small { font-size: 13px; color: var(--mint); letter-spacing: .1em; font-family: var(--body); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--ink); color: #fff; display: flex; flex-direction: column; overflow: hidden; border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); }
.weave { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow--a { width: 46vw; height: 46vw; background: rgba(79, 70, 229, .55); right: -10vw; top: -12vw; animation: drift 16s ease-in-out infinite alternate; }
.glow--b { width: 30vw; height: 30vw; background: rgba(94, 240, 197, .22); left: -8vw; bottom: 4vw; animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(6vw, 5vw) scale(1.15); } }
.hero-grid { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(24px, 4vw, 70px); padding-top: 130px; padding-bottom: 50px; }
.hero .display { margin: 26px 0 30px; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: inline-block; }
.lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--d-muted); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.fan { position: relative; aspect-ratio: 3 / 4.1; width: 100%; max-width: min(430px, 44vh); justify-self: center; perspective: 1400px; }
.fan-card { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, #f4f3ff, #dcd9ff); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transition: transform .9s var(--ease), filter .9s var(--ease), opacity .6s; transform-origin: 50% 110%; will-change: transform; }
.fan-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.fan-card span { position: absolute; left: 14px; bottom: 14px; font-family: var(--display); font-size: 13px; font-weight: 500; color: var(--ink-2); background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; }
.fan-card[data-pos="3"] { z-index: 2; transform: translate3d(calc(-17% + var(--px, 0) * 48px), calc(5% + var(--py, 0) * 26px), 0) rotate(-17deg) scale(.86); filter: brightness(.6); }
.fan-card[data-pos="4"] { z-index: 1; transform: translate3d(calc(17% + var(--px, 0) * 58px), calc(6% + var(--py, 0) * 30px), 0) rotate(17deg) scale(.82); filter: brightness(.5); }
.fan-card:not([data-pos="0"]) span { opacity: 0; }
.fan-card span { transition: opacity .5s; }
.fan-card[data-pos="0"] { z-index: 5; transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 10px), 0) rotate(calc(var(--px, 0) * 2deg)); }
.fan-card[data-pos="1"] { z-index: 4; transform: translate3d(calc(-9% + var(--px, 0) * 26px), calc(2% + var(--py, 0) * 16px), 0) rotate(-9deg) scale(.94); filter: brightness(.86); }
.fan-card[data-pos="2"] { z-index: 3; transform: translate3d(calc(9% + var(--px, 0) * 38px), calc(3% + var(--py, 0) * 22px), 0) rotate(9deg) scale(.9); filter: brightness(.72); }
.fan-card.is-leaving { transform: translate3d(-130%, -10%, 0) rotate(-24deg) !important; opacity: 0; }
.fan-badge { position: absolute; z-index: 6; right: -18px; top: 9%; width: 124px; height: 124px; border-radius: 50%; background: var(--mint); color: var(--ink); display: grid; place-content: center; text-align: center; line-height: 1; animation: bob 5s ease-in-out infinite; }
.fan-badge b { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.05em; }
.fan-badge small { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; margin-top: 5px; line-height: 1.25; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(6deg); } }

.marquee { position: relative; z-index: 2; border-top: 1px solid var(--d-line); padding: 20px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 54px; will-change: transform; }
.marquee span { font-family: var(--display); font-size: clamp(15px, 1.5vw, 20px); font-weight: 400; white-space: nowrap; color: var(--d-text); display: inline-flex; align-items: center; gap: 54px; }
.marquee span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }

/* ---------- Intro / stats ---------- */
.statement { font-weight: 500; font-size: clamp(28px, 3.9vw, 62px); line-height: 1.16; letter-spacing: -0.035em; color: var(--ink-2); max-width: 24ch; max-width: min(100%, 1180px); }
.statement b { font-weight: 600; color: var(--indigo); }
.motion .scrub .w { opacity: .14; transition: opacity .3s linear; }
.motion .scrub .w.on { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: clamp(56px, 7vw, 100px); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 28px; transition: transform .5s var(--ease), background .4s, color .4s, border-color .4s; }
.stat b { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3.2vw, 52px); letter-spacing: -0.05em; line-height: 1; color: var(--indigo); transition: color .4s; }
.stat span { font-size: 15px; color: var(--muted); line-height: 1.3; transition: color .4s; }
.stat:hover { transform: translateY(-8px); background: var(--indigo); border-color: var(--indigo); }
.stat:hover b { color: #fff; } .stat:hover span { color: #dedcff; }

/* ---------- Range ---------- */
.range { background: var(--lav); border-radius: clamp(28px, 4vw, 56px); }
.range-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.stage { position: sticky; top: 100px; height: min(calc(100vh - 130px), 760px); border-radius: 36px; background: var(--bg, #e3e0ff); transition: background .8s var(--ease); overflow: hidden; display: flex; flex-direction: column; }
.stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; left: 11%; top: 12%; border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%; background: rgba(255, 255, 255, .55); animation: blob 14s ease-in-out infinite alternate; }
@keyframes blob { to { border-radius: 58% 42% 40% 60% / 42% 58% 44% 56%; transform: rotate(18deg) scale(1.06); } }
.stage-num { position: absolute; left: 26px; top: 20px; z-index: 3; font-family: var(--display); font-weight: 600; font-size: 54px; letter-spacing: -0.05em; color: var(--ink-2); line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.stage-num small { font-size: 14px; letter-spacing: 0; font-weight: 400; opacity: .6; }
.stage-vis { position: relative; flex: 1; z-index: 2; }
.sv { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.86) translateY(30px) rotate(-4deg); transition: opacity .6s var(--ease), transform .9s var(--ease); pointer-events: none; }
.sv.on { opacity: 1; transform: none; }
.sv img { height: 100%; width: 100%; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; padding-top: 70px; }
.sv svg { width: min(62%, 380px); height: auto; filter: drop-shadow(0 30px 34px rgba(17, 19, 64, .22)); }
.stage-foot { position: relative; z-index: 3; margin: 0 16px 16px; padding: 16px 20px; border-radius: 22px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.stage-foot strong { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; color: var(--ink-2); }
.stage-kind { font-size: 13px; color: var(--muted); white-space: nowrap; }
.range-list { list-style: none; margin: 0; padding: 0; }
.ri { border-top: 1px solid var(--line); padding: 34px 0 36px; cursor: pointer; transition: opacity .5s var(--ease); }
.ri:last-child { border-bottom: 1px solid var(--line); }
.motion .ri { opacity: .34; }
.motion .ri.on, .motion .ri:hover { opacity: 1; }
.ri-head { display: flex; align-items: baseline; gap: 18px; }
.ri-n { font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--indigo); min-width: 28px; }
.ri h3 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 46px); letter-spacing: -0.04em; line-height: 1.08; margin: 0; color: var(--ink-2); transition: transform .6s var(--ease), color .4s; }
.ri.on h3 { transform: translateX(10px); color: var(--indigo); }
.ri-body { display: grid; grid-template-rows: 1fr; padding-left: 46px; }
.ri-body > div { overflow: hidden; }
.ri-body p { color: var(--muted); max-width: 46ch; padding-top: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.tags span { font-size: 13.5px; padding: 6px 13px; border-radius: 999px; background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.ri-vis { display: none; }

/* ---------- Capabilities bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid var(--d-line); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; transition: transform .6s var(--ease), border-color .4s; }
.tile:hover { border-color: rgba(139, 125, 255, .6); }
.tile h3 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; color: #fff; margin: 0 0 8px; }
.tile p { color: var(--d-muted); font-size: 16px; line-height: 1.5; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 125, 255, .28), transparent 60%); }
.spot:hover::after { opacity: 1; }
.tile--scale { grid-column: span 2; grid-row: span 2; justify-content: flex-start; background: linear-gradient(150deg, var(--indigo), #2f27a8); border-color: transparent; }
.tile--wide { grid-column: span 2; }
.tile-k { font-size: 13px !important; letter-spacing: .16em; text-transform: uppercase; color: #cfcbff !important; }
.scale-read { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.scale-read b { font-family: var(--display); font-weight: 600; font-size: clamp(64px, 8.6vw, 136px); letter-spacing: -0.06em; line-height: .95; color: #fff; font-variant-numeric: tabular-nums; }
.scale-read span { font-size: 20px; color: #cfcbff; }
.scale-label { color: var(--mint) !important; font-family: var(--display); font-weight: 500; margin-top: 6px; }
.scale-dots { display: grid; grid-template-columns: repeat(25, 1fr); gap: 5px; margin: auto 0 22px; padding-top: 26px; }
.scale-dots i { aspect-ratio: 1; border-radius: 3px; background: rgba(255, 255, 255, .16); transition: background .3s, transform .3s; }
.scale-dots i.on { background: var(--mint); transform: scale(1.08); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: grab; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #fff var(--v, 10%), rgba(255, 255, 255, .25) var(--v, 10%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .25); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: #fff; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--mint); border: 5px solid #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform .2s; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); border: 5px solid #fff; }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
.scale-ends { display: flex; justify-content: space-between; font-size: 13px; color: #cfcbff; margin-top: 4px; }
.tile-art { width: 100%; max-width: 230px; margin-bottom: auto; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile-art .dash { stroke: var(--mint); stroke-dasharray: 6 7; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.tile-swatches { display: flex; margin-bottom: auto; }
.tile-swatches i { width: 54px; height: 54px; border-radius: 50%; background: var(--c); border: 3px solid var(--ink); margin-right: -14px; transition: transform .5s var(--ease), margin .5s var(--ease); }
.tile:hover .tile-swatches i { margin-right: 4px; transform: translateY(-6px); }
.tile:hover .tile-swatches i:nth-child(2n) { transform: translateY(6px); }
.tile-chat { display: flex; flex-direction: column; gap: 8px; margin-bottom: auto; font-size: 14px; }
.tile-chat span { padding: 9px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, .1); color: #fff; align-self: flex-start; }
.tile-chat span:last-child { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--mint); color: var(--ink); transform: scale(.6); opacity: 0; transform-origin: right bottom; transition: transform .5s var(--ease) .15s, opacity .4s .15s; }
.tile:hover .tile-chat span:last-child, .tile.in .tile-chat span:last-child { transform: none; opacity: 1; }
.tile-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: auto; }
.tile-badges span { font-family: var(--display); font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(94, 240, 197, .5); color: var(--mint); transition: background .3s, color .3s; }
.tile-badges span:hover { background: var(--mint); color: var(--ink); }

/* ---------- Quality (pinned horizontal) ---------- */
.quality { position: relative; background: var(--paper); }
.q-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 90px 0 30px; }
.q-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(26px, 4vh, 54px); }
.q-head .title { max-width: 17ch; font-size: clamp(30px, 4vw, 62px); }
.q-track { display: flex; gap: 20px; padding: 10px var(--pad); will-change: transform; }
.q-card { flex: 0 0 clamp(290px, 27vw, 400px); border-radius: var(--r); background: #fff; border: 1px solid var(--line); padding: 28px; min-height: min(46vh, 400px); display: flex; flex-direction: column; position: relative; transition: background .5s, border-color .5s, color .5s; }
.q-card svg { width: 60px; height: 60px; fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin: 14px 0 auto; transition: stroke .5s, transform .8s var(--ease); }
.q-n { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--indigo); transition: color .5s; }
.q-card h3 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.03em; line-height: 1.15; margin: 26px 0 10px; color: var(--ink-2); transition: color .5s; }
.q-card p { color: var(--muted); font-size: 16px; line-height: 1.5; transition: color .5s; }
.q-card.on { background: var(--ink-2); border-color: var(--ink-2); }
.q-card.on h3 { color: #fff; } .q-card.on p { color: var(--d-muted); } .q-card.on .q-n { color: var(--mint); }
.q-card.on svg { stroke: var(--mint); transform: rotate(-8deg) scale(1.1); }
.thread { position: relative; height: 16px; margin: clamp(22px, 4vh, 44px) var(--pad) 0; background: repeating-linear-gradient(90deg, var(--line) 0 12px, transparent 12px 20px) center / 100% 2px no-repeat; }
.thread i { position: absolute; left: 0; top: 7px; height: 2px; width: calc(var(--qp, 0) * 100%); background: repeating-linear-gradient(90deg, var(--indigo) 0 12px, transparent 12px 20px); }
.needle { position: absolute; top: 0; left: calc(var(--qp, 0) * 100%); width: 40px; height: 16px; fill: var(--indigo); margin-left: -4px; }
.needle circle { fill: var(--paper); }

/* ---------- Studio ---------- */
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.studio .sec-note { margin: 22px 0 34px; }
.ctl { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 14px; }
.ctl-k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ctl-k em { display: block; font-style: normal; letter-spacing: 0; text-transform: none; font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--lav); border-radius: 999px; justify-self: start; }
.seg button { padding: 9px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .35s, color .35s, box-shadow .35s; }
.seg button[aria-pressed="true"] { background: var(--ink-2); color: #fff; box-shadow: 0 6px 16px -8px rgba(17, 19, 64, .7); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button { width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(17, 19, 64, .14); transition: transform .4s var(--ease), box-shadow .3s; }
.swatches button:hover { transform: scale(1.14) translateY(-3px); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink-2); }
.emb-input { font: inherit; font-size: 17px; width: 100%; padding: 13px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); transition: border-color .3s, box-shadow .3s; }
.emb-input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.studio .btn { margin-top: 26px; }
.mannequin { position: relative; border-radius: 40px; background: radial-gradient(90% 70% at 50% 30%, #fff, var(--lav-2)); aspect-ratio: 1 / 1.08; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.mannequin::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(79, 70, 229, .05) 0 1px, transparent 1px 26px), repeating-linear-gradient(90deg, rgba(79, 70, 229, .05) 0 1px, transparent 1px 26px); }
#garment { position: relative; width: 70%; filter: drop-shadow(0 34px 40px rgba(17, 19, 64, .28)); transition: transform .8s var(--ease); transform: rotateY(calc(var(--tx, 0) * 14deg)) rotateX(calc(var(--ty, 0) * -8deg)); }
#garment.pop { animation: pop .6s var(--ease); }
@keyframes pop { 30% { transform: scale(.94) rotate(-2deg); } 60% { transform: scale(1.04) rotate(1deg); } }
.g-body { fill: var(--gc, #4f46e5); transition: fill .7s var(--ease); }
.g-shade { fill: rgba(0, 0, 0, .14); }
.g-lapel { fill: rgba(0, 0, 0, .07); stroke: rgba(0, 0, 0, .12); stroke-width: 1; }
.g-seam { fill: none; stroke: var(--gs, rgba(255, 255, 255, .4)); stroke-width: 1.3; stroke-dasharray: 4 4; transition: stroke .5s; }
.g-btn { fill: var(--gs, rgba(255, 255, 255, .6)); }
#g-emb { stroke: var(--ge, #fff); fill: var(--ge, #fff); transition: transform .7s var(--ease), opacity .4s; }
#g-emb text { font-family: var(--display); font-size: 9px; font-weight: 600; letter-spacing: .12em; stroke: none; }
.mq-tag { position: absolute; left: 22px; top: 20px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); background: #fff; padding: 7px 13px; border-radius: 999px; z-index: 2; }
.mq-spec { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); border-radius: 18px; padding: 13px 18px; font-size: 15px; color: var(--ink-2); text-align: center; }

/* ---------- Clients ---------- */
.clients { border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.client { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--d-line); background: rgba(255, 255, 255, .04); padding: 30px 26px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: transform .6s var(--ease), background .4s; }
.client:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .08); }
.client b { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.035em; color: #fff; line-height: 1.1; }
.client span { font-size: 14.5px; color: var(--d-muted); line-height: 1.35; }
.client::before { content: ""; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--mint); background: radial-gradient(circle, var(--mint) 0 4px, transparent 5px); order: -1; transition: transform .6s var(--ease); }
.client:hover::before { transform: scale(1.2) rotate(90deg); }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--d-text); padding-top: clamp(40px, 6vw, 90px); }
.contact .title { color: #fff; max-width: 10ch; } .contact .title em { color: var(--mint); }
.contact .kicker { color: var(--mint); } .contact .sec-note { color: var(--d-muted); margin-top: 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: start; border-top: 1px solid var(--d-line); padding-top: clamp(50px, 7vw, 100px); }
.details { margin: 44px 0 0; display: grid; gap: 0; }
.details div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--d-line); }
.details dt { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--d-muted); padding-top: 4px; }
.details dd { margin: 0; color: #fff; font-size: 18px; }
.details a { background: linear-gradient(var(--mint), var(--mint)) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.details a:hover { background-size: 100% 1.5px; }
.form { background: #fff; color: var(--text); border-radius: 34px; padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { position: relative; } .f--full { grid-column: 1 / -1; }
.f input, .f textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink-2); padding: 26px 18px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); transition: border-color .3s, box-shadow .3s, background .3s; resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--indigo); background: #fff; box-shadow: 0 0 0 4px rgba(79, 70, 229, .14); }
.f label { position: absolute; left: 19px; top: 18px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), color .3s; transform-origin: left top; }
.f input:focus + label, .f input:not(:placeholder-shown) + label, .f textarea:focus + label, .f textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.72); color: var(--indigo); }
.f-k { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 12px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks button { font-size: 14.5px; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink-2); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.picks button:hover { transform: translateY(-2px); border-color: var(--indigo); }
.picks button[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.form .btn { grid-column: 1 / -1; margin-top: 6px; }
.form-status { grid-column: 1 / -1; font-size: 15px; color: var(--indigo); min-height: 1.3em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--d-muted); padding: 60px 0 30px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 16px; }
.footer nav a:hover { color: #fff; }
.footer-word { font-family: var(--display); font-weight: 700; font-size: clamp(70px, 19.5vw, 330px); letter-spacing: -0.07em; line-height: .86; margin: 40px 0 26px; white-space: nowrap; background: linear-gradient(180deg, rgba(139, 125, 255, .5), rgba(139, 125, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; border-top: 1px solid var(--d-line); padding-top: 22px; }

.wa { position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 58px; height: 58px; border-radius: 50%; background: #1faa64; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31, 170, 100, .8); transition: transform .5s var(--ease); }
.wa:hover { transform: scale(1.1) rotate(-8deg); }
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .motion .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; mix-blend-mode: difference; }
  .cursor i { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; transition: transform .45s var(--ease); }
  .cursor.is-link i { transform: scale(3.6); }
  .cursor span { position: absolute; left: 22px; top: 14px; font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #fff; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
  .cursor.has-label span { opacity: 1; transform: none; }
  .cursor.has-label i { transform: scale(2.4); }
}

/* ---------- Motion states (only when JS + motion allowed) ---------- */
.motion [data-r] { opacity: 0; transform: translateY(44px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.motion [data-r].in { opacity: 1; transform: none; }
.motion [data-in] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease) var(--d, .2s), transform 1.1s var(--ease) var(--d, .2s); }
.motion .is-ready [data-in] { opacity: 1; transform: none; }
.motion .line > span { transform: translateY(112%) rotate(4deg); transform-origin: left top; transition: transform 1.2s var(--ease); }
.motion .is-ready .line > span { transform: none; }
.motion .is-ready .line:nth-child(2) > span { transition-delay: .1s; }
.motion .is-ready .line:nth-child(3) > span { transition-delay: .2s; }
.split .m { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.motion .split .m > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.motion .split.in .m > span { transform: none; }
.tile-art .draw { stroke-dasharray: 400; stroke-dashoffset: 0; }
.motion .tile .draw:not(.dash) { stroke-dashoffset: 400; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.motion .tile.in .draw:not(.dash) { stroke-dashoffset: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav .btn { display: none; }
  .burger { display: block; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero-grid, .range-grid, .studio-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 120px; }
  .fan { max-width: 300px; margin-top: 10px; }
  .fan-badge { width: 96px; height: 96px; right: -30px; } .fan-badge b { font-size: 30px; } .fan-badge small { font-size: 9.5px; }
  .sec-head, .q-head { flex-direction: column; align-items: start; gap: 18px; }
  .stage { display: none; }
  .motion .ri { opacity: 1; }
  .ri { cursor: default; }
  .ri-body { grid-template-rows: 1fr; padding-left: 0; }
  .ri.on h3 { transform: none; color: var(--ink-2); }
  .ri-vis { display: grid; place-items: center; position: relative; margin-top: 22px; border-radius: 26px; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--bg); }
  .ri-vis img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; padding-top: 14px; }
  .ri-vis svg { width: 46%; filter: drop-shadow(0 20px 24px rgba(17, 19, 64, .2)); }
  /* Quality becomes a swipeable row */
  .quality { height: auto !important; }
  .q-pin { position: relative; height: auto; padding: var(--sec) 0; }
  .q-track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; scrollbar-width: none; }
  .q-track::-webkit-scrollbar { display: none; }
  .q-card { flex-basis: 80vw; scroll-snap-align: center; min-height: 340px; }
  .thread { display: none; }
  .mannequin { order: -1; }
}
@media (max-width: 600px) {
  .display { font-size: 13.4vw; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento, .client-grid, .form { grid-template-columns: 1fr; }
  .tile--scale, .tile--wide { grid-column: auto; }
  .tile { min-height: 240px; }
  .scale-dots { grid-template-columns: repeat(20, 1fr); }
  .ctl { grid-template-columns: 1fr; gap: 10px; }
  .client { min-height: 150px; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .cta-row .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Real brand assets ---------- */
.logo img { height: 36px; width: auto; }
.logo--light img { filter: none; }
.loader .logo img { height: clamp(36px, 5vw, 60px); }
.footer .logo img { height: 40px; }
.stage-num { background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 10px 16px; border-radius: 18px; left: 16px; top: 16px; font-size: 40px; }
.sv.cover img, .ri-vis.cover img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; object-fit: cover; object-position: center; mix-blend-mode: normal; }
.client::before { display: none; }
.crest { order: -1; width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; padding: 8px; transition: transform .6s var(--ease); box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .6); }
.crest img { width: 100%; height: 100%; object-fit: contain; }
.client:hover .crest { transform: scale(1.12) rotate(-6deg); }

/* ---------- Form: spam trap + sending state ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn:disabled { opacity: .6; pointer-events: none; }
.form-status a { text-decoration: underline; }
