/*
 DARGS.NET / WEB + GAME STUDIO
 Responsive design system. No external font, CSS or JS dependency.
*/
:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-raised: #0e1b2c;
  --panel: #13243a;
  --panel-alt: #152b42;
  --ink: #f2f7ff;
  --muted: #a6b6c8;
  --soft: #7791a7;
  --cyan: #79f5e4;
  --blue: #68aeff;
  --amber: #ffbd83;
  --line: rgba(158,207,223,.15);
  --line-strong: rgba(158,207,223,.3);
  --max: 1240px;
  --radius: 20px;
  --ease: cubic-bezier(.22,1,.36,1);
  --heading: 'Arial Narrow', 'Aptos Display', 'Trebuchet MS', Arial, sans-serif;
  --body: 'Aptos', 'Segoe UI', Arial, sans-serif;
  --mono: 'Consolas', 'SFMono-Regular', 'Courier New', monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--bg); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 40; opacity: .13; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E"); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
::selection { color: #06101c; background: var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); letter-spacing: -.04em; font-weight: 700; line-height: 1.06; }
h1 { font-size: clamp(3.75rem, 6.4vw, 7.3rem); }
h2 { font-size: clamp(2.5rem, 4vw, 4.7rem); }
h3 { font-size: clamp(1.45rem, 2.15vw, 2.5rem); }
p { color: var(--muted); }
.container { width: min(calc(100% - 80px), var(--max)); margin-inline: auto; }
.section { padding: clamp(80px, 9.2vw, 140px) 0; position: relative; }
.muted-section { background: #0c1829; border-block: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; font: 600 .69rem/1.3 var(--mono); letter-spacing: .17em; color: #d1e5ed; text-transform: uppercase; }
.eyebrow.cyan, .cyan { color: var(--cyan); }
.eyebrow.amber, .amber { color: var(--amber); }
.eyebrow-line { width: 33px; height: 1px; background: currentColor; opacity: .55; }
.gradient-text { color: var(--cyan); background: linear-gradient(100deg, var(--cyan), #85c8ff 72%, #c7a2fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.muted-text { color: var(--soft); }
.lead { font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.9; max-width: 620px; }
.body-copy { font-size: 1.07rem; line-height: 1.9; }
.small-note { font-size: .79rem; color: var(--soft); line-height: 1.6; }
.btn { display: inline-flex; min-height: 55px; align-items: center; justify-content: center; gap: 26px; border: 1px solid transparent; border-radius: 5px; padding: 15px 23px; font: 700 .78rem/1.2 var(--body); letter-spacing: .035em; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; text-align: center; }
.btn span { font-size: 1.1rem; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { color: #071627; background: var(--cyan); box-shadow: 0 10px 36px rgba(96,243,222,.12); }
.btn-primary:hover { color: #071627; background: #b9fff5; box-shadow: 0 14px 40px rgba(96,243,222,.2); }
.btn-ghost { background: rgba(6,16,29,.18); color: #fff; border-color: rgba(240,248,255,.35); }
.btn-ghost:hover, .btn-outline:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(90,230,218,.07); }
.btn-outline { color: #fff; background: transparent; border-color: var(--line-strong); }
.btn-small { min-height: 42px; padding: 11px 16px; gap: 13px; }
.btn-block { width: 100%; }
.skip-link { position: absolute; z-index: 110; top: -100px; left: 16px; padding: 12px 18px; color: #08111f; background: var(--cyan); }
.skip-link:focus { top: 12px; }
/* Navigation */
.site-header { position: absolute; inset: 0 0 auto; height: 90px; z-index: 30; border-bottom: 1px solid rgba(255,255,255,.10); background: rgba(5,13,25,.42); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.site-header.is-scrolled { position: fixed; height: 76px; background: rgba(7,16,29,.94); box-shadow: 0 14px 30px rgba(0,0,0,.17); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: #fff; }
.brand img { border-radius: 11px; }
.brand-type { display: inline-flex; align-items: baseline; font: 900 1.27rem/1 var(--heading); letter-spacing: .095em; position: relative; padding-bottom: 16px; }
.brand-type small { position: absolute; bottom: -1px; left: 1px; white-space: nowrap; font: 500 .49rem/1.1 var(--mono); letter-spacing: .26em; color: #9cb8c5; }
.brand-dot { color: var(--cyan); }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 29px); }
.site-nav > a:not(.btn) { font: 600 .79rem/1.3 var(--body); color: #cad5e1; white-space: nowrap; transition: color .2s; }
.site-nav > a:not(.btn):hover, .site-nav > a.is-current { color: var(--cyan); }
.nav-toggle { display: none; }
/* Full-bleed homepage */
.hero { min-height: min(850px, 100svh); min-height: max(760px, 93svh); display: flex; align-items: center; position: relative; isolation: isolate; background: #0a1928; overflow: hidden; }
.hero-background, .game-hero-art { position: absolute; inset: 0; z-index: -2; background: url('../art/portal-world.webp') center 38% / cover no-repeat; }
.hero-background::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,12,24,.93) 0%,rgba(5,12,24,.79) 31%,rgba(5,12,24,.36) 61%,rgba(5,12,24,.14) 100%), linear-gradient(0deg,#08111f 0%,transparent 30%,rgba(6,14,26,.35) 100%); }
.hero-inner { padding-top: 95px; position: relative; }
.hero-content { max-width: 790px; padding: 100px 0 130px; }
.signal { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(115,248,226,.11), 0 0 18px var(--cyan); }
.hero h1 { margin: 29px 0 25px; font-size: clamp(3.7rem, 6.25vw, 7.15rem); line-height: 1.01; text-shadow: 0 2px 24px rgba(0,0,0,.12); }
.hero h1 em { font-style: normal; color: #f5f7fb; }
.hero .lead { color: #c1d2df; max-width: 570px; }
.hero-actions { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; margin-top: 35px; }
.hero-stats { display: flex; align-items: center; gap: 25px; margin-top: 54px; color: #b1c7d2; font: 500 .65rem var(--mono); letter-spacing: .12em; }
.hero-stats b { display: inline-block; color: var(--cyan); font-size: .88rem; margin-right: 6px; }
.hero-stats i { height: 20px; border-left: 1px solid var(--line-strong); }
.hero-orbit { position: absolute; top: 44%; right: 0; border-radius: 50%; height: 195px; width: 195px; border: 1px solid rgba(198,239,245,.26); display: grid; place-items: center; transform: rotate(-16deg); opacity: .8; }
.hero-orbit::before { content: ''; inset: 11px; position: absolute; border: 1px dashed rgba(198,239,245,.4); border-radius: 50%; }
.hero-orbit span { width: 100px; font: 600 .57rem/1.8 var(--mono); letter-spacing: .14em; text-align: center; color: #bce6e2; }
.hero-bottom { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 18px; align-items: center; color: #aabfcb; font: 600 .62rem var(--mono); letter-spacing: .15em; }
.scroll-rule { display: inline-block; width: 55px; height: 1px; background: var(--cyan); }
/* Homepage feature cards */
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 55px; margin-bottom: 50px; }
.section-header > div { max-width: 790px; }
.section-header h2 { margin: 17px 0 0; }
.section-header > p { max-width: 320px; line-height: 1.9; margin-bottom: 5px; }
.discipline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.discipline-card { min-width: 0; border: 1px solid var(--line); background: linear-gradient(145deg,#102239,#0b1728); border-radius: 15px; overflow: hidden; transition: border-color .3s, transform .35s var(--ease); }
.discipline-card:hover { transform: translateY(-7px); border-color: rgba(114,243,223,.4); }
.card-overline { display: flex; justify-content: space-between; padding: 24px 28px 17px; font: 700 .68rem var(--mono); letter-spacing: .15em; color: var(--cyan); }
.card-overline span:last-child { font-size: 1.1rem; }
.game-card .card-overline { color: var(--amber); }
.card-art { height: clamp(205px, 24vw, 330px); overflow: hidden; margin: 0 19px; background: #071526; border-radius: 7px; }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.discipline-card:hover .card-art img { transform: scale(1.06); }
.web-card .card-art img { object-position: center; }
.game-card .card-art img { object-position: 66% 48%; }
.discipline-body { padding: 31px 37px 40px; }
.discipline-body h3 { margin-bottom: 18px; }
.discipline-body p { line-height: 1.8; max-width: 500px; }
.text-link { color: var(--cyan); display: inline-flex; gap: 19px; align-items: center; font-size: .83rem; font-weight: 700; margin-top: 13px; }
.text-link:hover { gap: 26px; }
/* Showcase */
.featured-world { background: #0a182a; border-top: 1px solid var(--line); }
.split-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(45px, 6vw, 100px); align-items: center; }
.feature-visual { position: relative; min-height: 430px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: #162b44; }
.feature-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.feature-visual::after { content: ''; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(0deg,rgba(3,12,22,.65),transparent); }
.visual-stamp { position: absolute; z-index: 1; bottom: 25px; left: 25px; border: 1px solid rgba(202,237,240,.35); padding: 7px 11px; color: #fff; background: rgba(5,12,21,.5); font: 600 .63rem var(--mono); letter-spacing: .13em; }
.feature-copy h2 { margin: 20px 0 14px; }
.feature-copy .feature-subtitle { color: #e3f1f5; font-size: 1.15rem; font-weight: 700; }
.feature-copy p { max-width: 520px; line-height: 1.85; }
.feature-copy .btn { margin-top: 26px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag-row span, .chip { padding: 8px 10px; color: #91eada; border: 1px solid rgba(110,238,221,.28); background: rgba(111,232,222,.05); font: 700 .61rem/1.2 var(--mono); letter-spacing: .11em; }
.chip-amber { color: var(--amber); border-color: rgba(255,189,131,.3); }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step { border-top: 1px solid var(--line-strong); padding-top: 23px; }
.step-num { display: block; color: var(--cyan); font: 600 .92rem var(--mono); margin-bottom: 29px; }
.step h3 { font-size: 1.7rem; margin-bottom: 13px; }
.step p { max-width: 240px; line-height: 1.75; }
.cta-section { padding-top: 40px; }
.cta-panel { text-align: center; padding: clamp(55px, 8vw, 110px) 30px; border: 1px solid rgba(111,232,222,.27); border-radius: 20px; background: radial-gradient(ellipse at 50% 100%,rgba(37,126,142,.22),transparent 60%), linear-gradient(135deg,#142b3f,#0d1a2e); }
.cta-panel .eyebrow { justify-content: center; }
.cta-panel h2 { margin: 22px 0; }
.cta-panel p:not(.eyebrow) { max-width: 570px; margin: 0 auto 31px; }
/* Page hero */
.page-hero { padding: 185px 0 95px; background: linear-gradient(165deg, #132c44 0%, #0c1c30 42%, #08111f 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero h1 { margin: 25px 0 28px; }
.page-hero .lead { margin-bottom: 35px; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 50px; }
.page-hero-art { transform: rotate(-4deg); border: 1px solid rgba(135,236,220,.45); border-radius: 17px; box-shadow: 0 45px 100px rgba(0,0,0,.37); overflow: hidden; }
.page-hero-art img { width: 100%; }
.compact-hero { min-height: 460px; }
.compact-hero .container { max-width: 1240px; }
.compact-hero h1 { max-width: 950px; }
.compact-hero .lead { max-width: 700px; }
/* Services */
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 90px 1fr 90px; align-items: start; gap: 25px; padding: 47px 6px; border-bottom: 1px solid var(--line); }
.service-number { color: var(--cyan); font: 700 .86rem var(--mono); padding-top: 12px; }
.service-main { max-width: 860px; }
.service-label { font: 700 .68rem var(--mono); letter-spacing: .14em; color: var(--cyan); }
.service-main h3 { margin: 13px 0 18px; font-size: clamp(2rem, 3vw, 3.1rem); }
.service-main p { max-width: 650px; }
.service-main ul { display: flex; flex-wrap: wrap; list-style: none; gap: 7px 17px; padding: 14px 0 0; color: #a6c5d0; font-size: .81rem; }
.service-main li::before { content: '↗'; color: var(--cyan); padding-right: 7px; }
.round-link { display: grid; place-items: center; margin-left: auto; height: 61px; width: 61px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 1.5rem; transition: background .3s; }
.round-link:hover { color: #071627; background: var(--cyan); }
.checkout-grid { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center; }
.checkout-grid h2 { margin: 20px 0; }
.pay-panel { background: #15283e; border: 1px solid var(--line-strong); border-radius: 15px; padding: 34px; }
.pay-header, .pay-foot { font: 600 .67rem var(--mono); letter-spacing: .09em; color: var(--soft); }
.pay-header { display: flex; justify-content: space-between; }
.pay-header .status-dot { color: var(--cyan); }
.pay-panel h3 { margin: 32px 0 14px; font-size: 2rem; }
.pay-panel .btn { margin-top: 14px; }
.pay-foot { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 19px; line-height: 1.7; letter-spacing: 0; }
.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inline h2 { margin-bottom: 0; }
/* Games */
.game-hero { min-height: 730px; display: flex; align-items: center; position: relative; isolation: isolate; }
.game-hero-art { background-position: center 42%; }
.game-hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(4,12,23,.9),rgba(4,12,23,.25)), linear-gradient(0deg,#08111f,transparent 48%); }
.game-hero-content { padding: 190px 0 100px; }
.game-hero h1 { margin: 23px 0; }
.game-hero .lead { color: #d4dfed; }
.game-hero .btn { margin-top: 32px; }
.game-feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; }
.game-feature-large { position: relative; border-radius: 13px; overflow: hidden; min-height: 430px; border: 1px solid var(--line); }
.game-feature-large img { height: 100%; width: 100%; object-fit: cover; object-position: 75% center; position: absolute; inset: 0; }
.game-feature-large::after { content: ''; position: absolute; inset: auto 0 0; height: 100px; background: linear-gradient(0deg,#08111f,transparent); }
.game-image-label { position: absolute; bottom: 22px; left: 22px; font: 600 .65rem var(--mono); letter-spacing: .1em; z-index: 1; }
.game-feature-notes { padding: 40px; border: 1px solid var(--line); background: linear-gradient(145deg,#11283d,#0d1b30); border-radius: 13px; }
.feature-code { font: 600 .67rem/1.4 var(--mono); letter-spacing: .14em; color: var(--cyan); }
.game-feature-notes h3 { font-size: clamp(2.1rem, 3vw, 3.4rem); margin: 28px 0; }
.feature-list { padding-left: 20px; color: #c3d5dd; line-height: 2.1; }
.feature-list li::marker { color: var(--cyan); }
.pillar-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pillar { padding: 35px; border: 1px solid var(--line); background: #12253b; border-radius: 12px; }
.pillar > span { color: var(--cyan); font: 600 .68rem var(--mono); letter-spacing: .12em; }
.pillar h3 { margin: 35px 0 15px; }
.reverse-feature .feature-visual img { object-position: center; }
/* Portfolio & about */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.portfolio-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #102137; }
.portfolio-card > img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.portfolio-info { padding: 32px; }
.portfolio-info h2 { font-size: 2.25rem; margin: 14px 0 15px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-art { border-radius: 13px; overflow: hidden; border: 1px solid var(--line-strong); }
.about-copy h2 { margin: 22px 0; }
.about-copy p { line-height: 1.9; }
.about-copy .btn { margin-top: 20px; }
.three-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.three-values > div { padding-top: 25px; border-top: 1px solid var(--line-strong); }
.value-index { font: 600 .85rem var(--mono); color: var(--cyan); }
.three-values h3 { margin: 20px 0; }
/* Contact */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.contact-intro h2 { margin: 25px 0; }
.contact-intro p { margin-bottom: 43px; }
.contact-fact { display: flex; gap: 20px; padding: 19px 0; border-top: 1px solid var(--line); color: #c4d0da; font-size: .9rem; }
.contact-fact span { color: var(--cyan); font-family: var(--mono); }
.form-panel { background: #102238; border: 1px solid var(--line); border-radius: 14px; padding: clamp(25px, 3.3vw, 50px); }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.contact-form label:not(.checkbox-field) { display: flex; flex-direction: column; gap: 8px; font-size: .82rem; font-weight: 700; color: #ecf4fd; }
.contact-form label span { color: var(--cyan); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea { min-width: 0; width: 100%; padding: 14px 15px; color: #fff; background: #0a192b; border: 1px solid #31495e; border-radius: 5px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(121,245,228,.1); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #7890a4; }
.checkbox-field { display: flex; align-items: flex-start; gap: 13px; font-size: .79rem; line-height: 1.7; color: #bdd0da; }
.checkbox-field input { accent-color: var(--cyan); width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; }
.checkbox-field a, .prose a { color: var(--cyan); text-decoration: underline; }
.contact-form .small-note { text-align: center; margin: -9px 0 0; }
.honeypot { position: absolute!important; left: -99999px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }
.floating-alert { position: relative; top: 100px; z-index: 1; }
.alert { padding: 17px 20px; border-radius: 6px; margin-bottom: 25px; font-size: .88rem; }
.alert-success { color: #c3f9e7; border: 1px solid #419a81; background: #15392e; }
.alert-error { color: #ffe2da; border: 1px solid #9c5648; background: #3d2223; }
.alert ul { margin-bottom: 0; }
.prose { max-width: 850px; }
.prose h2 { font-size: 2rem; margin: 35px 0 15px; }
.prose p { line-height: 1.9; }
/* Payment states */
.status-page { min-height: 75svh; display: flex; align-items: center; }
.status-panel { max-width: 710px; padding: 55px 0; }
.status-panel h1 { font-size: clamp(2.9rem, 5vw, 5.8rem); margin: 23px 0; }
.status-panel .btn { margin-top: 25px; }
/* Footer */
.site-footer { padding: 70px 0 0; border-top: 1px solid var(--line); background: #07101d; }
.footer-grid { display: grid; grid-template-columns: 1.7fr .7fr .7fr 1fr; gap: 50px; padding-bottom: 65px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid p { font-size: .84rem; margin-top: 7px; max-width: 260px; }
.footer-heading { font: 700 .7rem var(--mono); color: var(--cyan); letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid a:not(.brand) { font-size: .82rem; color: #adbdc9; }
.footer-grid a:not(.brand):hover { color: var(--cyan); }
.footer-grid .footer-email { color: var(--cyan)!important; font-weight: 700; }
.footer-end { display: flex; justify-content: space-between; gap: 25px; padding: 24px 0; border-top: 1px solid var(--line); color: #738ba0; font: 500 .67rem var(--mono); letter-spacing: .08em; }
/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .js-enabled .reveal { opacity: 0; transform: translateY(22px); transition: transform .75s var(--ease), opacity .7s ease; }
  .js-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1100px) {
  .container { width: min(calc(100% - 54px), var(--max)); }
  .site-nav { gap: 14px; }
  .nav-cta { display: none; }
  .hero-orbit { display: none; }
  .checkout-grid { gap: 45px; }
  .contact-layout { gap: 42px; }
}
@media (max-width: 850px) {
  .site-header, .site-header.is-scrolled { height: 76px; }
  .has-js .nav-toggle { width: 46px; height: 46px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: #132943; border: 1px solid var(--line-strong); border-radius: 5px; z-index: 35; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: #e6f8fc; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded=true] span:first-child { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded=true] span:last-child { transform: translateY(-8px) rotate(-45deg); }
  .site-nav { display: flex; position: absolute; top: 76px; left: 0; right: 0; padding: 22px 27px 27px; background: rgba(8,18,33,.985); border-bottom: 1px solid var(--line-strong); box-shadow: 0 24px 44px rgba(0,0,0,.3); align-items: stretch; flex-direction: column; gap: 0; }
  .has-js .site-nav { display: none; }
  .has-js .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .site-nav .nav-cta { display: flex; margin-top: 21px; }
  .hero { min-height: 740px; }
  .hero-content { max-width: 620px; padding-block: 105px; }
  .hero h1 { font-size: clamp(3.5rem, 8vw, 5.9rem); }
  .hero-background::after { background: linear-gradient(90deg,rgba(5,12,24,.9),rgba(5,12,24,.45)),linear-gradient(0deg,#08111f,transparent 25%); }
  .section-header { display: block; }
  .section-header > p { max-width: 610px; margin-top: 24px; }
  .split-feature, .page-hero-grid, .game-feature-grid, .checkout-grid, .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .feature-visual { min-height: 380px; }
  .steps-grid { grid-template-columns: repeat(2,1fr); gap: 45px 25px; }
  .page-hero-art { max-width: 590px; transform: rotate(-2deg); }
  .page-hero { padding-top: 150px; }
  .page-hero h1 { font-size: clamp(3.7rem, 7vw, 6.5rem); }
  .pay-panel { max-width: 570px; }
  .game-feature-large { min-height: 380px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 45px; }
}
@media (max-width: 600px) {
  .container { width: min(calc(100% - 36px), var(--max)); }
  .section { padding-block: 73px; }
  .brand-type { font-size: 1.12rem; }
  .brand img { height: 40px; width: 40px; }
  .hero { min-height: 730px; min-height: 90svh; }
  .hero-background { background-position: 61% center; }
  .hero-background::after { background: linear-gradient(90deg,rgba(5,12,24,.91),rgba(5,12,24,.56)),linear-gradient(0deg,#08111f,transparent 45%); }
  .hero-inner { padding-top: 76px; }
  .hero-content { padding: 50px 0 86px; }
  .hero h1 { font-size: clamp(3.15rem, 11.5vw, 4.9rem); letter-spacing: -.055em; line-height: 1.035; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .hero-actions .btn { justify-content: space-between; }
  .hero-stats { flex-wrap: wrap; gap: 10px 14px; margin-top: 27px; font-size: .54rem; }
  .hero-bottom { display: none; }
  .eyebrow { font-size: .61rem; letter-spacing: .11em; }
  .discipline-grid, .portfolio-grid, .pillar-grid, .three-values { grid-template-columns: 1fr; }
  .card-art { height: 235px; }
  .discipline-body { padding: 25px 25px 34px; }
  .discipline-body h3 { font-size: 2rem; }
  .feature-visual { min-height: 320px; }
  .split-feature { gap: 42px; }
  .section-header { margin-bottom: 32px; }
  .steps-grid { gap: 35px 20px; }
  .step h3 { font-size: 1.45rem; }
  .step p { font-size: .88rem; }
  .cta-panel { padding: 55px 20px; }
  .page-hero { padding: 137px 0 75px; }
  .page-hero h1, .game-hero h1 { font-size: clamp(3.35rem, 10.8vw, 5rem); }
  .page-hero-art { display: none; }
  .service-row { grid-template-columns: 35px 1fr; gap: 13px; padding: 36px 0; }
  .service-side { grid-column: 2; }
  .service-main h3 { font-size: 2rem; }
  .round-link { margin: 0; width: 48px; height: 48px; }
  .pay-panel, .game-feature-notes { padding: 25px; }
  .cta-inline { align-items: flex-start; flex-direction: column; }
  .game-hero { min-height: 700px; }
  .game-hero-art { background-position: 64% center; }
  .game-hero-content { padding: 130px 0 70px; }
  .game-feature-large { min-height: 310px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 22px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1/-1; }
  .footer-end { flex-direction: column; gap: 6px; }
  .small-note { font-size: .77rem; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; }
}

/* Services: PMAbility featured case study */
.case-study-section { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 8% 70%, rgba(37,90,119,.11), transparent 50%), #081522; }
.case-study-card { display: grid; grid-template-columns: minmax(0, 1.09fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; padding: clamp(20px, 3.2vw, 44px); border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(130deg, #13243a 0%, #0d1c2e 56%, #0a1728 100%); box-shadow: 0 24px 90px rgba(0,0,0,.12); }
.case-study-preview { margin: 0; min-width: 0; padding: 9px; border: 1px solid rgba(176,217,236,.2); border-radius: 12px; background: #070f1b; box-shadow: 0 20px 70px rgba(0,0,0,.28); overflow: hidden; }
.case-browser-toolbar { height: 34px; display: flex; gap: 12px; align-items: center; padding: 0 7px 8px; font: 600 .6rem/1.2 var(--mono); color: #a6bcc9; }
.case-browser-dots { display: flex; gap: 5px; flex-shrink: 0; }
.case-browser-dots i { display: block; height: 8px; width: 8px; border-radius: 50%; background: #5c8190; }
.case-browser-dots i:first-child { background: #ee8e8e; }
.case-browser-dots i:nth-child(2) { background: #f2c277; }
.case-browser-dots i:last-child { background: #77d5b0; }
.case-browser-url { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; margin-inline: auto; }
.case-browser-symbol { color: var(--cyan); flex-shrink: 0; }
.case-preview-link { display: block; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16/10; border-radius: 5px; background: #e9f4f5; }
.case-preview-link img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ease); }
.case-preview-overlay { position: absolute; inset: auto 12px 12px auto; padding: 7px 10px; border-radius: 3px; color: #07242a; background: rgba(141,255,234,.95); font: 700 .62rem var(--mono); letter-spacing: .06em; }
.case-preview-link:hover img { transform: scale(1.035); }
.case-preview-caption { padding: 12px 7px 3px; color: #819aaf; font: 500 .68rem/1.45 var(--mono); }
.case-study-overline { margin-bottom: 16px; color: var(--cyan); font: 700 .65rem/1.5 var(--mono); letter-spacing: .16em; }
.case-study-overline span { color: #7292aa; padding: 0 5px; }
.case-study-content { min-width: 0; }
.case-study-content h3 { margin-bottom: 21px; font-size: clamp(2.5rem, 4.5vw, 4.6rem); }
.case-study-period { color: var(--cyan); }
.case-study-intro { color: #c2d1df; font-size: 1rem; line-height: 1.8; max-width: 600px; }
.case-feature-list { margin: 25px 0 30px; padding: 0; list-style: none; display: grid; gap: 15px; }
.case-feature-list li { display: grid; grid-template-columns: 1fr; gap: 3px; position: relative; padding-left: 19px; border-left: 2px solid rgba(121,245,228,.37); }
.case-feature-list strong { display: block; color: #f0f8ff; font-size: .85rem; }
.case-feature-list span { color: #a5bdcf; font-size: .81rem; line-height: 1.65; }
.case-study-actions { display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; }
.case-study-actions .text-link { margin-top: 0; }
.case-study-privacy { color: #7f98ab; font-size: .73rem; margin: 21px 0 0; }
@media (max-width: 1050px) {
  .case-study-card { grid-template-columns: 1fr; align-items: start; }
  .case-study-preview { width: 100%; max-width: 780px; }
}
@media (max-width: 600px) {
  .case-study-card { padding: 14px; gap: 27px; }
  .case-study-content { padding: 0 6px 12px; }
  .case-study-content h3 { font-size: 2.6rem; }
  .case-study-intro { font-size: .93rem; }
  .case-feature-list { gap: 14px; }
  .case-study-actions { align-items: stretch; flex-direction: column; }
  .case-study-actions .btn { width: 100%; }
  .case-browser-toolbar { gap: 7px; font-size: .53rem; }
  .case-preview-overlay { font-size: .51rem; padding: 5px 7px; }
}


/* Portfolio: public case studies (PMAbility and Taj Trees) */
.project-portfolio-hero {
  background:
    radial-gradient(ellipse at 83% 24%, rgba(84,214,185,.13), transparent 38%),
    radial-gradient(ellipse at 10% 92%, rgba(113,174,252,.09), transparent 48%),
    #0a1729;
}
.project-portfolio-hero .lead { max-width: 780px; }
.portfolio-jump-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.portfolio-jump-links a { display: inline-flex; align-items: center; justify-content: space-between; gap: 21px; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 30px; color: #d4e4ed; background: rgba(13,32,51,.65); font: 700 .71rem var(--mono); transition: border-color .2s, background .2s; }
.portfolio-jump-links a:hover { border-color: var(--cyan); background: rgba(77,176,180,.12); color: #fff; }
.portfolio-case-stack { display: grid; gap: clamp(32px, 5vw, 72px); }
.portfolio-case { scroll-margin-top: 108px; }
.portfolio-case-headline { font: 700 clamp(1.04rem, 1.6vw, 1.36rem)/1.4 var(--heading); color: #e4f0f5; letter-spacing: -.015em; max-width: 620px; margin: -4px 0 17px; }
.portfolio-case--forest { border-color: rgba(161,208,147,.30); background: linear-gradient(130deg, #152b2c, #101f2a 54%, #101b26); }
.portfolio-case--forest .case-study-period, .portfolio-case--forest .case-study-overline { color: #c7e9a2; }
.portfolio-case--forest .case-feature-list li { border-color: rgba(171,224,155,.5); }
.portfolio-case--forest .case-preview-link { background: #f4f3e8; }
.portfolio-case--forest .case-preview-overlay { background: #d3ecac; color: #183622; }
.portfolio-tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 30px; }
.portfolio-tech-tags span { display: inline-flex; padding: 6px 10px; border: 1px solid rgba(168,205,224,.2); border-radius: 99px; color: #b0c9d5; font: 500 .65rem/1.3 var(--mono); }
.portfolio-case--forest .portfolio-tech-tags span { border-color: rgba(168,213,157,.3); color: #c9dfbb; }
.portfolio-status-label { font-weight: 700; letter-spacing: .05em; font-size: .7rem; color: #9ab8c8; }
.portfolio-case--forest .portfolio-status-label { color: #bed6ad; }
.portfolio-concepts-section { background: #0b1829; border-top: 1px solid var(--line); }
.portfolio-concepts-section .portfolio-info h3 { font-size: clamp(1.55rem, 2vw, 2.15rem); margin-block: 12px; }
@media (max-width: 600px) {
  .portfolio-jump-links { margin-top: 25px; flex-direction: column; align-items: stretch; }
  .portfolio-jump-links a { min-height: 45px; }
  .portfolio-case-headline { margin-top: -7px; }
  .portfolio-case-stack { gap: 27px; }
  .portfolio-tech-tags { margin-block: 20px; }
}
