
:root{
  --bg:#07110d;
  --bg-2:#0b1712;
  --panel:#0f1e18;
  --panel-2:#13251e;
  --text:#f4f8f5;
  --muted:#a9b7af;
  --green:#79e66c;
  --green-2:#2dbb62;
  --orange:#ff7a00;
  --red:#ff3b30;
  --blue:#1fb6ff;
  --line:rgba(255,255,255,.12);
  --shadow:0 20px 60px rgba(0,0,0,.35);
  --radius:22px;
  --radius-sm:14px;
  --shell:1220px;
  --header-h:82px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 10% 0%,rgba(45,187,98,.10),transparent 32%),
    radial-gradient(circle at 90% 10%,rgba(255,122,0,.08),transparent 28%);
  z-index:-1;
}

.shell{
  width:min(calc(100% - 32px),var(--shell));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
}
.skip-link:focus{
  left:16px;
  top:16px;
  z-index:9999;
  background:#fff;
  color:#000;
  padding:10px 14px;
  border-radius:10px;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(7,17,13,.82);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(18px);
}
.nav-wrap{
  min-height:var(--header-h);
  display:flex;
  align-items:center;
  gap:24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:max-content;
}
.brand img{
  width:54px;
  height:54px;
  object-fit:contain;
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.35));
}
.brand span{
  display:flex;
  flex-direction:column;
  line-height:1.02;
}
.brand strong{
  font-size:1rem;
  letter-spacing:.01em;
}
.brand small{
  margin-top:5px;
  color:var(--green);
  letter-spacing:.22em;
  font-weight:800;
  font-size:.67rem;
}

.primary-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-left:auto;
}
.primary-nav a{
  font-size:.94rem;
  color:#dbe5df;
  font-weight:650;
  position:relative;
  padding:10px 0;
}
.primary-nav a::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:3px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--green),var(--orange));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after{
  transform:scaleX(1);
}

.lang{
  display:flex;
  gap:6px;
  align-items:center;
}
.lang a{
  padding:6px 8px;
  border-radius:999px;
  font-size:.74rem;
  color:var(--muted);
  border:1px solid transparent;
}
.lang a:hover,
.lang a:focus-visible{
  color:#fff;
  border-color:var(--line);
}
.lang a.active{
  background:#fff;
  color:#07110d;
  font-weight:800;
}

.menu-toggle{
  display:none;
  margin-left:auto;
  min-height:44px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:800;
}

/* Hero */
.hero{
  min-height:760px;
  position:relative;
  display:grid;
  align-items:end;
  overflow:hidden;
}
.hero-media,
.hero-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.hero-media img{object-fit:cover}
.hero-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(3,9,7,.88) 0%,rgba(3,9,7,.72) 38%,rgba(3,9,7,.18) 68%,rgba(3,9,7,.05) 100%),
    linear-gradient(0deg,rgba(3,9,7,.78) 0%,transparent 45%);
}
.hero-content{
  position:relative;
  z-index:2;
  padding-bottom:88px;
}
.eyebrow{
  margin:0 0 14px;
  color:var(--green);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.16em;
}
.hero h1,
.section h2,
.values h2,
.cta h2{
  margin:0;
  line-height:.96;
  letter-spacing:-.045em;
}
.hero h1{
  max-width:820px;
  font-size:clamp(3.2rem,7vw,6.9rem);
}
.hero h1 span{
  color:var(--green);
  text-shadow:0 0 30px rgba(121,230,108,.18);
}
.hero-copy{
  margin:24px 0 0;
  max-width:720px;
  color:#dce6df;
  font-size:clamp(1.05rem,2vw,1.28rem);
}
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 20px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:850;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn.primary{
  color:#07110d;
  background:linear-gradient(135deg,var(--green),#b7f78c);
  box-shadow:0 12px 30px rgba(45,187,98,.22);
}
.btn.ghost{
  background:rgba(0,0,0,.22);
  border-color:rgba(255,255,255,.28);
  color:#fff;
  backdrop-filter:blur(10px);
}
.btn.ghost:hover{border-color:var(--green)}
.dark-btn{
  background:#111c17;
  border-color:var(--line);
  color:#fff;
}
.trustline{
  margin-top:18px;
  color:#bfc9c3;
  font-size:.94rem;
}

/* Sections */
.section{padding:88px 0}
.section.dark{
  background:
    linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0)),
    #09140f;
  border-block:1px solid var(--line);
}
.section-head{
  max-width:780px;
  margin-bottom:34px;
}
.section-head h2,
.split h2,
.media-split h2,
.cta h2,
.values h2{
  font-size:clamp(2.3rem,5vw,4.6rem);
}
.section-head p:last-child,
.split p,
.media-split p,
.values p{
  color:var(--muted);
  font-size:1.04rem;
}

