:root {
  color-scheme: dark;
  --bg: #050910;
  --bg-2: #08111e;
  --panel: rgba(13, 24, 38, 0.72);
  --panel-strong: rgba(17, 31, 49, 0.92);
  --line: rgba(180, 232, 255, 0.16);
  --line-strong: rgba(15, 216, 255, 0.38);
  --text: #f3fbff;
  --muted: #98a9b7;
  --cyan: #0fd8ff;
  --green: #7cf8d2;
  --blue: #4d8dff;
  --violet: #9f7cff;
  --dark: #03060b;
  --radius: 8px;
  --max: 1180px;
  --space: clamp(72px, 9vw, 132px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html { overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 8%, rgba(15, 216, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 12% 24%, rgba(124, 248, 210, 0.08), transparent 24rem),
    linear-gradient(180deg, #050910 0%, #08111e 48%, #03060b 100%);
  color: var(--text);
  line-height: 1.58;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(180, 232, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 232, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.fiber-field {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  contain: paint;
}

.fiber-field span {
  position: absolute;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 216, 255, 0.24), rgba(124, 248, 210, 0.62), transparent);
  filter: drop-shadow(0 0 18px rgba(15, 216, 255, 0.34));
  transform: rotate(-18deg);
  animation: fiber-drift 9s ease-in-out infinite;
}

.fiber-field span:nth-child(1) { top: 24%; }
.fiber-field span:nth-child(2) { top: 52%; animation-delay: -3s; opacity: 0.55; }
.fiber-field span:nth-child(3) { top: 80%; animation-delay: -6s; opacity: 0.36; }

@keyframes fiber-drift {
  0%, 100% { transform: translateX(-6vw) rotate(-18deg); opacity: 0.18; }
  45% { transform: translateX(8vw) rotate(-18deg); opacity: 0.72; }
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--green);
  color: #001014;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

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

.section-pad { padding-block: var(--space); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 9, 16, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  width: 132px;
  height: auto;
  padding: 0.26rem 0.34rem;
  border: 1px solid rgba(180, 232, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 26px rgba(15, 216, 255, 0.12);
}

.brand strong {
  display: block;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.65rem, 1.5vw, 1.15rem);
}

.main-nav a,
.mobile-panel a,
.footer-grid a,
.product-card a,
.service-card a,
.download-card a {
  color: var(--muted);
  text-decoration: none;
}

.main-nav a {
  font-size: 0.86rem;
  font-weight: 650;
}

.main-nav a:hover,
.mobile-panel a:hover,
.footer-grid a:hover,
.product-card a:hover,
.service-card a:hover,
.download-card a:hover {
  color: var(--green);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.header-link {
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.82rem 1.05rem;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
}

.button--small { min-height: 40px; padding: 0.62rem 0.86rem; }
.button--primary { border-color: rgba(124, 248, 210, 0.56); background: linear-gradient(135deg, var(--cyan), var(--green)); color: #001014; box-shadow: 0 0 34px rgba(15, 216, 255, 0.2); }
.button--secondary { background: rgba(15, 216, 255, 0.1); color: var(--text); }
.button--ghost { background: rgba(255, 255, 255, 0.03); color: var(--muted); }
.button:hover { transform: translateY(-2px); }

.menu-toggle {
  display: none;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.mobile-panel {
  position: fixed;
  top: 88px;
  left: 16px;
  right: 16px;
  z-index: 55;
  display: none;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 17, 30, 0.98);
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
}

.mobile-panel.is-open { display: grid; }
.mobile-panel a { padding: 0.95rem; border-radius: var(--radius); }
.mobile-panel a:hover { background: rgba(255,255,255,.05); }

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4.6rem);
  align-items: stretch;
  padding-block: clamp(10px, 2vw, 24px) clamp(46px, 6vw, 84px);
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(0.5rem, 2vw, 1.4rem);
}

.hero-visual {
  order: 2;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 850;
}

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 1.1rem; font-size: clamp(3.1rem, 7.8vw, 7.4rem); line-height: 0.92; letter-spacing: 0; font-weight: 870; }
h2 { margin-bottom: 1rem; font-size: clamp(2.1rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: 0; font-weight: 830; }
h3 { margin-bottom: 0.72rem; font-size: clamp(1.12rem, 2vw, 1.5rem); line-height: 1.16; }

.hero-lead,
.section-head p,
.company-grid p,
.contact p {
  color: #c5d4de;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.7rem;
}

.trust-chips span,
.community-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.68rem;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: clamp(1.1rem, 2vw, 1.6rem);
}

.hero-metrics span {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  border: 1px solid rgba(124, 248, 210, 0.22);
  border-radius: var(--radius);
  padding: 1rem;
  background:
    linear-gradient(160deg, rgba(15, 216, 255, 0.12), rgba(124, 248, 210, 0.04)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-metrics strong {
  color: var(--text);
  font-size: 1rem;
}

.hero-metrics small {
  color: var(--muted);
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.hero-visual--photo {
  min-height: clamp(520px, 51vw, 700px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 48% 45%, rgba(124, 248, 210, 0.16), transparent 19rem),
    rgba(4, 10, 17, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.fiber-photo-stack {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fiber-photo-stack::before,
.fiber-photo-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.fiber-photo-stack::before {
  background:
    linear-gradient(90deg, rgba(3, 6, 11, 0.9), rgba(3, 6, 11, 0.1) 45%, rgba(3, 6, 11, 0.82)),
    radial-gradient(circle at 52% 50%, transparent 0 16%, rgba(15, 216, 255, 0.1) 17%, transparent 34%);
}

.fiber-photo-stack::after {
  background-image:
    linear-gradient(rgba(180, 232, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 232, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 70%);
  opacity: 0.42;
}

.hero-photo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo--main {
  inset: 0;
  opacity: 0.62;
  filter: saturate(1.12) contrast(1.06);
  animation: photo-breathe 9s ease-in-out infinite;
}

@keyframes photo-breathe {
  0%, 100% { transform: scale(1.02); opacity: 0.54; }
  50% { transform: scale(1.08); opacity: 0.72; }
}

@keyframes fiber-sweep {
  0%, 100% { transform: translateX(-12%) rotate(-18deg); opacity: 0.14; }
  45% { transform: translateX(10%) rotate(-18deg); opacity: 0.92; }
}

.hero-visual svg {
  width: 100%;
  filter: drop-shadow(0 28px 80px rgba(15, 216, 255, 0.16));
}

.pulse-line {
  stroke-width: 4;
  stroke-dasharray: 90 660;
  animation: pulse-run 5.8s ease-in-out infinite;
}

.line-b { animation-delay: -1.8s; }
.line-c { animation-delay: -3.4s; }

@keyframes pulse-run {
  0% { stroke-dashoffset: 720; opacity: 0.24; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.24; }
}

.nodes circle {
  fill: var(--dark);
  stroke: var(--green);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px rgba(124,248,210,.6));
}

.signal-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(320px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 9, 16, 0.82);
  backdrop-filter: blur(18px);
}

.signal-card span,
.bento-card span,
.product-card span,
.service-card span,
.reference-card span,
.download-card span,
.timeline span,
.history-card span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-card strong,
.signal-card small { display: block; }
.signal-card small { margin-top: 0.4rem; color: var(--muted); }

.fiber-dive {
  --fiber-progress: 0;
  --fiber-a: 0.78;
  --fiber-b: 0;
  --fiber-c: 0;
  position: relative;
  height: 260svh;
  min-height: 260svh;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 34%, rgba(15, 216, 255, 0.18), transparent 28rem),
    linear-gradient(180deg, rgba(5, 9, 16, 0.1), #02050a 18%, #03070e 82%, rgba(8, 17, 30, 0.74));
  border-block: 1px solid var(--line);
}

.fiber-dive__stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.fiber-dive.is-pinned .fiber-dive__stage {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 8;
}

.fiber-dive.is-past .fiber-dive__stage {
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: 0;
}

.fiber-dive__images,
.fiber-dive__image,
.fiber-dive__tunnel,
.fiber-dive__beam,
.fiber-dive__core {
  position: absolute;
  inset: 0;
}

.fiber-dive__images {
  z-index: 0;
  background: #02050a;
}

.fiber-dive__images::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(2, 5, 10, 0.26) 34%, rgba(2, 5, 10, 0.92) 84%),
    linear-gradient(90deg, rgba(2, 5, 10, 0.88), transparent 30%, transparent 68%, rgba(2, 5, 10, 0.9));
}

.fiber-dive__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
  transform: scale(calc(1.04 + var(--fiber-progress) * 0.06));
  transition: opacity 120ms linear;
  will-change: opacity;
}

.fiber-dive__image--a { opacity: var(--fiber-a); }
.fiber-dive__image--b { opacity: var(--fiber-b); mix-blend-mode: normal; }
.fiber-dive__image--c { opacity: var(--fiber-c); mix-blend-mode: normal; object-position: center center; }

.fiber-dive__tunnel {
  z-index: 2;
  perspective: 900px;
  transform-style: preserve-3d;
}

.fiber-dive__tunnel::before,
.fiber-dive__tunnel::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 34px, rgba(124, 248, 210, 0.08) 35px 37px, transparent 38px 70px),
    radial-gradient(circle at 50% 50%, rgba(15, 216, 255, 0.1), transparent 45%);
  transform: scale(calc(1 + var(--fiber-progress) * 0.42));
  opacity: calc(0.28 + var(--fiber-progress) * 0.1);
}

.fiber-dive__tunnel::after {
  filter: blur(5px);
  transform: scale(calc(1.12 + var(--fiber-progress) * 0.55));
  opacity: 0.12;
}

.fiber-dive__tunnel span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18vmin;
  aspect-ratio: 1;
  border: 1px solid rgba(180, 232, 255, 0.23);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(15, 216, 255, 0.1), inset 0 0 18px rgba(124, 248, 210, 0.08);
  transform: translate(-50%, -50%) scale(calc(var(--ring-scale, 1) + var(--fiber-progress) * 1.35));
  opacity: calc(0.34 - var(--fiber-progress) * 0.06);
}

.fiber-dive__tunnel span:nth-child(1) { --ring-scale: 0.7; }
.fiber-dive__tunnel span:nth-child(2) { --ring-scale: 1.25; }
.fiber-dive__tunnel span:nth-child(3) { --ring-scale: 1.9; }
.fiber-dive__tunnel span:nth-child(4) { --ring-scale: 2.7; }
.fiber-dive__tunnel span:nth-child(5) { --ring-scale: 3.7; }
.fiber-dive__tunnel span:nth-child(6) { --ring-scale: 5.0; }
.fiber-dive__tunnel span:nth-child(n+4) { display: none; }

.fiber-dive__beam {
  z-index: 3;
  inset: 50% -8% auto;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(15, 216, 255, 0.4), #ffffff, var(--green), rgba(159, 124, 255, 0.38), transparent);
  box-shadow: 0 0 16px rgba(15, 216, 255, 0.54), 0 0 44px rgba(124, 248, 210, 0.3);
  transform: translateY(-50%) rotate(calc(-6deg + var(--fiber-progress) * 12deg)) scaleX(calc(0.62 + var(--fiber-progress) * 0.45));
  opacity: calc(0.58 + var(--fiber-progress) * 0.14);
  will-change: transform, opacity;
}

.fiber-dive__core {
  z-index: 4;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.fiber-dive__core::before,
.fiber-dive__core::after,
.fiber-dive__core span {
  content: "";
  width: min(52vmin, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  grid-area: 1 / 1;
  transform: scale(calc(0.55 + var(--fiber-progress) * 0.55));
}

.fiber-dive__core::before {
  border: 1px solid rgba(124, 248, 210, 0.38);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.86) 0 2%, rgba(124, 248, 210, 0.36) 3% 8%, rgba(15, 216, 255, 0.13) 9% 24%, transparent 25%),
    conic-gradient(from 120deg, transparent, rgba(15, 216, 255, 0.34), transparent, rgba(159, 124, 255, 0.18), transparent);
  box-shadow: 0 0 80px rgba(15, 216, 255, 0.18), inset 0 0 70px rgba(124, 248, 210, 0.1);
  opacity: calc(0.5 + var(--fiber-progress) * 0.16);
}

.fiber-dive__core::after {
  width: min(84vmin, 840px);
  border: 1px solid rgba(180, 232, 255, 0.12);
  filter: blur(12px);
  opacity: 0.16;
}

.fiber-dive__core span {
  width: min(24vmin, 220px);
  background: radial-gradient(circle, #ffffff 0 8%, var(--green) 9% 24%, rgba(15, 216, 255, 0.18) 25% 56%, transparent 57%);
  filter: blur(1px) drop-shadow(0 0 36px rgba(124, 248, 210, 0.72));
  opacity: calc(0.64 - var(--fiber-progress) * 0.12);
}

.fiber-dive__hud {
  position: relative;
  z-index: 6;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  pointer-events: none;
}

.fiber-dive__intro {
  max-width: 720px;
  padding: clamp(1.1rem, 2.4vw, 2rem);
  border-left: 1px solid rgba(124, 248, 210, 0.56);
  background: linear-gradient(90deg, rgba(3, 6, 11, 0.76), rgba(3, 6, 11, 0));
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.74);
  transform: none;
}

.fiber-dive__intro h2 {
  max-width: 780px;
  font-size: clamp(2.8rem, 6.8vw, 7rem);
}

.fiber-dive__intro p:last-child {
  max-width: 560px;
  color: #d4e8f1;
  font-size: clamp(1rem, 1.5vw, 1.24rem);
}

.fiber-dive__steps {
  position: relative;
  min-height: 310px;
}

.fiber-dive__step {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  min-height: 280px;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid rgba(180, 232, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(3, 6, 11, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.fiber-dive__step.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  border-color: rgba(124, 248, 210, 0.55);
}

.fiber-dive__step span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fiber-dive__step p {
  color: #c5d4de;
  margin-bottom: 0;
}

.fiber-dive__progress {
  display: none;
}

.fiber-dive__progress span {
  display: block;
  width: calc(var(--fiber-progress) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--violet));
  box-shadow: 0 0 22px rgba(15, 216, 255, 0.62);
}

.section-head {
  max-width: 860px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.bento-card,
.product-card,
.service-card,
.reference-card,
.download-card,
.team-card,
.history-card,
.mail-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    var(--panel);
  box-shadow: 0 18px 60px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.06);
}

.bento-card::before,
.product-card::before,
.service-card::before,
.reference-card::before,
.download-card::before,
.team-card::before,
.history-card::before,
.mail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 0 0, rgba(15, 216, 255, 0.16), transparent 36%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.bento-card:hover::before,
.product-card:hover::before,
.service-card:hover::before,
.reference-card:hover::before,
.download-card:hover::before,
.team-card:hover::before {
  opacity: 1;
}

.bento-card { min-height: 260px; padding: clamp(1.1rem, 2.4vw, 2rem); }
.bento-card--large { grid-column: span 2; }
.bento-card p,
.product-card p,
.service-card p,
.reference-card p,
.download-card p,
.team-card p,
.history-card li,
.form-note,
address { color: var(--muted); }

.product-section,
.downloads {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 6%, rgba(15, 216, 255, 0.12), transparent 28rem),
    rgba(255,255,255,.018);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) 1fr;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.search-field {
  display: grid;
  gap: 0.42rem;
  color: var(--muted);
  font-size: 0.86rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.84rem 0.9rem;
  background: rgba(255,255,255,.055);
  color: var(--text);
}

