/* ============================================================
   AxoCell — design tokens
   ============================================================ */
:root {
  --navy-950: #050f1c;
  --navy-900: #0a1f38;
  --navy-800: #12314f;
  --navy-700: #1c4266;
  --cyan-400: #2fd0c8;
  --cyan-300: #6fe2dc;
  --teal-700: #0a8a82;
  --mint-50: #eef7f6;
  --mint-100: #e2f1ef;
  --white: #ffffff;
  --ink: #131e29;
  --ink-soft: #4c5c67;
  --ink-faint: #7c8a93;
  --line: #dfe8e8;

  --font-display: "Lora", "Iowan Old Style", serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
em { font-style: italic; color: var(--cyan-400); }

p { line-height: 1.65; margin: 0 0 1em; }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-300);
  margin: 0 0 1.1em;
}
.eyebrow-dark { color: var(--navy-700); }

.section-lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.brand-mark { width: 34px; height: 34px; object-fit: contain; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding: 0.25rem 0;
}
.site-nav a:hover { color: var(--navy-900); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--cyan-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--navy-900);
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 3px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--navy-700); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-900); display: block; }
.site-nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 var(--pad) 1rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.site-nav-mobile a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 780px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .site-nav-mobile { display: flex; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(ellipse 120% 90% at 75% 15%, var(--navy-800), var(--navy-950) 65%);
  color: var(--white);
  overflow: hidden;
  padding-top: clamp(5rem, 14vw, 9rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
}
.hero-fiber-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(100deg, var(--navy-950) 0%, rgba(5,15,28,0.86) 26%, rgba(5,15,28,0.4) 54%, rgba(5,15,28,0.18) 78%),
    url("../assets/img/hero-fiber-sem.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  mix-blend-mode: screen;
  filter: contrast(1.15) brightness(0.85);
  opacity: 0.55;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(47,208,200,0.16), transparent 65%);
  pointer-events: none;
}
.hero-logo-ghost {
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: min(48vw, 560px);
  opacity: 0.28;
  filter: saturate(1.5) drop-shadow(0 0 40px rgba(5, 15, 28, 0.85));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 0.4em;
}
.hero-lede {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  margin-bottom: 2.2em;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}
.btn-solid { background: var(--cyan-400); color: var(--navy-950); font-weight: 500; }
.btn-solid:hover { background: var(--cyan-300); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--cyan-400); color: var(--cyan-300); }

/* ============================================================
   About / stats
   ============================================================ */
.about { background: var(--mint-50); }
.about-statement {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--navy-900);
  max-width: 34ch;
  margin-bottom: 1.4em;
}
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
  margin: 0;
  padding: 1.8em 0 0;
  border-top: 1px solid rgba(18,49,79,0.15);
}
.stat dt {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 600;
  color: var(--navy-900);
}
.stat dd {
  margin: 0.2em 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

@media (max-width: 720px) {
  .stat-row { gap: 2.2rem; }
}

/* ============================================================
   Technology
   ============================================================ */
.technology h2 { color: var(--navy-900); font-size: clamp(2rem, 4vw, 2.9rem); max-width: 16ch; }

.sem-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0 1rem;
}
.sem-card { margin: 0; }
.sem-img-wrap {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy-950);
}
.sem-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08); }
.sem-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.9rem;
}
.sem-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-900);
}
.sem-sub {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-faint);
}
.sem-note {
  font-size: 0.85rem;
  color: var(--ink-faint);
  max-width: 74ch;
  margin-bottom: 3rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.benefit h3 {
  font-size: 1.1rem;
  color: var(--navy-900);
  margin-bottom: 0.45em;
}
.benefit p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 820px) {
  .sem-compare { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ============================================================
   Product
   ============================================================ */
.product { background: var(--navy-950); color: var(--white); }
.product-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.product-media {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border-radius: 6px;
  padding: 2.2rem;
}
.product-media img { border-radius: 3px; }
.product h2 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.reg { font-size: 0.5em; vertical-align: super; color: var(--cyan-300); }
.product .section-lede { color: rgba(255,255,255,0.72); }
.check-list { list-style: none; margin: 1.6em 0; padding: 0; display: grid; gap: 0.85em; }
.check-list li {
  position: relative;
  padding-left: 1.7em;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.86);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 8px 1px rgba(47,208,200,0.6);
}
.disclaimer {
  font-size: 0.78rem;
  color: var(--ink-faint);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.1em;
  margin-top: 1.6em;
  max-width: 60ch;
}

@media (max-width: 820px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Pipeline
   ============================================================ */
.pipeline { background: var(--white); }
.pipeline-intro { padding-bottom: 0; }
.pipeline h2 { color: var(--navy-900); font-size: clamp(1.9rem, 3.6vw, 2.6rem); }

.roadmap-wrap { padding-top: clamp(3rem, 7vw, 5rem); }

/* Desktop: three equal flex columns, each with the same internal structure
   (one-line date, node, two-line name) so every row aligns across columns
   by construction. The connector line uses a hardcoded top offset that
   matches the fixed date-row height, so it always meets the node centers. */
.roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  position: relative;
}
.roadmap::before {
  content: "";
  position: absolute;
  left: calc(100% / 6);
  right: calc(100% / 6);
  top: calc(1rem + 0.7rem + 7px);
  height: 2px;
  background: linear-gradient(to right, var(--line), var(--cyan-400) 15%, var(--cyan-400) 85%, var(--line));
  z-index: 1;
}
.roadmap-stop {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.roadmap-date {
  height: 1rem;
  line-height: 1rem;
  margin-bottom: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal-700);
}
.roadmap-node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy-950);
  border: 2px solid var(--cyan-400);
  box-shadow: 0 0 0 6px var(--white);
  z-index: 2;
  margin-bottom: 0.9rem;
}
.roadmap-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-900);
  text-align: center;
  line-height: 1.3;
}