.split{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:start;
}
.text-link{
  display:inline-block;
  margin-top:8px;
  color:var(--green);
  font-weight:800;
}

.goal-layout{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:stretch;
}
.feature-image{
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.goal-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.mini-card{
  display:flex;
  flex-direction:column;
  gap:8px;
  justify-content:center;
  min-height:156px;
  padding:22px;
  border-radius:var(--radius-sm);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
  border:1px solid var(--line);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.mini-card:hover{
  transform:translateY(-3px);
  border-color:rgba(121,230,108,.45);
  background:rgba(121,230,108,.06);
}
.mini-card b{font-size:1.06rem}
.mini-card span{color:var(--muted);font-size:.92rem}

/* Cards */
.card-grid{
  display:grid;
  gap:18px;
}
.card-grid.six{grid-template-columns:repeat(3,minmax(0,1fr))}
.card-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}

.image-card,
.showcase{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  min-height:280px;
  border:1px solid var(--line);
  background:#0c1511;
  box-shadow:0 8px 28px rgba(0,0,0,.18);
}
.image-card img,
.showcase img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}
.image-card::after,
.showcase::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(2,8,5,.9) 0%,rgba(2,8,5,.35) 38%,transparent 70%);
}
.image-card span,
.showcase span{
  position:absolute;
  z-index:2;
  left:20px;
  right:20px;
  bottom:18px;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.image-card b,
.showcase b{
  font-size:1.28rem;
}
.image-card small,
.showcase small{
  color:#d4ddd8;
  font-size:.9rem;
}
.image-card:hover img,
.showcase:hover img{
  transform:scale(1.035);
}
.image-card:hover,
.showcase:hover{
  border-color:rgba(121,230,108,.45);
}

.showcase-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  grid-template-areas:
    "large one"
    "large two";
}
.showcase-grid .large{
  grid-area:large;
  min-height:580px;
}
.showcase-grid .showcase:not(.large){
  min-height:280px;
}
.showcase-grid .showcase:nth-child(2){grid-area:one}
.showcase-grid .showcase:nth-child(3){grid-area:two}

.center{
  display:flex;
  justify-content:center;
  margin-top:30px;
}

/* Media sections */
.lab-band{
  background:linear-gradient(135deg,rgba(45,187,98,.09),rgba(31,182,255,.05));
  border-block:1px solid var(--line);
}
.media-split{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:46px;
  align-items:center;
}
.media-split.reverse{
  grid-template-columns:.92fr 1.08fr;
}
.media-split.reverse img{order:2}
.media-split img{
  width:100%;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--line);
}
.media-split p{
  color:var(--muted);
  max-width:650px;
}

/* Projects */
.project-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.project-grid .showcase{min-height:360px}
.disclosure{
  margin:18px 0 0;
  color:#8e9c95;
  font-size:.86rem;
}

/* Values */
.values{
  position:relative;
  min-height:540px;
  overflow:hidden;
}
.values>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.values::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(3,9,7,.92),rgba(3,9,7,.48) 55%,rgba(3,9,7,.1));
}
.values-overlay{
  position:relative;
  z-index:2;
  min-height:540px;
  display:flex;
  align-items:center;
}
.values-overlay .shell{width:min(calc(100% - 32px),var(--shell))}
.values h2{max-width:760px}
.values p{max-width:650px}