select { color: var(--text); }
textarea { resize: vertical; }

.filter-row,
.reference-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.58rem 0.82rem;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  cursor: pointer;
}

.filter-chip.is-active {
  border-color: rgba(124,248,210,.58);
  background: rgba(124,248,210,.13);
  color: var(--text);
}

.product-grid,
.service-grid,
.reference-grid,
.download-grid,
.team-grid,
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card,
.service-card,
.reference-card,
.download-card,
.team-card { padding: clamp(1.05rem, 2.2vw, 1.55rem); }

.product-card i {
  display: block;
  width: 48px;
  aspect-ratio: 1;
  margin-bottom: 1rem;
  border: 1px solid rgba(124,248,210,.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--green) 0 12%, transparent 13%),
    conic-gradient(from 90deg, transparent, rgba(15,216,255,.88), transparent);
  box-shadow: 0 0 28px rgba(15,216,255,.14);
}

.product-card.is-hidden,
.reference-card.is-hidden,
.download-card.is-hidden { display: none; }

.product-card a,
.service-card a,
.download-card a {
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--green);
  font-weight: 760;
}

.process {
  background: linear-gradient(180deg, rgba(15,216,255,.06), rgba(124,248,210,.025));
}

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  overflow-x: visible;
}

.timeline li {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  color: #c5d4de;
}

