:root {
  --lg-bg: #050508;
  --lg-bg-2: #090910;
  --lg-panel: rgba(255, 255, 255, .065);
  --lg-line: rgba(255, 255, 255, .13);
  --lg-text: #f6f7fb;
  --lg-muted: rgba(246, 247, 251, .61);
  --lg-hot: #ff1453;
  --lg-violet: #8d62ff;
  --lg-cyan: #56e7ff;
  --lg-glow: 0 24px 90px rgba(0, 0, 0, .38);
}

html[data-theme="light"] {
  color-scheme: light;
  --lg-bg: #f7f7fa;
  --lg-bg-2: #ffffff;
  --lg-panel: rgba(255, 255, 255, .72);
  --lg-line: rgba(16, 16, 24, .13);
  --lg-text: #111118;
  --lg-muted: rgba(17, 17, 24, .62);
  --lg-glow: 0 24px 80px rgba(40, 34, 54, .12);
}
html[data-theme="dark"] { color-scheme: dark; }

body { background: var(--lg-bg); color: var(--lg-text); }
.liquid-site { overflow: hidden; background: var(--lg-bg); color: var(--lg-text); }
.liquid-site h1, .liquid-site h2, .liquid-site h3 { color: inherit; }
.liquid-site a { color: inherit; }

