:root {
  --bg: #060d12;
  --fg: #f4f7f5;
  --muted: #a9bbb5;
  --accent: #14f195;
  --border: rgba(175, 228, 206, .16);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { background: var(--bg); color: var(--fg); font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
nav { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(6, 13, 18, .82); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--border); }
.nav-inner { height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 36px; height: 36px; overflow: visible; }
.brand-text { font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; }
.brand-icon path { transition: transform .35s ease; }
.brand:hover .layer-1 { transform: translateY(-2px); }
.brand:hover .layer-3 { transform: translateY(2px); }
.menu { display: flex; gap: 36px; align-items: center; }
.menu a { color: #c0ccc7; text-decoration: none; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; transition: color .25s; }
.menu a:hover { color: var(--accent); }
.menu a:last-child { border: 1px solid rgba(20,241,149,.35); padding: 11px 20px; border-radius: 6px; color: var(--fg); }
header { min-height: 840px; display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; padding: 172px 0 100px; background: #071310; }
header::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('theme/emerald-silk.webp') center / cover; opacity: .85; }
header::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,13,18,.94) 0%, rgba(6,13,18,.8) 36%, rgba(6,13,18,.06) 78%), linear-gradient(0deg, var(--bg), transparent 30%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: center; }
.hero-content { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #8de8b9; text-transform: uppercase; letter-spacing: .2em; font-size: .68rem; font-weight: 600; margin-bottom: 26px; }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--accent); }
h1 { font-size: clamp(3rem, 5.3vw, 5rem); font-weight: 500; line-height: 1.09; letter-spacing: -.055em; margin-bottom: 28px; }
h1 span { color: #94efc6; }
.hero-desc { color: #b5c6bd; font-size: 1rem; max-width: 48ch; line-height: 1.85; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 16px 25px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; border: 1px solid var(--border); border-radius: 6px; text-decoration: none; transition: background .25s, border-color .25s, transform .25s; }
.btn::after { content: '↗'; font-size: 1.1rem; line-height: 1; }
.btn-primary { color: #062116; background: #b8f7d7; border-color: #b8f7d7; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn-secondary { background: rgba(6,13,18,.25); color: var(--fg); }
.btn-secondary:hover { background: rgba(20,241,149,.08); border-color: rgba(20,241,149,.45); }
.hero-note { color: #99afa5; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 34px; }
.hero-visual { min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 420px; }
.hero-mark { width: 270px; height: 270px; overflow: visible; filter: drop-shadow(0 18px 35px rgba(0,0,0,.55)); }
.hero-mark__layer { animation: hero-layer-cascade 2.4s ease-in-out infinite; }
.hero-mark__layer--middle { animation-delay: .18s; }
.hero-mark__layer--bottom { animation-delay: .36s; }
.hero-visual::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: #14f195; opacity: .08; filter: blur(60px); }
.art-caption { position: absolute; bottom: 8px; display: flex; gap: 20px; font-size: .61rem; letter-spacing: .22em; color: #bcddcf; text-transform: uppercase; }
.art-caption span + span::before { content: '/'; color: #4e9f80; margin-right: 20px; }
@keyframes hero-layer-cascade { 0%, 65%, 100% { transform: translateY(0); } 28% { transform: translateY(-1.6px); opacity: 1; } }
.metric-bar { background: #081510; border-block: 1px solid var(--border); padding: 24px 0; overflow: hidden; display: flex; }
.metric-track { display: flex; width: max-content; gap: 64px; padding-right: 64px; animation: marquee 70s linear infinite; }
.metric-item { display: flex; gap: 14px; align-items: center; white-space: nowrap; }
.metric-item::before { content: '✦'; color: #60be96; font-size: .8rem; margin-right: 12px; }
.metric-item strong { font-size: .9rem; font-weight: 500; }
.metric-item span { font-size: .65rem; color: #87a395; text-transform: uppercase; letter-spacing: .12em; }
@keyframes marquee { to { transform: translateX(-50%); } }
section { padding: 110px 0; }
/* Restored original Digital Excellence and Our Process. */
#services, #process {
      padding: 8rem 0;
    }
:is(#services, #process) .section-header {
      margin-bottom: 4rem;
    }
:is(#services, #process) .section-header h2 {
      font-size: 2.5rem;
      font-weight: 700;
      letter-spacing: -0.03em;
      margin-bottom: 1rem;
    }
:is(#services, #process) .section-header p {
      color: var(--muted);
      max-width: 50ch;
      font-size: 1.1rem;
    }
#services .bento-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.5rem;
    }
#services .bento-card {
      background:
        linear-gradient(180deg, rgba(20, 241, 149, 0.08) 0%, rgba(20, 241, 149, 0) 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 28px;
      padding: 0;
      position: relative;
      overflow: hidden;
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease;
      display: flex;
      flex-direction: column;
      justify-content: stretch;
      min-height: 320px;
      z-index: 0;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.22);
    }
#services .bento-card__content {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 1rem;
      min-height: 100%;
      padding: 1.75rem 8.5rem 1.75rem 1.75rem;
    }
#services .bento-card__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
#services .bento-card > * {
      position: relative;
      z-index: 1;
    }
#services .bento-card:hover {
      border-color: rgba(20, 241, 149, 0.25);
      transform: translateY(-4px);
      box-shadow: inset 0 1px 1px rgba(20, 241, 149, 0.16), 0 24px 50px rgba(0, 0, 0, 0.28);
    }
#services .bento-card.large {
      grid-column: span 1;
    }
#services .bento-icon {
      position: static;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(20, 241, 149, 0.08);
      border: 1px solid rgba(20, 241, 149, 0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
      flex-shrink: 0;
    }
#services .bento-card h3 {
      font-size: 1.45rem;
      margin: 0;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--fg);
    }
#services .bento-card p {
      color: #c7d2de;
      font-size: 0.98rem;
      line-height: 1.7;
      margin: 0;
    }
