:root {
  --bg: #030503;
  --bg-deep: #010201;
  --panel: rgba(7, 10, 7, 0.84);
  --panel-2: rgba(4, 7, 4, 0.95);
  --stroke: rgba(164, 255, 96, 0.16);
  --stroke-strong: rgba(209, 255, 170, 0.28);
  --text: #f4f5f1;
  --muted: #a8b0a4;
  --white: #eaebe9;
  --green-1: #d6ff9c;
  --green-2: #98ec49;
  --green-3: #66c725;
  --green-4: #2c6813;
  --shadow: rgba(0, 0, 0, 0.45);
  --mouse-x: 50%;
  --mouse-y: 50%;
  --cut: 34px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  display: flow-root;
  overflow-x: clip;
  overflow-y: auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 16%, rgba(152, 236, 73, 0.14), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(214, 255, 156, 0.08), transparent 18%),
    radial-gradient(circle at 50% 112%, rgba(54, 120, 21, 0.36), transparent 28%),
    linear-gradient(180deg, #020302 0%, #050805 52%, #020302 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(520px circle at var(--mouse-x) var(--mouse-y), rgba(152, 236, 73, 0.08), transparent 62%),
    radial-gradient(680px circle at calc(var(--mouse-x) - 10%) calc(var(--mouse-y) - 8%), rgba(255, 255, 255, 0.03), transparent 62%);
  mix-blend-mode: screen;
}

body::after {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
  opacity: 0.3;
}

#scene,
.grid-overlay,
.noise-overlay,
.pointer-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#scene {
  width: 100%;
  height: 100%;
  opacity: 0.78;
}

.grid-overlay {
  background:
    linear-gradient(rgba(137, 214, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 214, 76, 0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 50% 50%, black 32%, transparent 82%);
  opacity: 0.22;
}

.noise-overlay {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.6px, transparent 0.6px);
  background-size: 8px 8px;
  opacity: 0.03;
  mix-blend-mode: screen;
}

.pointer-glow {
  background: radial-gradient(240px circle at var(--mouse-x) var(--mouse-y), rgba(152, 236, 73, 0.08), transparent 66%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.site-shell {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100vw - 28px));
  min-height: min(860px, calc(100svh - 28px));
  height: auto;
  margin: 14px auto;
  display: grid;
  place-items: center;
}

.hero-panel {
  position: relative;
  width: 100%;
  min-height: inherit;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 42px);
  background:
    linear-gradient(180deg, rgba(7, 10, 7, 0.8), rgba(3, 5, 3, 0.96)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 18%, rgba(143, 232, 72, 0.04) 100%);
  border: 1px solid var(--stroke);
  box-shadow:
    0 24px 72px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(137, 214, 76, 0.06);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-panel::before {
  background:
    radial-gradient(420px circle at 84% 26%, rgba(152, 236, 73, 0.16), transparent 48%),
    radial-gradient(340px circle at 14% 10%, rgba(255, 255, 255, 0.05), transparent 42%),
    linear-gradient(132deg, rgba(152, 236, 73, 0.06), transparent 24%, transparent 70%, rgba(255, 255, 255, 0.02));
}

.hero-panel::after {
  inset: 1px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  border: 1px solid rgba(255, 255, 255, 0.035);
  opacity: 0.6;
}

