@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  --black: #000000;
  --panel: #070907;
  --panel-2: #0a0d0a;
  --line: #171c17;
  --line-bright: #252d25;

  --green: #8cff32;
  --green-soft: rgba(140,255,50,.14);
  --green-glow: rgba(140,255,50,.08);

  --text: #f3f5f2;
  --muted: #9ca59c;

  --max: 1180px;
}

/* =========================================================
   RESET THIS
   ========================================================= */

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  background: var(--black);
}

body {
  margin: 0;
  padding: 0;

  background:
    radial-gradient(
      circle at 72% 18%,
      rgba(140,255,50,.025),
      transparent 28%
    ),
    var(--black);

  color: var(--text);

  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;

  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

header,
main,
footer {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
  height: 98px;

  padding: 14px 0;

  border-bottom: 1px solid var(--line);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;

  position: relative;
  z-index: 20;
}

/* subtle line glow */
header::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -1px;

  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(140,255,50,.25),
    transparent
  );

  opacity: .5;
}


/* =========================================================
   LOGO
   ========================================================= */

.brand {
  display: flex;
  align-items: center;

  height: 76px;

  flex-shrink: 0;

  position: relative;
}

.brand img {
  display: block;

  width: auto;
  height: 74px;

  max-width: 360px;

  object-fit: contain;

  transition:
    opacity .25s ease,
    transform .25s ease;
}

.brand:hover img {
  opacity: .9;
  transform: translateX(2px);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

nav {
  display: flex;
  align-items: center;

  justify-content: flex-end;

  gap: 27px;

  flex-wrap: wrap;
}

nav a {
  position: relative;

  color: #9ba39b;

  font: 11px 'Space Mono', monospace;

  letter-spacing: .07em;

  padding: 8px 0;

  transition:
    color .2s ease,
    opacity .2s ease;
}

nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 2px;

  width: 0;
  height: 1px;

  background: var(--green);
 
  transition: width .2s ease;
}

nav a:hover,
nav a.active {
  color: var(--green);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  min-height: 650px;

  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(400px, .85fr);

  align-items: center;

  gap: 25px;

  border-bottom: 1px solid var(--line);

  overflow: hidden;
}


/* =========================================================
   HERO ATMOSPHERE
   ========================================================= */

.hero::before {
  content: "";

  position: absolute;

  width: 650px;
  height: 650px;

  right: -120px;
  top: 30px;

  background:
    radial-gradient(
      circle,
      rgba(140,255,50,.065) 0%,
      rgba(140,255,50,.025) 30%,
      transparent 70%
    );

  pointer-events: none;
}

.hero::after {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  left: -300px;
  bottom: -320px;

  background:
    radial-gradient(
      circle,
      rgba(140,255,50,.035),
      transparent 70%
    );

  pointer-events: none;
}


/* =========================================================
   HERO GRID
   ========================================================= */

.grid {
  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(
      rgba(140,255,50,.027) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(140,255,50,.027) 1px,
      transparent 1px
    );

  background-size: 55px 55px;

  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 65%,
    transparent 100%
  );

  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 65%,
    transparent 100%
  );

  pointer-events: none;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
  position: relative;

  z-index: 3;

  min-width: 0;

  max-width: 760px;

  padding: 65px 0 70px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.eyebrow {
  margin: 0;

  color: var(--green);

  font: 10px 'Space Mono', monospace;

  letter-spacing: .15em;

  text-transform: uppercase;

  opacity: .95;
}


/* =========================================================
   HERO HEADLINE
   ========================================================= */

.hero h1 {
  margin: 20px 0 28px;

  max-width: 780px;

  position: relative;

  font-size: clamp(50px, 5.5vw, 76px);

  line-height: .91;

  letter-spacing: -.065em;

  font-weight: 800;
}

.hero h1::after {
  content: "";

  position: absolute;

  left: 4px;
  bottom: -15px;

  width: 48px;
  height: 2px;

  background: var(--green);

  opacity: .7;
}

