:root {
  --bg: #060611;
  --bg-soft: #090916;
  --panel: #0d0d20;
  --panel-2: #111126;
  --text: #f6f4fb;
  --muted: #aaa6b6;
  --muted-2: #787485;
  --line: rgba(164, 143, 208, .18);
  --line-strong: rgba(170, 143, 226, .34);
  --purple: #8b5cf6;
  --purple-light: #c0a9ff;
  --pink: #e35eb5;
  --green: #63d6a2;
  --shell: min(1280px, calc(100% - 64px));
  --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: radial-gradient(ellipse at 78% 3%, rgba(112,58,216,.14), transparent 32%), linear-gradient(180deg,#060611 0%,#070711 70%,#05050c 100%); pointer-events: none; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
svg { display: block; width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-heading); }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 940px; }
.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; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: #fff; color: #000; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 1001; height: 2px; }
.scroll-progress span { display: block; width: 100%; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg,var(--purple),var(--pink)); }
.grid-frame { position: relative; max-width: 1536px; margin-inline: auto; border-inline: 1px solid var(--line); }
.grid-frame::before, .grid-frame::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none; }
.grid-frame::before { left: 25%; }
.grid-frame::after { right: 25%; }
.section { padding: 140px 0; }

.site-header { position: fixed; z-index: 100; top: 0; width: 100%; border-bottom: 1px solid transparent; transition: background .3s,border-color .3s,backdrop-filter .3s; }
.site-header.scrolled { background: rgba(6,6,17,.8); border-color: var(--line); backdrop-filter: blur(18px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 4px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.brand-lockup { gap: 16px; }
.brand-descriptor {
  max-width: 250px;
  color: rgba(225,220,238,.76);
  font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .09em;
  text-transform: none;
  transition: color .25s ease;
}
.brand-lockup:hover .brand-descriptor { color: rgba(246,243,255,.94); }
.brand-logo { display: block; width: 50px; height: 50px; flex: 0 0 50px; border-radius: 12px; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 29px; color: #c4c0cf; font-size: 13px; font-weight: 500; }
.site-nav > a:not(.button) { padding: 10px 0; border-bottom: 1px solid transparent; transition: color .2s,border-color .2s; }
.site-nav > a:not(.button):hover, .site-nav > a[aria-current="page"] { color: #fff; border-color: var(--purple); }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 5px; background: currentColor; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; padding: 0 24px; border: 1px solid rgba(187,158,255,.45); border-radius: 10px; color: #fff; background: linear-gradient(135deg,#9a5cff,#6f35ed); box-shadow: 0 12px 38px rgba(110,53,237,.24), inset 0 1px rgba(255,255,255,.22); font-size: 14px; font-weight: 600; cursor: pointer; transition: transform .25s,box-shadow .25s,border-color .25s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(110,53,237,.34), inset 0 1px rgba(255,255,255,.22); }
.button-small { min-height: 44px; padding: 0 17px; }
.button-ghost { background: rgba(13,13,29,.55); box-shadow: none; border-color: rgba(181,157,235,.32); }
.button-ghost:hover { border-color: var(--purple-light); box-shadow: 0 12px 32px rgba(66,34,130,.18); }
.button:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 4px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #d9ccfa; font-size: 13px; font-weight: 600; }
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }

.eyebrow, .section-number { margin: 0 0 18px; color: var(--purple-light); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.section-intro { position: relative; z-index: 2; max-width: 850px; margin-bottom: 70px; }
.section-intro.centered { margin-inline: auto; text-align: center; }
.section-intro h2 { margin: 0; font-size: clamp(42px,4.2vw,64px); font-weight: 600; line-height: 1.08; letter-spacing: -.055em; }
.section-intro > p:last-child { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.section-intro.centered > p:last-child { margin-inline: auto; }

.hero { min-height: 920px; padding: 108px 0 102px; display: grid; align-items: center; overflow: hidden; border-top: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 88px 0 0; background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 100% 230px,25% 100%; mask-image: linear-gradient(to bottom,transparent,#000 14%,#000 82%,transparent); opacity: .4; }
.hero-glow, .page-glow, .contact-glow { position: absolute; pointer-events: none; background: radial-gradient(ellipse,rgba(123,69,237,.26),rgba(31,16,75,.1) 38%,transparent 70%); filter: blur(10px); }
.hero-glow { width: 1000px; height: 700px; right: -100px; top: -190px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .98fr 1.02fr; gap: 40px; align-items: center; }
.hero-copy { max-width: 690px; }
.hero h1 { margin: 0; font-size: clamp(54px,4.8vw,78px); font-weight: 600; line-height: 1.02; letter-spacing: -.065em; }
.hero h1 span { color: var(--purple-light); }
.hero-lede { max-width: 650px; margin: 28px 0 0; color: #bbb7c5; font-size: 17px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-assurance { margin-top: 30px; }
.hero-assurance p { display: flex; align-items: center; gap: 9px; margin: 0; color: #c2bdcb; font-size: 13px; }
.hero-assurance p svg { color: var(--green); }
.hero-assurance small { display: block; margin: 8px 0 0 29px; color: var(--muted-2); font-size: 11px; }
.scroll-cue { position: absolute; bottom: 34px; left: 50%; z-index: 4; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 28px; background: linear-gradient(var(--purple),transparent); animation: cue 2s infinite ease-in-out; }

.network-wrap { position: relative; min-height: 620px; isolation: isolate; }
.network-wrap::before { content: ""; position: absolute; inset: 11% 8%; border-radius: 50%; background: radial-gradient(circle,rgba(114,62,230,.18),transparent 62%); filter: blur(20px); }
.network-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(147,109,231,.18); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 430px; height: 430px; animation: spin 25s linear infinite; }
.orbit-two { width: 560px; height: 560px; border-style: dashed; animation: spin-reverse 38s linear infinite; }
.orbit-one::after, .orbit-two::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--purple-light); box-shadow: 0 0 18px 5px rgba(139,92,246,.5); }
.orbit-one::after { top: 30px; left: 76px; }
.orbit-two::after { bottom: 18px; right: 90px; }
.network-core { position: absolute; z-index: 5; top: 50%; left: 50%; width: 300px; min-height: 245px; transform: translate(-50%,-50%); overflow: hidden; border: 1px solid rgba(179,151,242,.65); border-radius: 20px; background: linear-gradient(145deg,rgba(20,20,48,.98),rgba(8,8,24,.97)); box-shadow: 0 25px 80px rgba(0,0,0,.52),0 0 42px rgba(114,59,231,.2),inset 0 0 32px rgba(121,76,218,.1); }
.core-top { height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.core-top span { width: 6px; height: 6px; border-radius: 50%; background: #575273; }
.core-top b { margin-left: auto; color: var(--muted-2); font-size: 8px; font-weight: 500; }
.core-content { display: flex; flex-direction: column; align-items: center; padding: 24px; text-align: center; }
.core-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(168,131,246,.25); border-radius: 14px; color: var(--purple-light); background: rgba(130,82,236,.14); }
.core-icon svg { width: 24px; height: 24px; }
.core-content small { margin-top: 13px; color: var(--purple-light); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.core-message { width: 100%; min-height: 70px; display: flex; flex-direction: column; align-items: center; transition: opacity .22s ease,transform .22s ease; }
.core-message.is-changing { opacity: 0; transform: translateY(4px); }
.core-content strong { margin-top: 4px; font-family: var(--font-heading); font-size: 20px; }
.core-content p { min-height: 40px; margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.core-status { display: flex; align-items: center; gap: 7px; margin-top: 9px; padding: 6px 10px; border: 1px solid rgba(99,214,162,.2); border-radius: 20px; color: #a2e9c8; background: rgba(38,122,87,.09); font-size: 8px; }
.core-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); }
.module-node { position: absolute; z-index: 8; width: 108px; min-height: 78px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; border: 1px solid rgba(168,146,221,.27); border-radius: 14px; color: #aaa5b9; background: linear-gradient(145deg,rgba(16,16,39,.97),rgba(8,8,21,.95)); box-shadow: 0 12px 35px rgba(0,0,0,.32); cursor: pointer; transition: transform .25s,border-color .25s,color .25s,box-shadow .25s; }
.module-node svg { width: 23px; height: 23px; }
.module-node span { max-width: calc(100% - 6px); font-size: 8.4px; line-height: 1.15; text-align: center; white-space: nowrap; }
.module-node:hover, .module-node:focus-visible, .module-node.active { color: #fff; border-color: var(--purple-light); transform: translateY(-4px) scale(1.04); box-shadow: 0 15px 40px rgba(0,0,0,.42),0 0 28px rgba(123,72,238,.25); }
.compact-network .n1 { left: 2%; top: 16%; }
.compact-network .n2 { right: 2%; top: 16%; }
.compact-network .n3 { left: 2%; bottom: 16%; }
.compact-network .n4 { right: 2%; bottom: 16%; }
.network-lines .line { position: absolute; z-index: 3; left: 50%; top: 50%; width: 145px; height: 1px; overflow: hidden; background: linear-gradient(90deg,rgba(136,91,239,.72),rgba(136,91,239,.12)); transform-origin: left; }
.network-lines .line::after { content: ""; position: absolute; width: 28px; height: 100%; background: linear-gradient(90deg,transparent,#d5c4ff,transparent); animation: travel 2.4s infinite ease-in-out; }
.network-lines .l1 { transform: rotate(216deg) translateX(150px); }
.network-lines .l2 { transform: rotate(324deg) translateX(150px); }
.network-lines .l3 { transform: rotate(144deg) translateX(150px); }
.network-lines .l4 { transform: rotate(36deg) translateX(150px); }

.problem-section { background: linear-gradient(180deg,transparent,rgba(10,10,24,.72),transparent); }
.problem-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 110px; align-items: end; }
.problem-layout .section-intro { margin: 0; }
.problem-points { border-top: 1px solid var(--line); }
.problem-points div { min-height: 102px; display: grid; grid-template-columns: 55px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.problem-points span { color: var(--purple-light); font-size: 10px; }
.problem-points strong { font-family: var(--font-heading); font-size: 19px; font-weight: 500; }

.solution-section { background: #080814; }
.solution-section .section-intro { max-width: 930px; margin-bottom: 62px; }
.growth-path { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line); }
.growth-step { display: contents; }
.growth-trigger { position: relative; min-height: 154px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 28px 24px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); background: transparent; text-align: left; cursor: pointer; transition: color .25s,background .25s; }
.growth-step:first-child .growth-trigger { border-left: 1px solid var(--line); }
.growth-step:nth-child(1) .growth-trigger { grid-column: 1; grid-row: 1; }
.growth-step:nth-child(2) .growth-trigger { grid-column: 2; grid-row: 1; }
.growth-step:nth-child(3) .growth-trigger { grid-column: 3; grid-row: 1; }
.growth-step:nth-child(4) .growth-trigger { grid-column: 4; grid-row: 1; }
.growth-trigger::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: linear-gradient(90deg,var(--purple),var(--pink)); transition: right .3s ease; }
.growth-trigger:hover, .growth-trigger:focus-visible, .growth-step.active .growth-trigger { color: var(--text); background: rgba(139,92,246,.045); }
.growth-step.active .growth-trigger::after { right: 0; }
.growth-number { align-self: start; padding-top: 3px; color: var(--purple-light); font-size: 10px; letter-spacing: .12em; }
.growth-label { display: flex; flex-direction: column; gap: 7px; }
.growth-label small { color: inherit; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.growth-label strong { max-width: 16ch; color: var(--text); font-family: var(--font-heading); font-size: 19px; font-weight: 600; line-height: 1.24; letter-spacing: -.025em; }
.growth-trigger > svg { width: 18px; height: 18px; opacity: .48; transition: opacity .25s,transform .25s; }
.growth-trigger:hover > svg, .growth-trigger:focus-visible > svg, .growth-step.active .growth-trigger > svg { opacity: 1; transform: translateX(3px); }
.growth-panel { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); gap: clamp(45px,7vw,100px); padding: clamp(42px,5vw,66px); border: 1px solid var(--line); border-top: 0; background: linear-gradient(120deg,rgba(139,92,246,.075),rgba(13,13,32,.38) 55%,rgba(227,94,181,.035)); animation: growth-panel-in .28s ease both; }
.growth-panel[hidden] { display: none; }
.growth-panel-number { margin: 0 0 14px; color: var(--purple-light); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.growth-panel h3 { margin: 0; font-size: clamp(30px,3vw,42px); line-height: 1.1; letter-spacing: -.045em; }
.growth-panel > div:first-child > p:last-child { max-width: 680px; margin: 18px 0 0; color: #bbb7c5; font-size: 15px; }
.growth-panel-side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 26px; }
.growth-panel ul { width: 100%; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.growth-panel li { padding: 9px 0; border-bottom: 1px solid var(--line); color: #c4bfcc; font-size: 12px; }
.growth-panel li::before { content: "·"; margin-right: 10px; color: var(--purple-light); }
.growth-note { margin: 24px 0 0; color: var(--muted-2); font-size: 12px; text-align: center; }
@keyframes growth-panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.projects-preview .section-intro { max-width: 800px; }
.project-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.project-card { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(340px,.75fr); align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(13,13,31,.68); transition: transform .3s,border-color .3s; }
.project-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.project-placeholder { position: relative; min-height: 350px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 30% 20%,rgba(139,92,246,.36),transparent 35%),linear-gradient(145deg,#221341,#0b0b1d 70%); }
.project-placeholder::before { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(200,180,255,.17); border-radius: 50%; box-shadow: 0 0 0 45px rgba(139,92,246,.035),0 0 0 90px rgba(139,92,246,.025); }
.project-placeholder.dance { background: radial-gradient(circle at 70% 25%,rgba(227,94,181,.28),transparent 35%),linear-gradient(145deg,#291332,#0b0b1d 70%); }
.project-placeholder > span { position: relative; z-index: 2; display: grid; place-items: center; width: 105px; height: 105px; border: 1px solid rgba(207,189,255,.4); border-radius: 28px; font-family: var(--font-heading); font-size: 40px; font-weight: 600; background: rgba(8,8,24,.6); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.project-placeholder > small { position: absolute; z-index: 2; bottom: 28px; color: #aaa4b7; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.project-image { position: relative; overflow: hidden; background: #0b0916; }
.project-image::before { display: none; }
.project-image img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.project-card .project-placeholder { min-height: 0; aspect-ratio: 1586/992; }
.project-card .project-image img { object-fit: cover; }
.project-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px,4vw,56px); }
.project-type { margin: 0 0 12px; color: var(--purple-light); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.project-copy h3 { margin: 0 0 18px; font-size: clamp(30px,2.5vw,38px); line-height: 1.12; letter-spacing: -.035em; }
.project-copy > p:not(.project-type) { max-width: 43ch; min-height: 0; margin: 0 0 28px; color: #c2bdcb; font-size: 16px; line-height: 1.7; }
.project-copy .text-link { font-size: 15px; }

.personal-cta { position: relative; overflow: hidden; background: linear-gradient(145deg,#110d24,#070711 65%); }
.contact-glow { width: 900px; height: 700px; left: -150px; top: -320px; }
.personal-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; align-items: center; }
.portrait-placeholder { position: relative; aspect-ratio: 4/5; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 26px; background: linear-gradient(145deg,#15122b,#080818); }
.portrait-placeholder::before { content: ""; position: absolute; inset: 24px; border: 1px solid var(--line); border-radius: 18px; }
.portrait-placeholder > span { position: relative; z-index: 2; display: grid; place-items: center; width: 110px; height: 110px; border: 1px solid rgba(180,153,240,.4); border-radius: 50%; background: rgba(139,92,246,.14); font-family: var(--font-heading); font-size: 38px; font-weight: 600; }
.portrait-placeholder small { position: absolute; bottom: 40px; color: var(--muted-2); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.portrait-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle,rgba(126,68,237,.25),transparent 65%); }
.portrait-photo::before { z-index: 2; border-color: rgba(224,214,255,.25); pointer-events: none; }
.portrait-photo::after { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(180deg,transparent 62%,rgba(7,7,20,.24)); box-shadow: inset 0 0 55px rgba(7,7,20,.16); }
.portrait-photo img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 36%; }
.personal-copy h2 { max-width: 780px; margin: 0; font-size: clamp(42px,4.2vw,64px); font-weight: 600; line-height: 1.08; letter-spacing: -.055em; }
.personal-copy > p:not(.section-number) { max-width: 700px; margin: 26px 0 0; color: #bbb6c5; font-size: 17px; }
.closing-cta { max-width: 720px; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.closing-cta h3 { max-width: 620px; margin: 0 0 24px; font-size: 26px; line-height: 1.3; }
.closing-cta small, .contact-placeholder { display: block; margin-top: 12px; color: var(--muted-2); font-size: 10px; }

.page-hero { min-height: 680px; padding: 190px 0 110px; display: flex; align-items: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 88px 0 0; background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 100% 220px,25% 100%; mask-image: linear-gradient(to bottom,transparent,#000 20%,#000 80%,transparent); opacity: .35; }
.page-glow { width: 950px; height: 650px; right: -120px; top: -220px; }
.page-hero .narrow { position: relative; z-index: 2; }
.page-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(58px,6vw,92px); font-weight: 600; line-height: 1.02; letter-spacing: -.065em; }
.page-hero .narrow > p:not(.eyebrow):not(.page-principle) { max-width: 770px; margin: 30px 0 0; color: #bbb7c5; font-size: 19px; }
.page-principle { display: inline-block; margin: 32px 0 0; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 10px; color: #d8cdf3; background: rgba(139,92,246,.06); font-size: 12px; }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-card { min-height: 340px; padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: rgba(13,13,31,.58); }
.service-number { color: var(--purple-light); font-size: 10px; }
.service-card h3 { margin: 48px 0 13px; font-size: 30px; }
.service-card p { max-width: 510px; margin: 0; color: var(--muted); font-size: 14px; }
.service-card ul { margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; color: #c4bfcc; font-size: 12px; }
.service-card li { margin-top: 7px; }
.service-card li::before { content: "·"; margin-right: 10px; color: var(--purple-light); }

.possibility-nav { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4,1fr); margin-top: -36px; border: 1px solid var(--line); background: rgba(8,8,20,.92); backdrop-filter: blur(16px); }
.possibility-nav a { min-height: 72px; display: flex; align-items: center; gap: 15px; padding: 0 22px; border-right: 1px solid var(--line); color: #c6c1ce; font-size: 13px; transition: color .2s,background .2s; }
.possibility-nav a:last-child { border-right: 0; }
.possibility-nav a:hover, .possibility-nav a:focus-visible { color: #fff; background: rgba(139,92,246,.07); }
.possibility-nav span { color: var(--purple-light); font-size: 9px; letter-spacing: .12em; }
.possibility-section { scroll-margin-top: 85px; }
.possibility-section.alt { background: #080814; }
.possibility-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr); gap: clamp(70px,10vw,150px); align-items: start; }
.possibility-grid h2 { max-width: 720px; margin: 0; font-size: clamp(44px,4.6vw,68px); line-height: 1.05; letter-spacing: -.055em; }
.possibility-grid > div > p:last-child { max-width: 680px; margin: 25px 0 0; color: var(--muted); font-size: 17px; }
.possibility-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.possibility-list li { position: relative; padding: 17px 18px 17px 32px; border-bottom: 1px solid var(--line); color: #c8c3cf; font-size: 13px; }
.possibility-list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--purple-light); transform: translateY(-50%); box-shadow: 0 0 14px rgba(192,169,255,.45); }

.integrations { overflow: hidden; background: #080814; }
.integration-cloud { display: grid; gap: 14px; }
.marquee { position: relative; width: 100%; overflow: hidden; padding: 2px 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; width: 150px; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg,#080814,transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg,#080814,transparent); }
.marquee-track { width: max-content; display: flex; gap: 16px; animation: marquee 34s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 39s; }
.integration-set { display: flex; gap: 16px; }
.integration-item { width: 148px; min-height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); border-radius: 17px; color: #aaa6b5; background: linear-gradient(145deg,rgba(20,20,43,.9),rgba(9,9,22,.92)); font-family: var(--font-heading); font-size: 11px; }
.integration-icon { width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid rgba(179,151,241,.2); border-radius: 15px; background: rgba(255,255,255,.045); }
.integration-icon img { display: block; width: 34px; height: 34px; object-fit: contain; }

.closing-band { background: linear-gradient(145deg,#100d21,#070711 70%); }
.closing-band-inner { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.closing-band-inner h2 { max-width: 800px; margin: 0; font-size: clamp(40px,4vw,60px); line-height: 1.08; letter-spacing: -.05em; }
.closing-band-inner p:not(.section-number) { margin: 20px 0 0; color: var(--muted); }
.closing-band-inner .button { flex: 0 0 auto; }

.process-page { padding-top: 80px; }
.process-timeline { max-width: 1120px; margin-inline: auto; }
.timeline-step { position: relative; display: grid; grid-template-columns: 340px 56px 1fr; gap: 36px; align-items: center; min-height: 470px; padding: 65px 0; border-bottom: 1px solid var(--line); }
.timeline-step::before { content: ""; position: absolute; top: 0; bottom: 0; left: 367px; width: 1px; background: var(--line); }
.timeline-visual { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #0b0b1d; }
.timeline-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.timeline-placeholder { display: grid; place-items: center; background: radial-gradient(circle,rgba(139,92,246,.2),transparent 55%),#0b0b1d; }
.timeline-placeholder span { font-family: var(--font-heading); font-size: 48px; color: var(--purple-light); }
.timeline-placeholder small { position: absolute; bottom: 26px; color: var(--muted-2); font-size: 8px; letter-spacing: .11em; text-transform: uppercase; }
.step-badge { position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; background: linear-gradient(145deg,#a55eff,#6b32ef); font-family: var(--font-heading); font-weight: 700; }
.timeline-copy h2 { margin: 0 0 18px; font-size: 36px; line-height: 1.15; letter-spacing: -.04em; }
.timeline-copy > p:not(.section-number) { margin: 0; color: var(--muted); font-size: 14px; }
.check-list { display: grid; gap: 11px; margin: 25px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; color: #c1bdc9; font-size: 12px; }
.check-list svg { flex: 0 0 17px; color: var(--purple-light); }

.case-section { scroll-margin-top: 80px; }
.case-section.alt { background: #080814; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.case-section.alt .case-visual { order: 2; }
.case-visual { min-height: 600px; border: 1px solid var(--line-strong); border-radius: 24px; }
.case-visual.project-image { min-height: 0; aspect-ratio: 1586/992; }
.case-visual.project-image img { object-fit: cover; }
.case-copy h2 { margin: 0; font-size: clamp(48px,5vw,72px); letter-spacing: -.055em; line-height: 1.05; }
.case-lede { margin: 22px 0 34px; color: #c2bdcb; font-size: 17px; }
.case-facts { border-top: 1px solid var(--line); }
.case-facts div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.case-facts span { color: var(--purple-light); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.case-facts p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.case-facts strong { color: #d1ccd8; font-weight: 500; }
.case-facts a { color: #cbb8ff; border-bottom: 1px solid rgba(203,184,255,.45); transition: color .2s,border-color .2s; }
.case-facts a:hover, .case-facts a:focus-visible { color: #fff; border-color: #fff; }

.about-page-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; align-items: start; }
.portrait-placeholder.large { max-width: 500px; width: 100%; }
.about-story h2 { margin: 0; font-size: clamp(43px,4.2vw,64px); line-height: 1.08; letter-spacing: -.055em; }
.about-story > p:not(.section-number) { max-width: 720px; margin: 25px 0 0; color: var(--muted); font-size: 16px; }
.about-story .bio-subheading { max-width: 720px; margin: 44px 0 0; padding-top: 32px; border-top: 1px solid var(--line); font-size: 30px; line-height: 1.2; letter-spacing: -.035em; }
.about-story > p.about-manifesto { margin-top: 32px; padding: 20px 22px; border: 1px solid rgba(181,157,235,.27); border-radius: 14px; color: #eeeaf7; background: rgba(139,92,246,.07); line-height: 1.6; }
.about-story .check-list { grid-template-columns: 1fr 1fr; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.bio-depth { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(160deg,#090917 0%,#070711 55%,#0d0920 100%); }
.bio-depth::before { content: ""; position: absolute; width: 760px; height: 760px; left: -360px; top: 100px; border-radius: 50%; background: radial-gradient(circle,rgba(124,74,234,.13),transparent 68%); pointer-events: none; }
.bio-depth-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); gap: clamp(70px,8vw,130px); align-items: start; }
.bio-depth-intro { position: sticky; top: 140px; }
.bio-depth-intro h2 { max-width: 500px; margin: 0; font-size: clamp(46px,4.8vw,70px); line-height: 1.03; letter-spacing: -.058em; }
.bio-depth-intro > p:last-child { max-width: 470px; margin: 28px 0 0; color: #c1bcc9; font-size: 17px; line-height: 1.75; }
.bio-depth-content { border-top: 1px solid var(--line-strong); }
.bio-chapter { padding: 0 0 54px; margin-top: 54px; border-bottom: 1px solid var(--line); }
.bio-chapter:first-child { margin-top: 46px; }
.bio-chapter h3 { max-width: 720px; margin: 0 0 26px; font-size: clamp(29px,3vw,42px); font-weight: 550; line-height: 1.15; letter-spacing: -.04em; }
.bio-chapter p { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.78; }
.bio-chapter p:first-of-type { margin-top: 0; }
.bio-manifesto { max-width: 780px; margin: 54px 0 0; padding: clamp(28px,4vw,42px); border: 1px solid rgba(187,158,255,.3); border-radius: 22px; background: linear-gradient(145deg,rgba(139,92,246,.12),rgba(139,92,246,.035)); box-shadow: 0 28px 80px rgba(0,0,0,.16); }
.bio-manifesto p { margin: 0; color: #f1edf8; font-family: var(--font-heading); font-size: clamp(23px,2.4vw,34px); line-height: 1.35; letter-spacing: -.025em; }
.bio-manifesto strong { display: block; margin-top: 22px; color: var(--purple-light); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.principles { background: #080814; }
.principle-list { border-top: 1px solid var(--line); }
.principle-list article { display: grid; grid-template-columns: 80px 260px 1fr; gap: 24px; align-items: center; min-height: 130px; border-bottom: 1px solid var(--line); }
.principle-list span { color: var(--purple-light); font-size: 10px; }
.principle-list h3 { margin: 0; font-size: 24px; }
.principle-list p { margin: 0; color: var(--muted); font-size: 13px; }

.site-footer { padding: 78px 0 128px; background: #05050c; }
.footer-main { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 65px; padding-bottom: 64px; }
.footer-main > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-main > div:first-child p { max-width: 300px; color: var(--muted); font-size: 12px; }
.footer-main h3 { margin: 6px 0 10px; color: #777283; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.footer-main a:not(.wordmark), .footer-placeholder { color: #aaa5b5; font-size: 11px; }
.footer-main a:hover { color: #fff; }
.footer-placeholder { color: #666270; }
.footer-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); color: #666270; font-size: 9px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease,transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.solution-item:nth-child(2), .project-card:nth-child(2), .service-card:nth-child(2), .principle-list article:nth-child(2) { transition-delay: .08s; }
.solution-item:nth-child(3), .project-card:nth-child(3), .service-card:nth-child(3), .principle-list article:nth-child(3) { transition-delay: .16s; }
.service-card:nth-child(4) { transition-delay: .24s; }
@keyframes cue { 0%,100%{transform:scaleY(.45);transform-origin:top;opacity:.4}50%{transform:scaleY(1);opacity:1} }
@keyframes spin { to{transform:translate(-50%,-50%) rotate(360deg)} }
@keyframes spin-reverse { to{transform:translate(-50%,-50%) rotate(-360deg)} }
@keyframes travel { 0%{transform:translateX(0);opacity:0}25%{opacity:1}80%{opacity:1}100%{transform:translateX(118px);opacity:0} }
@keyframes marquee { to{transform:translateX(calc(-50% - 8px))} }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 44px,1000px); }
  .site-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
  .network-wrap { transform: scale(.85); margin-inline: -7%; }
  .problem-layout, .personal-grid, .about-page-grid { gap: 60px; }
  .case-grid { gap: 55px; }
  .timeline-step { grid-template-columns: 300px 52px 1fr; gap: 28px; }
  .timeline-step::before { left: 325px; }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 36px,760px); }
  .section { padding: 105px 0; }
  .grid-frame::before, .grid-frame::after { display: none; }
  .header-inner { min-height: 76px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 76px; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(9,9,22,.98); box-shadow: 0 25px 60px rgba(0,0,0,.5); }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 14px; }
  .site-nav > a:not(.button) { border-bottom: 1px solid var(--line); }
  .site-nav .button { margin-top: 8px; }
  .hero { min-height: auto; padding: 118px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .network-wrap { min-height: 620px; transform: scale(.9); margin: 10px 0 0; }
  .scroll-cue { display: none; }
  .problem-layout, .personal-grid, .about-page-grid, .case-grid { grid-template-columns: 1fr; }
  .problem-layout { align-items: start; gap: 65px; }
  .growth-path { display: block; }
  .growth-step { display: block; }
  .growth-trigger { width: 100%; min-height: 112px; grid-template-columns: 42px 1fr auto; border-right: 0; }
  .growth-step:first-child .growth-trigger { border-left: 0; }
  .growth-panel { grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr); border-inline: 0; }
  .portrait-placeholder { width: min(100%,500px); margin-inline: auto; }
  .project-grid, .service-grid { grid-template-columns: 1fr; }
  .project-card { display: block; }
  .page-hero { min-height: 600px; padding: 160px 0 95px; }
  .possibility-nav { grid-template-columns: 1fr 1fr; margin-top: -28px; }
  .possibility-nav a:nth-child(2) { border-right: 0; }
  .possibility-nav a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .possibility-grid { grid-template-columns: 1fr; gap: 55px; }
  .timeline-step { grid-template-columns: 240px 48px 1fr; gap: 22px; }
  .timeline-step::before { left: 262px; }
  .case-section.alt .case-visual { order: 0; }
  .case-visual { min-height: 500px; }
  .bio-depth-grid { grid-template-columns: 1fr; gap: 64px; }
  .bio-depth-intro { position: static; }
  .bio-depth-intro > p:last-child { max-width: 680px; }
  .principle-list article { grid-template-columns: 60px 210px 1fr; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 2; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .section { padding: 86px 0; }
  .header-inner { min-height: 70px; }
  .wordmark { font-size: 18px; }
  .brand-lockup { gap: 10px; }
  .brand-descriptor {
    max-width: 142px;
    font-size: 8.5px;
    line-height: 1.4;
    letter-spacing: .06em;
  }
  .site-header.scrolled .brand-descriptor {
    max-width: 118px;
    font-size: 8px;
  }
  .site-header.scrolled .header-inner > .button-small {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 12px;
  }
  .brand-logo { width: 44px; height: 44px; flex-basis: 44px; border-radius: 10px; }
  .hero { padding-top: 104px; }
  .hero h1 { font-size: 46px; line-height: 1.05; }
  .hero-lede { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-assurance p { align-items: flex-start; font-size: 11px; }
  .network-wrap { min-height: 495px; transform: none; }
  .network-core { width: 238px; min-height: 218px; }
  .core-content { padding: 17px; }
  .network-orbit.orbit-one { width: 300px; height: 300px; }
  .network-orbit.orbit-two { width: 400px; height: 400px; }
  .module-node { width: 88px; min-height: 64px; border-radius: 12px; }
  .module-node svg { width: 19px; height: 19px; }
  .module-node span { font-size: 6.8px; }
  .compact-network .n1 { left: 2%; top: 8%; }
  .compact-network .n2 { right: 2%; top: 8%; }
  .compact-network .n3 { left: 2%; bottom: 8%; }
  .compact-network .n4 { right: 2%; bottom: 8%; }
  .network-lines .line { width: 95px; }
  .network-lines .l1 { transform: rotate(222deg) translateX(118px); }
  .network-lines .l2 { transform: rotate(318deg) translateX(118px); }
  .network-lines .l3 { transform: rotate(138deg) translateX(118px); }
  .network-lines .l4 { transform: rotate(42deg) translateX(118px); }
  .section-intro { margin-bottom: 48px; }
  .section-intro h2, .personal-copy h2, .about-story h2 { font-size: 39px; }
  .section-intro > p:last-child { font-size: 15px; }
  .problem-points div { min-height: 92px; grid-template-columns: 42px 1fr; }
  .problem-points strong { font-size: 17px; }
  .solution-section .section-intro { margin-bottom: 40px; }
  .growth-trigger { min-height: 98px; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 21px 8px; }
  .growth-label strong { max-width: none; font-size: 18px; }
  .growth-label small { font-size: 9px; }
  .growth-panel { grid-template-columns: 1fr; gap: 30px; padding: 30px 8px 38px; }
  .growth-panel h3 { font-size: 29px; }
  .growth-panel > div:first-child > p:last-child { font-size: 14px; }
  .growth-note { text-align: left; line-height: 1.6; }
  .project-placeholder { min-height: 285px; }
  .project-copy { padding: 24px; }
  .personal-grid { gap: 50px; }
  .portrait-placeholder { max-width: 380px; }
  .personal-copy > p:not(.section-number) { font-size: 15px; }
  .closing-cta h3 { font-size: 22px; }
  .page-hero { min-height: 560px; padding-top: 135px; }
  .page-hero h1 { font-size: 48px; }
  .page-hero .narrow > p:not(.eyebrow):not(.page-principle) { font-size: 16px; }
  .possibility-nav { width: calc(100% - 28px); }
  .possibility-nav a { min-height: 60px; padding: 0 14px; font-size: 11px; }
  .possibility-grid h2 { font-size: 39px; }
  .possibility-grid > div > p:last-child { font-size: 15px; }
  .service-card { min-height: 0; padding: 26px; }
  .service-card h3 { margin-top: 34px; }
  .marquee::before, .marquee::after { width: 38px; }
  .integration-set, .marquee-track { gap: 10px; }
  .integration-item { width: 112px; min-height: 94px; border-radius: 14px; }
  .integration-icon { width: 48px; height: 48px; }
  .integration-icon img { width: 28px; height: 28px; }
  .closing-band-inner { display: grid; align-items: start; }
  .closing-band-inner h2 { font-size: 38px; }
  .closing-band-inner .button { width: 100%; }
  .process-page { padding-top: 40px; }
  .timeline-step { grid-template-columns: 42px 1fr; gap: 16px; padding: 50px 0; }
  .timeline-step::before { left: 20px; }
  .timeline-visual { grid-column: 1 / -1; margin-left: 58px; }
  .step-badge { grid-column: 1; width: 42px; height: 42px; }
  .timeline-copy { grid-column: 2; }
  .timeline-copy h2 { font-size: 29px; }
  .case-grid { gap: 45px; }
  .case-visual { min-height: 380px; }
  .case-copy h2 { font-size: 48px; }
  .about-story .check-list { grid-template-columns: 1fr; }
  .bio-depth-grid { gap: 50px; }
  .bio-depth-intro h2 { font-size: 43px; }
  .bio-depth-intro > p:last-child { font-size: 15px; }
  .bio-chapter { padding-bottom: 42px; margin-top: 42px; }
  .bio-chapter:first-child { margin-top: 36px; }
  .bio-chapter h3 { font-size: 29px; }
  .bio-chapter p { font-size: 15px; line-height: 1.72; }
  .bio-manifesto { margin-top: 42px; padding: 26px 22px; border-radius: 18px; }
  .principle-list article { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; }
  .principle-list p { grid-column: 2; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-main > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

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

/* TB Digital Assistent */
.tuno-assistant { position: fixed; z-index: 900; right: max(22px,env(safe-area-inset-right)); bottom: max(34px,env(safe-area-inset-bottom)); font-family: var(--font-body); }
.tuno-assistant-trigger { position: relative; min-width: 174px; height: 66px; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 9px; overflow: hidden; border: 1px solid rgba(201,185,242,.3); border-radius: 20px; color: var(--text); background: linear-gradient(145deg,rgba(23,22,43,.94),rgba(10,10,24,.96)); box-shadow: 0 20px 55px rgba(0,0,0,.4),0 0 0 1px rgba(255,255,255,.025) inset,0 1px 0 rgba(255,255,255,.12) inset; backdrop-filter: blur(24px) saturate(1.15); cursor: pointer; isolation: isolate; transition: transform .28s cubic-bezier(.22,1,.36,1),border-color .25s,box-shadow .28s,opacity .2s; }
.tuno-assistant-trigger::before { content: ""; position: absolute; z-index: -1; width: 100px; height: 100px; left: -45px; top: -52px; border-radius: 50%; background: rgba(139,92,246,.28); filter: blur(22px); }
.tuno-assistant-trigger:hover { transform: translateY(-3px); border-color: rgba(201,185,242,.5); box-shadow: 0 25px 70px rgba(0,0,0,.48),0 0 35px rgba(116,66,226,.13),0 1px 0 rgba(255,255,255,.14) inset; }
.tuno-trigger-mark { width: 47px; height: 47px; flex: 0 0 47px; display: grid; place-items: center; border: 1px solid rgba(192,169,255,.28); border-radius: 14px; color: #e0d5ff; background: linear-gradient(145deg,rgba(139,92,246,.24),rgba(227,94,181,.1)); box-shadow: 0 9px 24px rgba(62,28,140,.2),inset 0 1px rgba(255,255,255,.09); }
.tuno-trigger-mark img { width: 40px; height: 40px; display: block; border-radius: 10px; object-fit: cover; }
.tuno-trigger-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.25; }
.tuno-trigger-copy small { color: #8f8a9c; font-size: 8.5px; font-weight: 550; letter-spacing: .055em; text-transform: uppercase; }
.tuno-trigger-copy strong { color: #f4f1f9; font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.tuno-trigger-status { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(99,214,162,.65); }
.tuno-assistant.is-active .tuno-assistant-trigger { opacity: 0; pointer-events: none; transform: translateY(8px) scale(.96); }

.tuno-assistant-panel { position: absolute; right: 0; bottom: 0; width: min(414px,calc(100vw - 28px)); height: min(690px,calc(100dvh - 44px)); display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; border: 1px solid rgba(196,177,239,.28); border-radius: 26px; color: var(--text); background: linear-gradient(155deg,rgba(20,19,39,.985),rgba(8,8,20,.99) 62%); box-shadow: 0 40px 120px rgba(0,0,0,.64),0 0 0 1px rgba(255,255,255,.025) inset,0 1px 0 rgba(255,255,255,.12) inset; backdrop-filter: blur(30px) saturate(1.15); opacity: 0; transform: translateY(16px) scale(.975); transform-origin: right bottom; transition: opacity .22s ease,transform .32s cubic-bezier(.22,1,.36,1); }
.tuno-assistant-panel::before { content: ""; position: absolute; width: 300px; height: 240px; top: -170px; left: -80px; border-radius: 50%; background: radial-gradient(circle,rgba(139,92,246,.22),transparent 67%); pointer-events: none; }
.tuno-assistant-panel[hidden] { display: none; }
.tuno-assistant-panel.is-open { opacity: 1; transform: none; }
.tuno-assistant-header { position: relative; z-index: 2; min-height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 18px; border-bottom: 1px solid rgba(164,143,208,.15); background: rgba(11,11,27,.48); }
.tuno-assistant-identity { display: flex; align-items: center; gap: 11px; }
.tuno-assistant-logo { width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(192,169,255,.22); border-radius: 14px; background: rgba(139,92,246,.07); }
.tuno-assistant-logo img { width: 38px; height: 38px; display: block; border-radius: 10px; object-fit: cover; }
.tuno-assistant-identity > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.tuno-assistant-identity strong { font-size: 13px; font-weight: 620; letter-spacing: -.01em; }
.tuno-assistant-identity small { display: flex; align-items: center; gap: 6px; color: #8f8a9c; font-size: 9px; }
.tuno-assistant-identity small i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(99,214,162,.6); }
.tuno-assistant-close { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #aaa5b4; background: transparent; cursor: pointer; transition: color .2s,background .2s,transform .2s; }
.tuno-assistant-close:hover { color: #fff; background: rgba(255,255,255,.06); transform: rotate(2deg); }
.tuno-assistant-close svg { width: 18px; height: 18px; stroke-width: 1.55; }

.tuno-assistant-messages { position: relative; z-index: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px 20px 22px; scrollbar-width: thin; scrollbar-color: rgba(192,169,255,.28) transparent; }
.tuno-welcome { padding: 4px 5px 26px; }
.tuno-welcome-time { margin: 0 0 8px; color: var(--purple-light); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tuno-welcome h2 { margin: 0; font-size: 27px; font-weight: 590; line-height: 1.13; letter-spacing: -.045em; }
.tuno-welcome > p:last-child { margin: 12px 0 0; color: #aaa6b6; font-size: 12.5px; line-height: 1.65; }
.tuno-message { display: flex; align-items: flex-end; gap: 9px; margin-top: 14px; animation: tuno-message-in .35s cubic-bezier(.22,1,.36,1) both; }
.tuno-message-avatar { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; border: 1px solid rgba(192,169,255,.22); border-radius: 9px; color: #d8c9ff; background: rgba(139,92,246,.12); font-size: 9px; font-weight: 700; }
.tuno-message-avatar img { width: 23px; height: 23px; display: block; border-radius: 6px; object-fit: cover; }
.tuno-message-content { max-width: 83%; padding: 12px 14px; border: 1px solid rgba(180,161,222,.15); border-radius: 16px 16px 16px 5px; color: #c8c3cf; background: rgba(255,255,255,.035); }
.tuno-message-content p { margin: 0; font-size: 12px; line-height: 1.62; }
.tuno-message-user { justify-content: flex-end; }
.tuno-message-user .tuno-message-content { max-width: 78%; border-color: rgba(165,126,248,.34); border-radius: 16px 16px 5px 16px; color: #f5f2fa; background: linear-gradient(145deg,rgba(137,81,245,.75),rgba(104,54,210,.72)); box-shadow: 0 10px 25px rgba(66,31,145,.18); }
.tuno-message-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.tuno-message-actions a { padding: 7px 10px; border: 1px solid rgba(192,169,255,.24); border-radius: 9px; color: #dfd4fb; background: rgba(139,92,246,.08); font-size: 9.5px; font-weight: 600; transition: color .2s,border-color .2s,background .2s; }
.tuno-message-actions a:hover { color: #fff; border-color: rgba(192,169,255,.5); background: rgba(139,92,246,.15); }
.tuno-message-thinking .tuno-message-content { min-width: 56px; display: flex; gap: 4px; padding: 14px 15px; }
.tuno-message-thinking i { width: 4px; height: 4px; border-radius: 50%; background: #9a94a5; animation: tuno-thinking 1s ease-in-out infinite; }
.tuno-message-thinking i:nth-child(2) { animation-delay: .12s; }
.tuno-message-thinking i:nth-child(3) { animation-delay: .24s; }

.tuno-quick-actions { display: grid; margin: 22px 0 4px 34px; border-top: 1px solid rgba(164,143,208,.16); transition: opacity .25s,filter .25s; }
.tuno-quick-actions.is-used { opacity: .52; }
.tuno-quick-actions button { min-height: 47px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 0 5px 0 1px; border: 0; border-bottom: 1px solid rgba(164,143,208,.14); color: #c9c4d0; background: transparent; text-align: left; cursor: pointer; transition: color .2s,padding .2s; }
.tuno-quick-actions button:hover { padding-left: 5px; color: #fff; }
.tuno-quick-actions button span { font-size: 11px; font-weight: 520; }
.tuno-quick-actions button svg { width: 15px; height: 15px; color: #777184; stroke-width: 1.5; transition: color .2s,transform .2s; }
.tuno-quick-actions button:hover svg { color: var(--purple-light); transform: translateX(2px); }

.tuno-assistant-composer { position: relative; z-index: 3; padding: 13px 15px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(164,143,208,.15); background: rgba(7,7,18,.88); backdrop-filter: blur(16px); }
.tuno-input-wrap { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 15px; border: 1px solid rgba(177,156,225,.22); border-radius: 15px; background: rgba(255,255,255,.035); box-shadow: inset 0 1px rgba(255,255,255,.035); transition: border-color .2s,background .2s,box-shadow .2s; }
.tuno-input-wrap:focus-within { border-color: rgba(192,169,255,.56); background: rgba(255,255,255,.05); box-shadow: 0 0 0 3px rgba(139,92,246,.09),inset 0 1px rgba(255,255,255,.04); }
.tuno-input-wrap input { min-width: 0; flex: 1; border: 0; outline: 0; color: #f5f2fa; background: transparent; font-size: 12px; }
.tuno-input-wrap input::placeholder { color: #716c7c; }
.tuno-input-wrap button { width: 37px; height: 37px; flex: 0 0 37px; display: grid; place-items: center; border: 1px solid rgba(194,171,250,.35); border-radius: 11px; color: #fff; background: linear-gradient(145deg,#9257f3,#6d38dd); box-shadow: 0 8px 20px rgba(79,38,164,.28),inset 0 1px rgba(255,255,255,.2); cursor: pointer; transition: transform .2s,box-shadow .2s,opacity .2s; }
.tuno-input-wrap button:hover { transform: translateY(-1px); box-shadow: 0 11px 26px rgba(79,38,164,.38),inset 0 1px rgba(255,255,255,.2); }
.tuno-input-wrap button:disabled { opacity: .45; cursor: wait; transform: none; }
.tuno-input-wrap button svg { width: 16px; height: 16px; stroke-width: 1.8; }
.tuno-assistant-composer form > p { margin: 7px 3px 0; color: #686373; font-size: 8px; line-height: 1.45; text-align: center; }

@keyframes tuno-message-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes tuno-thinking { 0%,60%,100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

@media (max-width: 620px) {
  .site-footer { padding-bottom: 150px; }
  .tuno-assistant { right: max(12px,env(safe-area-inset-right)); bottom: max(24px,env(safe-area-inset-bottom)); }
  .tuno-assistant-trigger { min-width: 0; width: 62px; height: 62px; padding: 7px; border-radius: 19px; }
  .tuno-trigger-mark { width: 46px; height: 46px; }
  .tuno-trigger-copy, .tuno-trigger-status { display: none; }
  .tuno-assistant-panel { width: calc(100vw - 24px); height: min(680px,calc(100dvh - 24px)); border-radius: 24px; }
  .tuno-assistant-header { min-height: 72px; }
  .tuno-assistant-messages { padding: 23px 16px 20px; }
  .tuno-welcome { padding-inline: 3px; }
  .tuno-welcome h2 { font-size: 25px; }
  .tuno-quick-actions { margin-left: 34px; }
  .tuno-message-content { max-width: 86%; }
  .tuno-assistant-composer { padding-inline: 11px; }
}

.legal-page { min-height: 100vh; padding: 160px 0 100px; }
.legal-page .legal-inner { max-width: 820px; }
.legal-page h1 { margin: 0 0 24px; font-size: clamp(44px,6vw,72px); letter-spacing: -.05em; line-height: 1.05; }
.legal-page h2 { margin: 48px 0 12px; font-size: 25px; letter-spacing: -.03em; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page .legal-note { margin-bottom: 45px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(139,92,246,.06); font-size: 13px; }