.hero-panel.is-hovered {
  border-color: rgba(205, 255, 162, 0.24);
  box-shadow:
    0 32px 96px rgba(0, 0, 0, 0.52),
    0 0 52px rgba(152, 236, 73, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-rail {
  position: absolute;
  pointer-events: none;
}

.hero-rail-top {
  top: 0;
  left: 34px;
  right: 148px;
  height: 1px;
  background: linear-gradient(90deg, rgba(209, 255, 170, 0.42), transparent 84%);
}

.hero-rail-side {
  top: 30px;
  right: 30px;
  width: 1px;
  height: 160px;
  background: linear-gradient(180deg, rgba(152, 236, 73, 0.26), transparent 88%);
}

.hero-rail-bottom {
  right: 0;
  bottom: 30px;
  width: 148px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(152, 236, 73, 0.26));
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(22px, 3.2vh, 38px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark-wrap {
  width: 70px;
  aspect-ratio: 1;
  border: 1px solid rgba(209, 255, 170, 0.12);
  background: linear-gradient(180deg, rgba(5, 8, 5, 0.98), rgba(2, 4, 2, 0.98));
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 10px 24px rgba(0, 0, 0, 0.26),
    0 0 26px rgba(152, 236, 73, 0.06);
}

.brand-mark {
  width: 100%;
  height: auto;
  display: block;
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-label,
.kicker,
.status-pill,
.service-row span,
.data-tag {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-label {
  color: rgba(171, 181, 169, 0.9);
  white-space: nowrap;
}

.brand-name {
  font-size: clamp(1.08rem, 2.4vw, 1.5rem);
  font-weight: 780;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid rgba(209, 255, 170, 0.14);
  background: linear-gradient(180deg, rgba(8, 12, 8, 0.9), rgba(3, 5, 3, 0.92));
  color: var(--green-1);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  flex: 1;
  min-width: 0;
  height: auto;
}

.hero-copy {
  min-width: 0;
  max-width: 700px;
}

.kicker {
  color: var(--green-1);
  margin: 0 0 18px;
}

.headline {
  margin: 0;
  display: grid;
  gap: 2px;
  font-size: clamp(3.3rem, 6.6vw, 6.4rem);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.headline span {
  display: block;
}

.headline .accent {
  color: transparent;
  background: linear-gradient(180deg, #edf7e4 0%, #d7ff9c 18%, #98ec49 58%, #5bb71d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 28px rgba(152, 236, 73, 0.16);
}

.lede {
  margin: 20px 0 0;
  max-width: 650px;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.62;
  color: var(--muted);
}

.cta-group {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  min-width: 250px;
  padding: 18px 26px;
  border: 1px solid rgba(209, 255, 170, 0.16);
  background:
    linear-gradient(135deg, rgba(238, 240, 234, 0.96), rgba(207, 255, 156, 0.96) 44%, rgba(93, 183, 29, 0.96) 100%);
  color: #091108;
  text-decoration: none;
  font-weight: 820;
  letter-spacing: 0.03em;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.3),
    0 0 42px rgba(152, 236, 73, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), filter 180ms var(--ease);
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: 1px;
  clip-path: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%);
  pointer-events: none;
}

.cta-button svg {
  position: relative;
  z-index: 1;
  width: 1.08rem;
  height: 1.08rem;
  transition: transform 180ms var(--ease);
}

.cta-button span {
  position: relative;
  z-index: 1;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.34),
    0 0 48px rgba(152, 236, 73, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  filter: saturate(1.04) brightness(1.02);
}

.cta-button:hover svg,
.cta-button:focus-visible svg {
  transform: translate(2px, -2px);
}

.cta-button:focus-visible {
  outline: none;
}

.direct-email {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(168, 176, 164, 0.95);
}

.direct-email a {
  color: var(--green-1);
  text-decoration: none;
  border-bottom: 1px solid rgba(209, 255, 170, 0.18);
}

.service-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-row span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: rgba(236, 238, 234, 0.92);
  border: 1px solid rgba(209, 255, 170, 0.12);
  background: rgba(8, 12, 8, 0.72);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.visual-shell {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.visual-shell::before,
.visual-shell::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(209, 255, 170, 0.1);
  clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%);
}

.visual-shell::before {
  inset: 7%;
}

.visual-shell::after {
  inset: 15%;
  opacity: 0.55;
}

.orbit,
.beam,
.micro-grid,
.logo-chamber,
.data-tag {
  position: absolute;
}

.orbit {
  border: 1px solid rgba(209, 255, 170, 0.12);
  box-shadow: 0 0 28px rgba(152, 236, 73, 0.05), inset 0 0 18px rgba(152, 236, 73, 0.02);
}

.orbit-a {
  inset: 9%;
  clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%);
  animation: spin 26s linear infinite;
}

.orbit-b {
  inset: 21%;
  clip-path: polygon(22% 0, 100% 0, 100% 78%, 78% 100%, 0 100%, 0 22%);
  border-style: dashed;
  border-color: rgba(209, 255, 170, 0.18);
  animation: spin-reverse 18s linear infinite;
}

.orbit-c {
  inset: 31%;
  clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
  animation: pulse 3.6s ease-in-out infinite;
}

.beam {
  inset: 50% auto auto 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(234, 235, 233, 0.72), rgba(152, 236, 73, 0));
  transform-origin: top center;
  opacity: 0.34;
}

.beam-a {
  height: 44%;
  transform: rotate(30deg);
}

.beam-b {
  height: 36%;
  transform: rotate(-46deg);
  opacity: 0.24;
}

.micro-grid {
  inset: 18%;
  background:
    linear-gradient(rgba(152, 236, 73, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(152, 236, 73, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 72%);
  opacity: 0.42;
}

.logo-chamber {
  inset: 0;
  display: grid;
  place-items: center;
}

.logo-halo {
  position: absolute;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(152, 236, 73, 0.24), rgba(152, 236, 73, 0.06) 42%, transparent 74%);
  filter: blur(18px);
  animation: halo-shift 5s ease-in-out infinite;
}

.logo-plate {
  position: relative;
  z-index: 1;
  width: 48%;
  min-width: 160px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  background: linear-gradient(180deg, rgba(5, 8, 5, 0.98), rgba(2, 4, 2, 0.98));
  border: 1px solid rgba(209, 255, 170, 0.14);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 26px 56px rgba(0, 0, 0, 0.46),
    0 0 36px rgba(152, 236, 73, 0.08);
}

.logo-plate::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(209, 255, 170, 0.1);
  clip-path: inherit;
}

.logo-plate img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(152, 236, 73, 0.14));
}

