:root {
  --bg: #07080d;
  --bg-soft: #0d1018;
  --surface: rgba(16, 19, 29, 0.76);
  --paper: #f3f0e8;
  --ink: #07080d;
  --white: #f9f7f1;
  --muted: #a9adba;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(7, 8, 13, 0.16);
  --cyan: #35d9ff;
  --blue: #6387ff;
  --pink: #ff4ea8;
  --yellow: #e8ff59;
  --orange: #ff8d54;
  --violet: #9d6bff;
  --green: #61e397;
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
::selection { color: var(--ink); background: var(--yellow); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

/* Keyboard clarity without changing the default visual composition. */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px rgba(7,8,13,.78);
}
.mock-control { pointer-events: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.82'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.supernova-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .96;
}
.ambient { position: fixed; z-index: 0; width: 42vw; height: 42vw; border-radius: 50%; filter: blur(100px); opacity: .12; pointer-events: none; transition: background 900ms ease, transform 900ms var(--ease); }
.ambient-a { left: -16vw; top: 16vh; background: var(--pink); }
.ambient-b { right: -16vw; bottom: 0; background: var(--cyan); }
.cursor-glow { position: fixed; left: 0; top: 0; z-index: 55; width: 340px; height: 340px; border-radius: 50%; pointer-events: none; opacity: .13; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(53,217,255,.8), rgba(157,107,255,.14) 42%, transparent 72%); mix-blend-mode: screen; filter: blur(8px); }