#services .tag {
      position: static;
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      padding: 0.35rem 0.85rem;
      border-radius: 100px;
      border: 1px solid rgba(255,255,255,0.08);
      background: rgba(255,255,255,0.04);
      color: var(--fg);
      width: max-content;
    }
#services .bento-ill {
      position: absolute;
      top: 50%;
      right: 0.75rem;
      width: 150px;
      height: 150px;
      transform: translateY(-50%);
      pointer-events: none;
      z-index: 0;
      opacity: 0.9;
    }
#services .ambient-glow {
      position: absolute;
      right: 0;
      bottom: 0;
      background: var(--accent);
      border-radius: 50%;
      filter: blur(45px);
      opacity: 0.1;
    }
#services .bento-ill svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      color: rgba(255, 255, 255, 0.18);
      transition: color 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
      animation: none;
    }
#services .bento-card:hover .bento-ill svg {
      color: rgba(20, 241, 149, 0.3);
      transform: scale(1.03);
    }
#services .ill-app { width: 165px; height: 165px; }
#services .ill-social { width: 145px; height: 145px; }
#services .ill-video { width: 150px; height: 150px; }
#services .ill-obj { width: 170px; height: 170px; }
#services .feature-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: auto;
      list-style: none;
      padding-top: 0.35rem;
    }
#services .feature-list li {
      font-size: 0.76rem;
      font-weight: 600;
      padding: 0.45rem 0.95rem;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 100px;
      color: #d3dde8;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      letter-spacing: 0.05em;
    }
#services .bento-card:hover .feature-list li {
      border-color: rgba(20, 241, 149, 0.3);
      color: var(--fg);
      background: rgba(20, 241, 149, 0.05);
      box-shadow: none;
      transform: none;
    }
#process .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 3rem;
      position: relative;
      margin-top: 3rem;
    }
#process .process-grid::before {
      content: '';
      position: absolute;
      top: 24px;
      left: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, var(--accent) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
      z-index: 0;
    }
#process .process-step {
      position: relative;
      z-index: 1;
      padding-top: 4rem;
      transition: transform 0.4s ease;
    }
#process .process-step:hover {
      transform: translateY(-5px);
    }
#process .step-node {
      position: absolute;
      top: 16px;
      left: 0;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--bg);
      border: 2px solid var(--accent);
      box-shadow: 0 0 15px rgba(20, 241, 149, 0.4);
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
#process .process-step:hover .step-node {
      background: var(--accent);
      transform: scale(1.3);
      box-shadow: 0 0 20px rgba(20, 241, 149, 0.8);
    }
#process .step-number {
      font-size: 4rem;
      font-weight: 800;
      color: rgba(255, 255, 255, 0.03);
      line-height: 1;
      margin-bottom: 1rem;
      letter-spacing: -0.05em;
      transition: color 0.4s ease;
    }
#process .process-step:hover .step-number {
      color: rgba(255, 255, 255, 0.1);
    }
#process .process-step h4 {
      font-size: 1.25rem;
      color: var(--fg);
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 0.75rem;
    }
#process .process-step p {
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.6;
    }


    