/* CTA */
.cta{padding-top:70px;padding-bottom:70px}
.cta-box{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:34px;
  padding:36px;
  border-radius:28px;
  background:
    linear-gradient(135deg,rgba(121,230,108,.12),rgba(255,122,0,.08)),
    #0c1712;
  border:1px solid rgba(121,230,108,.22);
}
.cta .actions{margin:0}

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  background:#050b08;
  padding:58px 0 24px;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:32px;
}
.footer-brand img{
  width:74px;
  height:74px;
  object-fit:contain;
}
.footer-brand h3{
  margin:12px 0 6px;
  font-size:1.35rem;
}
.footer-brand p{
  color:var(--muted);
  max-width:360px;
}
.footer-grid h4{
  margin:0 0 12px;
}
.footer-grid>div:not(.footer-brand){
  display:flex;
  flex-direction:column;
  gap:8px;
}
.footer-grid a{
  color:#c9d2cd;
  font-size:.94rem;
}
.footer-grid a:hover{color:var(--green)}
.footer-bottom{
  margin-top:36px;
  padding-top:20px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  color:#8f9c95;
  font-size:.82rem;
}
.footer-bottom div{
  display:flex;
  gap:12px;
}

/* Focus */
a:focus-visible,
button:focus-visible{
  outline:3px solid rgba(121,230,108,.75);
  outline-offset:3px;
}

/* Responsive */
@media (max-width:1100px){
  .primary-nav{gap:12px}
  .primary-nav a{font-size:.88rem}
  .lang{display:none}
  .card-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:900px){
  :root{--header-h:72px}
  .nav-wrap{min-height:var(--header-h);position:relative}
  .brand img{width:48px;height:48px}
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center}
  .primary-nav{
    display:none;
    position:absolute;
    top:calc(100% + 1px);
    left:16px;
    right:16px;
    margin:0;
    padding:14px;
    flex-direction:column;
    align-items:stretch;
    border:1px solid var(--line);
    border-radius:16px;
    background:rgba(6,14,10,.98);
    box-shadow:var(--shadow);
  }
  .primary-nav.open{display:flex}
  .primary-nav a{
    padding:11px 12px;
    border-radius:10px;
  }
  .primary-nav a:hover{background:rgba(255,255,255,.05)}
  .hero{min-height:690px}
  .hero-content{padding-bottom:64px}
  .split,
  .goal-layout,
  .media-split,
  .media-split.reverse{
    grid-template-columns:1fr;
  }
  .media-split.reverse img{order:0}
  .feature-image{min-height:400px}
  .card-grid.six{grid-template-columns:repeat(2,minmax(0,1fr))}
  .showcase-grid{
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "large large"
      "one two";
  }
  .showcase-grid .large{min-height:430px}
  .cta-box{
    align-items:flex-start;
    flex-direction:column;
  }
  .footer-grid{grid-template-columns:1.5fr 1fr 1fr}
  .footer-grid>div:last-child{grid-column:2/4}
}

@media (max-width:640px){
  .shell{width:min(calc(100% - 24px),var(--shell))}
  .section{padding:66px 0}
  .hero{
    min-height:640px;
    align-items:end;
  }
  .hero-shade{
    background:
      linear-gradient(0deg,rgba(3,9,7,.92) 0%,rgba(3,9,7,.72) 52%,rgba(3,9,7,.24) 100%);
  }
  .hero-content{padding-bottom:44px}
  .hero h1{font-size:clamp(2.9rem,14vw,4.5rem)}
  .hero-copy{font-size:1rem}
  .actions{
    flex-direction:column;
    align-items:stretch;
  }
  .btn{width:100%}
  .goal-grid{grid-template-columns:1fr}
  .mini-card{min-height:128px}
  .feature-image{min-height:340px}
  .card-grid.six,
  .card-grid.four,
  .project-grid{
    grid-template-columns:1fr;
  }
  .image-card{min-height:245px}
  .showcase-grid{
    grid-template-columns:1fr;
    grid-template-areas:
      "large"
      "one"
      "two";
  }
  .showcase-grid .large,
  .showcase-grid .showcase:not(.large),
  .project-grid .showcase{
    min-height:290px;
  }
  .values,
  .values-overlay{min-height:500px}
  .cta-box{padding:26px 20px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .footer-grid>div:last-child{grid-column:auto}
  .footer-bottom{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width:420px){
  .brand strong{font-size:.92rem}
  .brand small{font-size:.62rem}
  .brand img{width:44px;height:44px}
  .menu-toggle{padding:0 12px}
  .footer-grid{grid-template-columns:1fr}
}

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