main, .site-header, .footer { position: relative; z-index: 2; }
.shell { width: min(calc(100% - (var(--gutter) * 2)), var(--max)); margin-inline: auto; }
.section-theme { position: relative; isolation: isolate; }
.grid-overlay { position: absolute; inset: 0; pointer-events: none; opacity: .34; 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: 80px 80px; mask-image: linear-gradient(to bottom, #000 30%, transparent 94%); }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.site-header.scrolled { background: rgba(7,8,13,.72); border-bottom-color: rgba(255,255,255,.12); backdrop-filter: blur(18px); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: rgba(255,255,255,.08); }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--pink), var(--yellow), var(--cyan)); }
.nav-shell { width: min(calc(100% - 40px), var(--max)); min-height: 82px; margin: auto; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 172px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.62); font-family: var(--serif); font-weight: 700; font-style: italic; border-radius: 50%; }
.brand-copy { display: grid; line-height: 1; text-transform: uppercase; letter-spacing: .14em; }
.brand-copy strong { font-size: .85rem; letter-spacing: .28em; animation: intentionalDisappear 11s steps(1,end) infinite; }
.brand-copy small { margin-top: 5px; color: #adb2c2; font-size: .5rem; letter-spacing: .34em; }
@keyframes intentionalDisappear { 0%, 56%, 100% { opacity: 1; } 58%, 78% { opacity: 0; } }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.nav-links a { position: relative; color: #d4d7df; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--cyan); transition: right .3s var(--ease); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { min-width: 44px; height: 40px; border: 0; background: transparent; cursor: pointer; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.58); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; transition: color .25s ease, background .25s ease; }
.nav-cta:hover { color: var(--ink); background: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.45); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.section-label { display: flex; align-items: center; gap: 14px; color: #6d7180; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.section-label i { width: 38px; height: 1px; background: currentColor; opacity: .7; }
.section-label.light { color: rgba(255,255,255,.64); }

.hero { min-height: 100svh; overflow: hidden; background: radial-gradient(circle at 70% 34%, rgba(25,73,122,.12), transparent 32%), linear-gradient(180deg, rgba(7,8,13,.12), #07080d 96%); }
.hero-shell { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(480px, .96fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding-top: 118px; padding-bottom: 118px; }
.hero-copy { position: relative; z-index: 5; }
.hero-index { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: #a9adba; font-family: var(--mono); font-size: .65rem; letter-spacing: .16em; }
.hero-index i { width: 48px; height: 1px; background: currentColor; }
.hero h1 { max-width: 850px; margin: 0; font-family: var(--serif); font-size: clamp(4.2rem, 7.8vw, 8.7rem); font-weight: 400; line-height: .78; letter-spacing: -.067em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { margin-left: clamp(20px, 5vw, 100px); color: #f7f4ee; font-weight: 400; }
.gradient-text { padding-bottom: .14em; color: transparent; background: linear-gradient(90deg, var(--pink), var(--orange) 33%, var(--yellow) 60%, var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 670px; margin: 34px 0 0; color: #c3c6d0; font-size: clamp(1rem, 1.25vw, 1.22rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 58px; padding: 0 26px; border: 1px solid rgba(255,255,255,.35); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease; }
.button svg { width: 22px; }
.button-primary { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-primary:hover { background: var(--yellow); border-color: var(--yellow); }
.button-ghost:hover { color: var(--ink); background: var(--white); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 46px; }
.hero-trust span { display: flex; align-items: center; gap: 9px; color: #878c9b; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.hero-trust i { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 14px var(--yellow); }
.hero-trust span:nth-child(2) i { background: var(--pink); box-shadow: 0 0 14px var(--pink); }
.hero-trust span:nth-child(3) i { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.hero-visual { position: relative; min-height: min(740px, 72vh); perspective: 1100px; }
.hero-core { position: absolute; left: 50%; top: 46%; width: clamp(190px, 25vw, 350px); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; color: var(--white); font-family: var(--serif); font-size: clamp(3rem, 5vw, 6rem); font-style: italic; }
.hero-core::before { content: ""; position: absolute; inset: 5%; border-radius: inherit; background: radial-gradient(circle at 43% 42%, #f9fdff 0 2%, #78e2ff 8%, #386dff 18%, rgba(255,78,168,.82) 34%, rgba(58,23,97,.7) 52%, transparent 70%); box-shadow: 0 0 44px rgba(53,217,255,.52), 0 0 120px rgba(255,78,168,.36), inset 0 0 80px rgba(255,255,255,.22); animation: corePulse 5s ease-in-out infinite; }
.hero-core::after { content: ""; position: absolute; inset: -8%; border: 1px solid rgba(108,196,255,.45); border-radius: inherit; box-shadow: inset 0 0 60px rgba(53,217,255,.13); }
.hero-core b { position: relative; z-index: 2; text-shadow: 0 0 24px rgba(255,255,255,.9); }
.core-ring { position: absolute; inset: -26%; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; transform: rotateX(68deg) rotateZ(-18deg); }
.core-glow { position: absolute; inset: -60%; background: radial-gradient(circle, rgba(83,109,255,.17), transparent 60%); filter: blur(12px); }
@keyframes corePulse { 50% { transform: scale(1.06); filter: saturate(1.35) brightness(1.08); } }
.orbit { position: absolute; left: 50%; top: 46%; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transform-style: preserve-3d; }
.orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.orbit-one { width: 88%; aspect-ratio: 1.7; transform: translate(-50%, -50%) rotate(-13deg); animation: orbitFloat 9s ease-in-out infinite; }
.orbit-one::after { right: 14%; top: 8%; }
.orbit-two { width: 70%; aspect-ratio: 1.15; transform: translate(-50%, -50%) rotate(62deg); animation: orbitFloat 12s ease-in-out infinite reverse; }
.orbit-two::after { left: 10%; bottom: 17%; background: var(--pink); box-shadow: 0 0 16px var(--pink); }
.orbit-three { width: 105%; aspect-ratio: 2.5; transform: translate(-50%, -50%) rotate(24deg); border-color: rgba(255,211,75,.18); }
@keyframes orbitFloat { 50% { margin-top: -14px; } }
.floating-project { position: absolute; z-index: 4; width: clamp(190px, 18vw, 255px); padding: 20px; border: 1px solid rgba(255,255,255,.24); background: linear-gradient(145deg, rgba(16,20,32,.88), rgba(8,10,17,.56)); backdrop-filter: blur(12px); box-shadow: 0 24px 70px rgba(0,0,0,.36); }
.floating-project span { color: #8d92a2; font-family: var(--mono); font-size: .54rem; letter-spacing: .1em; }
.floating-project strong { display: block; margin-top: 12px; font-family: var(--serif); font-size: clamp(1.55rem, 2.1vw, 2.35rem); font-weight: 400; line-height: .9; }
.floating-project small { display: block; margin-top: 12px; color: #b3b7c2; font-size: .72rem; }
.floating-project-a { left: -2%; top: 10%; transform: rotate(-4deg); animation: floatA 6s ease-in-out infinite; }
.floating-project-b { right: -1%; bottom: 12%; transform: rotate(3deg); animation: floatB 7.5s ease-in-out infinite; }
@keyframes floatA { 50% { transform: translateY(-13px) rotate(-2deg); } }
@keyframes floatB { 50% { transform: translateY(13px) rotate(1deg); } }
.hero-stamp { position: absolute; left: 4%; bottom: 12%; width: 100px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: grid; place-items: center; align-content: center; color: #c8cbd4; font-family: var(--mono); transform: rotate(-12deg); }
.hero-stamp span { font-size: .48rem; letter-spacing: .2em; }
.hero-stamp b { font-family: var(--sans); font-size: .74rem; letter-spacing: .12em; }
.hero-marquee { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(6,7,11,.72); }
.hero-marquee div { display: flex; align-items: center; gap: 26px; width: max-content; padding: 13px 0; animation: marquee 24s linear infinite; }
.hero-marquee span { color: #8e93a3; font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; }
.hero-marquee i { color: var(--pink); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.manifesto { color: var(--ink); background: var(--paper); padding: clamp(100px, 11vw, 180px) 0; }
.manifesto-shell { position: relative; }
.manifesto-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr); gap: clamp(40px, 8vw, 120px); align-items: end; margin-top: 60px; }
.display-quote { margin: 0; max-width: 970px; font-family: var(--serif); font-size: clamp(3.2rem, 6vw, 7.1rem); font-weight: 400; line-height: .94; letter-spacing: -.055em; }
.manifesto-copy { padding-bottom: 8px; }
.manifesto-copy p { margin: 0 0 22px; color: #484b53; font-size: 1rem; line-height: 1.75; }
.manifesto-rail { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 10vw, 150px); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.manifesto-rail div { padding: 28px 24px 34px 0; border-right: 1px solid var(--line-dark); }
.manifesto-rail div + div { padding-left: 24px; }
.manifesto-rail div:last-child { border-right: 0; }
.manifesto-rail b { display: block; color: #99978f; font-family: var(--mono); font-size: .62rem; font-weight: 400; }
.manifesto-rail strong { display: block; margin-top: 32px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.manifesto-rail span { display: block; margin-top: 10px; color: #66645e; font-size: .82rem; line-height: 1.55; }

.work { background: #090b12; padding-top: clamp(100px, 10vw, 160px); }
.work-intro { padding-bottom: clamp(90px, 10vw, 150px); }
.work-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .45fr); gap: 80px; margin-top: 52px; align-items: end; }
.work-heading h2, .services-head h2, .worlds-head h2, .process-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5.6vw, 6.2rem); font-weight: 400; line-height: .95; letter-spacing: -.052em; }
.work-heading p, .services-head p, .worlds-head p { margin: 0; color: #aeb2be; line-height: 1.7; }
.project { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; border-top: 1px solid rgba(255,255,255,.12); }
.project::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(8,10,16,.95), rgba(8,10,16,.55) 58%, rgba(8,10,16,.84)); }
.project-backdrop { position: absolute; inset: 0; z-index: -3; opacity: .46; transition: transform 1s var(--ease); }
.project:hover .project-backdrop { transform: scale(1.035); }
.project-dorina .project-backdrop { background: radial-gradient(circle at 72% 42%, rgba(111,206,180,.25), transparent 30%), linear-gradient(135deg, #101c18, #070a0f 60%); }
.project-k2 .project-backdrop { background: radial-gradient(circle at 70% 38%, rgba(255,148,54,.34), transparent 28%), linear-gradient(135deg, #28120a, #08090d 62%); }
.project-pegoli .project-backdrop { background: radial-gradient(circle at 72% 40%, rgba(83,133,199,.28), transparent 29%), linear-gradient(135deg, #0b1727, #07090e 62%); }
.project-shell { min-height: 100svh; display: grid; grid-template-columns: minmax(340px, .74fr) minmax(520px, 1.26fr); gap: clamp(50px, 8vw, 130px); align-items: center; padding-top: 100px; padding-bottom: 100px; }
.project-shell-reverse { grid-template-columns: minmax(520px, 1.26fr) minmax(340px, .74fr); }
.project-shell-reverse .project-copy { order: 2; }
.project-shell-reverse .project-stage { order: 1; }
.project-number { color: #717786; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; }
.project-type { display: block; margin-top: 28px; color: var(--cyan); font-family: var(--mono); font-size: .62rem; letter-spacing: .17em; }
.project-k2 .project-type { color: var(--orange); }
.project-pegoli .project-type { color: #8bb8ff; }
.project-copy h3 { margin: 22px 0 0; font-family: var(--serif); font-size: clamp(3.5rem, 6vw, 7rem); font-weight: 400; line-height: .88; letter-spacing: -.06em; }
.project-line { margin: 30px 0 0 !important; color: var(--white) !important; font-family: var(--serif); font-size: clamp(1.45rem, 2.3vw, 2.35rem); line-height: 1.12 !important; }
.project-copy > p { max-width: 570px; color: #aeb2bd; line-height: 1.7; }
.project-copy ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 30px 0 0; list-style: none; }
.project-copy li { padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); color: #c1c4cd; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.project-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 52px; min-width: 220px; margin-top: 44px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.18); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-link b { font-size: 1.25rem; font-weight: 400; }
.project-stage { position: relative; min-height: min(690px, 70vw); display: grid; place-items: center; perspective: 1200px; }
.browser { position: relative; z-index: 3; width: min(100%, 790px); aspect-ratio: 1.48; overflow: hidden; border: 1px solid rgba(255,255,255,.25); background: #111; box-shadow: 0 50px 120px rgba(0,0,0,.58); transform: rotateY(-8deg) rotateX(2deg); transition: transform .7s var(--ease); }
.project-shell-reverse .browser { transform: rotateY(8deg) rotateX(2deg); }
.project:hover .browser { transform: rotateY(-2deg) rotateX(0); }
.project-shell-reverse:hover .browser { transform: rotateY(2deg) rotateX(0); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 13px; color: #9da2af; background: #11131a; border-bottom: 1px solid rgba(255,255,255,.1); }
.browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: #656a77; }
.browser-bar small { margin-left: auto; font-size: .55rem; }
.dorina-screen { height: calc(100% - 34px); color: #18211d; background: #f1eee4; }
.dorina-nav { height: 64px; padding: 0 5%; display: flex; align-items: center; gap: 26px; border-bottom: 1px solid rgba(24,33,29,.12); font-size: .57rem; text-transform: uppercase; }
.dorina-nav img { width: 34%; max-height: 42px; object-fit: contain; object-position: left; margin-right: auto; }
.dorina-nav b { padding: 9px 12px; color: #f1eee4; background: #1f5b4e; }
.dorina-hero { padding: 9% 8%; background: radial-gradient(circle at 74% 45%, rgba(100,170,149,.3), transparent 30%); }
.dorina-hero p { margin: 0; color: #3f7768; font-size: .54rem; letter-spacing: .14em; }
.dorina-hero h4 { margin: 16px 0 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.7rem); font-weight: 400; line-height: .92; }
.dorina-hero h4 em { color: #2d7d69; font-weight: 400; }
.dorina-hero > span { display: block; max-width: 390px; margin-top: 20px; color: #565c58; font-size: .72rem; }
.dorina-hero button, .pegoli-hero button, .k2-overlay button, .phone-content button { margin-top: 24px; padding: 12px 16px; border: 0; color: #fff; background: #205f50; font-size: .55rem; font-weight: 700; }
.dorina-bottom { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(24,33,29,.13); }
.dorina-bottom span { padding: 16px; border-right: 1px solid rgba(24,33,29,.13); font-family: var(--serif); font-size: .72rem; }
.phone { position: absolute; z-index: 4; right: -1%; bottom: 2%; width: clamp(135px, 17vw, 220px); aspect-ratio: .49; overflow: hidden; border: 5px solid #0a0c10; border-radius: 32px; background: #f1eee4; box-shadow: 0 32px 70px rgba(0,0,0,.48); transform: rotate(6deg); }
.phone-notch { position: absolute; z-index: 2; left: 50%; top: 5px; width: 40%; height: 12px; border-radius: 20px; background: #0a0c10; transform: translateX(-50%); }
.phone-content { height: 100%; padding: 22% 11% 12%; color: #1d2b25; background: radial-gradient(circle at 60% 28%, rgba(60,148,123,.34), transparent 28%), #f1eee4; }
.phone-content img { width: 82%; }
.phone-content small { display: block; margin-top: 34%; color: #437565; font-size: .4rem; letter-spacing: .12em; }
.phone-content strong { display: block; margin-top: 10px; font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.8rem); font-weight: 400; line-height: .95; }
.phone-content em { color: #2e816b; font-weight: 400; }
.project-orbit { position: absolute; z-index: 1; width: 90%; aspect-ratio: 1.7; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transform: rotate(-16deg); }
.project-orbit::after { content: ""; position: absolute; right: 10%; top: 8%; width: 8px; height: 8px; border-radius: 50%; }
.orbit-dorina::after { background: #74d9bc; box-shadow: 0 0 20px #74d9bc; }
.orbit-k2::after { background: var(--orange); box-shadow: 0 0 20px var(--orange); }
.orbit-pegoli::after { background: #81afff; box-shadow: 0 0 20px #81afff; }
.k2-screen { position: relative; height: calc(100% - 34px); overflow: hidden; background: #1a0b06; }
.k2-screen img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) brightness(.42); transform: scale(1.06); }
.k2-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 8%; }
.k2-overlay small { color: #d8a86c; letter-spacing: .16em; }
.k2-overlay strong { margin-top: 16px; color: #fff5dd; font-family: var(--serif); font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; line-height: .76; }
.k2-overlay button { align-self: flex-start; color: #170b07; background: #f6cb7b; }
.menu-ticket { position: absolute; z-index: 5; left: -3%; bottom: 4%; width: clamp(170px, 18vw, 250px); padding: 24px; color: #25140d; background: #f0c978; transform: rotate(-6deg); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.menu-ticket span { font-size: .52rem; letter-spacing: .16em; }
.menu-ticket b { display: block; margin-top: 20px; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: .95; }
.menu-ticket small { display: block; margin-top: 30px; font-size: .58rem; }
.pegoli-screen { height: calc(100% - 34px); color: #132034; background: #f4f2eb; }
.pegoli-nav { height: 64px; display: flex; align-items: center; gap: 20px; padding: 0 5%; border-bottom: 1px solid rgba(18,32,52,.12); }
.pegoli-nav strong { margin-right: auto; font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.pegoli-nav strong span { color: #55799a; }
.pegoli-nav small { font-size: .48rem; letter-spacing: .09em; }
.pegoli-nav b { padding: 9px 12px; color: #fff; background: #11253e; font-size: .48rem; }
.pegoli-hero { padding: 7% 7% 6%; background: radial-gradient(circle at 85% 45%, rgba(86,126,167,.19), transparent 26%); }
.pegoli-hero > span { color: #55799a; font-size: .52rem; letter-spacing: .15em; }
.pegoli-hero h4 { margin: 20px 0 0; max-width: 620px; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 4.25rem); font-weight: 400; line-height: .93; }
.pegoli-hero p { max-width: 420px; color: #5f6771; font-size: .7rem; }
.pegoli-hero button { color: #fff; background: #16304f; }
.pegoli-services { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(18,32,52,.13); }
.pegoli-services div { display: flex; gap: 14px; padding: 15px 5%; border-right: 1px solid rgba(18,32,52,.13); }
.pegoli-services b { color: #7a8797; font-family: var(--mono); font-size: .5rem; }
.pegoli-services span { font-family: var(--serif); font-size: .72rem; line-height: 1.05; }
.pegoli-document { position: absolute; z-index: 5; right: -2%; bottom: 2%; width: clamp(160px, 18vw, 250px); aspect-ratio: .75; padding: 24px; color: #e6ebf4; background: linear-gradient(145deg, #18324f, #0c1b2d); border: 1px solid rgba(255,255,255,.18); transform: rotate(5deg); box-shadow: 0 24px 60px rgba(0,0,0,.44); }
.pegoli-document span { font-size: .5rem; letter-spacing: .15em; }
.pegoli-document strong { display: block; margin-top: 28%; font-family: var(--serif); font-size: 2.5rem; font-weight: 400; line-height: .9; }
.pegoli-document small { position: absolute; left: 24px; right: 24px; bottom: 24px; color: #9fb3c9; font-size: .52rem; }

.services { color: var(--ink); background: var(--paper); padding: clamp(110px, 12vw, 190px) 0; }
.services-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .45fr); gap: 80px; align-items: end; margin-top: 54px; }
.services-head p { color: #575a62; }
.service-stage { display: grid; grid-template-columns: 1.18fr 1fr 1fr; margin-top: 90px; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.service-feature { min-height: 390px; padding: 32px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.service-feature-main { grid-row: span 2; min-height: 780px; color: var(--white); background: #0d1119; }
.service-feature:nth-child(4) { grid-column: 2 / 4; min-height: 300px; }
.service-feature > span { color: #8a8d94; font-family: var(--mono); font-size: .64rem; }
.service-feature svg { width: 70px; margin-top: auto; color: #717782; }
.service-feature-main svg { width: 110px; color: var(--cyan); }
.service-feature h3 { margin: 32px 0 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.8rem); font-weight: 400; line-height: .96; }
.service-feature:not(.service-feature-main) h3 { font-size: clamp(1.8rem, 2.4vw, 2.8rem); }
.service-feature p { max-width: 430px; margin: 18px 0 0; color: #62656d; line-height: 1.65; }
.service-feature-main p { color: #aeb2be; }

.worlds { background: #0a0c13; padding: clamp(110px, 12vw, 190px) 0; overflow: hidden; }
.worlds-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .45fr); gap: 80px; align-items: end; margin-top: 54px; }
.world-stage { position: relative; display: grid; grid-template-columns: 220px minmax(250px,.55fr) minmax(500px,1.2fr); min-height: 700px; margin-top: 90px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(135deg, rgba(17,21,32,.86), rgba(8,10,17,.65)); overflow: hidden; transition: background .6s ease; }
.world-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 75% 50%, var(--world-glow, rgba(72,174,255,.24)), transparent 35%); transition: background .55s ease; }
.world-tabs { position: relative; z-index: 2; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.14); }
.world-tabs button { flex: 1; min-height: 86px; padding: 0 24px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; color: #7f8492; background: transparent; cursor: pointer; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: color .25s ease, background .25s ease; }
.world-tabs button.active { color: var(--white); background: rgba(255,255,255,.08); }
.world-tabs button.active::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 10px; border-radius: 50%; background: var(--world-accent, var(--cyan)); box-shadow: 0 0 15px var(--world-accent, var(--cyan)); }
.world-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 80px); }
.world-copy > span { color: #7b808e; font-family: var(--mono); font-size: .65rem; letter-spacing: .14em; }
.world-copy h3 { margin: 36px 0 0; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4.8rem); font-weight: 400; line-height: .93; letter-spacing: -.04em; }
.world-copy p { margin: 26px 0 0; color: #aeb2bf; line-height: 1.7; }
.world-open { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; margin-top: 44px; padding: 16px 0; border: 0; border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.12); background: transparent; cursor: pointer; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.world-open b { font-size: 1.2rem; }
.world-preview { position: relative; z-index: 2; display: grid; place-items: center; padding: 70px 55px; overflow: hidden; }
.world-browser { position: relative; z-index: 2; width: min(100%, 710px); aspect-ratio: 1.45; overflow: hidden; border: 1px solid rgba(255,255,255,.25); background: #111; box-shadow: 0 35px 90px rgba(0,0,0,.5); transform: rotate(-2deg); transition: transform .55s var(--ease); }
.world-stage:hover .world-browser { transform: rotate(0) translateY(-6px); }
.world-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 13px; background: #11141c; }
.world-bar i { width: 6px; height: 6px; border-radius: 50%; background: #626977; }
.world-bar span { margin-left: auto; color: #7f8592; font-size: .52rem; }
.world-browser img { width: 100%; height: calc(100% - 34px); object-fit: cover; transition: opacity .25s ease, transform .55s var(--ease); }
.world-browser.loading img { opacity: .12; transform: scale(1.04); }
.world-word { position: absolute; z-index: 1; right: -3%; bottom: -3%; color: rgba(255,255,255,.045); font-family: var(--serif); font-size: clamp(5rem, 10vw, 11rem); line-height: .8; white-space: nowrap; }

.process { color: var(--ink); background: #e8ff59; padding: clamp(110px, 12vw, 180px) 0; }
.process .section-label { color: rgba(7,8,13,.58); }
.process-head { max-width: 1080px; margin-top: 54px; }
.process-line { height: 1px; margin-top: 92px; background: rgba(7,8,13,.18); }
.process-line span { display: block; width: 0; height: 100%; background: var(--ink); transition: width 1.5s var(--ease); }
.process.in-view .process-line span { width: 100%; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.process-step { min-height: 320px; padding: 32px 28px 0 0; border-right: 1px solid rgba(7,8,13,.18); }
.process-step + .process-step { padding-left: 28px; }
.process-step:last-child { border-right: 0; }
.process-step b { font-family: var(--mono); font-size: .65rem; font-weight: 400; }
.process-step h3 { margin: 66px 0 0; font-family: var(--serif); font-size: 2.15rem; font-weight: 400; }
.process-step p { margin: 20px 0 0; color: #3f421c; font-size: .88rem; line-height: 1.65; }

.contact { min-height: 95svh; display: grid; align-items: center; overflow: hidden; background: radial-gradient(circle at 80% 30%, rgba(61,132,255,.16), transparent 26%), radial-gradient(circle at 20% 72%, rgba(255,78,168,.14), transparent 28%), #07080d; }
.contact-shell { position: relative; padding-top: 120px; padding-bottom: 100px; }
.contact-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.availability { display: flex; align-items: center; gap: 10px; color: #aeb2bd; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.availability i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); animation: availablePulse 2.2s ease-in-out infinite; }
@keyframes availablePulse { 50% { opacity: .35; } }
.contact h2 { max-width: 1180px; margin: clamp(70px, 8vw, 120px) 0 0; font-family: var(--serif); font-size: clamp(4rem, 8vw, 9.2rem); font-weight: 400; line-height: .83; letter-spacing: -.064em; }
.contact-bottom { display: grid; grid-template-columns: minmax(0,.8fr) minmax(360px,.55fr); gap: 100px; align-items: end; margin-top: 80px; }
.contact-bottom p { max-width: 620px; margin: 0; color: #aeb2be; font-size: 1.05rem; line-height: 1.75; }
.contact-actions { display: grid; gap: 16px; }
.contact-main { display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 0 26px; color: var(--ink); background: var(--white); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-main:hover { background: var(--yellow); }
.contact-main b { font-size: 1.35rem; }
.contact-email { color: #aeb2be; font-size: .82rem; text-decoration: underline; text-underline-offset: 5px; }
.contact-signature { position: absolute; z-index: -1; left: -4%; bottom: -12%; color: rgba(255,255,255,.028); font-family: var(--serif); font-size: clamp(10rem, 30vw, 34rem); line-height: .7; letter-spacing: -.08em; }
.contact-orbit { position: absolute; right: -18vw; top: 8%; width: 56vw; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; transform: rotateX(66deg) rotateZ(-18deg); }
.contact-orbit::before, .contact-orbit::after { content: ""; position: absolute; inset: 14%; border: 1px solid rgba(83,132,255,.18); border-radius: 50%; }
.contact-orbit::after { inset: 30%; border-color: rgba(255,78,168,.2); }



.gallery-modal {
  --gallery-accent: var(--cyan);
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: stretch;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--gallery-accent) 18%, transparent), transparent 26%),
    radial-gradient(circle at 82% 82%, rgba(255,255,255,.05), transparent 25%),
    rgba(3,4,8,.98);
  backdrop-filter: blur(18px);
  transition: opacity .3s ease, visibility .3s ease;
}
.gallery-modal.open { opacity: 1; visibility: visible; }
.gallery-shell {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  padding: 14px;
}
.gallery-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(7,8,13,.66);
  color: var(--white);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  backdrop-filter: blur(12px);
}
.gallery-stage {
  height: calc(100dvh - 28px);
}
.gallery-viewport {
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  background: transparent;
}
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-page {
  width: min(1600px, 100%);
  margin: 0 auto;
  padding: 0;
}
.gallery-page img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
.gallery-controls {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(7,8,13,.64);
  backdrop-filter: blur(12px);
}
.gallery-ticks {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gallery-ticks button {
  width: 18px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.gallery-ticks button.active {
  transform: scaleX(1.15);
  background: var(--white);
}
.gallery-ticks button:hover { background: rgba(255,255,255,.55); }
.footer { border-top: 1px solid rgba(255,255,255,.12); background: #07080d; }
.footer-shell { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #777d8b; font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-text { opacity: .18; transition: opacity 1.2s ease; }
.reveal-text.in-view { opacity: 1; }

@media (max-width: 1120px) {
  .hero-shell { grid-template-columns: minmax(0,1fr) minmax(390px,.78fr); }
  .hero h1 { font-size: clamp(4rem, 8.6vw, 7.2rem); }
  .project-shell, .project-shell-reverse { grid-template-columns: minmax(320px,.65fr) minmax(460px,1.1fr); gap: 56px; }
  .world-stage { grid-template-columns: 170px minmax(240px,.62fr) minmax(420px,1.15fr); }
  .world-preview { padding: 48px 30px; }
}

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 82px 18px auto; display: grid; padding: 18px; border: 1px solid rgba(255,255,255,.16); background: rgba(8,10,17,.96); backdrop-filter: blur(18px); transform: translateY(-16px); opacity: 0; visibility: hidden; transition: .25s ease; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 15px 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; }
  .hero-shell { min-height: 0; grid-template-columns: 1fr; padding-top: 150px; padding-bottom: 160px; }
  .hero-visual { min-height: 580px; margin-top: 30px; }
  .manifesto-layout, .work-heading, .services-head, .worlds-head { grid-template-columns: 1fr; gap: 35px; }
  .manifesto-rail { grid-template-columns: repeat(2,1fr); }
  .manifesto-rail div:nth-child(2) { border-right: 0; }
  .manifesto-rail div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .project { min-height: auto; padding: 110px 0; }
  .project-shell, .project-shell-reverse { min-height: 0; grid-template-columns: 1fr; gap: 60px; padding-top: 0; padding-bottom: 0; }
  .project-shell-reverse .project-copy, .project-shell-reverse .project-stage { order: initial; }
  .project-stage { min-height: 590px; }
  .browser, .project-shell-reverse .browser { transform: rotateY(0) rotateX(0); }
  .service-stage { grid-template-columns: 1fr 1fr; }
  .service-feature-main { grid-row: auto; grid-column: 1 / 3; min-height: 520px; }
  .service-feature:nth-child(4) { grid-column: 1 / 3; }
  .world-stage { grid-template-columns: 150px 1fr; }
  .world-preview { grid-column: 1 / 3; min-height: 580px; border-top: 1px solid rgba(255,255,255,.14); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid rgba(7,8,13,.18); }
  .contact-bottom { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .cursor-glow { display: none; }
  .nav-shell { width: calc(100% - 32px); min-height: 72px; }
  .brand { min-width: auto; }
  .brand-copy small { display: none; }
  .lang-toggle { min-width: 38px; }
  .nav-links { top: 72px; }
  .hero-shell { padding-top: 125px; padding-bottom: 130px; }
  .hero-index { margin-bottom: 20px; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5.6rem); line-height: .82; }
  .hero h1 em { margin-left: 0; }
  .hero-lead { margin-top: 28px; font-size: .98rem; }
  .button { width: 100%; }
  .hero-trust { display: grid; }
  .hero-visual { min-height: 450px; }
  .floating-project { width: 160px; padding: 14px; }
  .floating-project-a { left: -4%; top: 5%; }
  .floating-project-b { right: -5%; bottom: 7%; }
  .hero-stamp { width: 78px; left: 0; bottom: 2%; }
  .manifesto, .work, .services, .worlds, .process { padding-top: 90px; padding-bottom: 90px; }
  .manifesto-layout { margin-top: 40px; }
  .display-quote, .work-heading h2, .services-head h2, .worlds-head h2, .process-head h2 { font-size: clamp(2.65rem, 13vw, 4.4rem); }
  .manifesto-rail { grid-template-columns: 1fr; margin-top: 70px; }
  .manifesto-rail div, .manifesto-rail div + div { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .manifesto-rail div:last-child { border-bottom: 0; }
  .work-intro { padding-bottom: 80px; }
  .project { padding: 90px 0; }
  .project-copy h3 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .project-stage { min-height: 430px; }
  .browser { width: 112%; margin-left: -6%; }
  .browser-bar { height: 27px; }
  .dorina-screen, .k2-screen, .pegoli-screen { height: calc(100% - 27px); }
  .dorina-nav, .pegoli-nav { height: 48px; gap: 8px; padding-inline: 4%; }
  .dorina-nav span, .pegoli-nav small { display: none; }
  .dorina-hero, .pegoli-hero { padding: 8% 7%; }
  .dorina-hero h4, .pegoli-hero h4 { font-size: 1.85rem; }
  .dorina-bottom, .pegoli-services { display: none; }
  .phone { width: 120px; right: -1%; }
  .menu-ticket, .pegoli-document { width: 145px; padding: 16px; }
  .menu-ticket b { font-size: 1.45rem; }
  .pegoli-document strong { font-size: 1.8rem; }
  .service-stage { grid-template-columns: 1fr; margin-top: 60px; }
  .service-feature-main, .service-feature:nth-child(4) { grid-column: auto; }
  .service-feature-main { min-height: 510px; }
  .service-feature { min-height: 330px; }
  .world-stage { grid-template-columns: 1fr; margin-top: 60px; }
  .world-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); scrollbar-width: none; }
  .world-tabs::-webkit-scrollbar { display: none; }
  .world-tabs button { flex: 0 0 auto; min-height: 64px; padding: 0 18px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 0; }
  .world-copy { padding: 40px 24px; }
  .world-preview { grid-column: auto; min-height: 390px; padding: 34px 18px; }
  .world-browser { width: 110%; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { min-height: 250px; padding: 30px 0; border-right: 0; border-bottom: 1px solid rgba(7,8,13,.18); }
  .process-step:last-child { border-bottom: 0; }
  .process-step h3 { margin-top: 38px; }
  .contact { min-height: auto; }
  .contact-shell { padding-top: 100px; padding-bottom: 90px; }
  .contact-top { align-items: flex-start; flex-direction: column; }
  .contact h2 { margin-top: 70px; font-size: clamp(3.7rem, 17vw, 6rem); }
  .contact-bottom { margin-top: 60px; }
  .footer-shell { min-height: 110px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .gallery-shell { padding: 8px; }
  .gallery-stage { height: calc(100dvh - 16px); }
  .gallery-close { top: 10px; right: 10px; width: 42px; height: 42px; }
  .gallery-controls { bottom: 10px; padding: 8px 12px; }
  .gallery-ticks { gap: 7px; }
  .gallery-ticks button { width: 16px; }
}

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

/* Final composition refinements */
.service-feature-main { position: relative; overflow: hidden; }
.service-feature-main::after {
  content: "";
  position: absolute;
  right: -28%;
  top: 10%;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(53, 217, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(53, 217, 255, .08), inset 0 0 70px rgba(157, 107, 255, .07);
}
.service-feature-main svg { margin-top: 112px; position: relative; z-index: 1; }
.service-feature-main h3,
.service-feature-main p { position: relative; z-index: 1; }

@media (max-width: 640px) {
  .project-stage {
    min-height: 380px;
    place-items: start center;
    padding-top: 30px;
  }
  .service-feature-main svg { margin-top: 78px; }
}

/* =========================================================
   Anonymous hero cards + scroll-led sector showcase
   ========================================================= */
.floating-project {
  width: clamp(188px, 17vw, 244px);
  padding: 18px 19px 19px;
  border-color: rgba(255,255,255,.2);
  background: linear-gradient(145deg, rgba(17,21,33,.94), rgba(8,10,17,.72));
}
.floating-project strong {
  max-width: 13ch;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: clamp(1.02rem, 1.35vw, 1.36rem);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.floating-project small { font-size: .67rem; line-height: 1.45; }

/* The stage remains pinned while scroll position drives the five ideas. */
.worlds { overflow: visible; padding-bottom: 0; }
.world-scroll-track {
  position: relative;
  height: 520svh;
  margin-top: 90px;
}
.world-stage {
  position: sticky;
  top: 96px;
  height: calc(100svh - 116px);
  min-height: 610px;
  margin-top: 0;
  isolation: isolate;
}
.world-stage::after {
  content: "SCROLL TO EXPLORE";
  position: absolute;
  z-index: 4;
  right: 18px;
  top: 18px;
  color: rgba(255,255,255,.38);
  font-family: var(--mono);
  font-size: .47rem;
  letter-spacing: .15em;
  pointer-events: none;
}
.world-scroll-meter {
  position: absolute;
  z-index: 8;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.world-scroll-meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--cyan), var(--pink), var(--yellow));
  transform: scaleY(var(--world-scroll-progress, 0));
  transform-origin: top;
  transition: transform .12s linear;
}
.world-stage.world-changing .world-copy h3,
.world-stage.world-changing .world-copy p,
.world-stage.world-changing .world-copy > span { animation: worldTextIn .48s var(--ease) both; }
.world-stage.world-changing .world-preview { animation: worldPreviewIn .58s var(--ease) both; }
@keyframes worldTextIn {
  from { opacity: .12; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes worldPreviewIn {
  from { opacity: .45; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .world-stage { top: 88px; height: calc(100svh - 104px); grid-template-columns: 180px minmax(235px,.62fr) minmax(390px,1.08fr); }
}

@media (max-width: 900px) {
  .world-scroll-track { height: 500svh; }
  .world-stage {
    top: 82px;
    height: calc(100svh - 94px);
    min-height: 620px;
    grid-template-columns: 148px minmax(230px,.68fr) minmax(0,1fr);
  }
  .world-copy { padding: 38px 30px; }
  .world-copy h3 { margin-top: 24px; font-size: clamp(2rem, 4.7vw, 3.5rem); }
  .world-copy p { margin-top: 18px; font-size: .9rem; }
  .world-open { margin-top: 28px; }
  .world-preview { grid-column: auto; min-height: 0; border-top: 0; padding: 42px 24px; }
}

@media (max-width: 640px) {
  .floating-project { width: 154px; padding: 12px; }
  .floating-project span { font-size: .43rem; }
  .floating-project strong { margin-top: 9px; font-size: .82rem; }
  .floating-project small { margin-top: 8px; font-size: .56rem; }

  .worlds { padding-bottom: 0; }
  .world-scroll-track { height: 500svh; margin-top: 60px; }
  .world-stage {
    top: 74px;
    height: calc(100svh - 82px);
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 62px minmax(190px, .72fr) minmax(245px, 1.28fr);
  }
  .world-stage::after { display: none; }
  .world-tabs {
    grid-row: 1;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .world-tabs::-webkit-scrollbar { display: none; }
  .world-tabs button {
    flex: 0 0 auto;
    min-width: 108px;
    min-height: 62px;
    padding: 0 12px;
    border-right: 1px solid rgba(255,255,255,.08);
    border-bottom: 0;
    text-align: center;
    font-size: .56rem;
    letter-spacing: .05em;
  }
  .world-tabs button.active::before { display: block; margin: 0 auto 6px; }
  .world-copy { grid-row: 2; padding: 24px 22px 18px; }
  .world-copy > span { font-size: .54rem; }
  .world-copy h3 { margin-top: 13px; font-size: clamp(1.8rem, 8.3vw, 2.65rem); }
  .world-copy p { margin-top: 12px; font-size: .74rem; line-height: 1.48; }
  .world-open { margin-top: 15px; padding: 11px 0; font-size: .56rem; }
  .world-preview { grid-row: 3; min-height: 0; padding: 22px 15px; border-top: 1px solid rgba(255,255,255,.11); }
  .world-browser { width: min(100%, 520px); }
  .world-word { font-size: clamp(4rem, 21vw, 7rem); }
}

@media (max-height: 720px) and (min-width: 641px) {
  .world-stage { top: 76px; height: calc(100svh - 86px); min-height: 0; }
  .world-copy { padding-top: 24px; padding-bottom: 24px; }
  .world-copy h3 { margin-top: 18px; }
  .world-copy p { margin-top: 15px; }
  .world-open { margin-top: 20px; }
  .world-preview { padding-top: 28px; padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .world-stage.world-changing .world-copy h3,
  .world-stage.world-changing .world-copy p,
  .world-stage.world-changing .world-copy > span,
  .world-stage.world-changing .world-preview { animation: none; }
}

/* =========================================================
   Final alignment polish — sticky world previews + language control
   Scope intentionally limited to alignment/responsive fit.
   ========================================================= */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  line-height: 1;
  text-align: center;
}

.world-stage {
  align-items: stretch;
  grid-auto-rows: minmax(0, 1fr);
}
.world-tabs,
.world-copy,
.world-preview {
  min-width: 0;
  min-height: 0;
}
.world-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}
.world-browser {
  flex: 0 1 710px;
  width: min(100%, 710px);
  max-width: 100%;
  transform-origin: center center;
}

/* Keep the pinned composition fully inside shorter desktop/laptop viewports. */
@media (min-width: 901px) and (max-height: 820px) {
  .world-stage {
    top: 88px;
    height: calc(100svh - 100px);
    min-height: 0;
  }
  .world-copy {
    padding: clamp(26px, 3.3vw, 46px);
  }
  .world-copy h3 {
    margin-top: 20px;
    font-size: clamp(2.2rem, 3.55vw, 3.85rem);
  }
  .world-copy p {
    margin-top: 17px;
    line-height: 1.55;
  }
  .world-open {
    margin-top: 24px;
  }
  .world-preview {
    padding: 30px 28px;
  }
  .world-browser {
    width: min(100%, 690px, calc((100svh - 210px) * 1.45));
  }
}

/* Tablet widths keep the visual preview centred and give it priority. */
@media (min-width: 641px) and (max-width: 900px) {
  .world-stage {
    grid-template-columns: 138px minmax(220px, .72fr) minmax(0, 1.28fr);
  }
  .world-tabs button {
    padding-inline: 18px;
  }
  .world-copy {
    padding: 34px 26px;
  }
  .world-preview {
    padding: 34px 20px;
  }
  .world-browser {
    width: min(100%, 610px);
  }
}

@media (max-width: 640px) {
  .lang-toggle {
    min-width: 44px;
    width: 44px;
    height: 44px;
  }
  .world-stage {
    top: 80px;
    height: calc(100svh - 90px);
    grid-template-rows: 62px minmax(0, .72fr) minmax(0, 1.28fr);
  }
  .world-copy {
    overflow: hidden;
  }
  .world-preview {
    padding: 16px 12px;
  }
  .world-browser {
    width: min(100%, 540px);
  }
  .world-word {
    right: -2%;
    bottom: -1%;
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  .world-stage {
    top: 78px;
    height: calc(100svh - 86px);
    grid-template-rows: 58px minmax(0, .68fr) minmax(0, 1.32fr);
  }
  .world-tabs button {
    min-height: 58px;
  }
  .world-copy {
    padding: 18px 20px 14px;
  }
  .world-copy h3 {
    margin-top: 10px;
    font-size: clamp(1.6rem, 7.4vw, 2.25rem);
  }
  .world-copy p {
    margin-top: 9px;
    font-size: .7rem;
    line-height: 1.4;
  }
  .world-open {
    margin-top: 11px;
    padding: 9px 0;
  }
  .world-preview {
    padding: 12px 10px;
  }
}