.hero h1 .line-one,
.hero h1 .line-two {
  display: block;

  white-space: nowrap;
}

.hero h1 .line-two {
  color: var(--green);

  margin-top: 5px;
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.lead {
  max-width: 660px;

  margin: 0;

  color: #9da69d;

  font-size: 16px;

  line-height: 1.7;

  letter-spacing: -.01em;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.actions {
  display: flex;

  gap: 12px;

  margin-top: 31px;

  flex-wrap: wrap;
}

.btn {
  position: relative;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 46px;

  padding: 12px 19px;

  border: 1px solid #343b34;

  background: rgba(5,7,5,.5);

  color: var(--text);

  font: 11px 'Space Mono', monospace;

  letter-spacing: .035em;

  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.btn.primary {
  background: var(--green);

  border-color: var(--green);

  color: #030403;

  box-shadow:
    0 0 25px rgba(140,255,50,.08);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary:hover {
  background: #9dff51;

  box-shadow:
    0 0 30px rgba(140,255,50,.14);
}

.btn:not(.primary):hover {
  border-color: rgba(140,255,50,.55);

  color: var(--green);

  background: rgba(140,255,50,.035);
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-image {
  position: relative;

  z-index: 2;

  width: 100%;

  min-height: 480px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-left: -5px;
}

.hero-image::before {
  content: "";

  position: absolute;

  width: 430px;
  height: 330px;

  border-radius: 50%;

  background:
    radial-gradient(
      ellipse,
      rgba(140,255,50,.08),
      transparent 68%
    );

  filter: blur(15px);

  pointer-events: none;
}

.hero-image img {
  position: relative;

  display: block;

  width: min(100%, 500px);

  max-width: 500px;

  height: auto;

  object-fit: contain;

  mix-blend-mode: screen;

  transform: scale(1.08);

  filter:
    drop-shadow(0 0 20px rgba(140,255,50,.08))
    drop-shadow(0 0 50px rgba(140,255,50,.04));

  transition:
    transform .4s ease,
    filter .4s ease;
}

.hero-image:hover img {
  transform: scale(1.12);

  filter:
    drop-shadow(0 0 25px rgba(140,255,50,.12))
    drop-shadow(0 0 60px rgba(140,255,50,.06));
}


/* =========================================================
   PAGE HEROES
   ========================================================= */

.pagehero {
  padding: 100px 0 90px;

  position: relative;
}

.pagehero h1 {
  max-width: 780px;

  margin: 18px 0 26px;

  font-size: clamp(52px, 6.5vw, 92px);

  line-height: .96;

  letter-spacing: -.06em;
}

.pagehero .lead {
  max-width: 700px;
}


/* =========================================================
   SHARED LABELS
   ========================================================= */

.eyebrow,
.label,
.card b,
.archive span {
  font-family: 'Space Mono', monospace;

  color: var(--green);

  letter-spacing: .12em;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.split {
  position: relative;

  padding: 105px 0;

  border-top: 1px solid var(--line);

  display: grid;

  grid-template-columns: 150px minmax(0, 1fr);

  gap: 45px;

  align-items: start;
}

.split:first-of-type {
  border-top: none;
}

.split h2 {
  max-width: 850px;

  margin: 0 0 25px;

  font-size: clamp(34px, 4.5vw, 58px);

  line-height: 1.04;

  letter-spacing: -.05em;
}

.split p {
  max-width: 780px;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.75;
}


/* =========================================================
   SECTION LABEL
   ========================================================= */

.label {
  padding-top: 7px;

  font-size: 10px;

  white-space: nowrap;
}


/* =========================================================
   CARDS
   ========================================================= */

.cards {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.card {
  position: relative;

  display: block;

  min-height: 210px;

  padding: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(140,255,50,.018),
      transparent 45%
    ),
    var(--panel);

  border: 1px solid var(--line);

  overflow: hidden;

  transition:
    border-color .25s ease,
    transform .25s ease,
    background .25s ease;
}

.card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 2px;
  height: 0;

  background: var(--green);

  transition: height .25s ease;
}

.card:hover {
  border-color: #384238;

  transform: translateY(-3px);

  background:
    linear-gradient(
      145deg,
      rgba(140,255,50,.035),
      transparent 50%
    ),
    var(--panel-2);
}

.card:hover::before {
  height: 100%;
}

.card b {
  font-size: 10px;
}

.card h3 {
  margin: 25px 0 9px;

  font-size: 22px;

  line-height: 1.2;

  letter-spacing: -.025em;
}

.card p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.65;
}


/* =========================================================
   RESEARCH CARDS
   ========================================================= */

.research-cards {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;

  width: 100%;
}

.research-card {
  display: block;

  width: 100%;

  min-height: 220px;

  background: var(--panel);

  border: 1px solid var(--line);

  overflow: hidden;

  transition:
    border-color .2s ease,
    transform .2s ease;
}

.research-card:hover {
  border-color: #3c473c;

  transform: translateY(-3px);
}

.research-card[open] {
  border-color: #506047;

  transform: none;
}


/* =========================================================
   RESEARCH SUMMARY
   ========================================================= */

.research-card summary {
  list-style: none;

  cursor: pointer;

  min-height: 220px;

  padding: 30px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: flex-start;
}

.research-card summary::-webkit-details-marker {
  display: none;
}

.research-card summary::marker {
  display: none;
}


/* =========================================================
   RESEARCH NUMBER
   ========================================================= */

.research-card summary b {
  display: block;

  color: var(--green);

  font: 10px 'Space Mono', monospace;

  letter-spacing: .12em;
}


/* =========================================================
   RESEARCH TITLE
   ========================================================= */

.research-card h3 {
  margin: 24px 0 0;

  font-size: 23px;

  line-height: 1.2;

  letter-spacing: -.02em;
}


/* =========================================================
   READ MORE
   ========================================================= */

.read-more {
  display: block;

  margin-top: 58px;

  color: var(--muted);

  font: 10px 'Space Mono', monospace;

  letter-spacing: .1em;

  transition: color .2s ease;
}

.research-card summary:hover .read-more,
.research-card[open] .read-more {
  color: var(--green);
}


/* =========================================================
   EXPANDED RESEARCH
   ========================================================= */

.research-content {
  padding: 26px 30px 30px;

  border-top: 1px solid var(--line);
}

.research-content p {
  max-width: 780px;

  margin: 0 0 18px;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.75;
}

.research-content p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   TEXT LINKS
   ========================================================= */

.textlink {
  display: inline-block;

  margin-top: 12px;

  padding-bottom: 4px;

  color: var(--green);

  font: 11px 'Space Mono', monospace;

  border-bottom: 1px solid rgba(140,255,50,.7);

  transition:
    opacity .2s ease,
    border-color .2s ease;
}

.textlink:hover {
  opacity: .7;

  border-color: transparent;
}


/* =========================================================
   ARCHIVE
   ========================================================= */

.archive {
  border-top: 1px solid var(--line);
}

.archive article {
  padding: 26px 0;

  border-bottom: 1px solid var(--line);
}

.archive h3 {
  margin: 7px 0 4px;

  font-size: 24px;
}

.archive p {
  margin: 0;

  font-size: 13px;

  color: var(--muted);
}


/* =========================================================
   FORMS
   ========================================================= */

form {
  max-width: 800px;
}

label {
  display: block;

  margin-bottom: 20px;

  color: var(--text);

  font: 10px 'Space Mono', monospace;

  letter-spacing: .08em;

  text-transform: uppercase;
}

label span {
  color: var(--green);
}

input,
select,
textarea {
  display: block;

  width: 100%;

  margin-top: 8px;

  padding: 14px 15px;

  background: var(--panel);

  border: 1px solid var(--line);

  border-radius: 0;

  color: var(--text);

  font: 14px Inter, Arial, sans-serif;

  outline: none;

  transition:
    border-color .2s ease,
    background .2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(140,255,50,.6);

  background: #080b08;
}

textarea {
  resize: vertical;
}

#status {
  margin-top: 18px;

  color: var(--green);

  font: 11px 'Space Mono', monospace;
}

.error {
  color: #ff7777 !important;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 55px 0 65px;

  border-top: 1px solid var(--line);
}

footer b {
  font-size: 13px;

  letter-spacing: .08em;
}

footer span {
  color: var(--green);
}

footer p,
footer small {
  color: var(--muted);

  font-size: 12px;
}

footer p {
  margin-top: 8px;
}

footer small {
  display: block;

  margin-top: 35px;

  font: 10px 'Space Mono', monospace;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

  header {
    gap: 25px;
  }

  nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(320px, .85fr);

    gap: 10px;
  }

  .hero h1 {
    font-size: clamp(52px, 7vw, 76px);
  }

  .hero-image img {
    width: 100%;

    max-width: 410px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

  header,
  main,
  footer {
    width: min(100% - 34px, var(--max));
  }


  /* HEADER */

  header {
    height: auto;

    padding: 17px 0 20px;

    align-items: flex-start;

    flex-direction: column;

    gap: 13px;
  }

  .brand {
    height: 54px;
  }

  .brand img {
    height: 54px;

    max-width: 300px;
  }

  nav {
    width: 100%;

    justify-content: flex-start;

    gap: 8px 17px;
  }

  nav a {
    font-size: 10px;
  }


  /* HERO */

  .hero {
    min-height: auto;

    grid-template-columns: 1fr;

    gap: 0;

    padding: 68px 0 70px;
  }

  .hero-content {
    max-width: 100%;

    padding: 0;
  }

  .eyebrow {
    font-size: 9px;

    line-height: 1.5;
  }

  .hero h1 {
    margin: 17px 0 27px;

    font-size: clamp(48px, 14vw, 76px);

    line-height: .92;

    letter-spacing: -.065em;
  }

  .hero h1::after {
    bottom: -13px;
  }

  .hero h1 .line-one,
  .hero h1 .line-two {
    white-space: normal;
  }

  .hero h1 .line-two {
    margin-top: 2px;
  }

  .lead {
    max-width: 100%;

    font-size: 15px;

    line-height: 1.7;
  }

  .actions {
    margin-top: 27px;

    gap: 9px;
  }

  .btn {
    min-height: 44px;

    padding: 11px 15px;

    font-size: 10px;
  }


  /* HERO IMAGE */

  .hero-image {
    min-height: 0;

    height: auto;

    margin: 38px 0 0;

    justify-content: center;
  }

  .hero-image::before {
    width: 330px;
    height: 250px;
  }

  .hero-image img {
    width: min(100%, 400px);

    max-width: 400px;

    transform: none;
  }

  .hero-image:hover img {
    transform: none;
  }


  /* PAGE HERO */

  .pagehero {
    padding: 75px 0 75px;
  }


  /* SECTIONS */

  .split {
    grid-template-columns: 1fr;

    gap: 27px;

    padding: 75px 0;
  }

  .label {
    padding-top: 0;
  }

  .split h2 {
    margin-bottom: 22px;

    font-size: clamp(34px, 10vw, 50px);
  }


  /* CARDS */

  .cards,
  .research-cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 190px;

    padding: 25px;
  }

  .research-card summary {
    min-height: 195px;

    padding: 25px;
  }

  .read-more {
    margin-top: 43px;
  }


  /* FOOTER */

  footer {
    padding: 45px 0 55px;
  }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

  header,
  main,
  footer {
    width: calc(100% - 28px);
  }

  .brand img {
    height: 50px;
  }

  nav {
    gap: 7px 13px;
  }

  nav a {
    font-size: 9px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .actions {
    flex-direction: column;

    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-image {
    margin-top: 32px;
  }
}

.linkedin-button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 20px;
  border: 1px solid #39ff14;
  color: #39ff14;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}

.linkedin-button:hover {
  background: #39ff14;
  color: #000;
}