.roadmap-stop.is-current .roadmap-date {
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.86rem;
}
.roadmap-stop.is-current .roadmap-node {
  width: 20px;
  height: 20px;
  background: var(--cyan-400);
  border-color: var(--cyan-300);
  box-shadow: 0 0 0 6px var(--white), 0 0 14px 3px rgba(47, 208, 200, 0.55);
  animation: roadmap-pulse 2.4s ease-in-out infinite;
}
.roadmap-stop.is-current .roadmap-name { font-weight: 700; }
@keyframes roadmap-pulse {
  0%, 100% { box-shadow: 0 0 0 6px var(--white), 0 0 10px 2px rgba(47, 208, 200, 0.4); }
  50% { box-shadow: 0 0 0 6px var(--white), 0 0 20px 7px rgba(47, 208, 200, 0.75); }
}

@media (max-width: 720px) {
  .roadmap {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    position: relative;
  }
  .roadmap::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--line), var(--cyan-400) 10%, var(--cyan-400) 90%, var(--line));
  }
  .roadmap-stop {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1.1rem;
  }
  .roadmap-node { order: -1; flex-shrink: 0; margin-bottom: 0; box-shadow: 0 0 0 5px var(--white); }
  .roadmap-date { height: auto; margin-bottom: 0; min-width: 4.2em; }
  .roadmap-name { text-align: left; }
  .roadmap-stop.is-current .roadmap-node { width: 18px; height: 18px; box-shadow: 0 0 0 5px var(--white), 0 0 14px 3px rgba(47, 208, 200, 0.55); }
}

/* ============================================================
   Partners — hover-activated logo marquee
   ============================================================ */
.partners { background: var(--mint-50); }
.partners-inner { padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.logo-marquee {
  margin-top: 1.6rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(2.5rem, 6vw, 5rem);
  animation: logo-scroll 26s linear infinite;
  animation-play-state: paused;
}
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track {
  animation-play-state: running;
}
.logo-track img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}
.logo-track img.logo-tall { height: 50px; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* ============================================================
   Team
   ============================================================ */
.team { background: var(--mint-50); }
.team h2 { color: var(--navy-900); font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 0.8em; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 2rem;
}
.team-card { text-align: left; }
.team-card img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}
.team-card h3 {
  font-size: 1.05rem;
  color: var(--navy-900);
  margin-bottom: 0.15em;
}
.team-card .role {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 0.6em;
}
.team-card .bio {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  background: radial-gradient(ellipse 100% 100% at 20% 0%, var(--navy-800), var(--navy-950) 70%);
  color: var(--white);
}
.contact-inner { text-align: left; }
.contact h2 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--cyan-300);
  text-decoration: none;
}
.contact-email:hover { color: var(--cyan-400); }
address {
  font-style: normal;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.5); }
.footer-inner {
  padding: 1.6rem var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-size: 0.78rem;
}
.footer-note { color: rgba(255,255,255,0.35); }