/* Original section layouts and interactions, scoped to preserve the emerald hero and contact. */
#services .bento-ill { display: block; }
#services .bento-card::before, #services .bento-card::after { content: none; }
#process { border-top: 0; }
#process .step-node { display: block; }
#process .process-step { border-top: 0; }
#services .bento-card p { max-width: none; }
@media (prefers-reduced-motion: no-preference) {
  .js :is(#services, #process) [data-reveal] {
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
  }
  .js :is(#services, #process) [data-reveal].in-view { transform: none; }
  .js #services .bento-card.in-view:hover { transform: translateY(-4px); }
  .js #process .process-step.in-view:hover { transform: translateY(-5px); }
}
@media (max-width: 992px) {
  #process .process-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem 2rem; }
  #process .process-grid::before { display: none; }
}
@media (max-width: 900px) {
  #services .bento-grid { grid-template-columns: 1fr; }
  #services .bento-card { min-height: 0; }
  #services .bento-card__content { padding-right: 1.75rem; }
  #services .bento-ill, #services .ambient-glow { display: none; }
  #services .bento-card:hover { transform: none; }
  .js #services .bento-card.in-view:hover { transform: none; }
}
@media (max-width: 768px) {
  #services { padding-top: 6rem; padding-bottom: 6rem; }
  :is(#services, #process) .section-header { margin-bottom: 2.5rem; }
  :is(#services, #process) .section-header h2 { font-size: 2rem; }
  #services .bento-card { border-radius: 24px; min-height: 0; }
  #services .bento-card__content { gap: .8rem; padding: 1.25rem; }
  #services .tag { font-size: .64rem; }
  #services .bento-icon { width: 40px; height: 40px; }
  #services .bento-card h3 { font-size: 1.28rem; }
  #services .bento-card p { font-size: .96rem; }
  #services .feature-list li { font-size: .72rem; }
  #process .process-grid { grid-template-columns: 1fr; gap: 3rem; }
}

#contact { padding-top: 24px; }
.cta { border: 1px solid var(--border); border-radius: 14px; position: relative; isolation: isolate; overflow: hidden; background: #07110f; text-align: center; padding: 82px 40px 112px; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('theme/emerald-horizon.webp') center 70% / cover; opacity: .85; }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(6,13,18,.65),rgba(6,13,18,.5) 70%,transparent); }
.cta .eyebrow { justify-content: center; margin-bottom: 24px; font-size: .68rem; color: #8de8b9; }
.cta .eyebrow::before { display: none; }
.cta h2 { font-size: clamp(2rem,4vw,3.6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.15; margin-bottom: 24px; max-width: 19ch; margin-inline: auto; }
.cta p { max-width: 50ch; margin: 0 auto 32px; color: #b6c9bf; font-size: .93rem; line-height: 1.8; }
footer { border-top: 1px solid var(--border); padding-block: 32px; display: flex; justify-content: space-between; gap: 24px; color: #8ba99a; font-size: .7rem; }
[data-reveal] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
  .js [data-reveal].in-view { opacity: 1; transform: none; }
}
@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  header { min-height: 750px; }
  .hero-mark { width: 220px; height: 220px; }
  .hero-grid { grid-template-columns: 1.4fr .6fr; }
  h1 { font-size: clamp(2.7rem,5.7vw,4.8rem); }
  .art-caption { gap: 12px; letter-spacing: .12em; }
  .art-caption span + span::before { margin-right: 12px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .nav-inner { height: 72px; }
  .brand-icon { width: 30px; height: 30px; }
  .brand-text { font-size: 1.2rem; }
  .menu { gap: 17px; }
  .menu a { font-size: .6rem; letter-spacing: .04em; }
  .menu a:last-child { padding: 8px 11px; }
  header { min-height: auto; padding: 137px 0 65px; }
  header::after { background: linear-gradient(90deg,rgba(6,13,18,.86),rgba(6,13,18,.3)),linear-gradient(0deg,var(--bg),transparent 50%); }
  .hero-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.55rem,8.2vw,4rem); letter-spacing: -.05em; }
  .eyebrow { font-size: .59rem; letter-spacing: .15em; }
  .hero-desc { font-size: .92rem; max-width: 46ch; }
  .hero-visual { height: 230px; margin-top: 20px; }
  .hero-mark { width: 180px; height: 180px; }
  .hero-visual::before { width: 200px; height: 200px; }
  .art-caption { bottom: 0; }
  .hero-note { margin-top: 25px; font-size: .59rem; }
  section { padding: 72px 0; }
  .cta { padding: 62px 22px 85px; }
  footer { flex-direction: column; gap: 8px; }
}
@media (max-width: 380px) {
  .brand { gap: 6px; }
  .brand-icon { width: 26px; height: 26px; }
  .brand-text { font-size: 1.05rem; }
  .menu { gap: 10px; }
  .menu a { font-size: .56rem; }
  .menu a:last-child { padding: 8px; }
  .hero-ctas { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .metric-track { flex-wrap: wrap; width: 100%; gap: 16px 28px; padding: 0 20px; }
  .metric-item:nth-child(n+5) { display: none; }
}

/* A native, keyboard-accessible menu keeps the brand readable on phones. */
.mobile-site-menu { display: none; }
@media(max-width:760px) {
  nav .menu { display: none; }
  .mobile-site-menu { display: block; }
  .mobile-site-menu > summary { display: flex; gap: 10px; align-items: center; padding: 10px 13px; border: 1px solid var(--border); border-radius: 8px; color: #d5e7dd; font-size: .78rem; cursor: pointer; list-style: none; min-height: 44px; }
  .mobile-site-menu > summary::-webkit-details-marker { display: none; }
  .mobile-site-menu[open] > summary { border-color: #83b398; }
  .mobile-menu-panel { position: absolute; top: calc(100% + 8px); left: 20px; right: 20px; display: grid; padding: 10px; background: #0c171a; border: 1px solid #9bbfab40; border-radius: 16px; box-shadow: 0 24px 50px #00000066; }
  .mobile-menu-panel a { padding: 13px 16px; color: #cfdfd5; font-size: .85rem; text-decoration: none; border-radius: 8px; }
  .mobile-menu-panel a:hover { background: #153025; }
  .mobile-menu-panel a:last-child { border-top: 1px solid var(--border); margin-top: 6px; border-radius: 0; color: #b8f7d7; }
}