.usecases { background: rgba(255,255,255,.018); }
.reference-filters { margin-bottom: 1.2rem; }

.reference-card {
  display: grid;
  align-content: start;
}

.reference-card img {
  width: calc(100% + 3.1rem);
  max-width: none;
  height: 180px;
  margin: -1.55rem -1.55rem 1rem;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.06);
}

.company-story {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(124, 248, 210, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 50%, rgba(15, 216, 255, 0.1), transparent 30rem),
    rgba(255,255,255,.014);
}

.company-story::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(180, 232, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 232, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.company-visual {
  position: relative;
  min-height: clamp(420px, 48vw, 590px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #03060b;
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
}

.company-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  opacity: 0.86;
}

.company-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(3, 6, 11, 0.78)),
    radial-gradient(circle at 50% 28%, transparent, rgba(3, 6, 11, 0.58) 72%);
}

.company-visual span {
  position: absolute;
  z-index: 2;
  left: 1rem;
  border: 1px solid rgba(124,248,210,.28);
  border-radius: 999px;
  padding: 0.46rem 0.7rem;
  background: rgba(3, 6, 11, 0.68);
  color: #dffbff;
  font-size: 0.78rem;
  font-weight: 760;
  backdrop-filter: blur(14px);
}

.company-visual span:nth-of-type(1) { bottom: 6.6rem; }
.company-visual span:nth-of-type(2) { bottom: 3.8rem; left: 2.8rem; }
.company-visual span:nth-of-type(3) { bottom: 1rem; }

