/* Home page only. Loaded in addition to page.css by index.html so the rest of the
   static site (shared header markup, other pages) is unaffected. */

/* ---------- Header: nav underline hover affordance ---------- */
body.home-page .menu-row nav a:not(.nav-home) {
  position: relative;
}

body.home-page .menu-row nav a:not(.nav-home)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

body.home-page .menu-row nav a:not(.nav-home):hover::after {
  transform: scaleX(1);
}

/* ---------- Tech hero (light) ---------- */
.tech-hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(232, 242, 236, 0.9) 0%, rgba(245, 248, 244, 0.95) 100%);
  border-bottom: 1px solid var(--line);
}

.tech-hero .page-hero__inner {
  position: relative;
  z-index: 1;
}

.tech-hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

/* ---------- Hero visual: orbit diagram ---------- */
.hero-visual {
  height: 285px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(47, 125, 99, 0.35), transparent 60%),
    linear-gradient(160deg, #07120d, #0a1a20);
}

.hero-visual svg {
  width: 84%;
  height: 84%;
  overflow: visible;
}

.orbit-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 2 7;
}

.orbit-ring--b {
  stroke: rgba(122, 196, 255, 0.28);
}

.orbit-rings {
  transform-origin: 160px 130px;
}

.orbit-lines line {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.4;
}

.orbit-node circle {
  fill: #8fe3c0;
  filter: drop-shadow(0 0 6px rgba(143, 227, 192, 0.8));
}

.orbit-node--installation circle {
  fill: #7ac4ff;
  filter: drop-shadow(0 0 6px rgba(122, 196, 255, 0.8));
}

.orbit-node--retail circle {
  fill: #e8c065;
  filter: drop-shadow(0 0 6px rgba(232, 192, 101, 0.8));
}

.orbit-node--company circle {
  fill: #f2f7f3;
  filter: drop-shadow(0 0 6px rgba(242, 247, 243, 0.7));
}

@media (prefers-reduced-motion: no-preference) {
  .orbit-rings {
    animation: orbitSpin 70s linear infinite;
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Pillar cards ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  scroll-margin-top: 100px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(22, 32, 27, 0.12);
  border-color: rgba(37, 95, 75, 0.28);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-card--spacient .pillar-icon {
  color: var(--green-dark);
  background: var(--green-soft);
}

.pillar-card--installation .pillar-icon {
  color: var(--blue);
  background: #e7f0f7;
}

.pillar-card--retail .pillar-icon {
  color: #9c7418;
  background: #fbf1dc;
}

.pillar-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pillar-card--spacient .pillar-kicker {
  color: var(--green);
}

.pillar-card--installation .pillar-kicker {
  color: var(--blue);
}

.pillar-card--retail .pillar-kicker {
  color: #9c7418;
}

.pillar-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.pillar-card p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  line-height: 1.55;
}

.pillar-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-weight: 850;
}

.pillar-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.pillar-card:hover .pillar-card__link svg,
.pillar-card__link:focus-visible svg {
  transform: translateX(3px);
}

/* ---------- Company / vision section ---------- */
.company-section {
  scroll-margin-top: 80px;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.company-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.company-card h3 {
  margin-top: 0;
}

.company-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.company-status {
  margin-top: 22px;
}

/* ---------- Also exploring (secondary mention) ---------- */
.also-exploring {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.also-exploring a {
  color: var(--green-dark);
  font-weight: 800;
}

@media (max-width: 940px) {
  .pillar-grid,
  .company-grid {
    grid-template-columns: 1fr;
  }
}