/* Floating functional layer */
.site-header { inset: 18px 0 auto; border: 0; pointer-events: none; }
.site-header.is-scrolled { background: transparent; border: 0; backdrop-filter: none; }
.header-inner { width: min(1180px, calc(100vw - 34px)); min-height: 64px; padding: 8px 10px 8px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: linear-gradient(135deg, rgba(255,255,255,.115), rgba(255,255,255,.045)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 55px rgba(0,0,0,.28); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); pointer-events: auto; }
.brand { gap: 11px; }
.brand-mark { width: 55px; height: 29px; aspect-ratio: auto; padding: 0; background: transparent; border-radius: 0; }
.brand-mark img { width: 55px; height: auto; }
.brand-name { max-width: 130px; overflow: hidden; white-space: nowrap; color: rgba(255,255,255,.9); font-size: .69rem; letter-spacing: .02em; text-transform: none; }
.site-nav { gap: 22px; margin-left: auto; }
.site-nav .menu { gap: 25px; }
.site-nav .menu a { color: rgba(255,255,255,.72); font-size: .75rem; }
.site-nav .menu a:hover { color: #fff; }
.nav-cta { padding: 9px 15px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: #fff; }
.nav-cta:hover { background: rgba(255,255,255,.15); color: #fff; }
.header-controls { position: relative; z-index: 3; display: flex; align-items: center; gap: 5px; margin-left: 8px; }
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(255,255,255,.07); color: #fff; cursor: pointer; transition: background .25s, transform .25s; }
.theme-toggle:hover { transform: rotate(8deg); background: rgba(255,255,255,.13); }
.theme-toggle span { width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; box-shadow: 0 -7px 0 -6px currentColor, 0 7px 0 -6px currentColor, 7px 0 0 -6px currentColor, -7px 0 0 -6px currentColor; }
html[data-theme="dark"] .theme-toggle span { border: 0; background: transparent; box-shadow: inset -5px -3px 0 0 currentColor; transform: rotate(-18deg); }

/* Hero */
.lg-hero { position: relative; min-height: 100svh; padding: 155px 0 70px; display: grid; align-items: center; isolation: isolate; background: radial-gradient(circle at 50% 100%, rgba(255,20,83,.11), transparent 34%), #050508; }
.lg-grid { position: absolute; inset: 0; z-index: -2; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent); }
.lg-ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; filter: blur(20px); }
.lg-ambient i { position: absolute; border-radius: 50%; opacity: .7; animation: lg-float 12s ease-in-out infinite alternate; }
.lg-ambient i:nth-child(1) { width: 520px; height: 520px; top: -18%; right: 4%; background: radial-gradient(circle, rgba(255,20,83,.44), rgba(255,20,83,0) 68%); }
.lg-ambient i:nth-child(2) { width: 590px; height: 590px; bottom: -28%; left: 20%; background: radial-gradient(circle, rgba(89,40,255,.32), rgba(89,40,255,0) 68%); animation-delay: -4s; }
.lg-ambient i:nth-child(3) { width: 420px; height: 420px; top: 22%; right: 19%; background: radial-gradient(circle, rgba(46,221,255,.22), rgba(46,221,255,0) 66%); animation-delay: -7s; }
@keyframes lg-float { to { transform: translate3d(45px, 30px, 0) scale(1.12); } }
.lg-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 6vw; align-items: center; }
.lg-status { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.66); font-size: .66rem; letter-spacing: .16em; font-weight: 750; text-transform: uppercase; }
.lg-status > span { width: 7px; height: 7px; border-radius: 50%; background: var(--lg-hot); box-shadow: 0 0 0 5px rgba(255,20,83,.12), 0 0 20px var(--lg-hot); }
.lg-hero h1 { margin: 25px 0 28px; max-width: 780px; font-size: clamp(4rem, 6.8vw, 8rem); line-height: .88; letter-spacing: -.075em; font-weight: 620; }
.lg-hero h1 em { display: inline-block; font-family: inherit; font-style: normal; font-weight: 620; background: linear-gradient(100deg, #fff 3%, #ff8eae 38%, var(--lg-hot) 72%, #8e67ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-hero__copy > p:not(.lg-status) { max-width: 650px; color: var(--lg-muted); font-size: 1.06rem; }
.lg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 33px; }
.lg-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--lg-line); text-decoration: none; font-size: .76rem; font-weight: 750; transition: transform .25s, background .25s, box-shadow .25s; }
.lg-button:hover { transform: translateY(-2px) scale(1.015); }
.lg-button--hot { border-color: rgba(255,255,255,.19); background: linear-gradient(135deg, #ff3166, #ff1453 55%, #c50c41); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 12px 35px rgba(255,20,83,.3); }
.lg-button--glass { background: rgba(255,255,255,.075); backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.lg-signal-row { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 11px 20px; color: rgba(255,255,255,.42); font: 600 .62rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.lg-signal-row span::before { content: "/"; margin-right: 8px; color: var(--lg-hot); }

/* AI cockpit */
.lg-cockpit { position: relative; min-height: 590px; overflow: hidden; padding: 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 36px; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035)); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.05), 0 45px 110px rgba(0,0,0,.48); backdrop-filter: blur(30px) saturate(145%); -webkit-backdrop-filter: blur(30px) saturate(145%); transform: perspective(1200px) rotateY(var(--lg-ry, -5deg)) rotateX(var(--lg-rx, 2deg)); transition: transform .2s ease-out; }
.lg-cockpit::before { content: ""; position: absolute; inset: -20%; background: conic-gradient(from 210deg, transparent 0 36%, rgba(255,20,83,.12), transparent 51%, rgba(76,216,255,.08), transparent 68%); animation: lg-spin 18s linear infinite; }
@keyframes lg-spin { to { transform: rotate(360deg); } }
.lg-cockpit__bar, .lg-cockpit__footer { position: relative; z-index: 2; min-height: 42px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 11px; color: rgba(255,255,255,.55); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.lg-cockpit__bar > span { display: flex; gap: 5px; }
.lg-cockpit__bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.28); }
.lg-cockpit__bar small { justify-self: end; color: #86ffb7; }
.lg-core { position: relative; z-index: 2; min-height: 465px; display: grid; place-items: center; }
.lg-core::before, .lg-core::after, .lg-core__halo { content: ""; position: absolute; width: 370px; height: 370px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.lg-core::after { width: 265px; height: 265px; border-style: dashed; animation: lg-spin 20s linear infinite reverse; }
.lg-core__halo { width: 175px; height: 175px; border: 0; background: radial-gradient(circle, rgba(255,20,83,.5), rgba(255,20,83,.1) 42%, transparent 70%); filter: blur(18px); animation: lg-pulse 3s ease-in-out infinite; }
@keyframes lg-pulse { 50% { transform: scale(1.18); opacity: .7; } }
.lg-core__orb { position: relative; z-index: 2; width: 128px; height: 128px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: radial-gradient(circle at 34% 24%, rgba(255,255,255,.36), rgba(255,20,83,.95) 38%, #94002e 100%); box-shadow: inset -15px -20px 40px rgba(45,0,15,.5), 0 0 70px rgba(255,20,83,.38); }
.lg-core__orb img { width: 74px; filter: brightness(0) invert(1); }
.lg-node { position: absolute; z-index: 3; min-width: 130px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; background: rgba(8,8,15,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(14px); font-size: .67rem; font-weight: 700; }
.lg-node small { display: block; margin-top: 2px; color: rgba(255,255,255,.43); font-size: .53rem; font-weight: 500; }
.lg-node--1 { top: 10%; left: 6%; } .lg-node--2 { top: 20%; right: 2%; } .lg-node--3 { bottom: 12%; right: 7%; } .lg-node--4 { bottom: 17%; left: 2%; }
.lg-cockpit__footer { grid-template-columns: 1fr 1fr; min-height: 34px; border-top: 1px solid rgba(255,255,255,.08); }
.lg-cockpit__footer span:last-child { text-align: right; }
.lg-scroll-cue { position: absolute; right: 26px; bottom: 24px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.35); font-size: .55rem; letter-spacing: .14em; }
.lg-scroll-cue i { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }

.lg-ticker { overflow: hidden; border-block: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025); }
.lg-ticker > div { width: max-content; min-height: 62px; display: flex; align-items: center; gap: 38px; color: rgba(255,255,255,.72); font-size: .72rem; letter-spacing: .12em; font-weight: 750; animation: lg-ticker 28s linear infinite; }
.lg-ticker i { color: var(--lg-hot); font-style: normal; }
@keyframes lg-ticker { to { transform: translateX(-50%); } }

/* Manifesto */
.lg-label { color: rgba(255,255,255,.4); font-size: .64rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.lg-manifesto { padding: 155px 0; text-align: center; background: radial-gradient(circle at 50% 30%, rgba(141,98,255,.12), transparent 34%), var(--lg-bg); }
.lg-manifesto h2 { margin: 25px auto 35px; max-width: 1100px; font-size: clamp(3.2rem, 6.4vw, 7rem); line-height: .93; letter-spacing: -.065em; }
.lg-manifesto h2 em { font-family: inherit; font-style: normal; font-weight: 600; color: var(--lg-hot); }
.lg-manifesto__body { max-width: 680px; margin-inline: auto; color: var(--lg-muted); font-size: 1.08rem; }

/* Modules */
.lg-section { padding: 125px 0; }
.lg-systems { background: #08080d; }
.lg-section__head { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 60px; }
.lg-section__head h2 { margin: 13px 0 0; font-size: clamp(3.3rem, 6vw, 6.8rem); line-height: .9; letter-spacing: -.065em; }
.lg-section__head h2 span, .lg-lab h2 span, .lg-identity h2 span { background: linear-gradient(95deg, var(--lg-hot), #ff8cae 45%, #9a73ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-section__head > p { max-width: 380px; color: var(--lg-muted); }
.lg-module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lg-module { position: relative; min-height: 520px; overflow: hidden; padding: 26px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.09); }
.lg-module--wide { grid-column: span 2; min-height: 480px; }
.lg-module__no { position: absolute; top: 25px; right: 26px; color: rgba(255,255,255,.32); font: 500 .8rem var(--display); }
.lg-module > div:nth-of-type(2) { margin-top: auto; max-width: 720px; }
.lg-module > div > p { margin-bottom: 10px; color: var(--lg-hot); font-size: .6rem; font-weight: 750; letter-spacing: .14em; }
.lg-module h3 { margin-bottom: 13px; max-width: 760px; font-size: clamp(2rem, 3.7vw, 4.5rem); line-height: .95; letter-spacing: -.045em; }
.lg-module > div > span { display: block; max-width: 650px; color: var(--lg-muted); font-size: .92rem; }
.lg-module footer { margin-top: 34px; padding-top: 16px; display: flex; gap: 9px; border-top: 1px solid rgba(255,255,255,.08); }
.lg-module footer b { padding: 7px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.47); font-size: .56rem; letter-spacing: .08em; font-weight: 600; }
.lg-module__icon { position: absolute; inset: 42px 48px auto auto; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.lg-module__icon::before, .lg-module__icon::after { content: ""; position: absolute; inset: 25%; border: 1px solid rgba(255,20,83,.4); border-radius: 50%; }
.lg-module__icon::after { inset: 41%; background: var(--lg-hot); box-shadow: 0 0 50px rgba(255,20,83,.5); }
.lg-module__icon i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.lg-module__icon i:nth-child(1) { top: -3px; left: 50%; } .lg-module__icon i:nth-child(2) { right: 8%; bottom: 20%; } .lg-module__icon i:nth-child(3) { left: 5%; top: 30%; }
.lg-module__wave { height: 155px; margin: 75px 0 35px; background: repeating-radial-gradient(ellipse at center, transparent 0 11px, rgba(255,20,83,.38) 12px 13px, transparent 14px 22px); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.lg-module__matrix { width: 170px; margin: 62px auto 35px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; transform: rotate(45deg); }
.lg-module__matrix i { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(145deg, rgba(141,98,255,.8), rgba(255,255,255,.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 22px rgba(141,98,255,.15); }
.lg-module--hot { background: radial-gradient(circle at 82% 25%, rgba(255,255,255,.19), transparent 22%), linear-gradient(125deg, #b60038, var(--lg-hot) 50%, #ff416f); }
.lg-module--hot > div > p { color: #fff; }
.lg-module--hot > div > span, .lg-module--hot footer b { color: rgba(255,255,255,.74); }
.lg-module__radar { position: absolute; right: 8%; top: 50%; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; transform: translateY(-50%); }
.lg-module__radar::before, .lg-module__radar::after { content: ""; position: absolute; inset: 22%; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.lg-module__radar::after { inset: 44%; background: #fff; }
.lg-module__radar i { position: absolute; left: 50%; top: 50%; width: 48%; height: 1px; background: linear-gradient(90deg,#fff,transparent); transform-origin: left; animation: lg-scan 5s linear infinite; }
@keyframes lg-scan { to { transform: rotate(360deg); } }

/* AI lab */
.lg-lab { padding: 145px 0; background: radial-gradient(circle at 14% 30%, rgba(255,20,83,.16), transparent 30%), #050508; }
.lg-lab__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: center; }
.lg-lab h2 { margin: 16px 0 30px; font-size: clamp(3rem, 5.1vw, 6rem); line-height: .92; letter-spacing: -.06em; }
.lg-lab__copy > p:not(.lg-label) { max-width: 540px; color: var(--lg-muted); }
.lg-text-link { display: inline-flex; gap: 16px; align-items: center; margin-top: 20px; font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.lg-text-link span { color: var(--lg-hot); }
.lg-workflow { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 26px; background: rgba(255,255,255,.045); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), var(--lg-glow); backdrop-filter: blur(20px); }
.lg-workflow__top { min-height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.47); font-size: .6rem; letter-spacing: .12em; }
.lg-live { display: flex; align-items: center; gap: 7px; color: #80fda9; }
.lg-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.lg-workflow ol { list-style: none; margin: 0; padding: 8px 20px; }
.lg-workflow li { min-height: 80px; display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.075); }
.lg-workflow li > b { font: 400 .76rem var(--display); color: rgba(255,255,255,.3); }
.lg-workflow li > span { font-size: .86rem; font-weight: 700; }
.lg-workflow li small { display: block; color: rgba(255,255,255,.38); font-size: .62rem; font-weight: 500; }
.lg-workflow li em { color: rgba(255,255,255,.27); font-size: .53rem; font-style: normal; letter-spacing: .1em; }
.lg-workflow li.is-active { margin-inline: -20px; padding-inline: 20px; background: linear-gradient(90deg, rgba(255,20,83,.15), transparent); box-shadow: inset 2px 0 0 var(--lg-hot); }
.lg-workflow li.is-active em { color: var(--lg-hot); }
.lg-console { min-height: 74px; display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; padding: 0 20px; background: rgba(0,0,0,.32); font: .68rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.lg-console span { color: var(--lg-hot); }.lg-console b { color: rgba(255,255,255,.7); }.lg-console i { width: 7px; height: 14px; background: var(--lg-hot); animation: lg-blink 1s steps(1) infinite; }
@keyframes lg-blink { 50% { opacity: 0; } }

/* Cases */
.lg-work { background: #08080d; }
.lg-case { display: grid; grid-template-columns: 1.05fr .95fr; gap: 6vw; padding: 35px 0; border-top: 1px solid rgba(255,255,255,.1); }
.lg-case:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.lg-case__visual { position: relative; min-height: 430px; overflow: hidden; padding: 22px; border-radius: 26px; text-decoration: none; background: #171722; }
.lg-case__visual::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(circle at 50%, rgba(255,255,255,.28), transparent 24%), conic-gradient(from 30deg, transparent, currentColor, transparent 42%, currentColor, transparent 75%); opacity: .72; animation: lg-spin 18s linear infinite; }
.lg-case__visual.has-image::before { z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(5,5,8,.08), rgba(5,5,8,.42)); opacity: 1; animation: none; }
.lg-case__thumb { position: absolute; inset: 0; }
.lg-case__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lg-case__visual.has-image:hover .lg-case__thumb img { transform: scale(1.035); }
.lg-case--pink .lg-case__visual { color: var(--lg-hot); background: #240711; }
.lg-case--violet .lg-case__visual { color: var(--lg-violet); background: #100a24; }
.lg-case--cyan .lg-case__visual { color: var(--lg-cyan); background: #041b21; }
.lg-case__visual > span { position: relative; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; font: .8rem var(--display); }
.lg-case__mark { position: absolute; z-index: 2; inset: 50% auto auto 50%; width: 190px; height: 190px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 80px currentColor; backdrop-filter: blur(20px); transform: translate(-50%,-50%); }
.lg-case__mark img { width: 112px; filter: brightness(0) invert(1); }
.lg-case__copy { align-self: center; }
.lg-case__copy > p { color: rgba(255,255,255,.38); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }
.lg-case__copy h3 { margin: 18px 0 30px; max-width: 650px; font-size: clamp(2.7rem, 4.6vw, 5.4rem); line-height: .92; letter-spacing: -.055em; }
.lg-case__copy h3 a { text-decoration: none; }
.lg-case__copy strong { display: block; color: rgba(255,255,255,.72); font: 400 1.2rem var(--display); }
.lg-case__copy .lg-text-link { margin-top: 45px; }

/* Identity and CTA */
.lg-identity { position: relative; padding: 145px 0; overflow: hidden; background: #050508; }
.lg-identity__glow { position: absolute; width: 720px; height: 720px; left: -15%; top: 50%; border-radius: 50%; background: radial-gradient(circle, rgba(255,20,83,.35), rgba(141,98,255,.14) 38%, transparent 68%); filter: blur(35px); transform: translateY(-50%); }
.lg-identity__grid { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: center; }
.lg-identity__mark { min-height: 550px; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.15); border-radius: 42px; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), var(--lg-glow); backdrop-filter: blur(24px); }
.lg-identity__mark img { width: 74%; filter: drop-shadow(0 0 45px rgba(255,20,83,.45)); }
.lg-identity__mark span { margin-top: auto; text-align: center; color: rgba(255,255,255,.38); font-size: .58rem; letter-spacing: .15em; }
.lg-identity h2 { margin: 17px 0 32px; font-size: clamp(3.1rem, 5.3vw, 6rem); line-height: .92; letter-spacing: -.06em; }
.lg-identity__grid > div:last-child > p:not(.lg-label) { max-width: 690px; color: var(--lg-muted); font-size: 1.04rem; }
.lg-contact { padding: 30px 0 110px; background: #050508; }
.lg-contact__panel { position: relative; overflow: hidden; min-height: 520px; padding: 60px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: end; border: 1px solid rgba(255,255,255,.18); border-radius: 42px; background: radial-gradient(circle at 82% 15%, rgba(255,255,255,.19), transparent 20%), radial-gradient(circle at 15% 100%, rgba(141,98,255,.4), transparent 34%), linear-gradient(130deg, #790026, var(--lg-hot) 48%, #c20b45); box-shadow: inset 0 1px 0 rgba(255,255,255,.27), 0 35px 100px rgba(255,20,83,.18); }
.lg-contact h2 { margin: 25px 0 0; font-size: clamp(3.2rem, 6vw, 7rem); line-height: .9; letter-spacing: -.07em; }
.lg-contact h2 em { font-family: inherit; font-style: normal; color: rgba(255,255,255,.7); }
.lg-contact__panel > div:last-child > p { font-size: 1.03rem; }
.lg-contact .lg-button--hot { background: #fff; color: #170009; box-shadow: none; }
.lg-contact .lg-text-link { margin-left: 20px; }

/* Footer and inner pages */
.site-footer { background: #050508; color: var(--lg-text); border-top: 1px solid rgba(255,255,255,.1); }
.brand--footer .brand-mark { background: transparent; }
.brand--footer { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.brand--footer .brand-name { display: block; max-width: none; overflow: visible; white-space: nowrap; color: var(--lg-text); font-size: .76rem; font-weight: 700; letter-spacing: .01em; }
.footer-grid p { color: var(--lg-muted); }
.footer-label { color: var(--lg-hot) !important; }
.footer-bottom { border-color: rgba(255,255,255,.1); }
.sub-hero, .entry-shell, .archive-shell, .form-section { background: #07070c; color: var(--lg-text); }
.sub-hero { border-color: rgba(255,255,255,.1); }
.sub-hero--signal, .referral-section { background: linear-gradient(135deg,#87002b,var(--lg-hot)); }
.entry-content, .story-copy, .form-note { color: var(--lg-muted); }
.dark-panel { background: #0b0b12; }
.offer-list > article, .check-list li, .form-grid input, .form-grid select, .form-grid textarea { border-color: rgba(255,255,255,.14); color: var(--lg-text); }
.process-card, .mek-project-form { color: var(--lg-text); }
.process-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(18px); }

/* Portfolio */
.portfolio-page { min-height: 100vh; padding-bottom: 120px; }
.pf-hero { position: relative; padding: 190px 0 105px; overflow: hidden; border-bottom: 1px solid var(--lg-line); }
.pf-hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -12%; top: -35%; border-radius: 50%; background: radial-gradient(circle, rgba(255,20,83,.25), rgba(141,98,255,.12) 40%, transparent 70%); filter: blur(22px); pointer-events: none; }
.pf-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 7vw; align-items: end; }
.pf-hero h1 { margin: 20px 0 0; max-width: 900px; font-size: clamp(4.6rem, 9vw, 10rem); line-height: .82; letter-spacing: -.075em; }
.pf-hero h1 span { color: var(--lg-hot); }
.pf-hero__intro { max-width: 470px; color: var(--lg-muted); font-size: 1.08rem; }
.pf-filter { padding: 30px 0; display: flex; flex-wrap: wrap; gap: 9px; }
.pf-filter span { padding: 8px 12px; border: 1px solid var(--lg-line); border-radius: 999px; color: var(--lg-muted); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.pf-card { min-height: 520px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--lg-line); border-radius: 30px; background: var(--lg-panel); box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
.pf-card:nth-child(3n+1) { grid-column: span 2; }
.pf-card__visual { position: relative; min-height: 330px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50%, rgba(255,255,255,.38), transparent 22%), linear-gradient(135deg, rgba(255,20,83,.9), rgba(141,98,255,.78)); }
.pf-card:nth-child(3n+2) .pf-card__visual { background: radial-gradient(circle at 50%, rgba(255,255,255,.35), transparent 20%), linear-gradient(145deg, #171722, #56e7ff); }
.pf-card:nth-child(3n) .pf-card__visual { background: radial-gradient(circle at 50%, rgba(255,255,255,.35), transparent 20%), linear-gradient(145deg, #ff1453, #32000f); }
.pf-card__visual::before { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; box-shadow: 0 0 90px currentColor; }
.pf-card__visual img { position: relative; z-index: 1; width: 150px; filter: brightness(0) invert(1); }
.pf-card__visual.has-image img { width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform .6s ease; }
.pf-card__visual.has-image:hover img { transform: scale(1.035); }
.pf-card__visual.has-image::before { z-index: 1; background: linear-gradient(180deg, transparent, rgba(5,5,8,.12)); box-shadow: none; border: 0; border-radius: 0; inset: 0; width: auto; height: auto; }
.pf-card__body { flex: 1; padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.pf-card__body p { margin-bottom: 8px; color: var(--lg-muted); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.pf-card__body h2 { margin: 0; font-size: clamp(1.8rem,3vw,3.4rem); line-height: .98; letter-spacing: -.045em; }
.pf-card__body a { text-decoration: none; }
.pf-card__arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--lg-line); border-radius: 50%; color: var(--lg-hot); }
.pf-pagination { padding-top: 42px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pf-pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: inline-grid; place-items: center; border: 1px solid var(--lg-line); border-radius: 999px; color: var(--lg-text); text-decoration: none; background: var(--lg-panel); }
.pf-pagination .page-numbers.current,
.pf-pagination .page-numbers:hover { border-color: var(--lg-hot); background: var(--lg-hot); color: #fff; }
.pf-outro { margin-top: 90px; padding: 70px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; border-radius: 34px; background: var(--lg-hot); color: #fff; }
.pf-outro h2 { margin: 0; max-width: 800px; font-size: clamp(3rem,6vw,6.5rem); line-height: .9; letter-spacing: -.06em; }

/* Shared inner-page system */
.inner-page { min-height: 100vh; background: var(--lg-bg); }
.inner-hero { position: relative; overflow: hidden; padding: 190px 0 110px; border-bottom: 1px solid var(--lg-line); }
.inner-hero::after { content: ""; position: absolute; width: 680px; height: 680px; right: -14%; top: -42%; border-radius: 50%; background: radial-gradient(circle, rgba(255,20,83,.25), rgba(141,98,255,.12) 40%, transparent 70%); filter: blur(25px); pointer-events: none; }
.inner-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 7vw; align-items: end; }
.inner-hero h1 { margin: 25px 0 0; max-width: 1040px; font-size: clamp(4.2rem, 7.8vw, 9rem); line-height: .84; letter-spacing: -.075em; }
.inner-hero h1 em { font-family: inherit; font-style: normal; color: var(--lg-hot); }
.inner-hero h1 span { color: var(--lg-hot); }
.inner-hero__aside { max-width: 500px; color: var(--lg-muted); font-size: 1.08rem; }
.inner-section { padding: 125px 0; }
.inner-section__head { margin-bottom: 60px; }
.inner-section__head h2 { margin: 15px 0 0; max-width: 1050px; font-size: clamp(3.4rem, 6vw, 7rem); line-height: .9; letter-spacing: -.065em; }
.inner-section__head h2 span, .process-layout h2 span, .about-intro h2 span, .insight-subscribe h2 span { color: var(--lg-hot); }
.inner-section__head--split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 7vw; align-items: end; }
.inner-section__head--split > p { max-width: 420px; color: var(--lg-muted); }
.inner-cta { margin-bottom: 110px; min-height: 530px; padding: 65px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; border-radius: 42px; background: radial-gradient(circle at 82% 15%, rgba(255,255,255,.2), transparent 20%), linear-gradient(130deg, #7d0027, var(--lg-hot) 52%, #d7104d); color: #fff; }
.inner-cta h2 { margin: 25px 0 40px; max-width: 1050px; font-size: clamp(3.4rem,6.6vw,7.5rem); line-height: .88; letter-spacing: -.07em; }
.inner-cta h2 em { font-family: inherit; font-style: normal; color: rgba(255,255,255,.7); }
.about-cta { position: relative; isolation: isolate; overflow: hidden; background: #91002f; }
.about-cta > * { position: relative; z-index: 2; }
.about-cta::before { content: ""; position: absolute; inset: -38%; z-index: 0; background: radial-gradient(circle at 18% 28%, rgba(255,20,83,.98) 0 8%, transparent 31%), radial-gradient(circle at 78% 22%, rgba(255,181,207,.8) 0 7%, transparent 27%), radial-gradient(circle at 64% 82%, rgba(102,0,32,.95) 0 12%, transparent 39%), conic-gradient(from 78deg at 50% 50%, #65001f, #ff1453, #ff5d8e, #9a0030, #65001f); filter: blur(20px) saturate(1.18); transform: translate3d(-3%, -2%, 0) scale(1.08); animation: aboutCtaLiquid 18s cubic-bezier(.45,.05,.2,1) infinite alternate; will-change: transform, filter; }
.about-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 78% 20%, rgba(255,255,255,.24), transparent 23%), linear-gradient(112deg, rgba(36,0,15,.34), transparent 42%, rgba(255,255,255,.08) 64%, transparent 78%); opacity: .82; animation: aboutCtaGlow 9s ease-in-out infinite alternate; }
@keyframes aboutCtaLiquid {
  0% { transform: translate3d(-4%, -3%, 0) rotate(-2deg) scale(1.08); filter: blur(20px) saturate(1.12); }
  48% { transform: translate3d(4%, 2%, 0) rotate(3deg) scale(1.16); filter: blur(28px) saturate(1.3); }
  100% { transform: translate3d(-1%, 5%, 0) rotate(-1deg) scale(1.11); filter: blur(22px) saturate(1.2); }
}
@keyframes aboutCtaGlow {
  0% { opacity: .68; transform: scale(1); }
  100% { opacity: .94; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .about-cta::before, .about-cta::after { animation: none; }
}

/* Services */
.service-disciplines { background: var(--lg-bg); }
.service-stack { border-top: 1px solid var(--lg-line); }
.service-stack article { min-height: 360px; padding: 42px 28px; display: grid; grid-template-columns: 80px 1fr 310px; gap: 45px; align-items: center; border-bottom: 1px solid var(--lg-line); transition: background .25s, transform .25s; }
.service-stack article:hover { background: var(--lg-panel); }
.service-no { align-self: start; color: var(--lg-muted); font: 1rem var(--display); }
.service-stack article > div > p:first-child { color: var(--lg-hot); font-size: .61rem; font-weight: 750; letter-spacing: .13em; }
.service-stack h3 { margin: 12px 0 20px; max-width: 730px; font-size: clamp(2.3rem,4vw,4.8rem); line-height: .94; letter-spacing: -.05em; }
.service-stack article > div > p:last-child { max-width: 660px; color: var(--lg-muted); }
.service-stack ul { list-style: none; margin: 0; padding: 0; }
.service-stack li { padding: 10px 0; border-bottom: 1px solid var(--lg-line); color: var(--lg-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.service-stack article.is-hot { margin-top: 14px; border: 0; border-radius: 30px; background: var(--lg-hot); color: #fff; }
.service-stack article.is-hot:hover { transform: translateY(-3px); background: #ed0f4b; }
.service-stack article.is-hot p, .service-stack article.is-hot .service-no, .service-stack article.is-hot li { color: rgba(255,255,255,.78) !important; }
.service-stack article.is-hot li { border-color: rgba(255,255,255,.2); }
.engagement-section { background: var(--lg-bg-2); }
.engagement-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.engagement-grid article { min-height: 460px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--lg-line); border-radius: 28px; background: var(--lg-panel); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.engagement-grid article > p { color: var(--lg-hot); font-size: .62rem; letter-spacing: .12em; }
.engagement-grid h3 { margin: auto 0 25px; font-size: clamp(2rem,3.2vw,3.8rem); line-height: .96; letter-spacing: -.05em; }
.engagement-grid article > span { color: var(--lg-muted); }
.engagement-grid strong { margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--lg-line); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.process-section { background: #0b0b10; color: #f7f7fa; }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: start; }
.process-layout h2 { margin: 18px 0 30px; font-size: clamp(3.3rem,5.5vw,6.5rem); line-height: .9; letter-spacing: -.065em; }
.process-layout > div > p:last-child { max-width: 520px; color: rgba(255,255,255,.58); }
.process-layout ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.13); }
.process-layout li { min-height: 100px; display: grid; grid-template-columns: 60px 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.13); }
.process-layout li > b { color: var(--lg-hot); font: .8rem var(--display); }
.process-layout li > span { font-size: 1.15rem; font-weight: 700; }
.process-layout li small { display: block; color: rgba(255,255,255,.43); font-size: .68rem; font-weight: 500; }

/* About */
.about-hero { padding-bottom: 70px; }
.about-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 7vw; align-items: center; }
.about-hero h1 { max-width: 900px; }
.about-hero__lead { max-width: 650px; margin-top: 35px; color: var(--lg-muted); font-size: 1.16rem; }
.about-portrait { position: relative; min-height: 650px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--lg-line); border-radius: 42px; background: radial-gradient(circle at 50%, rgba(255,20,83,.23), transparent 34%), var(--lg-panel); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), var(--lg-glow); }
.about-portrait img { position: relative; z-index: 2; width: 54%; filter: drop-shadow(0 0 45px rgba(255,20,83,.38)); }
.about-portrait > span { position: absolute; left: 30px; bottom: 25px; color: var(--lg-muted); font-size: .58rem; letter-spacing: .14em; }
.about-portrait__orbit, .about-portrait__orbit::before, .about-portrait__orbit::after { position: absolute; width: 470px; height: 470px; border: 1px solid var(--lg-line); border-radius: 50%; }
.about-portrait__orbit::before, .about-portrait__orbit::after { content: ""; inset: 14%; width: auto; height: auto; }
.about-portrait__orbit::after { inset: 32%; }
.about-portrait__orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--lg-hot); box-shadow: 0 0 20px var(--lg-hot); }
.about-portrait__orbit i:nth-child(1){left:8%;top:27%}.about-portrait__orbit i:nth-child(2){right:12%;bottom:20%}.about-portrait__orbit i:nth-child(3){left:50%;top:-4px}
.about-intro__grid { display: grid; grid-template-columns: .35fr 1fr; gap: 7vw; }
.about-intro h2 { margin: 0 0 42px; font-size: clamp(3.5rem,6vw,7rem); line-height: .9; letter-spacing: -.065em; }
.about-intro__grid > div { max-width: 850px; }
.about-intro__grid > div > p { color: var(--lg-muted); font-size: 1.06rem; }
.about-intro__grid .about-lead { color: var(--lg-text); font-size: clamp(1.65rem,2.7vw,3rem); line-height: 1.15; letter-spacing: -.03em; }
.experience-band { padding: 100px 0; background: #0b0b10; color: #f7f7fa; }
.experience-band__head { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 45px; }
.experience-band__head > span { color: rgba(255,255,255,.4); font-size: .61rem; letter-spacing: .12em; }
.experience-track { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.14); }
.experience-track article { min-height: 390px; padding: 27px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.14); }
.experience-track article:last-child { border-right: 0; }
.experience-track b { color: var(--lg-hot); font: .75rem var(--display); }
.experience-track article > p { margin: auto 0 12px; color: rgba(255,255,255,.42); font-size: .6rem; letter-spacing: .11em; text-transform: uppercase; }
.experience-track h3 { margin: 0 0 18px; font-size: 1.8rem; line-height: 1; }
.experience-track article > span { color: rgba(255,255,255,.58); font-size: .82rem; }
.principles-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--lg-line); border-left: 1px solid var(--lg-line); }
.principles-grid article { min-height: 340px; padding: 32px; border-right: 1px solid var(--lg-line); border-bottom: 1px solid var(--lg-line); }
.principles-grid b { color: var(--lg-hot); font: .75rem var(--display); }
.principles-grid h3 { margin: 110px 0 15px; font-size: 2.4rem; letter-spacing: -.04em; }
.principles-grid p { max-width: 480px; color: var(--lg-muted); }
.tool-cloud { padding: 80px 0; border-block: 1px solid var(--lg-line); background: var(--lg-bg-2); }
.tool-cloud .shell > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tool-cloud span { padding: 13px 18px; border: 1px solid var(--lg-line); border-radius: 999px; background: var(--lg-panel); font-size: .74rem; }

/* Insights */
.insights-hero h1 { font-size: clamp(5rem,10vw,11rem); }
.insight-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.insight-topics span { padding: 7px 10px; border: 1px solid var(--lg-line); border-radius: 999px; font-size: .59rem; letter-spacing: .08em; text-transform: uppercase; }
.featured-insight { margin-block: 80px 40px; min-height: 600px; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border: 1px solid var(--lg-line); border-radius: 34px; background: var(--lg-panel); }
.featured-insight__visual { min-height: 600px; display: grid; place-items: center; overflow: hidden; text-decoration: none; background: radial-gradient(circle at 50%, rgba(255,255,255,.3), transparent 22%), linear-gradient(135deg, #ff1453, #8d62ff); color: #fff; }
.featured-insight__visual img { width: 100%; height: 100%; object-fit: cover; }
.featured-insight__visual span { font-size: clamp(4rem,8vw,8rem); font-weight: 750; line-height: .72; letter-spacing: -.08em; }
.featured-insight__copy { padding: 50px; align-self: center; }
.featured-insight__copy > p:first-child { color: var(--lg-hot); font-size: .62rem; letter-spacing: .12em; }
.featured-insight__copy h2 { margin: 22px 0 28px; font-size: clamp(2.6rem,4vw,5rem); line-height: .94; letter-spacing: -.055em; }
.featured-insight__copy h2 a { text-decoration: none; }
.featured-insight__copy > p { color: var(--lg-muted); }
.insight-library { padding-top: 70px; }
.insight-library__head { display: flex; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--lg-line); }
.insight-library__head > span { color: var(--lg-muted); font-size: .6rem; letter-spacing: .12em; }
.insight-list { display: grid; grid-template-columns: repeat(3,1fr); }
.insight-list article { min-height: 560px; padding: 28px; display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid var(--lg-line); border-bottom: 1px solid var(--lg-line); }
.insight-list article:nth-child(3n) { border-right: 0; }
.insight-list__visual { margin: -28px -28px 28px; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--lg-line); background: var(--lg-panel); }
.insight-list__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.insight-list__visual:hover img { transform: scale(1.035); }
.insight-list article > p { color: var(--lg-hot); font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }
.insight-list h2 { margin: 24px 0 34px; font-size: clamp(1.8rem,2.7vw,3.2rem); line-height: 1; letter-spacing: -.045em; }
.insight-list h2 a { text-decoration: none; }
.insight-list article > div { margin-top: auto; padding-top: 15px; display: flex; justify-content: space-between; border-top: 1px solid var(--lg-line); color: var(--lg-muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .07em; }
.insight-list article > div a { color: var(--lg-text); text-decoration: none; }
.insights-3d-lab { margin-block: 45px 110px; overflow: hidden; border: 1px solid var(--lg-line); border-radius: 36px; background: radial-gradient(circle at 82% 14%, rgba(86,231,255,.16), transparent 30%), radial-gradient(circle at 18% 90%, rgba(141,98,255,.14), transparent 32%), var(--lg-panel); }
.insights-3d-lab > header { min-height: 430px; padding: 64px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 8vw; align-items: end; }
.insights-3d-lab h2 { margin: 18px 0 0; font-size: clamp(3.2rem,5.7vw,6.6rem); line-height: .88; letter-spacing: -.065em; }
.insights-3d-lab h2 span { color: var(--lg-hot); }
.insights-3d-lab header > div:last-child > p { max-width: 500px; color: var(--lg-muted); line-height: 1.65; }
.insights-3d-lab__latest { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--lg-line); }
.insights-3d-lab__latest > a { min-height: 350px; padding: 25px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--lg-line); text-decoration: none; }
.insights-3d-lab__latest > a:last-child { border-right: 0; }
.insights-3d-lab__latest img { width: calc(100% + 50px); max-width: none; height: 220px; margin: -25px -25px 8px; object-fit: cover; }
.insights-3d-lab__latest span { color: var(--lg-hot); font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }
.insights-3d-lab__latest strong { font-size: clamp(1.5rem,2.4vw,2.7rem); line-height: 1; letter-spacing: -.04em; }
.insight-subscribe { margin-bottom: 110px; padding: 70px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: end; border: 1px solid var(--lg-line); border-radius: 36px; background: radial-gradient(circle at 85% 15%, rgba(255,20,83,.22), transparent 28%), var(--lg-panel); }
.insight-subscribe h2 { margin: 15px 0 0; font-size: clamp(3.2rem,5.7vw,6.5rem); line-height: .9; letter-spacing: -.06em; }
.insight-subscribe > div:last-child p { color: var(--lg-muted); }

/* Long-form insight articles */
.single-post .entry-shell { max-width: 1180px; }
.single-post .entry-header { max-width: 980px; }
.single-post .entry-header .kicker { color: var(--lg-hot); font-size: .66rem; letter-spacing: .12em; }
.single-post .entry-header > p:last-child { max-width: 780px; color: var(--lg-muted); font-size: clamp(1.08rem,1.8vw,1.35rem); }
.single-post .entry-cover { margin: 0 0 80px; overflow: hidden; border-radius: 34px; }
.single-post .entry-cover img { width: 100%; max-height: 720px; object-fit: cover; }
.single-post .entry-content { max-width: 820px; margin-inline: auto; font-size: 1.08rem; line-height: 1.78; }
.single-post .entry-content h2 { margin: 76px 0 24px; color: var(--lg-text); font-size: clamp(2rem,3.8vw,3.7rem); line-height: 1; letter-spacing: -.045em; }
.single-post .entry-content p { margin: 0 0 25px; }
.entry-whatsapp-cta { margin-top: 85px; padding: 42px; border: 1px solid var(--lg-line); border-radius: 30px; background: radial-gradient(circle at 88% 12%, rgba(255,20,83,.28), transparent 34%), var(--lg-panel); }
.entry-whatsapp-cta p { color: var(--lg-muted); }
.entry-whatsapp-cta strong { color: var(--lg-text); font-size: 1.35rem; }

/* 3D Lab: a separate, chronological practice log. */
.three-d-hero h1 { font-size: clamp(5rem,10vw,11rem); }
.three-d-library { padding-top: 55px; }
.three-d-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding-top: 45px; }
.three-d-card { min-height: 620px; display: grid; grid-template-rows: minmax(350px,1fr) auto; overflow: hidden; border: 1px solid var(--lg-line); border-radius: 32px; background: var(--lg-panel); }
.three-d-card__visual { min-height: 350px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50%,rgba(255,255,255,.18),transparent 22%),linear-gradient(135deg,#151520,#8d62ff); color: #fff; text-decoration: none; }
.three-d-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.22,1,.36,1); }
.three-d-card:hover .three-d-card__visual img { transform: scale(1.035); }
.three-d-card__visual > span { font-size: 7rem; font-weight: 750; letter-spacing: -.08em; }
.three-d-card__body { padding: 30px; display: flex; flex-direction: column; }
.three-d-card__body > p:first-child { color: var(--lg-hot); font-size: .62rem; letter-spacing: .11em; text-transform: uppercase; }
.three-d-card__body h2 { margin: 17px 0 18px; font-size: clamp(2.1rem,3.5vw,4.2rem); line-height: .94; letter-spacing: -.055em; }
.three-d-card__body h2 a { text-decoration: none; }
.three-d-card__body > p:not(:first-child) { color: var(--lg-muted); }
.three-d-card__body > div { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--lg-line); color: var(--lg-muted); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.three-d-card__body > div a { color: var(--lg-text); text-decoration: none; }
.three-d-empty { margin-top: 45px; padding: 80px; border: 1px solid var(--lg-line); border-radius: 32px; background: radial-gradient(circle at 80% 20%,rgba(86,231,255,.14),transparent 28%),var(--lg-panel); }
.three-d-empty h2 { margin: 18px 0; font-size: clamp(3rem,6vw,7rem); line-height: .9; letter-spacing: -.06em; }
.three-d-empty > p:last-child { color: var(--lg-muted); }
.three-d-pagination { margin-top: 45px; }
.three-d-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.three-d-pagination a, .three-d-pagination .current { min-width: 44px; min-height: 44px; padding: 0 15px; display: grid; place-items: center; border: 1px solid var(--lg-line); border-radius: 999px; text-decoration: none; }
.three-d-pagination .current { background: var(--lg-hot); color: #fff; }
.three-d-single__hero { padding-top: 185px; }
.three-d-single__hero h1 { margin: 28px 0; max-width: 1150px; font-size: clamp(4rem,8vw,9rem); line-height: .87; letter-spacing: -.07em; }
.three-d-single__hero > p:not(.lg-status) { max-width: 800px; color: var(--lg-muted); font-size: clamp(1.05rem,1.6vw,1.35rem); line-height: 1.65; }
.three-d-facts { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px 60px; }
.three-d-facts span { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; }
.three-d-facts small { color: var(--lg-muted); font-size: .58rem; letter-spacing: .1em; }
.three-d-single__cover { margin-top: 60px; overflow: hidden; border-radius: 34px; }
.three-d-single__cover img { width: 100%; max-height: 88vh; object-fit: cover; }
.three-d-single__story { padding-block: 95px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); gap: 80px; align-items: start; }
.three-d-single__story .entry-content { font-size: 1.08rem; line-height: 1.78; }
.three-d-single__story .entry-content h2 { margin: 65px 0 22px; font-size: clamp(2rem,3.8vw,3.8rem); line-height: 1; letter-spacing: -.045em; }
.three-d-single__story aside { display: grid; gap: 18px; }
.three-d-single__story aside > div { padding: 32px; border: 1px solid var(--lg-line); border-radius: 26px; background: var(--lg-panel); }
.three-d-single__story aside > div > p:last-child { color: var(--lg-muted); line-height: 1.65; }
.three-d-download h2 { margin: 15px 0; font-size: clamp(2rem,3vw,3.2rem); line-height: .96; letter-spacing: -.045em; }
.three-d-single__nav { padding-bottom: 100px; }
.three-d-single__nav a { display: inline-flex; color: var(--lg-muted); text-decoration: none; }

/* Legacy portfolio detail */
.legacy-project { padding-bottom: 110px; }
.legacy-project__hero { padding: 190px 0 85px; border-bottom: 1px solid var(--lg-line); }
.legacy-project__hero h1 { margin: 25px 0 35px; max-width: 1200px; font-size: clamp(4rem,8vw,9rem); line-height: .86; letter-spacing: -.07em; }
.legacy-project__hero-meta { display: flex; flex-wrap: wrap; gap: 22px 55px; align-items: end; }
.legacy-project__hero-meta span { display: grid; gap: 5px; color: var(--lg-text); font-size: .78rem; font-weight: 700; }
.legacy-project__hero-meta small { color: var(--lg-muted); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.legacy-project__hero-meta .lg-text-link { margin-left: auto; }
.legacy-project__cover { margin-top: 45px; overflow: hidden; border-radius: 32px; }
.legacy-project__cover img { width: 100%; max-height: 86vh; object-fit: cover; }
.legacy-project__content { padding-top: 95px; }
.legacy-project__content > .elementor { width: 100%; }
.project-story__intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px 100px; align-items: start; }
.project-story__intro h2 { margin: 18px 0 25px; max-width: 850px; font-size: clamp(3rem,5.7vw,7rem); line-height: .9; letter-spacing: -.06em; }
.project-story__intro h2 span { color: var(--lg-hot); }
.project-story__intro p:not(.lg-label) { max-width: 760px; color: var(--lg-muted); font-size: clamp(1rem,1.25vw,1.18rem); line-height: 1.75; }
.project-facts { margin: 0; display: grid; border-top: 1px solid var(--lg-line); }
.project-facts div { padding: 18px 0; display: grid; grid-template-columns: 100px 1fr; gap: 20px; border-bottom: 1px solid var(--lg-line); }
.project-facts dt { color: var(--lg-muted); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; }
.project-facts dd { margin: 0; font-size: .85rem; font-weight: 700; }
.project-gallery { width: min(1500px,calc(100vw - 28px)); margin: 90px auto 0; display: grid; gap: 14px; }
.project-gallery__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.project-gallery figure { margin: 0; overflow: hidden; border-radius: 26px; background: var(--lg-bg-2); }
.project-gallery img { width: 100%; height: auto; display: block; }
.project-story__credits { margin-top: 95px; padding: 55px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; border: 1px solid var(--lg-line); border-radius: 32px; background: var(--lg-panel); }
.project-story__credits h2 { margin: 15px 0 20px; font-size: clamp(2.8rem,5vw,5.8rem); line-height: .9; letter-spacing: -.055em; }
.project-story__credits p { margin: 0; max-width: 760px; color: var(--lg-muted); }
.legacy-project__next { margin-top: 100px; padding: 65px; border: 1px solid var(--lg-line); border-radius: 38px; background: radial-gradient(circle at 85% 15%, rgba(255,20,83,.2), transparent 30%), var(--lg-panel); }
.legacy-project__next h2 { margin: 18px 0 35px; font-size: clamp(3.2rem,6vw,7rem); line-height: .9; letter-spacing: -.065em; }
.legacy-project__next h2 span { color: var(--lg-hot); }

/* Light-first Liquid Intelligence */
html[data-theme="light"] .header-inner { border-color: rgba(20,20,28,.12); background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.62)); box-shadow: inset 0 1px 0 #fff, 0 14px 50px rgba(37,28,48,.1); }
html[data-theme="light"] .site-nav .menu a { color: rgba(17,17,24,.68); }
html[data-theme="light"] .site-nav .menu a:hover { color: #111118; }
html[data-theme="light"] .nav-cta, html[data-theme="light"] .theme-toggle { border-color: rgba(17,17,24,.12); background: rgba(17,17,24,.055); color: #111118; }
html[data-theme="light"] .nav-cta:hover { background: #111118; color: #fff; }
html[data-theme="light"] .lg-hero { background: radial-gradient(circle at 50% 100%, rgba(255,20,83,.1), transparent 34%), #fbfbfd; }
html[data-theme="light"] .lg-grid { opacity: .45; background-image: linear-gradient(rgba(20,20,28,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,28,.055) 1px, transparent 1px); }
html[data-theme="light"] .lg-status, html[data-theme="light"] .lg-signal-row, html[data-theme="light"] .lg-label, html[data-theme="light"] .lg-scroll-cue { color: rgba(17,17,24,.48); }
html[data-theme="light"] .lg-hero h1 em { background: linear-gradient(100deg, #111118 3%, #d91048 45%, var(--lg-hot) 72%, #7650e8); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="light"] .lg-button--glass { background: rgba(255,255,255,.72); box-shadow: inset 0 1px 0 #fff, 0 10px 35px rgba(28,22,40,.09); }
html[data-theme="light"] .lg-cockpit { border-color: rgba(17,17,24,.13); background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(248,247,252,.62)); box-shadow: inset 0 1px 0 #fff, 0 45px 100px rgba(48,35,63,.15); }
html[data-theme="light"] .lg-cockpit__bar, html[data-theme="light"] .lg-cockpit__footer { color: rgba(17,17,24,.52); }
html[data-theme="light"] .lg-cockpit__bar i { background: rgba(17,17,24,.25); }
html[data-theme="light"] .lg-core::before, html[data-theme="light"] .lg-core::after { border-color: rgba(17,17,24,.13); }
html[data-theme="light"] .lg-node { border-color: rgba(17,17,24,.12); background: rgba(255,255,255,.75); box-shadow: inset 0 1px 0 #fff, 0 8px 28px rgba(30,24,40,.08); }
html[data-theme="light"] .lg-node small { color: rgba(17,17,24,.47); }
html[data-theme="light"] .lg-ticker { border-color: rgba(17,17,24,.09); background: rgba(17,17,24,.025); }
html[data-theme="light"] .lg-ticker > div { color: rgba(17,17,24,.65); }
html[data-theme="light"] .lg-manifesto { background: radial-gradient(circle at 50% 30%, rgba(141,98,255,.1), transparent 34%), var(--lg-bg); }
html[data-theme="light"] .lg-systems, html[data-theme="light"] .lg-work { background: #f0f0f4; }
html[data-theme="light"] .lg-module { border-color: rgba(17,17,24,.1); background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.56)); box-shadow: inset 0 1px 0 #fff; }
html[data-theme="light"] .lg-module__no { color: rgba(17,17,24,.3); }
html[data-theme="light"] .lg-module footer { border-color: rgba(17,17,24,.08); }
html[data-theme="light"] .lg-module footer b { border-color: rgba(17,17,24,.1); color: rgba(17,17,24,.52); }
html[data-theme="light"] .lg-module__icon { border-color: rgba(17,17,24,.1); }
html[data-theme="light"] .lg-module__icon i { background: #111118; }
html[data-theme="light"] .lg-module--hot { color: #fff; background: radial-gradient(circle at 82% 25%, rgba(255,255,255,.2), transparent 22%), linear-gradient(125deg, #b60038, var(--lg-hot) 50%, #ff416f); }
html[data-theme="light"] .lg-module--hot footer { border-color: rgba(255,255,255,.18); }
html[data-theme="light"] .lg-module--hot footer b { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.76); }
html[data-theme="light"] .lg-lab, html[data-theme="light"] .lg-identity, html[data-theme="light"] .lg-contact { background-color: #fbfbfd; }
html[data-theme="light"] .lg-workflow { border-color: rgba(17,17,24,.12); background: rgba(255,255,255,.72); }
html[data-theme="light"] .lg-workflow__top, html[data-theme="light"] .lg-workflow li { border-color: rgba(17,17,24,.08); }
html[data-theme="light"] .lg-workflow__top, html[data-theme="light"] .lg-workflow li > b, html[data-theme="light"] .lg-workflow li small, html[data-theme="light"] .lg-workflow li em { color: rgba(17,17,24,.45); }
html[data-theme="light"] .lg-console { background: rgba(17,17,24,.055); }
html[data-theme="light"] .lg-console b { color: rgba(17,17,24,.7); }
html[data-theme="light"] .lg-case { border-color: rgba(17,17,24,.1); }
html[data-theme="light"] .lg-case__copy > p { color: rgba(17,17,24,.42); }
html[data-theme="light"] .lg-case__copy strong { color: rgba(17,17,24,.72); }
html[data-theme="light"] .lg-identity__mark { border-color: rgba(17,17,24,.12); background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,255,255,.54)); box-shadow: inset 0 1px 0 #fff, var(--lg-glow); }
html[data-theme="light"] .lg-identity__mark span { color: rgba(17,17,24,.42); }
html[data-theme="light"] .site-footer { background: #f7f7fa; color: var(--lg-text); border-color: rgba(17,17,24,.1); }
html[data-theme="light"] .footer-bottom { border-color: rgba(17,17,24,.1); }
html[data-theme="light"] .sub-hero, html[data-theme="light"] .entry-shell, html[data-theme="light"] .archive-shell, html[data-theme="light"] .form-section { background: #f7f7fa; }
html[data-theme="light"] .dark-panel { background: #ececf1; color: #111118; }

@media (max-width: 1020px) {
  .lg-hero__grid, .lg-lab__grid, .lg-identity__grid { grid-template-columns: 1fr; }
  .lg-cockpit { max-width: 690px; }
  .lg-module__icon, .lg-module__radar { opacity: .52; }
  .lg-case { gap: 40px; }
  .inner-hero__grid, .about-hero__grid, .inner-section__head--split, .process-layout, .featured-insight, .insight-subscribe { grid-template-columns: 1fr; }
  .service-stack article { grid-template-columns: 65px 1fr; }
  .service-stack article > ul { grid-column: 2; }
  .experience-track { grid-template-columns: repeat(2,1fr); }
  .experience-track article:nth-child(2) { border-right: 0; }
  .experience-track article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .about-portrait { max-width: 720px; }
}

@media (max-width: 760px) {
  .site-header { inset: 10px 0 auto; }
  .header-inner { width: calc(100vw - 20px); min-height: 58px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand-name { display: none; }
  .menu-toggle { color: #fff; }
  .header-controls { margin-left: auto; }
  html[data-theme="light"] .menu-toggle { color: #111118; }
  html[data-theme="light"] body.menu-open .menu-toggle, html[data-theme="light"] body.menu-open .theme-toggle { color: #fff; }
  html[data-theme="light"] body.menu-open .theme-toggle { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
  .site-nav { inset: 0; z-index: 2; min-height: 100dvh; padding: 115px 28px 28px; background: radial-gradient(circle at 80% 8%, rgba(255,20,83,.2), transparent 28%), #050508; backdrop-filter: blur(28px); }
  .site-nav .menu { gap: 10px; }
  .site-nav .menu a { color: #fff; font-size: clamp(2.25rem, 12vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; }
  .site-nav .nav-cta { min-height: 52px; display: grid; place-items: center; background: rgba(255,255,255,.09); color: #fff; }
  html[data-theme="light"] .site-nav .menu a, html[data-theme="light"] .site-nav .nav-cta { color: #fff; }
  .lg-hero { min-height: auto; padding: 125px 0 75px; }
  .lg-hero h1 { font-size: clamp(3.6rem, 17vw, 5.6rem); }
  .lg-hero__grid { gap: 55px; }
  .lg-cockpit { min-height: 480px; border-radius: 28px; transform: none; }
  .lg-core { min-height: 380px; }
  .lg-core::before { width: 280px; height: 280px; }.lg-core::after { width: 205px; height: 205px; }
  .lg-core__orb { width: 104px; height: 104px; }
  .lg-node { min-width: 105px; padding: 8px; font-size: .56rem; }.lg-node small { font-size: .46rem; }
  .lg-scroll-cue { display: none; }
  .lg-manifesto, .lg-lab, .lg-identity { padding: 95px 0; }
  .lg-manifesto h2 { font-size: clamp(3rem, 14vw, 5.2rem); }
  .lg-section { padding: 90px 0; }
  .lg-section__head { align-items: flex-start; flex-direction: column; }
  .lg-module-grid { grid-template-columns: 1fr; }
  .lg-module, .lg-module--wide { grid-column: auto; min-height: 480px; }
  .lg-module__icon { width: 210px; height: 210px; right: -30px; top: 40px; }
  .lg-module__radar { width: 210px; height: 210px; right: -18%; top: 34%; }
  .lg-workflow li { grid-template-columns: 35px 1fr; }.lg-workflow li em { display: none; }
  .lg-case { grid-template-columns: 1fr; }
  .lg-case__visual { min-height: 330px; }.lg-case__copy { padding-bottom: 24px; }
  .lg-identity__mark { min-height: 420px; }
  .lg-contact__panel { min-height: 650px; padding: 34px 24px; grid-template-columns: 1fr; border-radius: 30px; }
  .lg-contact h2 { font-size: clamp(3.2rem, 15vw, 5.5rem); }
  .lg-contact .lg-text-link { margin-left: 0; display: flex; }
  .pf-hero { padding: 135px 0 75px; }
  .pf-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .pf-hero h1 { font-size: clamp(4rem, 20vw, 6.5rem); }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-card:nth-child(3n+1) { grid-column: auto; }
  .pf-card { min-height: 440px; }
  .pf-card__visual { min-height: 270px; }
  .pf-card__body { padding: 23px; }
  .pf-outro { margin-top: 60px; padding: 42px 25px; grid-template-columns: 1fr; }
  .inner-hero { padding: 135px 0 75px; }
  .inner-hero h1 { font-size: clamp(3.9rem,17vw,6.2rem); }
  .inner-section { padding: 90px 0; }
  .inner-section__head { margin-bottom: 42px; }
  .inner-section__head h2 { font-size: clamp(3rem,13vw,5.2rem); }
  .service-stack article { min-height: auto; padding: 34px 0; grid-template-columns: 42px 1fr; gap: 18px; }
  .service-stack article > ul { grid-column: 2; margin-top: 20px; }
  .service-stack article.is-hot { margin-inline: -10px; padding-inline: 22px; }
  .engagement-grid { grid-template-columns: 1fr; }
  .engagement-grid article { min-height: 400px; }
  .process-layout { gap: 50px; }
  .inner-cta { min-height: 560px; margin-bottom: 70px; padding: 38px 24px; border-radius: 30px; }
  .inner-cta h2 { font-size: clamp(3.2rem,14vw,5.2rem); }
  .about-hero { padding-bottom: 55px; }
  .about-hero__grid { grid-template-columns: 1fr; }
  .about-portrait { min-height: 470px; border-radius: 30px; }
  .about-portrait__orbit { width: 330px; height: 330px; }
  .about-intro__grid { grid-template-columns: 1fr; }
  .experience-track { grid-template-columns: 1fr; }
  .experience-track article { min-height: 310px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article { min-height: 300px; }
  .principles-grid h3 { margin-top: 80px; }
  .featured-insight { margin-top: 55px; grid-template-columns: 1fr; }
  .featured-insight__visual { min-height: 350px; }
  .featured-insight__copy { padding: 32px 24px; }
  .insight-list { grid-template-columns: 1fr; }
  .insight-list article, .insight-list article:nth-child(3n) { min-height: 520px; border-right: 0; }
  .insights-3d-lab { margin-block: 35px 80px; border-radius: 28px; }
  .insights-3d-lab > header { min-height: 520px; padding: 38px 24px; grid-template-columns: 1fr; gap: 38px; }
  .insights-3d-lab__latest { grid-template-columns: 1fr; }
  .insights-3d-lab__latest > a { border-right: 0; border-bottom: 1px solid var(--lg-line); }
  .three-d-grid { grid-template-columns: 1fr; }
  .three-d-card { min-height: 540px; border-radius: 26px; }
  .three-d-empty { padding: 45px 24px; border-radius: 26px; }
  .three-d-single__hero { padding-top: 135px; }
  .three-d-single__cover { margin-top: 45px; border-radius: 24px; }
  .three-d-single__story { padding-block: 65px; grid-template-columns: 1fr; gap: 45px; }
  .insight-subscribe { padding: 42px 24px; }
  .single-post .entry-cover { margin-bottom: 48px; border-radius: 22px; }
  .single-post .entry-content h2 { margin-top: 56px; }
  .entry-whatsapp-cta { margin-top: 60px; padding: 30px 24px; border-radius: 24px; }
  .legacy-project__hero { padding: 135px 0 65px; }
  .legacy-project__hero h1 { font-size: clamp(3.6rem,15vw,5.8rem); }
  .legacy-project__hero-meta .lg-text-link { width: 100%; margin-left: 0; }
  .legacy-project__cover { border-radius: 22px; }
  .legacy-project__content { padding-top: 65px; }
  .project-story__intro { grid-template-columns: 1fr; gap: 35px; }
  .project-gallery { margin-top: 60px; gap: 8px; }
  .project-gallery__grid { grid-template-columns: 1fr; gap: 8px; }
  .project-gallery figure { border-radius: 18px; }
  .project-story__credits { margin-top: 65px; padding: 36px 24px; grid-template-columns: 1fr; border-radius: 26px; }
  .legacy-project__next { margin-top: 65px; padding: 42px 24px; border-radius: 28px; }
}

/* Portfolio library: grouped cases + chronological production archive. */
.pf-hero__stats { margin-top: 34px; display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 10px 14px; align-items: baseline; }
.pf-hero__stats strong { color: var(--lg-hot); font-size: clamp(2.2rem,4vw,4.5rem); line-height: .8; letter-spacing: -.06em; }
.pf-hero__stats span { color: var(--lg-muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.pf-case-section { padding: 110px 0 130px; }
.pf-case-library { padding: 35px 0 90px; }
.pf-case-library[hidden], .pf-time-tunnel[hidden] { display: none !important; }
.pf-case-library__head { margin-bottom: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 70px; align-items: end; }
.pf-case-library__head .lg-label { grid-column: 1 / -1; }
.pf-case-library__head h2 { margin: 0; font-size: clamp(3.3rem,5.7vw,7rem); line-height: .88; letter-spacing: -.065em; }
.pf-case-library__head h2 span { color: var(--lg-hot); }
.pf-case-library__head > p:last-child { max-width: 500px; color: var(--lg-muted); font-size: clamp(1rem,1.25vw,1.18rem); line-height: 1.65; }
.pf-section-head { margin-bottom: 58px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; }
.pf-section-head h2 { margin: 18px 0 0; font-size: clamp(3.5rem,6.4vw,7.5rem); line-height: .88; letter-spacing: -.065em; }
.pf-section-head h2 span { color: var(--lg-hot); }
.pf-section-head > p { max-width: 520px; color: var(--lg-muted); font-size: clamp(1rem,1.35vw,1.25rem); line-height: 1.65; }
.pf-case-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.pf-case-card { min-height: 610px; display: grid; grid-template-rows: 1fr auto; overflow: hidden; border: 1px solid var(--lg-line); border-radius: 34px; background: var(--lg-panel); box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
.pf-case-card:nth-child(5n+1) { grid-column: span 2; grid-template-columns: 1.18fr .82fr; grid-template-rows: 1fr; }
.pf-case-card__visual { position: relative; min-height: 370px; overflow: hidden; background: linear-gradient(135deg,#ff1453,#8d62ff); }
.pf-case-card__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 45%,rgba(8,8,12,.36)); }
.pf-case-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.pf-case-card:hover .pf-case-card__visual img { transform: scale(1.035); }
.pf-case-card__visual > span { position: absolute; z-index: 2; left: 24px; bottom: 20px; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(10,10,15,.28); color: #fff; backdrop-filter: blur(12px); }
.pf-case-card__body { padding: 30px; }
.pf-case-card__body > p { margin: 0 0 15px; color: var(--lg-hot); font-size: .65rem; letter-spacing: .11em; text-transform: uppercase; }
.pf-case-card__body h3 { margin: 0; font-size: clamp(2rem,3vw,3.7rem); line-height: .98; letter-spacing: -.05em; }
.pf-case-card__body > div { margin: 22px 0; max-width: 650px; color: var(--lg-muted); line-height: 1.6; }
.pf-case-card__body > a { display: inline-flex; gap: 15px; color: inherit; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.pf-case-card__body > a span { color: var(--lg-hot); }
.pf-timeline-section { padding: 130px 0 30px; border-top: 1px solid var(--lg-line); }
.pf-timeline-head { margin-bottom: 45px; }
.pf-filter { position: sticky; z-index: 20; top: 90px; margin-bottom: 55px; padding: 6px; display: flex; gap: 2px; overflow-x: auto; border: 1px solid var(--lg-line); border-radius: 22px; background: color-mix(in srgb,var(--lg-bg) 72%,transparent); backdrop-filter: blur(24px) saturate(140%); }
.pf-filter button { flex: 0 0 auto; padding: 10px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--lg-muted); font: inherit; font-size: .59rem; font-weight: 700; letter-spacing: .055em; line-height: 1.2; cursor: pointer; text-transform: uppercase; white-space: nowrap; }
.pf-filter button:hover, .pf-filter button.is-active { background: var(--lg-hot); color: #fff; }
.pf-filter .pf-filter__cases { margin-left: auto; padding-inline: 14px; border: 1px solid color-mix(in srgb,var(--lg-hot) 45%,var(--lg-line)); color: var(--lg-hot); }
.pf-filter .pf-filter__cases span { margin-left: 7px; opacity: .72; }

/* One quiet row on wide screens; a compact two-row matrix on smaller laptops. */
@media (min-width: 1180px) {
  .pf-filter {
    flex-wrap: nowrap;
    overflow: visible;
  }
  .pf-filter button {
    flex: 1 1 auto;
    min-width: 0;
  }
  .pf-filter .pf-filter__cases { flex: 0 0 auto; }
}
@media (min-width: 901px) and (max-width: 1179px) {
  .pf-filter { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: visible; }
  .pf-filter button { width: 100%; min-width: 0; white-space: normal; }
  .pf-filter .pf-filter__cases { margin-left: 0; }
}
.pf-year { display: grid; grid-template-columns: 150px 1fr; gap: 55px; padding: 45px 0 80px; border-top: 1px solid var(--lg-line); }
.pf-year > header { position: sticky; top: 180px; align-self: start; display: grid; gap: 8px; }
.pf-year > header span { color: var(--lg-hot); font-size: clamp(3.4rem,5vw,6rem); line-height: .82; letter-spacing: -.07em; }
.pf-year > header small { color: var(--lg-muted); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.pf-year__entries { display: grid; gap: 30px; }
.pf-timeline-card { min-height: 420px; display: grid; grid-template-columns: minmax(300px,.9fr) 1.1fr; overflow: hidden; border: 1px solid var(--lg-line); border-radius: 30px; background: var(--lg-panel); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.pf-timeline-card[hidden], .pf-year[hidden] { display: none !important; }
.pf-timeline-card:nth-child(even) .pf-timeline-card__media { order: 2; }
.pf-timeline-card__media { position: relative; min-height: 420px; overflow: hidden; background: linear-gradient(135deg,rgba(255,20,83,.9),rgba(141,98,255,.72)); }
.pf-timeline-card__media img, .pf-timeline-card__media video { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.pf-timeline-card__media img { transition: transform .75s cubic-bezier(.22,1,.36,1); }
.pf-timeline-card:hover .pf-timeline-card__media img { transform: scale(1.035); }
.pf-media-count { position: absolute; right: 16px; top: 16px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(10,10,15,.45); color: #fff; font-size: .65rem; backdrop-filter: blur(12px); }
.pf-timeline-card__copy { align-self: center; padding: clamp(28px,5vw,70px); }
.pf-timeline-card__meta { margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px; color: var(--lg-muted); font-size: .64rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.pf-timeline-card__meta span { color: var(--lg-hot); }
.pf-timeline-card h3 { margin: 0; font-size: clamp(2.2rem,4vw,5.2rem); line-height: .94; letter-spacing: -.055em; }
.pf-timeline-card__copy > p { margin: 28px 0 0; max-width: 620px; color: var(--lg-muted); font-size: clamp(.95rem,1.2vw,1.1rem); line-height: 1.65; }
.pf-empty { padding: 70px 0; color: var(--lg-muted); text-align: center; }
.pf-time-tunnel { --tunnel-progress: 0%; position: relative; padding: 25px 0 40px 76px; }
.pf-time-tunnel__line { position: absolute; z-index: 0; top: 0; bottom: 130px; left: 28px; width: 2px; overflow: hidden; background: color-mix(in srgb,var(--lg-line) 75%,transparent); }
.pf-time-tunnel__line i { position: absolute; inset: 0 0 auto; height: var(--tunnel-progress); background: linear-gradient(180deg,#ff1453,#8d62ff 55%,#56e7ff); box-shadow: 0 0 24px rgba(255,20,83,.65); transition: height .15s linear; }
.pf-tunnel-entry { position: relative; z-index: 1; min-height: 430px; margin: 0 0 54px; display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); gap: 0; align-items: stretch; border: 1px solid var(--lg-line); border-radius: 34px; background: var(--lg-panel); box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 24px 80px rgba(18,18,28,.07); }
.pf-tunnel-entry[hidden] { display: none !important; }
.pf-tunnel-entry__media, .pf-tunnel-entry__copy { overflow: hidden; border: 0; background: transparent; box-shadow: none; }
.pf-tunnel-entry__media { position: relative; min-height: 430px; }
.pf-tunnel-entry__media img, .pf-tunnel-entry__media video { width: 100%; height: 100%; min-height: 430px; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.pf-tunnel-entry:hover .pf-tunnel-entry__media img { transform: scale(1.035); }
.pf-tunnel-entry__copy { padding: clamp(30px,4.2vw,62px); display: flex; flex-direction: column; justify-content: center; }
.pf-tunnel-entry__copy h3 { margin: 0; font-size: clamp(2.15rem,3.5vw,4.6rem); line-height: .94; letter-spacing: -.055em; }
.pf-tunnel-entry__copy > p { margin: 25px 0 0; color: var(--lg-muted); font-size: clamp(.94rem,1.1vw,1.08rem); line-height: 1.65; }
.pf-tunnel-entry__link { margin-top: 28px; width: max-content; display: inline-flex; gap: 14px; color: var(--lg-text); font-size: .72rem; font-weight: 750; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.pf-tunnel-entry__link span { color: var(--lg-hot); }
.pf-tunnel-entry.is-left .pf-tunnel-entry__media { grid-column: 1; border-radius: 32px 0 0 32px; border-right: 1px solid var(--lg-line); }
.pf-tunnel-entry.is-left .pf-tunnel-entry__copy { grid-column: 2; border-radius: 0 32px 32px 0; }
.pf-tunnel-entry.is-right .pf-tunnel-entry__copy { grid-column: 1; grid-row: 1; }
.pf-tunnel-entry.is-right .pf-tunnel-entry__copy { border-radius: 32px 0 0 32px; border-right: 1px solid var(--lg-line); }
.pf-tunnel-entry.is-right .pf-tunnel-entry__media { grid-column: 2; grid-row: 1; border-radius: 0 32px 32px 0; }
.pf-tunnel-entry__node { position: absolute; z-index: 3; left: -77px; top: 50%; width: 58px; display: grid; grid-template-columns: minmax(0,1fr); justify-items: center; gap: 12px; transform: translateY(-50%); }
.pf-tunnel-entry__node > i { width: 22px; height: 22px; border: 5px solid var(--lg-bg); border-radius: 50%; background: var(--lg-hot); box-shadow: 0 0 0 1px var(--lg-hot),0 0 30px rgba(255,20,83,.5); }
.pf-tunnel-entry__node time { padding: 10px 12px; display: grid; gap: 2px; border: 1px solid var(--lg-line); border-radius: 14px; background: color-mix(in srgb,var(--lg-bg) 82%,transparent); color: var(--lg-muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-align: center; backdrop-filter: blur(16px); }
.pf-tunnel-entry__node time strong { color: var(--lg-hot); font-size: .86rem; }
.pf-load-more-wrap { position: relative; z-index: 3; margin: 20px auto 0; padding: 28px 25px 0; width: min(440px,90%); display: grid; justify-items: center; gap: 18px; background: var(--lg-bg); text-align: center; }
.pf-load-more-wrap::before { content: ""; position: absolute; z-index: -1; inset: -50px -40px 0; background: radial-gradient(circle at 50% 25%,rgba(255,20,83,.13),transparent 60%),var(--lg-bg); }
.pf-load-more-wrap p { margin: 0; color: var(--lg-muted); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.pf-load-more-wrap button[hidden] { display: none; }

@media (max-width: 900px) {
  .pf-section-head { grid-template-columns: 1fr; gap: 25px; }
  .pf-case-library__head { grid-template-columns: 1fr; gap: 22px; }
  .pf-case-library__head .lg-label { grid-column: auto; }
  .pf-case-grid { grid-template-columns: 1fr; }
  .pf-case-card:nth-child(5n+1) { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .pf-case-card { min-height: 520px; }
  .pf-year { grid-template-columns: 1fr; gap: 25px; }
  .pf-year > header { position: static; display: flex; align-items: baseline; gap: 14px; }
  .pf-timeline-card { grid-template-columns: 1fr; }
  .pf-timeline-card:nth-child(even) .pf-timeline-card__media { order: 0; }
  .pf-timeline-card__media, .pf-timeline-card__media img, .pf-timeline-card__media video { min-height: 320px; max-height: 62vh; }
  .pf-filter { flex-wrap: nowrap; scrollbar-width: none; }
  .pf-filter::-webkit-scrollbar { display: none; }
  .pf-time-tunnel { padding-left: 58px; }
  .pf-time-tunnel__line { left: 28px; transform: none; }
  .pf-tunnel-entry { min-height: auto; margin-bottom: 70px; display: grid; grid-template-columns: 1fr; gap: 0; border-radius: 26px; }
  .pf-tunnel-entry.is-left .pf-tunnel-entry__media, .pf-tunnel-entry.is-right .pf-tunnel-entry__media { grid-column: 1; grid-row: 1; border: 0; border-bottom: 1px solid var(--lg-line); border-radius: 25px 25px 0 0; }
  .pf-tunnel-entry.is-left .pf-tunnel-entry__copy, .pf-tunnel-entry.is-right .pf-tunnel-entry__copy { grid-column: 1; grid-row: 2; border: 0; border-radius: 0 0 25px 25px; }
  .pf-tunnel-entry__node { position: absolute; left: -57px; top: 38px; grid-column: auto; grid-row: auto; width: 54px; transform: none; }
  .pf-tunnel-entry__node time { padding: 8px; font-size: .58rem; }
}

@media (max-width: 620px) {
  .pf-hero__stats { grid-template-columns: auto 1fr; }
  .pf-case-section, .pf-timeline-section { padding-top: 90px; }
  .pf-case-card { border-radius: 26px; }
  .pf-case-card__visual { min-height: 300px; }
  .pf-case-card__body { padding: 24px; }
  .pf-filter { top: 76px; margin-inline: 18px; width: auto; border-radius: 22px; }
  .pf-filter .pf-filter__cases { margin-left: 0; }
  .pf-year { padding-bottom: 55px; }
  .pf-timeline-card { min-height: auto; border-radius: 24px; }
  .pf-timeline-card__copy { padding: 28px 24px 36px; }
  .pf-timeline-card__media, .pf-timeline-card__media img, .pf-timeline-card__media video { min-height: 280px; }
  .pf-time-tunnel { margin-inline: 18px; padding-left: 48px; width: auto; }
  .pf-time-tunnel__line { left: 19px; }
  .pf-tunnel-entry__node { left: -50px; width: 42px; }
  .pf-tunnel-entry__node > i { width: 18px; height: 18px; border-width: 4px; }
  .pf-tunnel-entry__node time { font-size: .52rem; }
  .pf-tunnel-entry__media, .pf-tunnel-entry__media img, .pf-tunnel-entry__media video { min-height: 290px; max-height: 65vh; }
  .pf-tunnel-entry__copy { padding: 28px 23px 34px; border-radius: 0 0 24px 24px; }
}

/* Page choreography: a quiet cinematic entrance, then viewport-driven reveals. */
@keyframes mek-page-enter {
  from { opacity: 0; transform: translateY(10px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes mek-header-enter {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

html.motion-enabled.motion-loaded .site-header {
  animation: mek-header-enter .72s cubic-bezier(.22,1,.36,1) both;
}

html.motion-enabled.motion-loaded main {
  animation: mek-page-enter .62s cubic-bezier(.22,1,.36,1) both;
}

html.motion-enabled .motion-reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(.988);
  filter: blur(7px);
  transition:
    opacity .82s cubic-bezier(.22,1,.36,1),
    transform .82s cubic-bezier(.22,1,.36,1),
    filter .72s ease;
  transition-delay: calc(var(--motion-order, 0) * 55ms);
  will-change: opacity, transform, filter;
}

html.motion-enabled .motion-reveal.is-motion-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

html.motion-enabled.is-page-leaving main,
html.motion-enabled.is-page-leaving .site-footer {
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(4px);
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}

html.motion-enabled.is-page-leaving .site-header {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .motion-reveal, .site-header, main, .site-footer { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .lg-ambient i, .lg-cockpit::before, .lg-core::after, .lg-module__radar i, .lg-case__visual::before, .lg-ticker > div { animation: none !important; }
}

@media (prefers-contrast: more) {
  .header-inner, .lg-cockpit, .lg-module, .lg-workflow, .lg-identity__mark { background: #111119; border-color: rgba(255,255,255,.45); backdrop-filter: none; }
  .lg-muted, .lg-hero__copy > p, .lg-manifesto__body { color: #fff; }
}
