@font-face{font-family:Manrope;src:url(../fonts/Manrope-Regular.ttf);font-weight:400;font-display:swap}@font-face{font-family:Manrope;src:url(../fonts/Manrope-Bold.ttf);font-weight:700;font-display:swap}
:root{--dark:#212524;--light:#f4f7f0;--lime:#c0ea6c;--moss:#495551;--rule:#cbd4c7}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--light);color:var(--dark);font:400 1rem/1.62 Manrope,system-ui,sans-serif}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.03;letter-spacing:-.052em}h1{font-size:clamp(4rem,8vw,8.6rem)}h2{font-size:clamp(2.5rem,5.3vw,5.3rem)}h3{font-size:clamp(1.6rem,3vw,2.7rem)}h4{font-size:clamp(1.15rem,1.6vw,1.45rem);letter-spacing:-.028em}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,.logo-loop:focus-visible{outline:2px solid #608425;outline-offset:4px}.shell{width:min(calc(100% - 104px),1280px);margin-inline:auto}.skip{position:fixed;left:12px;top:-100px;z-index:20;background:var(--lime);color:var(--dark);padding:12px}.skip:focus{top:8px}
.nav{height:76px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;position:relative;isolation:isolate}.brand img,footer img{object-fit:contain;display:block}.button{background:var(--lime);color:var(--dark);border:1px solid transparent;border-radius:7px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;min-height:46px;font-weight:700;text-align:center}.button:hover{filter:brightness(1.08)}.outline{background:#212524a8;border-color:#aeb9aa;color:var(--light)}section[id]{scroll-margin-top:18px}.hero{background:#151817 linear-gradient(90deg,#141817f5 0%,#161817bd 27%,transparent 66%);color:var(--light);position:relative;isolation:isolate}.hero-inner{min-height:min(690px,82svh);display:flex;align-items:center;position:relative;padding:90px 0 112px}.eyebrow{font-size:.95rem;font-weight:700;color:var(--moss);margin-bottom:20px}.hero .eyebrow,.service-intro .eyebrow{color:var(--lime)}.lede{margin-top:24px;max-width:38rem;font-size:clamp(1.05rem,1.55vw,1.32rem)}.hero .lede{max-width:29rem}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}.hero-caption{position:absolute;right:0;bottom:26px;background:#151817ce;padding:4px 10px;font-size:.875rem;border-radius:4px}.clients,.services,.app{padding-block:76px}.clients h2,.services h3{margin-bottom:24px}.logo-loop{overflow:auto;border-block:1px solid var(--rule);margin-top:32px}.logo-loop:has(.is-looping){overflow:hidden}.logo-track{width:max-content;display:flex}.logo-track.is-looping{animation:loop 42s linear infinite}.logo-track div{width:172px;height:112px;padding:12px;display:grid;place-items:center;border-right:1px solid var(--rule)}.partner-logo{width:auto;height:auto;max-width:100%;max-height:86px;display:block;border-radius:4px}.partner-mbc{border-radius:50%}.logo-loop:is(:hover,:focus-within) .logo-track{animation-play-state:paused}@keyframes loop{to{transform:translateX(-50%)}}.service-intro,.about,.contact,footer{padding-block:88px}.service-intro,footer{background:var(--dark);color:var(--light)}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 36px;margin-top:42px}.service-grid article{border-top:1px solid var(--rule);padding-top:20px}.service-grid ul{padding-left:1.15em;margin-bottom:0;color:var(--moss)}li::marker{color:#597e22}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,7vw,100px);align-items:start}.beliefs{margin-top:48px;padding-top:36px;border-top:1px solid var(--rule)}footer h2 span{color:var(--lime)}.beliefs p,.app-panel p{margin-top:16px}.badge{margin-left:12px;padding:4px 11px;border-radius:99px;background:var(--lime);color:var(--dark)}.panel{border-radius:12px;padding:clamp(24px,4vw,52px)}.app-panel{background:var(--dark);color:var(--light)}.contact-panel{background:var(--light);color:var(--dark)}form{display:grid;gap:14px;margin-top:22px}form label{display:grid;gap:5px;font-weight:700}input,textarea{min-width:0;width:100%;color:inherit;background:transparent;border:1px solid #78877e;border-radius:5px;padding:10px}form button{justify-self:start}.form-note{font-size:.875rem;margin:0}.contact+footer,footer{background:#181c1b}footer h2{font-size:clamp(2.35rem,4.8vw,4.9rem);margin:30px 0}footer{padding-bottom:38px}.footer-base{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #ffffff40;margin-top:52px;padding-top:22px}
@media(max-width:850px){.shell{width:calc(100% - 48px)}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-inner{min-height:580px}.two-col{gap:35px}}
@media(max-width:570px){.shell{width:calc(100% - 36px)}.nav{height:64px}.brand img{width:150px;height:auto}.hero-inner{min-height:670px;display:block;padding-top:58px}.hero .lede{max-width:320px}.hero-caption{bottom:14px;text-align:right;font-size:.8rem}.clients,.services,.app,.service-intro,.about,.contact,footer{padding-block:56px}.two-col,.service-grid{grid-template-columns:1fr}.service-grid{gap:23px}.logo-track div{width:135px}.footer-base{align-items:start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.logo-track.is-looping{animation:none}.logo-loop:has(.is-looping){overflow:auto}.logo-track [aria-hidden]{display:none}}

.service-grid { gap: 0 32px; }
.service-grid .service-card { position: relative; padding-top: 0; }
.service-card.open { z-index: 2; }
.service-card h4 button {
  width: 100%; min-height: 74px; padding: 14px 8px 14px 0; border: 0;
  display: flex; gap: 12px; justify-content: space-between; align-items: center;
  color: inherit; background: transparent; text-align: left; font: inherit; line-height: 1.25;
}
.service-icon {
  display: grid; place-items: center; flex: 0 0 27px; height: 27px; border: 1px solid var(--rule);
  border-radius: 50%; position: relative; transition: background-color .18s, border-color .18s;
}
.service-icon::before,.service-icon::after {
  content: ""; width: 10px; height: 1px; background: var(--dark); position: absolute;
}
.service-icon::after { transform: rotate(90deg); transition: transform .18s; }
.service-card.open .service-icon { background: var(--lime); border-color: var(--lime); }
.service-card.open .service-icon::after { transform: rotate(0); }
.service-dropdown {
  display:grid; grid-template-rows:0fr; opacity:0; visibility:hidden;
  transition:grid-template-rows .23s ease, opacity .17s ease, visibility 0s .23s;
}
.service-dropdown > div { overflow:hidden; min-height:0; }
.service-dropdown ul { margin:0; padding: 15px 19px 17px 38px; }
.service-card.open .service-dropdown {
  grid-template-rows:1fr; opacity:1; visibility:visible; transition-delay:0s;
}
@media (hover:hover) and (pointer:fine) {
  .service-dropdown {
    position:absolute; left:0; right:0; top:100%;
    background:var(--light); border-radius:0 0 8px 8px;
    box-shadow:0 14px 30px #21252426;
  }
}
@media (prefers-reduced-motion:reduce) {
  .service-dropdown,.service-icon,.service-icon::after { transition:none; }
}



.site-menu { position: relative; }
.site-menu summary {
  cursor: pointer; list-style: none; display: grid; place-items: center;
  width: 48px; height: 46px; border-radius: 8px; border: 1px solid #ffffff28;
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary:hover,.site-menu[open] summary { border-color: var(--lime); background: var(--dark); }
.menu-dots { display: flex; gap: 4px; align-items: center; }
.menu-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.site-menu nav {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(236px, 75vw);
  display: grid; gap: 3px; padding: 10px; border: 1px solid #ffffff38;
  border-radius: 10px; background: var(--dark); box-shadow: 0 14px 28px #0005;
}
.site-menu nav a { padding: 10px 12px; border-radius: 6px; font-weight: 700; }
.site-menu nav a:not(.button):hover { background: #3b453d; }
.site-menu nav a.button { margin-top: 3px; }


.site-header { position:absolute; inset:0 0 auto; z-index:4; color:var(--light); }
.site-header .nav { height:88px; gap:24px; }
.desktop-nav { display:flex; align-items:center; gap:clamp(22px,3.2vw,48px); }
.desktop-nav a { font-weight:700; }
.desktop-nav a:not(.button):hover { color:var(--lime); }
.site-menu { display:none; }
.hero-inner { padding-top:114px; }
@media(max-width:700px) {
  .desktop-nav { display:none; }
  .site-menu { display:block; }
  .site-header .nav { height:72px; }
  .hero-inner { padding-top:106px; }
}

/* The header sits in the dark space above the sculpture. */
.hero {
  --hero-height: clamp(740px, 52vw, 1020px);
  background: #171b19;
  overflow: hidden;
}
.hero-inner { min-height: var(--hero-height); }
.gateway-scene {
  position: absolute; right: 0; bottom: 0; z-index: -1; pointer-events: none;
  width: min(100%, calc((var(--hero-height) - 96px) * 1.777));
  aspect-ratio: 1672 / 941;
  mask-image: linear-gradient(to right, transparent, #000 25%), linear-gradient(to bottom, transparent, #000 14%);
  mask-composite: intersect;
}
.gateway-scene img,.gateway-light { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.gateway-light { mix-blend-mode: soft-light; }
.gateway-beam {
  transform-origin: 566px 222px;
  animation: gateway-light-sweep 8s ease-in-out infinite alternate;
}
.gateway-shadow {
  transform-origin: 488px 327px;
  animation: gateway-shadow-sweep 8s ease-in-out infinite alternate;
}
@keyframes gateway-light-sweep {
  from { opacity: .13; transform: rotate(-4deg) scaleY(.88); }
  to { opacity: .69; transform: rotate(4deg) scaleY(1.2); }
}
@keyframes gateway-shadow-sweep {
  from { opacity: .4; transform: translateX(10px) scaleX(1.06); }
  to { opacity: .13; transform: translateX(-7px) scaleX(.91); }
}
@media (max-width:700px) {
  .hero { --hero-height: 740px; }
  .gateway-scene { width: max(100%, 560px); right: -28px; }
}
@media (prefers-reduced-motion:reduce) {
  .gateway-beam,.gateway-shadow { animation:none; opacity: .2; }
}

/* The light plays on the scene while the Gateway itself stays fixed. */
.gateway-live-light { mix-blend-mode: normal; }
.gateway-opening-veil { opacity: 0; animation: gateway-veil-lift 2.9s cubic-bezier(.35,0,.24,1) both; }
.gateway-live-light .gateway-beam {
  transform-origin: 564px 217px;
  animation: gateway-beam-emerge 2.9s cubic-bezier(.27,.07,.18,1) both;
}
.gateway-live-light .gateway-shadow { animation-delay: 2.9s; }
.gateway-rim path {
  stroke-dasharray: 28 172;
  animation: gateway-rim-travel 4.8s linear infinite;
}
.rim-core { stroke: #C0EA6C; stroke-width: 43; }
@keyframes gateway-veil-lift {
  0%, 12% { opacity: .98; }
  to { opacity: 0; }
}
@keyframes gateway-beam-emerge {
  0%, 10% { opacity: 0; transform: scale(.08, .28); }
  65% { opacity: .36; }
  to { opacity: .17; transform: scale(1); }
}
@keyframes gateway-rim-travel {
  from { stroke-dashoffset: 28; }
  to { stroke-dashoffset: -172; }
}

.app-panel .app-subhead { margin-top: 12px; color: var(--lime); font-size: 1.14rem; font-weight: 700; }
.footer-links { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px; }
.footer-nav,.footer-social { display:flex; flex-wrap:wrap; align-items:center; gap:14px 24px; }
.footer-nav a { font-weight:700; }
.footer-nav a:hover { color:var(--lime); }
.footer-social { gap:9px; }
.social-icon { display:grid; place-items:center; width:44px; height:44px; border:1px solid #ffffff48; border-radius:100%; }
.social-pending { opacity:.45; }
:is(.button,.site-menu summary,.service-card h4 button,.partner-controls button,a.social-icon) {
  transition:transform .2s ease,filter .2s ease,background-color .2s ease,color .2s ease;
}
@media (hover:hover) {
  :is(.button,.site-menu summary,.partner-controls button,a.social-icon):hover { transform:translateY(-3px); }
  .service-card h4 button:hover { transform:translateX(4px); }
  a.social-icon:hover { color:var(--dark); background:var(--lime); }
}
:is(.button,.site-menu summary,.service-card h4 button,.partner-controls button,a.social-icon):active { transform:scale(.97); }
@media (prefers-reduced-motion:reduce) {
  .gateway-opening-veil { animation:none; opacity:0; }
  .gateway-rim path { animation:none; stroke-dasharray:none; opacity:.55; }
  .gateway-live-light .gateway-beam { animation:none; transform:none; opacity:0; }
  :is(.button,.site-menu summary,.service-card h4 button,.partner-controls button,a.social-icon) { transition:none; transform:none !important; }
}

/* The wall texture from the Gateway scene fades into its charcoal surround. */
#services, #app, main + footer {
  position: relative;
  isolation: isolate;
  color: var(--light);
  background-color: #171b19;
}

:is(#services, #app, main + footer)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(100%, clamp(360px, 52vw, 880px));
  pointer-events: none;
  background: url("../images/section-charcoal-texture.webp") center 20% / cover no-repeat;
  mask-image: radial-gradient(ellipse 65% 67% at 55% 35%, #000 20%, transparent 96%);
}

#services .service-intro { background: transparent; padding-bottom: 34px; }
#services .services { padding-top: 28px; }
#services .service-card { border-top-color: #a4afa966; }

#services .service-icon { border-color: #a4afa9; }
#services .service-icon::before,
#services .service-icon::after { background: var(--light); }
#services .service-card.open .service-icon { border-color: var(--lime); }
#services .service-card.open .service-icon::before,
#services .service-card.open .service-icon::after { background: var(--dark); }

#services .service-dropdown { background: #242927; border-radius: 0 0 8px 8px; }
#services .service-dropdown ul { color: var(--light); }
#services .service-dropdown li::marker { color: var(--lime); }

#app .eyebrow { color: var(--lime); }
#app .app-panel {
  background: #212524dc;
  border: 1px solid #a4afa973;
}
#app .app-panel input { border-color: #a4afa9; }

#about, #contact { background: var(--light); color: var(--dark); }
#contact .contact-panel { border: 1px solid var(--rule); }

:is(#services, #app) :is(button, input):focus-visible {
  outline-color: var(--lime);
}