.company-copy {
  position: relative;
  z-index: 1;
}

.company-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.company-proof strong {
  min-height: 108px;
  display: grid;
  align-content: space-between;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  color: #d6e8ef;
  font-size: 0.92rem;
}

.company-proof span {
  display: block;
  color: var(--green);
  font-size: 1.45rem;
  line-height: 1;
}

.team-section {
  position: relative;
  z-index: 1;
}

.history-card { padding: clamp(1rem, 2.6vw, 2rem); }
.history-card ol { list-style: none; display: grid; gap: 1rem; padding: 0; margin: 0; }
.history-card li { border-left: 1px solid var(--line-strong); padding-left: 1rem; }
.history-card span { display: block; margin-bottom: 0.2rem; }

.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.team-card {
  min-height: 100%;
  display: grid;
  align-content: start;
  padding: 0;
}

.team-card img,
.team-card--initials div {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(1.04) contrast(1.04);
}

.team-card--initials div {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(124,248,210,.22), transparent 9rem),
    linear-gradient(135deg, rgba(15,216,255,.12), rgba(159,124,255,.1)),
    #08111e;
  color: var(--green);
  font-size: 3rem;
  font-weight: 850;
}

.team-card h3,
.team-card p,
.team-card a {
  margin-inline: clamp(1.05rem, 2.2vw, 1.55rem);
}