.data-tag {
  padding: 9px 12px;
  background: rgba(8, 12, 8, 0.84);
  border: 1px solid rgba(209, 255, 170, 0.12);
  color: rgba(236, 238, 234, 0.92);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.tag-a {
  top: 11%;
  right: 12%;
}

.tag-b {
  bottom: 18%;
  right: 6%;
}

.tag-c {
  bottom: 14%;
  left: 6%;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.88; }
  50% { transform: scale(1.035); opacity: 1; }
}

@keyframes halo-shift {
  0%, 100% { transform: scale(0.96); opacity: 0.84; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* The page grows with its content, including short landscape screens. */
@media (max-width: 980px) {
  .site-shell {
    width: calc(100% - 24px);
    min-height: calc(100svh - 24px);
    margin: 12px auto;
  }

  .hero-panel {
    padding: clamp(20px, 4vw, 36px);
    transform: none !important;
  }

  .topbar { margin-bottom: 24px; }
  .status-pill { display: none; }
  .brand-mark-wrap { flex: 0 0 60px; }
  .brand-label { white-space: normal; line-height: 1.5; }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .hero-copy { max-width: 700px; }
  .headline { font-size: clamp(3rem, 10vw, 6rem); }
  .lede { max-width: 100%; }

  .hero-visual {
    order: -1;
    width: min(42vw, 240px);
    min-height: 0;
    height: auto;
    justify-self: center;
    pointer-events: none;
  }

  .visual-shell, .logo-plate { transform: none !important; }
  .logo-plate { width: 66%; min-width: 0; }
  .data-tag { display: none; }
}

@media (max-width: 640px) {
  :root { --cut: 20px; }
  .site-shell {
    width: calc(100% - 16px);
    min-height: calc(100svh - 16px);
    margin: 8px auto;
  }
  .hero-panel { padding: 20px; }
  .topbar { margin-bottom: 18px; }
  .brand { gap: 12px; }
  .brand-mark-wrap { flex-basis: 52px; }
  .brand-label { font-size: 0.6rem; letter-spacing: 0.14em; }
  .brand-name { font-size: 1rem; letter-spacing: 0.12em; }
  .hero-layout { gap: 20px; }
  .hero-visual { width: clamp(140px, 40vw, 190px); }
  .kicker { font-size: 0.65rem; letter-spacing: 0.14em; line-height: 1.65; margin-bottom: 14px; }
  .headline { font-size: clamp(2.25rem, 12vw, 4.75rem); line-height: 0.94; gap: 1px; }
  .lede { margin-top: 18px; font-size: 1rem; line-height: 1.6; }
  .cta-group { margin-top: 22px; gap: 14px; }
  .cta-button { width: 100%; min-width: 0; min-height: 52px; padding: 16px; font-size: 1rem; }
  .direct-email { font-size: 0.9rem; line-height: 1.6; overflow-wrap: anywhere; }
  .direct-email a { display: inline-block; padding-block: 8px; }
  .service-row { gap: 8px; margin-top: 18px; }
  .service-row span { max-width: 100%; padding: 9px 10px; font-size: 0.6rem; letter-spacing: 0.12em; line-height: 1.5; }
}

/* Decorative artwork must not displace contact details in phone landscape. */
@media (max-width: 980px) and (max-height: 500px) {
  .hero-visual { display: none; }
}

@media (hover: none), (pointer: coarse) {
  .hero-panel, .visual-shell, .logo-plate { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
