:root {
  --navy: #0B132B;
  --navy-deep: #070d1e;
  --navy-soft: #111d39;
  --mint: #23D5AB;
  --mint-soft: #8cebd3;
  --cream: #eff6f2;
  --muted: #9eabc1;
  --line: rgba(190, 208, 226, .16);
  --line-strong: rgba(35, 213, 171, .38);
  --container: 1240px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background: var(--navy);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}
body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: .36;
  background-image: linear-gradient(rgba(140, 166, 191, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 166, 191, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: .035;
  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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

::selection { color: var(--navy); background: var(--mint); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(calc(100% - 80px), var(--container)); margin: 0 auto; }
.section { position: relative; padding: 150px 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; right: 12px; padding: 9px 16px; color: var(--navy); background: var(--mint); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 10; top: 0; right: 0; left: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 94px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex-direction: row; align-items: center; gap: 12px; direction: ltr; }
.brand-mark { display: grid; width: 37px; height: 37px; place-items: center; color: var(--mint); border: 1px solid var(--line-strong); }
.brand-mark svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: square; stroke-linejoin: miter; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-copy strong { font: 700 17px/1 'IBM Plex Sans Arabic', sans-serif; letter-spacing: .1em; color: var(--cream); }
.brand-copy span { margin-top: 5px; color: var(--mint); font: 500 8px/1 'IBM Plex Sans Arabic', sans-serif; letter-spacing: .28em; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { position: relative; padding: 8px 0; color: var(--muted); font-size: 14px; transition: color .25s ease; }
.site-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; content: ''; background: var(--mint); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-active { color: var(--cream); }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

.hero { min-height: 790px; padding-top: 215px; padding-bottom: 100px; overflow: hidden; }
.hero-grid-art { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); opacity: .75; }
.hero-grid-art::before, .hero-grid-art::after { position: absolute; content: ''; border: 1px solid var(--line); border-radius: 50%; }
.hero-grid-art::before { top: 24%; left: -170px; width: 340px; height: 340px; }
.hero-grid-art::after { top: 27%; left: -138px; width: 275px; height: 275px; border-color: rgba(35, 213, 171, .15); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); gap: 90px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker, .project-index { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; color: var(--mint); font-size: 12px; letter-spacing: .1em; }
.eyebrow-line { display: inline-block; width: 40px; height: 1px; background: var(--mint); }
.eyebrow-index { margin-right: auto; color: var(--muted); font-size: 10px; direction: ltr; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 23px; color: var(--cream); font-size: clamp(3.55rem, 7.3vw, 6.6rem); font-weight: 600; line-height: 1.06; letter-spacing: -.055em; }
h1 span, h2 em { color: var(--mint); font-style: normal; }
.hero-role { margin-bottom: 16px; color: var(--cream); font-size: clamp(1rem, 1.65vw, 1.3rem); font-weight: 500; }
.hero-lead { max-width: 500px; margin-bottom: 34px; color: var(--muted); font-size: 16px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 10px 21px; border: 1px solid transparent; cursor: pointer; font-size: 14px; font-weight: 500; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease; }
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-primary { color: var(--navy); background: var(--mint); border-color: var(--mint); }
.button-primary:hover, .button-primary:focus-visible { background: var(--mint-soft); border-color: var(--mint-soft); }
.button-ghost { color: var(--cream); background: transparent; border-color: var(--line); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--mint); color: var(--mint); }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
.button span[aria-hidden] { font-size: 18px; line-height: 1; }
.hero-visual { position: relative; max-width: 505px; margin: 0 0 0 auto; }
.visual-frame { padding: 13px; border: 1px solid var(--line-strong); background: rgba(9, 18, 40, .55); box-shadow: 20px 20px 0 rgba(35, 213, 171, .045); }
.visual-topline, .visual-bottomline { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 11px; color: var(--muted); font: 9px/1.2 monospace; letter-spacing: .16em; direction: ltr; }
.visual-bottomline { padding: 11px 4px 0; }
.visual-image-wrap { position: relative; aspect-ratio: .93; overflow: hidden; background: #182849; }
.visual-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .83; filter: saturate(.78) contrast(1.08); }
.visual-image-wrap::after { position: absolute; inset: 0; content: ''; background: linear-gradient(135deg, rgba(11, 19, 43, .2), transparent 60%, rgba(35, 213, 171, .16)); mix-blend-mode: screen; }
.visual-cross { position: absolute; width: 18px; height: 18px; border: 1px solid rgba(239, 246, 242, .75); }
.visual-cross::before, .visual-cross::after { position: absolute; content: ''; background: currentColor; }
.visual-cross::before { top: 8px; right: -5px; left: -5px; height: 1px; }
.visual-cross::after { top: -5px; bottom: -5px; left: 8px; width: 1px; }
.cross-one { top: 27%; right: 14%; color: var(--mint); }
.cross-two { right: 27%; bottom: 21%; color: var(--cream); transform: scale(.55); }
.visual-label { position: absolute; z-index: 1; color: var(--cream); font: 9px/1 monospace; letter-spacing: .14em; direction: ltr; }
.label-top { top: 17px; right: 18px; }
.label-bottom { bottom: 18px; left: 18px; color: var(--mint); }
.status-dot { color: var(--mint-soft); }
.visual-note { position: absolute; right: -56px; bottom: 50px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; writing-mode: vertical-rl; }
.visual-note span { color: var(--mint); font-size: 18px; }
.scroll-cue { position: absolute; bottom: 46px; left: max(40px, calc((100vw - var(--container)) / 2)); display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 10px; letter-spacing: .08em; writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 1px; height: 54px; background: linear-gradient(var(--mint), transparent); }

.section-grid { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); gap: 90px; }
.section-intro { position: relative; }
.section-kicker { margin-bottom: 25px; font-size: 11px; }
h2 { margin-bottom: 0; color: var(--cream); font-size: clamp(2.35rem, 4.7vw, 4.2rem); font-weight: 600; line-height: 1.18; letter-spacing: -.045em; }
.section-rule { width: 130px; height: 1px; margin-top: 38px; background: linear-gradient(90deg, var(--mint), transparent); }
.about-section { background: rgba(7, 13, 30, .38); }
.about-copy { max-width: 650px; padding-top: 60px; }
.about-copy p { margin-bottom: 25px; color: var(--muted); font-size: 17px; line-height: 2.1; }
.about-copy p:last-child { margin-bottom: 0; color: var(--cream); }