.team-card h3 {
  margin-top: 1.05rem;
}

.team-card a {
  color: var(--green);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
  margin-bottom: 1.2rem;
}

.download-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(260px, 0.42fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: 1.4rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 42%, rgba(124,248,210,.16), transparent 15rem),
    rgba(5, 9, 16, 0.66);
  overflow: hidden;
}

.download-stage > * {
  min-width: 0;
}

.download-stage h2 {
  max-width: 720px;
}

.download-stage p:last-child {
  max-width: 620px;
  color: #c5d4de;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.download-stage img {
  width: 100%;
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 28px 40px rgba(0,0,0,.45));
}

.community-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.community-grid span {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 1.1rem;
}

.community-grid span::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green), transparent);
  opacity: 0.74;
}

.contact {
  background:
    radial-gradient(circle at 20% 12%, rgba(124,248,210,.12), transparent 26rem),
    #050910;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(3,6,11,.38), rgba(3,6,11,.92)),
    url("assets/images/reference-hero-2.jpg") center / cover;
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
}

.contact-panel > * {
  position: relative;
  z-index: 2;
}

.contact-pulses {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.contact-pulses span {
  position: absolute;
  left: -15%;
  width: 130%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15,216,255,.32), rgba(124,248,210,.82), transparent);
  filter: drop-shadow(0 0 18px rgba(15,216,255,.45));
  transform: rotate(-16deg);
  animation: fiber-sweep 6s ease-in-out infinite;
}

