/* Tokens — dark is the default look */
:root {
  --bg: #0F1417;
  --bg-2: #141C21;
  --surface: #19232A;
  --line: #26343C;
  --ink: #F5F1EC;
  --muted: #9FB0B8;
  --dim: #55646C;
  --green: #34D399;
  --green-ink: #34D399;
  --green-soft: rgba(52,211,153,.12);
  --orange: #F58507;
  --orange-soft: rgba(245,133,7,.14);
  --nav: rgba(15,20,23,.82);
  --shadow: 0 24px 48px rgba(0,0,0,.35);
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: background .2s, border-color .2s, color .2s; }
.pill i { font-style: normal; }
.pill-solid { background: var(--green); color: #0F1417; }
.pill-solid:hover { background: #6EE7B7; }
.pill-line { border: 1px solid var(--line); }
.pill-line:hover { border-color: var(--ink); }
.pill-dark { background: #0F1417; color: var(--green); }
.pill-dark:hover { background: #000; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-family: var(--display); font-size: 22px; letter-spacing: .02em; margin-right: auto; }
.logo sup { font-size: 9px; color: var(--green); }
.links { display: flex; gap: 28px; }
.links a { position: relative; font-size: 14px; font-weight: 600; color: var(--muted); padding: 6px 0; transition: color .2s; }
.links a:hover, .links a.active { color: var(--ink); }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transition: transform .3s; }
.links a.active::after { transform: scaleX(1); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; min-height: calc(100vh - 68px - 168px); }
.who { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.who b { font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); flex: none; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.01em; }
.hero h1 span { display: block; }
.hero h1 .l1 { color: var(--green-ink); }
.hero h1 .l2 { color: var(--orange); }
.lead { max-width: 520px; margin: 26px 0 34px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero panel */
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; border-radius: 26px; background: var(--bg-2); border: 1px solid var(--line); }
.tile { position: relative; display: flex; flex-direction: column; min-height: 540px; padding: 22px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .3s; }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 60%, #000 20%, transparent 80%); }
.tile-shop::before { background-image: radial-gradient(rgba(52,211,153,.25) 1.2px, transparent 1.4px); background-size: 18px 18px; animation: dots 40s linear infinite; }
.tile-game::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23F58507' stroke-width='1.6' stroke-opacity='.4'%3E%3Cpath d='M30 18c-7 9-14 13-14 20a7 7 0 0 0 12 5l-2 7h8l-2-7a7 7 0 0 0 12-5c0-7-7-11-14-20Z'/%3E%3Cpath d='M120 22l10 14-10 14-10-14Z'/%3E%3Cpath d='M40 112c-4-6-14-4-14 3 0 8 14 15 14 15s14-7 14-15c0-7-10-9-14-3Z'/%3E%3Crect x='104' y='100' width='30' height='30' rx='6'/%3E%3C/g%3E%3Cg fill='%23F58507' fill-opacity='.4'%3E%3Ccircle cx='112' cy='108' r='2.4'/%3E%3Ccircle cx='119' cy='115' r='2.4'/%3E%3Ccircle cx='126' cy='122' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px; animation: suits 50s linear infinite; }
.tile::after { content: ""; position: absolute; left: 50%; top: 55%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; pointer-events: none; animation: glow 6s ease-in-out infinite; }
.tile-shop::after { background: radial-gradient(circle, rgba(52,211,153,.16), transparent 65%); }
.tile-game::after { background: radial-gradient(circle, rgba(245,133,7,.2), transparent 65%); }
@keyframes dots { to { background-position: 18px 18px; } }
@keyframes suits { to { background-position: 120px -120px; } }
@keyframes glow { 50% { transform: scale(1.15); opacity: .6; } }
.tile:hover { transform: translateY(-4px); }
.tile-shop:hover { border-color: var(--green); }
.tile-game:hover { border-color: var(--orange); }
.tile-label { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 24px; }
.tile-label b { font-weight: 400; font-size: 12px; padding: 4px 8px; border-radius: 999px; color: #0F1417; }
.tile-shop .tile-label b { background: var(--green); }
.tile-game .tile-label b { background: var(--orange); }
.tile-label i { margin-left: auto; font-style: normal; font-size: 16px; color: var(--muted); transition: transform .3s, color .3s; }
.tile:hover .tile-label i { transform: translate(3px, -3px); color: var(--ink); }
.tile-art { position: relative; z-index: 2; flex: 1; display: block; }
.tile-foot { position: relative; z-index: 2; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Mini admin cards */
.mini { position: absolute; display: block; width: 168px; padding-bottom: 12px; border-radius: 14px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.mini.m1 { right: 4px; top: 30px; transform: rotate(5deg); }
.mini.m2 { left: 0; bottom: 18px; transform: rotate(-6deg); }
.tile:hover .mini.m1 { transform: rotate(8deg) translateY(-8px); }
.tile:hover .mini.m2 { transform: rotate(-9deg) translateY(-4px); }
.mini-bar { display: flex; align-items: center; gap: 4px; padding: 8px 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.mini-bar i { width: 6px; height: 6px; border-radius: 50%; background: #FF6159; }
.mini-bar i:nth-child(2) { background: #FFBD2E; } .mini-bar i:nth-child(3) { background: #28C941; }
.mini-bar span { margin-left: 6px; font-size: 10px; font-weight: 800; color: var(--ink); }
.mini-rows { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 0; }
.mrow { display: flex; align-items: center; gap: 6px; opacity: 0; animation: rowIn 6s infinite; }
.mrow b { width: 18px; height: 18px; border-radius: 5px; background: var(--c); flex: none; }
.mrow s { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.mrow em { font-style: normal; font-size: 7.5px; font-weight: 800; padding: 2px 5px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); }
.mrow:nth-child(2) { animation-delay: .25s; } .mrow:nth-child(3) { animation-delay: .5s; }
.mrow-new { animation-name: rowNew; }
.mrow-new em { background: var(--orange-soft); color: var(--orange); }
@keyframes rowIn { 0% { opacity: 0; transform: translateX(10px); } 8%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes rowNew { 0%, 40% { opacity: 0; transform: scale(.85); } 48% { opacity: 1; transform: scale(1.06); } 54%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.mini-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 10px 4px; }
.mini-kpis span { height: 22px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.mini-kpis span::after { content: ""; position: absolute; left: 6px; bottom: 6px; height: 4px; border-radius: 2px; background: var(--green); animation: kpi 6s infinite; }
.mini-kpis span:nth-child(2)::after { background: var(--orange); animation-delay: .3s; }
@keyframes kpi { 0% { width: 0; } 30%, 90% { width: 60%; } 100% { width: 0; } }
.mini-chart { display: block; width: calc(100% - 20px); height: 60px; margin: 6px 10px 0; overflow: visible; }
.mini-chart polyline { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 300; stroke-dashoffset: 300; animation: miniDraw 6s infinite; }
@keyframes miniDraw { 0% { stroke-dashoffset: 300; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 300; opacity: 0; } }
.promo-banner { position: relative; display: block; margin: 10px 10px 8px; padding: 14px 12px; border-radius: 10px; color: #fff; background: linear-gradient(120deg, #F58507, #B96205); overflow: hidden; }
.promo-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: shine 4s ease-in-out infinite; }
.promo-banner b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; }
.promo-banner small { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
@keyframes shine { 0%, 40% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
.langs { display: flex; gap: 4px; padding: 0 10px; }
.langs span { flex: 1; text-align: center; font-size: 8.5px; font-weight: 800; padding: 4px 0; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); animation: lang 6s infinite; }
.langs span:nth-child(2) { animation-delay: 1.5s; } .langs span:nth-child(3) { animation-delay: 3s; } .langs span:nth-child(4) { animation-delay: 4.5s; }
@keyframes lang { 0%, 22% { background: var(--orange); color: #fff; border-color: var(--orange); } 25%, 100% { background: var(--surface); color: var(--muted); border-color: var(--line); } }
.code { display: flex; flex-direction: column; gap: 7px; padding: 12px 12px 4px; }
.code span { display: block; height: 6px; width: 0; margin-left: var(--x, 0); border-radius: 3px; background: var(--orange); opacity: .85; animation: codeType 6s infinite; }
.code span:nth-child(even) { background: var(--green); }
.code span:nth-child(2) { animation-delay: .3s; } .code span:nth-child(3) { animation-delay: .6s; } .code span:nth-child(4) { animation-delay: .9s; }
.code span:nth-child(5) { animation-delay: 1.2s; } .code span:nth-child(6) { animation-delay: 1.5s; }
@keyframes codeType { 0% { width: 0; } 15%, 85% { width: var(--w); } 100% { width: 0; } }

/* Sections */
.sec { padding: 110px 0; border-top: 1px solid var(--line); }
.sec-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 44px; }
.sec-top h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1; }

/* Work */
.work-group + .work-group { margin-top: 80px; }
.work-head { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 400; font-size: 26px; padding-bottom: 18px; margin-bottom: 32px; border-bottom: 2px solid var(--ink); }
.work-head sup { font-size: 13px; color: var(--muted); }
.work-cms .dot { background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.cards { display: grid; gap: 40px 28px; }
.cards-three { grid-template-columns: repeat(3, 1fr); }
.cards-two { grid-template-columns: repeat(2, 1fr); }
.cards-shop > .card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cards-shop > .card:only-child .card-img { margin-bottom: 0; }
.card-body { display: flex; flex-direction: column; gap: 8px; }
.cards-shop > .card:only-child .card-title { font-size: 36px; }
.card-link { display: none; margin-top: 14px; font-weight: 700; color: var(--green-ink); }
.card-link i { font-style: normal; }
.card { display: flex; flex-direction: column; text-align: left; gap: 6px; }
.card.hide { display: none; }
.card-img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; background: #000; }
.card-img > * { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card-img > img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-img > * { transform: scale(1.05); }
.img-sanpur { background: #14525F; }
.img-sanpur > img { width: 62%; height: auto; object-fit: contain; }
.img-odaro { background: radial-gradient(circle at 50% 120%, rgba(245,133,7,.45), transparent 60%), #0D0F14; }
.img-tambet { background: radial-gradient(circle at 50% 120%, rgba(255,90,20,.45), transparent 60%), #120D0B; }
.card-img.img-odaro > img, .card-img.img-tambet > img { width: 62%; height: auto; object-fit: contain; }
.img-odaro b { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 52px); letter-spacing: .1em; color: #fff; }
.img-promo { background: linear-gradient(135deg, #0F3D36, #082622); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.img-promo b { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; color: var(--orange); }
.img-promo small { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.img-promo em { font-style: normal; margin-top: 12px; padding: 8px 28px; border-radius: 999px; background: var(--green); color: #0F1417; font-weight: 800; }
.card-title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 26px; }
.card-title i { font-style: normal; font-size: 16px; color: var(--green-ink); transition: transform .3s; }
.card[data-cat="gaming"] .card-title i { color: var(--orange); }
.card:hover .card-title i { transform: translate(3px, -3px); }
.card-meta { font-size: 13px; font-weight: 600; color: var(--muted); }
.card-text { font-size: 15px; line-height: 1.55; opacity: .85; max-width: 520px; }

/* Services */
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.svc-col h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 400; font-size: 26px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.svc-game .dot { background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.svc-list { list-style: none; }
.svc-list li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.svc-list .n { font-family: var(--display); font-size: 14px; color: var(--green-ink); padding-top: 4px; }
.svc-game .n { color: var(--orange); }
.svc-list h4 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.svc-list p { color: var(--muted); line-height: 1.6; }
.snippet { display: inline-flex; align-items: center; margin-top: 12px; min-height: 1.6em; padding: 6px 10px; border-radius: 8px; font: 700 13px ui-monospace, Menlo, monospace; color: var(--green-ink); background: var(--green-soft); }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; background: currentColor; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* About */
.statement { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.08; max-width: 980px; }
.statement-sub { max-width: 640px; margin: 48px 0 0 auto; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; font-weight: 600; }
.statement-sub mark { background: none; color: var(--green-ink); }
[data-words] .w { color: var(--dim); transition: color .4s; }
[data-words] .w.lit { color: var(--ink); }
[data-words] mark .w.lit { color: var(--green-ink); }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; margin-top: 96px; }
.stats { display: flex; flex-direction: column; gap: 14px; }
.stat { display: flex; align-items: center; gap: 22px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat b { font-family: var(--display); font-weight: 400; font-size: 56px; line-height: 1; color: var(--green-ink); min-width: 48px; }
.stat:nth-child(2) b, .stat:nth-child(3) b { color: var(--orange); }
.stat span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 6px; }
.facts dd { font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }

/* Process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.steps li { padding: 26px 24px 8px 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps .n { font-family: var(--display); font-size: 14px; color: var(--orange); }
.steps h4 { font-size: 20px; font-weight: 800; margin: 12px 0 8px; }
.steps p { color: var(--muted); line-height: 1.6; font-size: 15px; }

/* Contact */
.contact { background: var(--green); color: #0F1417; padding: 120px 0; }
.kicker { font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.contact h2 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 7vw, 96px); line-height: 1.08; }
.hl { display: inline-block; margin-top: 6px; padding: 0 16px 6px; border-radius: 12px; background: #0F1417; color: var(--green); }
.mail-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin: 48px 0 26px; }
.mail { font-size: clamp(20px, 3vw, 34px); font-weight: 700; border-bottom: 3px solid currentColor; overflow-wrap: anywhere; }
.contact-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.contact .pill-line { border-color: rgba(15,20,23,.3); }
.contact .pill-line:hover { border-color: #0F1417; }

/* Footer */
.foot { background: var(--bg); border-top: 1px solid var(--line); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 26px; font-size: 13px; color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; box-shadow: var(--shadow); transform: translate(-50%, 140%); opacity: 0; transition: transform .35s cubic-bezier(.3,1.4,.5,1), opacity .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Reveal */
.js .reveal { opacity: 0; translate: 0 28px; }
.reveal { transition: opacity .8s var(--d, 0ms), translate .8s cubic-bezier(.2,.8,.2,1) var(--d, 0ms); }
.reveal.in { opacity: 1; translate: 0 0; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .panel { max-width: 640px; }
  .svc-cols, .about-grid { grid-template-columns: 1fr; }
  .cards-three { grid-template-columns: 1fr 1fr; }
  .cards-shop > .card:only-child { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .links { display: none; }
  .hero { padding: 48px 0 72px; }
  .tile { min-height: 360px; padding: 14px; }
  .mini { width: 138px; }
  .mini.m1 { right: -6px; }
  .cards, .cards-three, .cards-two { grid-template-columns: 1fr; }
  .sec { padding: 80px 0; }
  .statement-sub { margin-top: 32px; }
  .about-grid { margin-top: 64px; }
  .facts div { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0 8px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .contact { padding: 84px 0; }
  .foot-mid { display: none; }
}
@media (max-width: 420px) {
  .panel { grid-template-columns: 1fr; }
  .tile { min-height: 320px; }
  .mini { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .mrow { opacity: 1 !important; translate: none !important; }
  .code span { width: var(--w) !important; }
  .mini-chart polyline { stroke-dashoffset: 0 !important; }
}
.cards-shop > .card:only-child .card-link { display: inline; }

/* ===== Project pages ===== */
.p-hero { padding: 56px 0 48px; }
.back { display: inline-block; margin-bottom: 36px; font-size: 14px; font-weight: 700; color: var(--muted); }
.back:hover { color: var(--ink); }
.p-kicker { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.is-cms .p-kicker .dot { background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.p-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 9vw, 128px); line-height: 1; margin: 18px 0 22px; }
.is-shop .p-hero h1 { color: var(--green-ink); }
.is-cms .p-hero h1 { color: var(--orange); }
.p-lead { max-width: 760px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; color: var(--muted); }
.p-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 48px; }
.is-cms .pill-solid { background: var(--orange); }
.is-cms .pill-solid:hover { background: #FFA133; }
.p-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.p-facts div { padding: 20px 20px 0 0; }
.p-facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.p-facts dt { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.p-facts dd { font-weight: 700; line-height: 1.45; }
.p-banner { display: grid; place-items: center; aspect-ratio: 21 / 9; border-radius: 24px; overflow: hidden; }
.p-banner > img { width: min(46%, 520px); height: auto; }
.p-banner.img-promo b { font-size: clamp(64px, 10vw, 140px); }
.p-sec { border-top: 0; padding-bottom: 40px; }
.p-did { grid-template-columns: repeat(4, 1fr); }
.p-did .n { color: var(--green-ink); }
.is-cms .p-did .n { color: var(--orange); }
.p-also { margin-top: 28px; color: var(--muted); }
.sec-note { max-width: 420px; color: var(--muted); line-height: 1.6; font-size: 15px; }

/* Before / after */
.ba-block + .ba-block { margin-top: 56px; }
.ba-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.ba-head h3 { font-family: var(--display); font-weight: 400; font-size: 26px; }
.ba { position: relative; aspect-ratio: 1440 / 900; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--orange); pointer-events: none; }
.ba-line b { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #0F1417; font-weight: 800; font-size: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.ba-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(15,20,23,.8); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.ba-l { left: 14px; }
.ba-r { right: 14px; background: var(--orange); color: #0F1417; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + * , .ba:focus-within .ba-line b { outline: 3px solid #fff; }

.p-shot img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
.p-shot figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Next project */
.next { display: block; margin-top: 80px; border-top: 1px solid var(--line); transition: background .3s; }
.next:hover { background: var(--bg-2); }
.next-inner { display: flex; flex-direction: column; gap: 10px; padding-block: 64px; }
.next-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.next-name { font-family: var(--display); font-size: clamp(40px, 7vw, 96px); line-height: 1; }
.next-name i { font-style: normal; display: inline-block; transition: transform .3s; color: var(--green-ink); }
.next:hover .next-name i { transform: translateX(10px); }

@media (max-width: 1024px) {
  .p-facts, .p-did { grid-template-columns: 1fr 1fr; }
  .p-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  .p-facts, .p-did { grid-template-columns: 1fr; }
  .p-facts div, .p-facts div + div { padding: 16px 0 0; border-left: 0; }
  .p-banner { aspect-ratio: 4 / 3; }
  .ba-tag { font-size: 10px; top: 10px; }
  .ba-line b { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
}

/* Web + mobile pair */
.ba-pair { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; }
.ba-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ba-dev { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ba.ba-m { aspect-ratio: 375 / 760; border-radius: 30px; border: 6px solid var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.ba.ba-m .ba-tag { top: 10px; font-size: 10px; padding: 4px 8px; }
.ba.ba-m .ba-l { left: 10px; }
.ba.ba-m .ba-r { right: 10px; }
.ba.ba-m .ba-line b { width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 13px; }
@media (max-width: 900px) {
  .ba-pair { grid-template-columns: 1fr; }
  .ba-col-m { max-width: 300px; }
}
.ba-pair:not(:has(.ba-col-m)) { grid-template-columns: 1fr; }

/* Redesign screens (scroll on hover) */
.shot-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF6159; }
.shot-bar i:nth-child(2) { background: #FFBD2E; } .shot-bar i:nth-child(3) { background: #28C941; }
.shot-view { --h: 520px; height: var(--h); overflow: hidden; background: #0D0D0D; }
.shot-view img { width: 100%; height: auto; transform: translateY(0); transition: transform 6s cubic-bezier(.45,0,.55,1); }
.shot:hover .shot-view img { transform: translateY(calc(-100% + var(--h))); transition-duration: 8s; }
.shot-m .shot-frame { border-radius: 30px; border: 6px solid var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.shot-m .shot-view { --h: 540px; }
@media (max-width: 900px) { .shot-view { --h: 380px; } .shot-m .shot-view { --h: 480px; } }
@media (min-width: 1025px) { .tile .mini { zoom: 1.22; } }

/* In-progress badge */
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font: 700 12px "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .02em; background: rgba(15,20,23,.85); color: var(--green); border: 1px solid rgba(52,211,153,.35); backdrop-filter: blur(6px); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.8); } }
.card-img .status { position: absolute; top: 14px; left: 14px; z-index: 2; transform: none !important; }
.p-kicker .status { margin-left: 4px; }

/* Promo text follows the language pills */
.promo-txt { display: grid; margin-top: 4px; line-height: 1.25; }
.promo-txt span { grid-area: 1 / 1; opacity: 0; animation: langText 6s infinite; }
.promo-txt span:nth-child(2) { animation-delay: 1.5s; }
.promo-txt span:nth-child(3) { animation-delay: 3s; }
.promo-txt span:nth-child(4) { animation-delay: 4.5s; }
@keyframes langText { 0%, 22% { opacity: 1; transform: none; } 2% { opacity: 1; } 25%, 100% { opacity: 0; transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .promo-txt span:first-child { opacity: 1 !important; } }

/* Uppercase headings, labels and buttons */
.links a, .pill, .logo, .who, .tile-label, .tile-foot, .sec-top h2, .work-head, .svc-col h3, .svc-list h4, .steps h4,
.card-title, .card-meta, .card-link, .p-kicker, .p-hero h1, .p-facts dt, .facts dt, .ba-head h3, .ba-dev, .ba-tag, .status,
.tags span, .stat span, .kicker, .contact h2, .next-label, .next-name, .foot-inner, .back, .steps .n, .svc-list .n {
  text-transform: uppercase;
}
.links a, .pill, .tile-foot, .card-meta, .p-kicker, .p-facts dt, .facts dt, .ba-dev, .ba-tag, .status, .tags span, .stat span, .kicker, .next-label, .back, .foot-inner { letter-spacing: .06em; }
.mail, .snippet, .snippet *, .statement, .statement-sub, .lead, .card-text, .p-lead, .svc-list p, .steps p { text-transform: none; letter-spacing: normal; }

/* Full-width hero */
.nav .wrap, .hero .wrap { max-width: none; padding-inline: clamp(20px, 3.6vw, 96px); }
.hero { padding: 0; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 4.5vw, 120px); align-items: stretch; min-height: calc(100vh - 68px); padding-block: clamp(28px, 5vh, 80px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(42px, 5.8vw, 120px); }
.who { font-size: clamp(14px, 1vw, 20px); margin-bottom: clamp(18px, 2.4vh, 32px); }
.who b { font-size: clamp(17px, 1.3vw, 26px); }
.lead { max-width: min(640px, 100%); font-size: clamp(18px, 1.35vw, 26px); margin: clamp(22px, 3vh, 40px) 0 clamp(26px, 4vh, 48px); }
.pill { font-size: clamp(15px, 1.05vw, 20px); padding: clamp(14px, 1.2vw, 22px) clamp(24px, 2vw, 40px); }
.panel { align-self: stretch; height: 100%; gap: clamp(14px, 1.2vw, 28px); padding: clamp(14px, 1.2vw, 28px); border-radius: clamp(26px, 2vw, 40px); }
.tile { min-height: 0; padding: clamp(22px, 1.8vw, 40px); border-radius: clamp(18px, 1.5vw, 30px); }
.tile-label { font-size: clamp(24px, 1.8vw, 36px); }
.tile-foot { font-size: clamp(14px, 1vw, 20px); }
@media (min-width: 1025px) { .tile .mini { zoom: 1.22; } }
@media (min-width: 1500px) { .tile .mini { zoom: 1.5; } }
@media (min-width: 1800px) { .tile .mini { zoom: 1.75; } }
@media (min-width: 2200px) { .tile .mini { zoom: 2.1; } }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; min-height: 0; } .panel { height: auto; } .tile { min-height: 420px; } }
@media (max-width: 720px) { .tile { min-height: 360px; } }
.project-page .nav .wrap { max-width: 1320px; padding-inline: 32px; }
@media (max-width: 720px) { .project-page .nav .wrap { padding-inline: 16px; } }

/* About: one shared two-column grid so every block lines up */
@media (min-width: 1025px) {
  .about > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 56px; align-items: start; }
  .about .statement { grid-column: 1 / -1; max-width: none; }
  .about .statement-sub { grid-column: 1 / -1; max-width: 860px; margin: 40px 0 0; }
  .about .about-grid { display: contents; }
  .about .stats { grid-column: 1; margin-top: 72px; }
  .about .facts { grid-column: 2; margin-top: 72px; }
}
.is-cms .pill-solid, .is-cms .pill-solid i { color: #fff; }

/* White body text */
.lead, .p-lead, .svc-list p, .steps p, .card-text, .sec-note, .stat span { color: #fff; opacity: 1; }

/* Highlighted note */
.p-also { margin-top: 32px; padding: 20px 24px; border-radius: 16px; border: 1px solid rgba(245,133,7,.35); border-left: 4px solid var(--orange); background: linear-gradient(90deg, rgba(245,133,7,.16), rgba(245,133,7,.05)); color: #fff; font-size: clamp(16px, 1.2vw, 20px); font-weight: 600; line-height: 1.6; }
.p-also b { margin-right: 10px; padding: 3px 10px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .8em; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ba-r { color: #fff; }

/* Classic Helvetica/Arial headings */
.logo,
.who b,
.hero h1,
.tile-label,
.promo-banner b,
.sec-top h2,
.work-head,
.img-odaro b,
.img-promo b,
.card-title,
.svc-col h3,
.svc-list .n,
.statement,
.stat b,
.steps .n,
.contact h2,
.p-hero h1,
.ba-head h3,
.next-name { font-weight: 800; letter-spacing: -.01em; }
.hero h1, .p-hero h1, .contact h2, .next-name, .statement { letter-spacing: -.025em; }