.services-section { background: var(--navy); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 65px; }
.heading-aside { max-width: 245px; margin: 0 0 6px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { position: relative; min-height: 340px; padding: 30px; border: 1px solid var(--line); background: rgba(17, 29, 57, .35); transition: border-color .3s ease, background .3s ease, transform .3s var(--ease); }
.service-card:hover { border-color: var(--line-strong); background: rgba(17, 29, 57, .74); transform: translateY(-7px); }
.card-number { color: var(--muted); font: 11px/1 monospace; direction: ltr; }
.service-icon { display: grid; width: 50px; height: 50px; margin: 49px 0 25px; place-items: center; color: var(--mint); border: 1px solid var(--line-strong); }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.45; }
.service-card h3 { margin-bottom: 13px; font-size: 22px; font-weight: 500; }
.service-card p { max-width: 270px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.card-arrow { position: absolute; left: 28px; bottom: 23px; color: var(--mint); font-size: 20px; }

.skills-section { background: rgba(7, 13, 30, .54); }
.skills-grid { align-items: start; }
.skills-list { border-top: 1px solid var(--line); }
.skill-row { display: grid; grid-template-columns: 55px minmax(145px, .65fr) minmax(190px, 1fr); gap: 22px; align-items: baseline; padding: 23px 0; border-bottom: 1px solid var(--line); }
.skill-index { color: var(--mint); font: 11px/1 monospace; direction: ltr; }
.skill-row h3 { margin: 0; font-size: 18px; font-weight: 500; }
.skill-row p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.work-section { background: var(--navy); }
.project-count { margin-bottom: 10px; color: var(--muted); font: 10px monospace; letter-spacing: .12em; direction: ltr; }
.project-card { padding: 15px; border: 1px solid var(--line-strong); background: linear-gradient(118deg, rgba(17, 29, 57, .72), rgba(11, 19, 43, .25)); }
.project-card + .project-card { margin-top: 28px; }
.project-meta { display: flex; align-items: center; justify-content: space-between; padding: 5px 7px 18px; color: var(--muted); font: 10px/1.4 monospace; letter-spacing: .12em; direction: ltr; }
.project-tag { color: var(--navy); background: var(--mint); padding: 5px 9px; font-family: 'IBM Plex Sans Arabic', sans-serif; letter-spacing: 0; direction: rtl; }
.project-main { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 315px; border-top: 1px solid var(--line); }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 42px 50px; }
.project-index { margin-bottom: 12px; direction: ltr; font-family: monospace; font-size: 10px; }
.project-copy h3 { margin-bottom: 10px; color: var(--mint); font-size: 43px; font-weight: 600; line-height: 1.2; }
.project-copy p:not(.project-index) { max-width: 420px; margin-bottom: 28px; color: var(--muted); font-size: 14px; line-height: 2; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 5px; border-bottom: 1px solid var(--mint); color: var(--cream); font-size: 13px; transition: color .25s ease, gap .25s ease; }
.text-link:hover, .text-link:focus-visible { gap: 14px; color: var(--mint); }
.project-diagram { position: relative; display: grid; min-height: 315px; place-items: center; overflow: hidden; background: #101d36; }
.project-diagram::before, .project-diagram::after { position: absolute; content: ''; border: 1px solid rgba(35, 213, 171, .17); border-radius: 50%; }
.project-diagram::before { width: 420px; height: 420px; }
.project-diagram::after { width: 280px; height: 280px; border-color: rgba(239, 246, 242, .12); }
.diagram-window { position: relative; z-index: 1; width: min(72%, 380px); border: 1px solid var(--line-strong); background: rgba(11, 19, 43, .86); box-shadow: 14px 14px 0 rgba(35, 213, 171, .1); transform: rotate(-4deg); }
.diagram-bar { display: flex; gap: 5px; padding: 10px; border-bottom: 1px solid var(--line); direction: ltr; }
.diagram-bar i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.diagram-bar i:first-child { background: var(--mint); }
.diagram-content { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 20px; direction: ltr; }
.diagram-content span, .diagram-content b { display: block; height: 43px; border: 1px solid var(--line); background: rgba(140, 166, 191, .08); }
.diagram-content span:first-child { grid-column: span 4; height: 12px; background: var(--mint); opacity: .7; }
.diagram-content span:nth-child(2) { grid-column: span 2; }
.diagram-content span:nth-child(3) { grid-column: span 2; }
.diagram-content span:nth-child(4) { grid-column: span 4; height: 23px; }
.diagram-content b { height: 70px; border-color: rgba(35, 213, 171, .25); }
.diagram-label { position: absolute; right: 22px; bottom: 21px; color: var(--mint); font: 9px monospace; letter-spacing: .12em; direction: ltr; }
.project-moneta { --project-gold: #d5b978; border-color: rgba(213, 185, 120, .38); }
.project-moneta .project-tag { background: var(--project-gold); }
.project-moneta .project-index, .project-moneta .project-copy h3 { color: var(--project-gold); }
.project-moneta .project-copy h3 { font-size: clamp(30px, 3.5vw, 43px); }
.project-moneta .text-link { border-color: var(--project-gold); }
.project-moneta .text-link:hover { color: var(--project-gold); }
.project-access-note { max-width: 400px; margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.moneta-diagram { background: radial-gradient(circle at center, rgba(213, 185, 120, .09), transparent 65%), #10192e; }
.moneta-diagram::before, .moneta-diagram::after { border-color: rgba(213, 185, 120, .19); }
.moneta-emblem { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px; color: var(--project-gold); direction: ltr; }
.moneta-emblem svg { width: 135px; height: 101px; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.moneta-emblem strong { font: 500 25px/1.5 Georgia, serif; letter-spacing: .18em; }
.moneta-emblem span { font: 8px/1.8 monospace; letter-spacing: .14em; }
.moneta-diagram .diagram-label { color: var(--project-gold); font-size: 8px; }
.project-gym { --project-blue: #8bc9f7; border-color: rgba(139, 201, 247, .38); }
.project-gym .project-tag { background: var(--project-blue); }
.project-gym .project-index, .project-gym .project-copy h3 { color: var(--project-blue); }
.project-gym .text-link { border-color: var(--project-blue); }
.project-gym .text-link:hover { color: var(--project-blue); }
.gym-diagram { background: radial-gradient(circle at center, rgba(139, 201, 247, .12), transparent 65%), #101d36; }
.gym-diagram::before, .gym-diagram::after { border-color: rgba(139, 201, 247, .2); }
.gym-emblem { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px; color: var(--project-blue); direction: ltr; }
.gym-emblem svg { width: 160px; height: 107px; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.gym-emblem strong { font: 700 28px/1.5 'IBM Plex Sans Arabic', sans-serif; letter-spacing: .12em; }
.gym-emblem span { font: 8px/1.8 monospace; letter-spacing: .06em; text-align: center; }
.gym-diagram .diagram-label { color: var(--project-blue); font-size: 8px; }

.contact-section { padding-top: 120px; padding-bottom: 150px; }
.contact-box { display: flex; align-items: center; justify-content: space-between; gap: 80px; padding: 65px 70px; border: 1px solid var(--line-strong); background: radial-gradient(circle at 15% 20%, rgba(35, 213, 171, .12), transparent 32%), rgba(17, 29, 57, .45); }
.contact-copy { max-width: 600px; }
.contact-copy h2 { margin-bottom: 22px; }
.contact-copy > p:last-child { max-width: 510px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; min-width: 235px; gap: 10px; }
.action-button { width: 100%; }
.contact-channel { flex-direction: column; gap: 2px; padding: 12px 18px; }
.contact-channel small { font: 12px/1.6 monospace; overflow-wrap: anywhere; }
.button-icon { font-size: 18px; line-height: 1; }
.action-feedback { min-height: 28px; margin: 15px 0 0; color: var(--mint-soft); font-size: 12px; line-height: 1.6; text-align: center; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; gap: 30px; color: var(--muted); font-size: 11px; }
.footer-inner p { margin: 0; }
.footer-inner p:first-child { color: var(--cream); }
.footer-inner p:nth-child(2) { direction: ltr; }
.footer-inner span { margin-right: 8px; color: var(--mint); font-family: monospace; letter-spacing: .08em; }
.footer-inner a { justify-self: end; color: var(--muted); transition: color .2s ease; }
.footer-inner a:hover, .footer-inner a:focus-visible { color: var(--mint); }

.js-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
.js-ready .service-card:nth-child(2), .js-ready .skill-row:nth-child(2) { transition-delay: .08s; }
.js-ready .service-card:nth-child(3), .js-ready .skill-row:nth-child(3) { transition-delay: .16s; }
.js-ready .skill-row:nth-child(4) { transition-delay: .24s; }

@media (max-width: 980px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .section { padding: 110px 0; }
  .hero { min-height: auto; padding-top: 170px; padding-bottom: 120px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(310px, .75fr); gap: 45px; }
  .hero-visual { max-width: 390px; }
  .visual-note { display: none; }
  .scroll-cue { left: 24px; }
  .section-grid { gap: 50px; }
  .contact-box { gap: 45px; padding: 48px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .header-inner { min-height: 78px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 11px; padding: 8px 0; color: var(--cream); border: 0; background: transparent; cursor: pointer; }
  .nav-toggle-label { font-size: 12px; }
  .nav-toggle-icon { display: flex; flex-direction: column; gap: 4px; width: 23px; direction: ltr; }
  .nav-toggle-icon i { display: block; width: 100%; height: 1px; background: var(--mint); transition: transform .25s ease, opacity .25s ease; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:first-child { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:last-child { transform: translateY(-5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 78px; right: 18px; left: 18px; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px; border: 1px solid var(--line-strong); background: rgba(7, 13, 30, .98); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  html:not(.js-ready) .site-nav { position: static; opacity: 1; pointer-events: auto; transform: none; }
  html:not(.js-ready) .header-inner { flex-wrap: wrap; }
  html:not(.js-ready) .nav-toggle { display: none; }
  html:not(.js-ready) .site-nav { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  html:not(.js-ready) .site-header { position: relative; }
  html:not(.js-ready) .hero { padding-top: 50px; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { padding-top: 140px; padding-bottom: 86px; }
  .hero-grid-art { left: 79%; }
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; gap: 58px; }
  h1 { font-size: clamp(3.3rem, 16vw, 5.1rem); }
  .hero-lead { font-size: 15px; }
  .hero-visual { align-self: center; width: min(100%, 425px); margin: 0; }
  .scroll-cue { display: none; }
  .section { padding: 88px 0; }
  .section-grid { display: block; }
  .about-copy { padding-top: 40px; }
  .about-copy p { font-size: 15px; line-height: 2; }
  .section-heading { display: block; margin-bottom: 43px; }
  .heading-aside { max-width: 310px; margin-top: 25px; }
  .card-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 270px; padding: 25px; }
  .service-icon { margin-top: 33px; }
  .skills-grid { display: block; }
  .skills-list { margin-top: 42px; }
  .skill-row { grid-template-columns: 38px 1fr; gap: 8px 15px; padding: 19px 0; }
  .skill-row h3 { font-size: 17px; }
  .skill-row p { grid-column: 2; font-size: 12px; }
  .project-count { display: block; margin-top: 25px; }
  .project-main { display: flex; flex-direction: column; }
  .project-copy { min-height: 310px; padding: 35px 25px; }
  .project-diagram { min-height: 260px; }
  .contact-section { padding-top: 88px; padding-bottom: 100px; }
  .contact-box { display: block; padding: 38px 25px; }
  .contact-actions { max-width: 320px; margin-top: 35px; }
  .footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; min-height: 110px; padding: 25px 0; }
  .footer-inner p:nth-child(2) { order: 3; width: 100%; }
}

@media (max-width: 400px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-copy span { letter-spacing: .2em; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .project-meta { align-items: flex-start; flex-direction: column; gap: 9px; }
  .project-copy h3 { font-size: 38px; }
}

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

/* Immersive technical 3D language */
.hero-visual { perspective: 1100px; }
.visual-frame-3d { transform-style: preserve-3d; transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .35s ease-out; }
.scene-stage { position: relative; isolation: isolate; aspect-ratio: .93; overflow: hidden; perspective: 1000px; background: radial-gradient(ellipse at 55% 53%, rgba(37, 213, 171, .13), transparent 37%), linear-gradient(145deg, #152542, #0a1226 70%); transform-style: preserve-3d; }
.scene-stage::before { position: absolute; inset: 14% 11%; border: 1px solid rgba(116, 217, 211, .14); content: ''; transform: rotateX(64deg) rotateZ(-23deg) scale(1.1); box-shadow: 0 0 40px rgba(35, 213, 171, .08); }
.scene-stage::after { position: absolute; right: 18%; bottom: 17%; left: 18%; height: 10%; border-radius: 50%; background: rgba(35, 213, 171, .12); content: ''; filter: blur(18px); }
.scene-grid { position: absolute; right: -15%; bottom: -13%; left: -15%; height: 55%; opacity: .36; background-image: linear-gradient(rgba(82, 201, 190, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(82, 201, 190, .18) 1px, transparent 1px); background-size: 38px 38px; transform: perspective(260px) rotateX(62deg); transform-origin: center top; mask-image: linear-gradient(to bottom, #000, transparent 86%); }
.scene-orbit { position: absolute; z-index: 0; top: 23%; left: 22%; width: 58%; aspect-ratio: 1; border: 1px solid rgba(35, 213, 171, .22); border-radius: 50%; transform: rotateX(69deg) rotateZ(-25deg); }
.orbit-two { top: 18%; left: 25%; width: 51%; border-color: rgba(176, 219, 248, .15); transform: rotateX(68deg) rotateZ(34deg); }
.scene-connectors { position: absolute; z-index: 1; inset: 8%; width: 84%; height: 84%; overflow: visible; fill: var(--mint); stroke: rgba(76, 225, 199, .56); stroke-width: 1; filter: drop-shadow(0 0 5px rgba(35, 213, 171, .5)); }
.scene-monitor { position: absolute; z-index: 4; top: 29%; left: 22%; width: 43%; height: 37%; transform: translateZ(52px) rotateY(-17deg) rotateX(3deg); transform-style: preserve-3d; animation: float-monitor 6s ease-in-out infinite; }
.monitor-face { position: absolute; inset: 0 0 17%; display: flex; flex-direction: column; gap: 8%; padding: 10%; border: 2px solid #7adfce; background: linear-gradient(135deg, #203b57, #101b31 70%); box-shadow: 8px 8px 0 #0b1426, 0 0 25px rgba(35, 213, 171, .22); transform: translateZ(10px); }
.monitor-top { display: block; width: 58%; height: 5px; background: var(--mint); box-shadow: 0 0 12px rgba(35, 213, 171, .75); }
.monitor-line { display: block; width: 86%; height: 3px; background: rgba(220, 239, 242, .46); }
.monitor-line.short { width: 58%; }
.monitor-chart { display: flex; flex: 1; align-items: end; gap: 7%; padding: 4% 8% 0; border-bottom: 1px solid rgba(35, 213, 171, .55); }
.monitor-chart i { flex: 1; height: 40%; background: linear-gradient(to top, rgba(35,213,171,.22), #23d5ab); box-shadow: 0 0 10px rgba(35,213,171,.3); }
.monitor-chart i:nth-child(2) { height: 74%; }.monitor-chart i:nth-child(3) { height: 52%; }.monitor-chart i:nth-child(4) { height: 91%; }.monitor-chart i:nth-child(5) { height: 65%; }
.monitor-neck { position: absolute; bottom: 11%; left: 43%; width: 15%; height: 9%; background: linear-gradient(90deg, #435d70, #a0c2c4, #30485a); transform: translateZ(-8px); }
.monitor-foot { position: absolute; bottom: 5%; left: 29%; width: 43%; height: 8%; border-radius: 50% 50% 4px 4px; background: linear-gradient(180deg, #a6d4d0, #30465b); transform: rotateX(55deg); }
.scene-tower { position: absolute; z-index: 5; top: 37%; right: 15%; width: 23%; height: 43%; transform: translateZ(86px) rotateY(-23deg) rotateX(1deg); transform-style: preserve-3d; animation: float-tower 7s ease-in-out infinite; }
.tower-front { position: absolute; inset: 0 18% 0 0; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; border: 1px solid rgba(166, 221, 222, .72); background: linear-gradient(105deg, #22364f, #111a2c 66%); box-shadow: inset 0 0 22px rgba(35,213,171,.08), 8px 8px 0 #0a1222; }
.tower-side { position: absolute; top: 4%; right: -14%; width: 15%; height: 96%; border: 1px solid rgba(143, 197, 200, .55); background: linear-gradient(90deg,#13243a,#30475d); transform: skewY(-30deg); transform-origin: left top; }
.tower-fan { display: block; width: 54%; aspect-ratio: 1; border: 2px solid #58cbb9; border-radius: 50%; background: repeating-conic-gradient(from 15deg,rgba(35,213,171,.8) 0 8deg,transparent 9deg 52deg); box-shadow: inset 0 0 0 5px #17263c, 0 0 12px rgba(35,213,171,.5); }
.fan-b { border-color: #76b4ed; background: repeating-conic-gradient(from 15deg,rgba(118,180,237,.76) 0 8deg,transparent 9deg 52deg); box-shadow: inset 0 0 0 5px #17263c,0 0 12px rgba(118,180,237,.4); }
.tower-light { width: 45%; height: 2px; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.scene-camera { position: absolute; z-index: 7; top: 17%; right: 19%; width: 22%; height: 14%; transform: translateZ(126px) rotateY(-26deg) rotateZ(-13deg); animation: float-camera 5.5s ease-in-out infinite; }
.camera-body { position: absolute; inset: 10% 15% 20% 0; border: 1px solid #c5dfde; border-radius: 12px 7px 7px 12px; background: linear-gradient(145deg,#e4f1e8,#73999e 50%,#304b63); box-shadow: 7px 8px 0 rgba(6,14,28,.85), 0 0 18px rgba(118,221,208,.25); }
.camera-body::after { position: absolute; top: 15%; right: -29%; width: 32%; height: 70%; border-radius: 0 14px 14px 0; background: linear-gradient(90deg,#243c54,#10192b); content: ''; }
.camera-lens { position: absolute; top: 24%; right: -3%; width: 25%; aspect-ratio: 1; border: 3px solid #8cebd3; border-radius: 50%; background: radial-gradient(circle at 35% 35%,#bbf4ed 0 5%,#398591 13%,#111b31 55%,#050b15 68%); box-shadow: 0 0 15px rgba(35,213,171,.7); }
.camera-mount { position: absolute; bottom: -14%; left: 30%; width: 35%; height: 18%; background: #698b94; transform: skewX(-25deg); }
.scene-chip { position: absolute; z-index: 8; padding: 5px 8px; border: 1px solid rgba(105,218,199,.42); background: rgba(8,18,35,.78); color: #bde9e0; font: 8px monospace; letter-spacing: .08em; direction: ltr; box-shadow: 0 7px 20px rgba(0,0,0,.22); }
.chip-cctv { top: 20%; left: 10%; transform: translateZ(90px) rotateY(10deg); }.chip-net { right: 7%; bottom: 22%; transform: translateZ(70px) rotateY(-8deg); }.chip-pc { bottom: 12%; left: 18%; transform: translateZ(60px) rotateY(8deg); }
.scene-spark { position: absolute; z-index: 8; width: 7px; height: 7px; border-radius: 50%; background: #b8fff0; box-shadow: 0 0 16px 5px rgba(35,213,171,.45); animation: spark-pulse 2.8s ease-in-out infinite; }
.spark-a { top: 35%; left: 17%; }.spark-b { right: 13%; bottom: 37%; animation-delay: 1.2s; }
@keyframes float-monitor { 0%,100% { transform: translate3d(0,0,52px) rotateY(-17deg) rotateX(3deg); } 50% { transform: translate3d(0,-8px,65px) rotateY(-14deg) rotateX(5deg); } }
@keyframes float-tower { 0%,100% { transform: translate3d(0,0,86px) rotateY(-23deg); } 50% { transform: translate3d(0,-9px,95px) rotateY(-19deg); } }
@keyframes float-camera { 0%,100% { transform: translate3d(0,0,126px) rotateY(-26deg) rotateZ(-13deg); } 50% { transform: translate3d(0,-7px,139px) rotateY(-20deg) rotateZ(-9deg); } }
@keyframes spark-pulse { 0%,100% { opacity: .45; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }
.visual-frame-3d .visual-topline, .visual-frame-3d .visual-bottomline { position: relative; z-index: 9; }
.visual-frame-3d .visual-bottomline { padding-top: 13px; }
.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card { transform-style: preserve-3d; }
.service-card:hover .service-icon { transform: translateZ(12px) rotateY(-10deg) rotateX(7deg); box-shadow: 8px 9px 0 rgba(35, 213, 171, .09); }
.service-icon { transition: transform .35s ease, box-shadow .35s ease; }
.project-diagram { transform-style: preserve-3d; transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .28s ease-out, box-shadow .28s ease-out; }
.diagram-window { box-shadow: 14px 14px 0 rgba(35, 213, 171, .1), 25px 29px 0 rgba(3, 8, 20, .32); transform: perspective(750px) rotateY(-24deg) rotateX(10deg) rotateZ(-4deg) translateZ(30px); transform-style: preserve-3d; }
.moneta-emblem { transform: perspective(650px) rotateY(-17deg) rotateX(8deg) translateZ(28px); filter: drop-shadow(10px 13px 0 rgba(0,0,0,.28)); }
.gym-emblem { transform: perspective(650px) rotateY(14deg) rotateX(8deg) translateZ(30px); filter: drop-shadow(-8px 12px 0 rgba(0,0,0,.3)); }
.contact-copy h2.contact-owner-name { max-width: 600px; font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.8; font-weight: 600; overflow-wrap: anywhere; }
.contact-owner-role { margin: 13px 0 22px; color: var(--mint); font-size: 15px; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .scene-chip { padding: 4px 6px; font-size: 7px; }
  .scene-camera { right: 14%; }
  .scene-tower { right: 11%; }
  .contact-copy h2.contact-owner-name { font-size: 1rem; }
}
@media (max-width: 420px) {
  .card-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .service-icon { margin-top: 24px; }
  .scene-chip { font-size: 6px; }
  .scene-camera { top: 16%; right: 11%; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-monitor, .scene-tower, .scene-camera, .scene-spark { animation: none !important; }
  .visual-frame-3d, .project-diagram { transition: none !important; transform: none !important; }
}


/* Amethyst-copper 3D studio visual system */
:root {
  --navy: #100c20;
  --navy-deep: #090714;
  --navy-soft: #1b1530;
  --mint: #bc8cff;
  --mint-soft: #ead8ff;
  --cream: #faf6ff;
  --muted: #b8adc9;
  --line: rgba(222, 206, 255, .16);
  --line-strong: rgba(194, 143, 255, .5);
  --copper: #ffbd7e;
}

body {
  background: radial-gradient(ellipse at 78% 12%, #211638 0, var(--navy) 36%, var(--navy-deep) 100%);
}
body::before {
  opacity: .3;
  background-image: linear-gradient(rgba(196, 169, 229, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(196, 169, 229, .055) 1px, transparent 1px);
}
.site-header {
  background: linear-gradient(180deg, rgba(16, 12, 32, .74), rgba(16, 12, 32, .14));
  backdrop-filter: blur(12px);
}
.hero {
  background: radial-gradient(ellipse at 18% 26%, rgba(148, 92, 218, .15), transparent 46%);
}
.hero-grid-art::before {
  border-color: rgba(190, 142, 255, .24);
  box-shadow: 0 0 70px rgba(153, 95, 222, .1);
}
.hero-grid-art::after {
  border-color: rgba(255, 189, 126, .19);
}
.button-primary {
  background: linear-gradient(125deg, #d1a5ff, #ae71ee);
  box-shadow: 0 10px 28px rgba(166, 102, 229, .23), inset 0 1px 0 rgba(255, 255, 255, .38);
}
.button-primary:hover, .button-primary:focus-visible {
  background: linear-gradient(125deg, #ead8ff, #c394ff);
}
.button-ghost:hover, .button-ghost:focus-visible {
  border-color: var(--copper);
  color: var(--copper);
}
.visual-frame {
  border-color: rgba(204, 164, 255, .48);
  background: linear-gradient(145deg, rgba(33, 23, 53, .82), rgba(12, 9, 23, .85));
  box-shadow: 18px 20px 0 rgba(155, 99, 210, .12), 0 25px 80px rgba(0, 0, 0, .28);
}
.scene-stage {
  background: radial-gradient(ellipse at 40% 31%, rgba(158, 104, 239, .28), transparent 38%), radial-gradient(ellipse at 77% 69%, rgba(255, 177, 113, .16), transparent 32%), linear-gradient(145deg, #281b42, #100d20 72%);
}
.scene-stage::before {
  border-color: rgba(203, 159, 255, .29);
  box-shadow: 0 0 48px rgba(173, 114, 245, .14);
}
.scene-stage::after {
  background: radial-gradient(ellipse, rgba(255, 189, 126, .27), transparent 72%);
}
.scene-grid {
  background-image: linear-gradient(rgba(196, 156, 250, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(196, 156, 250, .2) 1px, transparent 1px);
}
.scene-orbit {
  border-color: rgba(195, 145, 255, .43);
  box-shadow: 0 0 22px rgba(175, 116, 244, .1);
}
.orbit-two {
  border-color: rgba(255, 189, 126, .29);
}
.scene-connectors {
  fill: #d4b0ff;
  stroke: rgba(208, 169, 255, .82);
  filter: drop-shadow(0 0 6px rgba(187, 132, 255, .6));
}
.monitor-face {
  border-color: #c294ff;
  background: linear-gradient(135deg, #48305d, #171329 70%);
  box-shadow: 8px 8px 0 #0b0817, 0 0 30px rgba(179, 119, 245, .33);
}
.monitor-chart { border-bottom-color: rgba(202, 159, 255, .7); }
.monitor-chart i {
  background: linear-gradient(to top, rgba(169, 107, 236, .28), #c18aff);
  box-shadow: 0 0 12px rgba(181, 120, 246, .38);
}
.monitor-neck { background: linear-gradient(90deg, #544266, #d5b2ec, #39304c); }
.monitor-foot { background: linear-gradient(180deg, #e1c3e8, #4c3a59); }
.tower-front {
  border-color: rgba(221, 190, 255, .72);
  background: linear-gradient(105deg, #352344, #171124 66%);
  box-shadow: inset 0 0 24px rgba(183, 121, 245, .15), 8px 8px 0 #0a0715;
}
.tower-side {
  border-color: rgba(197, 151, 245, .55);
  background: linear-gradient(90deg, #22162f, #483257);
}
.tower-fan {
  border-color: #c38cff;
  background: repeating-conic-gradient(from 15deg, rgba(193, 139, 255, .86) 0 8deg, transparent 9deg 52deg);
  box-shadow: inset 0 0 0 5px #21172e, 0 0 15px rgba(193, 139, 255, .56);
}
.fan-b {
  border-color: #ffbd7e;
  background: repeating-conic-gradient(from 15deg, rgba(255, 189, 126, .82) 0 8deg, transparent 9deg 52deg);
  box-shadow: inset 0 0 0 5px #21172e, 0 0 14px rgba(255, 189, 126, .42);
}
.tower-light { background: var(--copper); box-shadow: 0 0 12px var(--copper); }
.camera-body {
  border-color: #f2d2ef;
  background: linear-gradient(145deg, #f5dfcf, #bd8db8 50%, #4b365e);
  box-shadow: 7px 8px 0 rgba(6, 5, 17, .85), 0 0 23px rgba(255, 189, 126, .29);
}
.camera-body::after { background: linear-gradient(90deg, #4b365e, #171124); }
.camera-lens {
  border-color: #d9b2ff;
  background: radial-gradient(circle at 35% 35%, #f4e2ff 0 5%, #9d66cf 14%, #20152f 56%, #080611 68%);
  box-shadow: 0 0 18px rgba(194, 143, 255, .82);
}
.camera-mount { background: #a27d91; }
.scene-chip {
  border-color: rgba(211, 176, 255, .52);
  background: rgba(22, 14, 37, .83);
  color: #f0ddff;
}
.scene-spark {
  background: #ffd1a0;
  box-shadow: 0 0 18px 5px rgba(255, 189, 126, .5);
}
.service-card {
  background: linear-gradient(145deg, rgba(39, 28, 59, .7), rgba(17, 13, 31, .56));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  perspective: 850px;
}
.service-card:hover {
  background: linear-gradient(145deg, rgba(55, 37, 82, .88), rgba(24, 16, 41, .8));
  box-shadow: 0 22px 45px rgba(0, 0, 0, .28), 0 0 28px rgba(175, 116, 244, .1);
  transform: translateY(-8px) rotateX(2deg);
}
.service-icon {
  background: linear-gradient(145deg, rgba(193, 139, 255, .13), rgba(255, 189, 126, .06));
  box-shadow: 0 8px 25px rgba(166, 102, 229, .1);
}
.project-card {
  background: linear-gradient(118deg, rgba(39, 29, 58, .88), rgba(14, 11, 27, .72));
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.project-card:hover {
  box-shadow: 0 26px 65px rgba(0, 0, 0, .34), 0 0 35px rgba(171, 110, 237, .09);
  transform: translateY(-4px);
  transition: transform .35s ease, box-shadow .35s ease;
}
.project-diagram {
  background: radial-gradient(circle at 50% 45%, rgba(183, 121, 245, .17), transparent 48%), linear-gradient(145deg, #211733, #100c1f);
}
.project-diagram::before { border-color: rgba(194, 143, 255, .24); }
.project-diagram::after { border-color: rgba(255, 189, 126, .18); }
.diagram-window {
  background: rgba(17, 12, 31, .9);
  box-shadow: 14px 14px 0 rgba(184, 127, 241, .14), 25px 29px 0 rgba(3, 2, 10, .42);
}
.project-gym { --project-blue: #ffbd7e; border-color: rgba(255, 189, 126, .46); }
.gym-diagram {
  background: radial-gradient(circle at center, rgba(255, 189, 126, .15), transparent 65%), linear-gradient(145deg, #261932, #100c1f);
}
.gym-diagram::before, .gym-diagram::after { border-color: rgba(255, 189, 126, .22); }
.contact-box {
  border-color: rgba(197, 151, 245, .55);
  background: radial-gradient(circle at 15% 18%, rgba(164, 104, 232, .2), transparent 35%), radial-gradient(circle at 85% 92%, rgba(255, 189, 126, .11), transparent 38%), linear-gradient(135deg, rgba(37, 25, 58, .88), rgba(15, 11, 28, .86));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.contact-owner-role { color: var(--copper); }
.contact-owner-name { color: #e7d5fa; }

@media (prefers-reduced-motion: reduce) {
  .project-card:hover, .service-card:hover { transform: none; }
}