.contact-pulses span:nth-child(1) { top: 42%; }
.contact-pulses span:nth-child(2) { top: 56%; animation-delay: -2s; opacity: .58; }
.contact-pulses span:nth-child(3) { top: 70%; animation-delay: -4s; opacity: .38; }

address { font-style: normal; margin-top: 1.5rem; }
address a { color: var(--text); }
.mail-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1rem, 2.6vw, 2rem);
}

.mail-card h3 {
  max-width: 520px;
  margin-bottom: 0;
}

.mail-card p:not(.eyebrow) {
  color: #c5d4de;
  max-width: 560px;
}

.mail-card .button {
  width: 100%;
}

.site-footer {
  padding: 52px 0 28px;
  border-top: 1px solid var(--line);
  background: #03060b;
}

.legal-card {
  max-width: 780px;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.legal-card h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.legal-card p { color: #c5d4de; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.footer-grid nav { display: grid; gap: 0.55rem; }
.footer-grid p { color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

@media (max-width: 1040px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: block; justify-self: end; }
  .hero, .company-grid, .contact-grid, .toolbar, .footer-grid { grid-template-columns: 1fr; }
  .bento-grid, .product-grid, .service-grid, .reference-grid, .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-stage { grid-template-columns: 1fr; }
  .company-proof { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fiber-dive__hud {
    grid-template-columns: 1fr;
    align-content: center;
  }
  .fiber-dive__intro {
    max-width: 780px;
  }
  .fiber-dive__steps {
    width: min(520px, 100%);
  }
}

@media (max-width: 700px) {
  .section-shell, .site-header { width: calc(100% - 24px); max-width: calc(100% - 24px); }
  .hero {
    min-height: auto;
    padding-block: 8px 54px;
  }
  h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9.7vw, 3.35rem);
    line-height: 1.02;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }
  h2 { font-size: clamp(2rem, 11vw, 3.4rem); }
  .hero-actions, .button, .contact-actions { width: 100%; }
  .button { justify-content: center; }
  .trust-chips { display: none; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics span {
    min-height: auto;
    gap: 0.35rem;
  }
  .fiber-field span { left: 10%; width: 80%; }
  .brand {
    min-width: 0;
  }
  .brand-logo {
    width: 104px;
  }
  .hero-visual--photo {
    min-height: 320px;
  }
  .signal-card { position: static; width: 100%; margin-top: 0.8rem; }
  .fiber-dive {
    height: 280svh;
    min-height: 280svh;
  }
  .fiber-dive__stage {
    min-height: 100svh;
  }
  .fiber-dive__images::after {
    background:
      radial-gradient(circle at 50% 48%, transparent 0 16%, rgba(2, 5, 10, 0.18) 34%, rgba(2, 5, 10, 0.9) 78%),
      linear-gradient(180deg, rgba(2, 5, 10, 0.76), transparent 24%, transparent 54%, rgba(2, 5, 10, 0.95));
  }
  .fiber-dive__image {
    transform: scale(calc(1.08 + var(--fiber-progress) * 0.08));
  }
  .fiber-dive__beam {
    height: 3px;
    inset-inline: -26%;
    transform: translateY(-50%) rotate(calc(-12deg + var(--fiber-progress) * 20deg)) scaleX(calc(0.56 + var(--fiber-progress) * 0.62));
  }
  .fiber-dive__core::before,
  .fiber-dive__core::after,
  .fiber-dive__core span {
    width: min(78vmin, 420px);
  }
  .fiber-dive__core span {
    width: min(32vmin, 190px);
  }
  .fiber-dive__hud {
    align-content: end;
    gap: 1rem;
    padding-block: 80px 78px;
  }
  .fiber-dive__intro {
    align-self: start;
    padding: 0.9rem 0 0 0.9rem;
    background: linear-gradient(90deg, rgba(3, 6, 11, 0.64), rgba(3, 6, 11, 0));
  }
  .fiber-dive__intro h2 {
    font-size: clamp(2.25rem, 13vw, 4.2rem);
    line-height: 0.96;
  }
  .fiber-dive__intro p:last-child {
    display: none;
  }
  .fiber-dive__steps {
    min-height: 218px;
  }
  .fiber-dive__step {
    min-height: 200px;
    padding: 1rem;
    backdrop-filter: blur(12px);
  }
  .fiber-dive__step h3 {
    font-size: 1.28rem;
  }
  .fiber-dive__step p {
    font-size: 0.92rem;
  }
  .fiber-dive__progress {
    bottom: 20px;
  }
  .bento-grid, .product-grid, .service-grid, .reference-grid, .download-grid, .team-grid, .community-grid { grid-template-columns: 1fr; }
  .company-visual {
    min-height: 320px;
  }
  .company-visual span {
    font-size: 0.72rem;
  }
  .team-card img,
  .team-card--initials div {
    height: 230px;
  }
  .download-stage {
    padding: 1rem;
  }
  .download-stage img {
    max-height: 190px;
  }
  .contact-panel {
    min-height: 460px;
  }
  .bento-card--large { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; overflow-x: visible; }
  .timeline li { min-height: 104px; }
  .hero-visual svg { margin-inline: 0; max-width: 100%; width: 100%; }
  .reference-card img {
    width: calc(100% + 2.1rem);
    height: 190px;
    margin: -1.05rem -1.05rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .fiber-dive {
    height: auto;
    min-height: auto;
  }
  .fiber-dive__stage {
    position: relative;
    height: auto;
    min-height: auto;
    padding-block: var(--space);
  }
  .fiber-dive__hud {
    min-height: 720px;
  }
  .fiber-dive__step {
    position: relative;
    opacity: 1;
    transform: none;
  }
  .fiber-dive__steps {
    display: grid;
    gap: 0.8rem;
  }
}
