/* Shared Heliofold US site shell: one header, one footer rhythm, one spacing system. */
body.menu-open { overflow: hidden; }
.hf-site-header.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(2, 5, 7, 0.72), rgba(2, 5, 7, 0.14), transparent);
  box-shadow: none;
  backdrop-filter: none;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.hf-site-header.site-header.scrolled,
.hf-site-header.site-header.menu-active {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 8, 0.90);
  backdrop-filter: blur(18px);
}

.hf-site-header .header-inner {
  width: min(calc(100% - 48px), 1240px);
  min-height: 92px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hf-site-header .brand {
  color: #fff;
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.235em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.hf-site-header .desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 1.65vw, 26px);
  align-self: stretch;
}

.hf-site-header .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 92px;
  padding: 0;
  color: #dce2e5;
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.105em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.hf-site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 25px;
  height: 1px;
  background: #fff;
  transition: right 0.22s ease;
}

.hf-site-header .nav-link:hover::after,
.hf-site-header .nav-link.current::after { right: 0; }

.hf-site-header .nav-link.cta {
  min-height: auto;
  padding: 13px 19px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
}

.hf-site-header .nav-link.cta::after { display: none; }
.hf-site-header .nav-link.cta:hover { background: #fff; color: #000; }

.hf-site-header .nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.hf-site-header .nav-dropdown-toggle {
  appearance: none;
  min-height: 92px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #dce2e5;
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.105em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.hf-site-header .nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.hf-site-header .nav-dropdown.current .nav-dropdown-toggle { color: #fff; }

.hf-site-header .nav-dropdown.current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  height: 1px;
  background: #fff;
}

.hf-site-header .nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 12px);
  right: -16px;
  min-width: 252px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: radial-gradient(circle at 100% 0%, rgba(154, 220, 244, 0.14), transparent 42%), rgba(7, 10, 11, 0.98);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.hf-site-header .nav-dropdown:hover .nav-dropdown-menu,
.hf-site-header .nav-dropdown:focus-within .nav-dropdown-menu,
.hf-site-header .nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.hf-site-header .nav-dropdown:hover .nav-dropdown-toggle::after,
.hf-site-header .nav-dropdown:focus-within .nav-dropdown-toggle::after,
.hf-site-header .nav-dropdown.open .nav-dropdown-toggle::after { transform: rotate(225deg); }

.hf-site-header .nav-dropdown-item {
  display: block;
  padding: 13px 14px;
  border-radius: 11px;
  color: #cbd2d6;
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}

.hf-site-header .nav-dropdown-item:hover,
.hf-site-header .nav-dropdown-item.current { color: #fff; background: rgba(154, 220, 244, 0.10); }

.hf-site-header .menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.hf-site-header .mobile-nav {
  display: none;
  width: min(calc(100% - 48px), 1240px);
  margin: 0 auto;
  padding: 8px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.hf-site-header .mobile-nav.open { display: grid; }
.hf-site-header .mobile-nav .nav-link {
  min-height: auto;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hf-site-header .mobile-nav .nav-link::after { display: none; }
.hf-site-header .mobile-nav .nav-link.cta { margin-top: 15px; text-align: center; justify-content: center; }
.hf-site-header .mobile-nav-label {
  padding: 19px 4px 8px;
  color: #cdefff;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hf-site-header .mobile-nav .mobile-sub-link { padding-left: 20px; color: #cbd2d6; }

/* A calmer, more breathable rhythm shared by the marketing pages. */
body:not(.hf-product-page) .section { padding-block: clamp(108px, 11vw, 164px); }
body:not(.hf-product-page) .section-header { margin-bottom: clamp(40px, 5vw, 64px); }
body:not(.hf-product-page) .grid-2,
body:not(.hf-product-page) .grid-3,
body:not(.hf-product-page) .metric-grid { gap: clamp(22px, 2.5vw, 32px); }
body:not(.hf-product-page) .card { padding: clamp(30px, 3.6vw, 42px); }
body:not(.hf-product-page) .hero-copy { max-width: 900px; }
.datasheet-home-row { margin-top: 34px; }
.hero-image-credit { margin: 28px 0 0; color: rgba(255, 255, 255, 0.58); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.blog-hero-media { object-position: center 44%; }

/* Home technical snapshot: visual context plus a lighter, more legible data rhythm. */
.home-technical-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(480px, 0.92fr);
  gap: clamp(24px, 3vw, 38px);
  align-items: stretch;
}
.home-technical-visual {
  position: relative;
  min-height: 660px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: #070a0c;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}
.home-technical-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(2, 4, 5, 0.88), transparent 52%),
    linear-gradient(to right, rgba(2, 4, 5, 0.30), transparent 45%);
  pointer-events: none;
}
.home-technical-visual img { width: 100%; height: 100%; min-height: 660px; object-fit: cover; object-position: 58% center; }
.home-technical-visual figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 4vw, 46px);
  right: clamp(28px, 4vw, 46px);
  bottom: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 10px;
}
.home-technical-visual figcaption span { color: #cdefff; font-size: 0.70rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }
.home-technical-visual figcaption strong { max-width: 13em; color: #fff; font-size: clamp(1.7rem, 3.2vw, 3.1rem); line-height: 1.04; letter-spacing: -0.04em; }
.home-technical-visual figcaption small { margin-top: 5px; color: rgba(255, 255, 255, 0.62); font-size: 0.64rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.home-technical-visual.product-lab-visual figcaption { top: clamp(32px, 4vw, 48px); bottom: auto; }
.home-technical-visual.product-lab-visual::after { background: linear-gradient(to bottom, rgba(2, 4, 5, 0.58), transparent 48%, rgba(2, 4, 5, 0.22)); }
.home-technical-visual.product-lab-visual img { object-position: 54% center; }
.home-technical-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(154, 220, 244, 0.10), transparent 38%),
    rgba(255, 255, 255, 0.025);
}
.home-technical-intro { max-width: 48ch; margin: 0 0 30px; color: #cbd2d6; font-size: 0.96rem; line-height: 1.72; }
.home-technical-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-technical-metric {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background: rgba(4, 7, 8, 0.58);
}
.home-technical-metric > span { color: #9fabb2; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.home-technical-metric > strong { display: block; margin: 9px 0 6px; color: #fff; font-size: clamp(1.7rem, 2.5vw, 2.45rem); line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }
.home-technical-metric > small { color: #9fabb2; font-size: 0.79rem; line-height: 1.45; }
.home-technical-panel .datasheet-home-row { margin-top: auto; padding-top: 34px; }

.hf-product-page main > section,
.hf-product-page main section,
.hf-product-page .page-section { padding-block: 112px; }
.hf-product-page .section-heading { margin-bottom: 20px; }
.hf-product-page .section-description { margin-top: 24px; }
.hf-product-page .feature-grid,
.hf-product-page .scope-grid,
.hf-product-page .data-overview-grid { gap: 24px; margin-top: 46px; }
.hf-product-page .feature-card,
.hf-product-page .scope-card,
.hf-product-page .data-card { padding: 32px; }
.hf-product-page #advantages .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.site-footer { padding: 54px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.site-footer .footer-inner,
.site-footer .site-footer-inner {
  width: min(calc(100% - 48px), 1240px);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .footer-copy,
.site-footer .site-footer-inner > p { margin: 0; color: #aab4ba; font-size: 0.76rem; letter-spacing: 0.08em; }
.site-footer .footer-links,
.site-footer .site-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer .footer-links a,
.site-footer .site-footer-links a { color: #cbd2d6; font-size: 0.70rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer .footer-links a:hover,
.site-footer .site-footer-links a:hover { color: #fff; }

/* Bifacia orbital-energy explanation: code-native, data-led, no product-photo triptych. */
.bifacia-energy-model {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 1px;
  margin-top: 52px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.energy-path {
  position: relative;
  min-height: 540px;
  display: grid;
  grid-template-rows: 1fr auto auto 1fr;
  align-items: center;
  padding: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 72% 0%, rgba(139, 216, 255, 0.12), transparent 42%),
    #080b0d;
  overflow: hidden;
}

.energy-path::before,
.energy-path::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  height: 96px;
  background: repeating-linear-gradient(90deg, transparent 0 38px, rgba(139, 216, 255, 0.18) 39px 40px, transparent 41px 76px);
  opacity: 0.78;
  pointer-events: none;
}
.energy-path::before { top: 75px; }
.energy-path::after { bottom: 68px; transform: rotate(180deg); opacity: 0.46; }

.energy-label {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #cbd2d6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.energy-label strong { color: #fff; font-size: 1rem; letter-spacing: 0; text-transform: none; }
.energy-label.reflected { align-self: end; color: #9adcf4; }

.cell-plane,
.bifacia-plane {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 18, 31, 0.94);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}
.cell-plane span {
  aspect-ratio: 1.25;
  border: 1px solid rgba(154, 220, 244, 0.26);
  background: linear-gradient(145deg, rgba(32, 96, 145, 0.70), rgba(8, 24, 47, 0.96));
}
.cell-plane-label {
  position: absolute;
  left: 16px;
  bottom: calc(100% + 10px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.bifacia-plane {
  grid-template-columns: 1fr auto;
  margin-top: 12px;
  padding: 15px 18px;
  border-color: rgba(205, 239, 255, 0.48);
  background: linear-gradient(90deg, rgba(205, 239, 255, 0.10), rgba(205, 239, 255, 0.025));
  color: #d9f4ff;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.bifacia-plane strong { color: #fff; letter-spacing: 0; text-transform: none; }

.energy-evidence {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4.6vw, 56px);
  background: #0d1113;
}
.energy-evidence .evidence-kicker {
  margin: 0 0 18px;
  color: #cdefff;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.energy-total { margin: 0 0 34px; }
.energy-total strong { display: block; color: #fff; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: 0.95; letter-spacing: -0.055em; }
.energy-total span { display: block; margin-top: 10px; color: #aeb9bf; line-height: 1.55; }
.energy-bar { margin-top: 22px; }
.energy-bar-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 9px; color: #dce2e5; font-size: 0.82rem; }
.energy-bar-head strong { color: #fff; }
.energy-bar-track { height: 7px; background: rgba(255, 255, 255, 0.10); overflow: hidden; }
.energy-bar-fill { height: 100%; background: #dcebf2; }
.energy-bar.reflected .energy-bar-fill { background: #8bd8ff; }
.energy-note { margin: 32px 0 0; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.10); color: #9ca8ae; font-size: 0.82rem; line-height: 1.68; }

.datasheet-note { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; color: #cbd2d6; font-size: 0.82rem; line-height: 1.6; }
.datasheet-note::before { content: "PDF"; flex: 0 0 auto; padding: 6px 8px; border: 1px solid rgba(139, 216, 255, 0.42); color: #cdefff; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; }

@media (max-width: 980px) {
  .hf-site-header .desktop-nav { display: none; }
  .hf-site-header .menu-button { display: inline-flex; }
  .bifacia-energy-model { grid-template-columns: 1fr; }
  .hf-product-page #advantages .feature-grid { grid-template-columns: 1fr; }
  .home-technical-showcase { grid-template-columns: 1fr; }
  .home-technical-visual,
  .home-technical-visual img { min-height: 540px; }
}

@media (max-width: 680px) {
  .hf-site-header .header-inner,
  .hf-site-header .mobile-nav { width: min(calc(100% - 32px), 1240px); }
  .hf-site-header .header-inner { min-height: 78px; }
  .hf-site-header .brand { font-size: 0.78rem; letter-spacing: 0.19em; }
  body:not(.hf-product-page) .section { padding-block: 84px; }
  .hf-product-page main > section,
  .hf-product-page main section,
  .hf-product-page .page-section { padding-block: 84px; }
  .energy-path { min-height: 460px; padding: 28px 20px; }
  .cell-plane { gap: 3px; padding: 8px; }
  .bifacia-plane { grid-template-columns: 1fr; gap: 5px; }
  .hf-product-page #advantages .feature-grid { grid-template-columns: 1fr; }
  .home-technical-visual,
  .home-technical-visual img { min-height: 390px; }
  .home-technical-panel { padding: 24px 20px; }
  .home-technical-metrics { grid-template-columns: 1fr; }
  .home-technical-metric { min-height: 118px; }
  .site-footer .footer-inner,
  .site-footer .site-footer-inner { width: min(calc(100% - 32px), 1240px); }
}

@media (prefers-reduced-motion: reduce) {
  .hf-site-header *,
  .hf-site-header *::before,
  .hf-site-header *::after { transition-duration: 0.01ms !important; }
}
