/*
Theme Name: HelioX Portal
Theme URI: https://www.heliox-mobi.com
Author: HelioX
Description: Editable WordPress corporate portal theme for HelioX, with JP/EN parallel pages, Shopify routing, news posts, and Canva-derived product visuals.
Version: 2.3.1
Text Domain: heliox-portal
*/

:root {
  --ink: #111715;
  --muted: #5d6762;
  --soft: #f5f2e9;
  --paper: #fbfaf6;
  --line: rgba(17, 23, 21, 0.12);
  --solar: #ffc83d;
  --solar-deep: #f39b22;
  --green: #214f3a;
  --green-2: #77b255;
  --aqua: #dff6ef;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(17, 23, 21, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: var(--heliox-header-offset-y, 18px) var(--heliox-header-offset-x, 24px) auto;
  z-index: 40;
  min-height: var(--heliox-header-height, 64px);
  height: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--heliox-nav-gap, 24px);
  padding: 0 18px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--heliox-header-radius, 0);
  background: rgba(255, 255, 255, var(--heliox-header-bg-opacity, 0.72));
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

.site-header.is-scrolled::after {
  opacity: 0.42;
}

.brand img,
.brand .custom-logo {
  width: var(--heliox-logo-width, 126px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--heliox-nav-gap, 24px);
  font-size: var(--heliox-nav-font-size, 13px);
  color: rgba(17, 23, 21, 0.72);
}

.nav a {
  transition: color 0.2s ease;
}

.nav li {
  list-style: none;
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--heliox-nav-font-size, 13px);
}

.lang {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  color: var(--muted);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 18px -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 200, 61, 0.92), transparent);
  opacity: 0.72;
}

.shop-button,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.shop-button,
.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.shop-cta {
  background: linear-gradient(135deg, var(--solar), #fff06c 52%, var(--green-2));
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 44px rgba(255, 200, 61, 0.32);
  position: relative;
  overflow: hidden;
}

.button.shop-cta::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -40%;
  width: 36%;
  transform: rotate(18deg);
  background: rgba(255, 255, 255, 0.42);
  animation: shimmer 3.8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 58% { left: -42%; }
  100% { left: 132%; }
}

.button.ghost {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.button.text {
  padding-inline: 4px;
  color: var(--white);
}

.shop-button:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(17, 23, 21, 0.18);
}

.hero {
  position: relative;
  min-height: var(--heliox-hero-height, 100svh);
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.06);
  transform: scale(1.02);
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slideshow img {
  opacity: 0;
  animation: heroFade 18s infinite;
}

.hero-slideshow img:nth-child(1) {
  animation-delay: 0s;
}

.hero-slideshow img:nth-child(2) {
  animation-delay: 6s;
}

.hero-slideshow img:nth-child(3) {
  animation-delay: 12s;
}

@keyframes heroFade {
  0%, 28% {
    opacity: 1;
    transform: scale(1.02);
  }
  34%, 100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.hero-shade {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 205, 54, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(7, 12, 10, 0.66) 0%, rgba(7, 12, 10, 0.34) 42%, rgba(7, 12, 10, 0.02) 100%),
    linear-gradient(0deg, rgba(17, 23, 21, 0.28), transparent 40%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: var(--heliox-hero-height, 100svh);
  display: grid;
  grid-template-columns: minmax(320px, 680px) minmax(280px, 410px);
  align-items: end;
  justify-content: space-between;
  gap: 64px;
  padding: 160px clamp(24px, 6vw, 92px) 70px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--solar);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 6.4vw, 86px);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-panel div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-panel span {
  color: var(--solar);
  font-size: 12px;
  font-weight: 800;
}

.hero-panel strong {
  font-size: 15px;
  line-height: 1.55;
}

.trust-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px clamp(22px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  scrollbar-width: none;
}

.trust-strip span {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
}

.audience-router {
  background:
    linear-gradient(180deg, #fbfaf6 0%, #f1efe6 100%);
}

.audience-router .section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.85;
  max-width: 760px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.audience-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
  background: var(--card-image) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(7, 12, 10, 0.82), rgba(7, 12, 10, 0.08) 60%),
    radial-gradient(circle at 80% 12%, rgba(255, 200, 61, 0.24), transparent 34%);
}

.audience-card > * {
  position: relative;
  z-index: 1;
}

.audience-card span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: var(--solar);
  font-size: 12px;
  font-weight: 900;
}

.audience-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.section {
  padding: clamp(76px, 10vw, 136px) clamp(22px, 5vw, 72px);
}

.section > :where(.section-heading, .audience-grid, .problem-grid, .product-layout, .spec-row, .usecase-grid, .wide-scene, .media-gallery, .tech-grid, .news-list, .section-actions, .cta-inner, .intro-grid, .two-col, .cards-2, .cards-3, .cards-4, .pain-flow, .quote-box, .timeline, .spec-table, .entry-content, .app-download, .heliox-editable-media, figure.wp-block-table) {
  width: min(100%, var(--heliox-content-width, 1180px));
  margin-left: auto;
  margin-right: auto;
}

.section.solution,
.section.split-feature,
.section.proof {
  width: auto;
  max-width: none;
  padding-left: max(clamp(22px, 5vw, 72px), calc((100vw - var(--heliox-content-width, 1180px)) / 2));
  padding-right: max(clamp(22px, 5vw, 72px), calc((100vw - var(--heliox-content-width, 1180px)) / 2));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

h2 {
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.08;
  font-weight: 840;
}

h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.22;
}

.problem {
  background:
    linear-gradient(180deg, #fbfaf6 0%, #f2efe5 100%);
}

.problem-grid,
.tech-grid,
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.problem-card,
.tech-card,
.usecase {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 54px rgba(17, 23, 21, 0.06);
}

.problem-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-index {
  color: var(--solar-deep);
  font-weight: 900;
}

.problem-card p,
.solution-copy p,
.feature-copy p,
.proof-copy p,
.cta-inner p,
.product-content p,
.tech-card p,
.usecase p {
  color: var(--muted);
  line-height: 1.85;
}

.solution {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  background: #ffffff;
}

.energy-board {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 200, 61, 0.24), transparent 30%),
    linear-gradient(135deg, #f8f4e8, #e6f5ee);
  box-shadow: var(--shadow);
}

.energy-board::after,
.tech-card::after,
.deep-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 200, 61, 0.12) 48%, transparent 72%);
  transform: translateX(-120%);
  animation: techSweep 6s ease-in-out infinite;
}

@keyframes techSweep {
  0%, 62% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.orbit {
  position: absolute;
  width: 420px;
  height: 420px;
  inset: 70px 0 0 50%;
  translate: -50%;
  border: 1px solid rgba(33, 79, 58, 0.18);
  border-radius: 50%;
}

.energy-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(33, 79, 58, 0.16);
  font-weight: 850;
}

.energy-node span {
  position: relative;
  z-index: 2;
}

.energy-node::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--solar), var(--green-2));
  opacity: 0.26;
}

.sun {
  left: 9%;
  top: 13%;
}

.panel {
  right: 13%;
  top: 18%;
}

.battery {
  left: 18%;
  bottom: 15%;
}

.mobility {
  right: 12%;
  bottom: 12%;
}

.energy-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform-origin: left;
  opacity: 0.38;
}

.line-a {
  width: 44%;
  left: 22%;
  top: 27%;
  rotate: 7deg;
}

.line-b {
  width: 42%;
  left: 29%;
  top: 53%;
  rotate: 52deg;
}

.line-c {
  width: 38%;
  left: 43%;
  bottom: 25%;
  rotate: -9deg;
}

.product-section {
  background: var(--ink);
  color: var(--white);
}

.product-section .section-heading {
  margin-inline: auto;
  text-align: center;
}

.product-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.product-visual {
  min-height: 430px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.04);
}

.product-visual.seated {
  background-image: linear-gradient(0deg, rgba(17, 23, 21, 0.45), transparent 55%), url("assets/canva/ops-06.png");
}

.product-visual.standing {
  background-image: linear-gradient(0deg, rgba(17, 23, 21, 0.45), transparent 55%), url("assets/canva/ops-03.png");
}

.product-content {
  padding: 28px;
}

.product-section .product-content p {
  color: rgba(255, 255, 255, 0.72);
}

.product-content a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--solar);
  font-weight: 850;
}

.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

.spec-row span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.84);
}

.usecases {
  background: #f8f6ef;
}

.usecase-grid {
  grid-template-columns: repeat(4, 1fr);
}

.usecase {
  color: var(--ink);
}

.usecase span,
.tech-card span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--solar-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #ffffff;
}

.feature-image {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mini-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 28px;
}

.mini-steps span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 800;
}

.technology {
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 200, 61, 0.22), transparent 30%),
    #eef5ee;
}

.tech-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tech-card {
  min-height: 320px;
  background: rgba(255, 255, 255, 0.72);
}

.proof {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.proof-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.proof-board {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 18px;
}

.map-card,
.award-list {
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.map-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 42px;
  background:
    linear-gradient(130deg, transparent 36%, rgba(255, 255, 255, 0.16) 36% 38%, transparent 38%),
    linear-gradient(70deg, transparent 48%, rgba(255, 255, 255, 0.1) 48% 50%, transparent 50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-card strong,
.map-card small {
  position: relative;
}

.map-card strong {
  font-size: 28px;
}

.map-card small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
}

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--solar);
  box-shadow: 0 0 0 8px rgba(255, 200, 61, 0.16);
}

.p1 {
  left: 48%;
  top: 42%;
}

.p2 {
  left: 54%;
  top: 58%;
}

.p3 {
  left: 38%;
  top: 64%;
}

.p4 {
  left: 59%;
  top: 49%;
}

.award-list {
  display: grid;
  align-content: stretch;
}

.award-list span {
  display: flex;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.final-cta {
  background:
    linear-gradient(135deg, rgba(255, 200, 61, 0.86), rgba(119, 178, 85, 0.78)),
    #f8c84a;
}

.cta-inner {
  max-width: 900px;
}

.final-cta .eyebrow {
  color: rgba(17, 23, 21, 0.72);
}

.final-cta .button.text,
.final-cta .button.ghost {
  color: var(--ink);
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(180px, 0.8fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
  padding: 34px clamp(22px, 5vw, 72px);
  background: #0b100e;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer img {
  width: 130px;
  margin-bottom: 14px;
}

.footer p {
  margin-bottom: 0;
  line-height: 1.75;
}

.footer-brand p {
  max-width: 420px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
}

.footer-nav li {
  list-style: none;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-company strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 15px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.subpage {
  background: var(--paper);
}

.page-hero {
  min-height: var(--heliox-page-hero-height, 72svh);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  padding: 150px clamp(22px, 5vw, 72px) 70px;
  color: var(--white);
  background: var(--ink);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 14%, rgba(255, 200, 61, 0.36), transparent 30%),
    linear-gradient(90deg, rgba(7, 12, 10, 0.9), rgba(7, 12, 10, 0.42)),
    var(--hero-image, none) center / cover no-repeat;
  filter: saturate(1.02);
}

.page-hero.simple::before {
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 200, 61, 0.22), transparent 28%),
    linear-gradient(135deg, #0c1310, #1e2d25);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.page-hero h1 {
  font-size: clamp(42px, 7.2vw, var(--heliox-page-title-size, 86px));
  line-height: 1;
}

.page-hero p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.82;
}

.page-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px clamp(22px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.page-tabs a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.page-tabs a:hover {
  color: var(--ink);
  border-color: rgba(17, 23, 21, 0.32);
}

.heliox-page-body {
  background: var(--paper);
}

.entry-content {
  width: min(100%, var(--heliox-content-width, 1180px));
  color: var(--ink);
}

.entry-content > * {
  margin-block-start: 0;
  margin-block-end: 24px;
}

.entry-content p {
  color: var(--muted);
  line-height: 1.85;
}

.entry-content h2 {
  margin-bottom: 18px;
}

.entry-content h3 {
  margin-bottom: 12px;
}

.heliox-editor-section {
  padding-inline: clamp(22px, 5vw, 72px);
}

.heliox-editor-section > * {
  max-width: var(--heliox-content-width, 1180px);
  margin-inline: auto;
}

.heliox-kicker {
  color: var(--solar) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.heliox-editor-grid {
  gap: 18px;
}

.heliox-editor-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 54px rgba(17, 23, 21, 0.05);
}

.heliox-editor-card p {
  margin-bottom: 0;
}

.heliox-editable-media {
  gap: clamp(26px, 5vw, 70px);
  margin-bottom: 32px;
}

.heliox-editable-media .wp-block-media-text__content {
  padding: 0;
}

.heliox-editable-media img,
.entry-content .wp-block-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.entry-content .wp-block-image,
.entry-content .wp-block-media-text {
  margin-bottom: 32px;
}

.entry-content .wp-block-button__link {
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 22px;
  font-weight: 800;
}

.entry-content .alignwide {
  max-width: var(--heliox-content-width, 1180px);
}

.entry-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.heliox-cover-band {
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.heliox-cover-band .wp-block-cover__inner-container {
  width: min(100%, var(--heliox-content-width, 1180px));
}

.intro-grid,
.two-col {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.copy-block p,
.rich-list li,
.quote-box p,
.timeline-item p,
.faq-item p,
.note {
  color: var(--muted);
  line-height: 1.85;
}

.rich-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.rich-list li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.cards-2,
.cards-3,
.cards-4 {
  display: grid;
  gap: 18px;
}

.wp-block-columns.cards-2,
.wp-block-columns.cards-3,
.wp-block-columns.cards-4,
.wp-block-columns.heliox-editor-grid,
.wp-block-columns.media-gallery {
  display: grid !important;
  align-items: stretch !important;
}

.wp-block-columns.cards-2 > .wp-block-column,
.wp-block-columns.cards-3 > .wp-block-column,
.wp-block-columns.cards-4 > .wp-block-column,
.wp-block-columns.heliox-editor-grid > .wp-block-column,
.wp-block-columns.media-gallery > .wp-block-column {
  min-width: 0;
}

/* Gutenberg wp:button with theme classes */
.wp-block-button.primary .wp-block-button__link,
.wp-block-button.ghost .wp-block-button__link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
  font-size: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.wp-block-button.primary .wp-block-button__link {
  background: var(--ink);
  color: var(--white) !important;
}

.wp-block-button.ghost .wp-block-button__link {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink) !important;
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.wp-block-button.primary .wp-block-button__link:hover,
.wp-block-button.ghost .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(17, 23, 21, 0.18);
}

.final-cta .wp-block-button.ghost .wp-block-button__link {
  color: var(--ink) !important;
}

/* Gutenberg block heading resets */
.wp-block-heading {
  margin-top: 0;
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.deep-card,
.plan-card,
.faq-item,
.timeline-item,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 28px;
  box-shadow: 0 18px 54px rgba(17, 23, 21, 0.05);
}

.info-card.dark,
.deep-card.dark {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}

.info-card.dark p,
.deep-card.dark p {
  color: rgba(255, 255, 255, 0.7);
}

.meta {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--solar-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.image-band {
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 42px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(7, 12, 10, 0.76), rgba(7, 12, 10, 0.08)), var(--band-image) center / cover no-repeat;
}

.image-band h2 {
  max-width: 760px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 30%;
  color: var(--muted);
  font-size: 13px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
}

.timeline-item strong {
  color: var(--solar-deep);
  font-size: 22px;
}

.quote-box {
  padding: 34px;
  background: var(--ink);
  color: var(--white);
}

.quote-box p {
  color: rgba(255, 255, 255, 0.76);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-item {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.news-thumb {
  min-height: 132px;
  background: var(--thumb) center / cover no-repeat;
  border: 1px solid var(--line);
}

.tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--solar);
  font-size: 12px;
  font-weight: 900;
}

.media-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  grid-template-rows: 260px 260px;
  gap: 16px;
}

.wide-scene {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.wide-scene img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.media-tile {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: var(--tile, #0b100e) center / cover no-repeat;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: end;
  padding: 24px;
}

.media-tile .media-tile-image {
  position: absolute;
  inset: 0;
  margin: 0;
}

.media-tile .media-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-tile:first-child {
  grid-row: span 2;
}

.media-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 12, 10, 0.72), transparent 58%);
}

.media-tile strong,
.media-tile h3,
.media-tile p {
  position: relative;
  z-index: 1;
}

.media-tile h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.media-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.journey-steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.journey-steps li {
  counter-increment: step;
  list-style: none;
  padding: 20px 22px 20px 76px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  position: relative;
  color: var(--muted);
  line-height: 1.75;
}

.journey-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 20px;
  color: var(--solar-deep);
  font-weight: 900;
}

.pain-flow {
  display: grid;
  gap: 18px;
}

.pain-flow .flow-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}

.pain-flow .pain,
.pain-flow .answer {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}

.pain-flow .answer {
  border-color: rgba(243, 155, 34, 0.34);
  background: rgba(255, 200, 61, 0.13);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  @keyframes heroFade {
    0%, 100% { opacity: 1; transform: none; }
  }
  @keyframes shimmer { 0%, 100% { left: -42%; } }
  @keyframes techSweep { 0%, 100% { transform: translateX(-120%); } }
}

@media (max-width: 1080px) {
  .site-header {
    height: auto;
    grid-template-columns: auto auto;
    row-gap: 8px;
    padding-block: 10px;
  }

  .nav {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-top: 4px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-grid,
  .solution,
  .split-feature,
  .proof {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: end;
  }

  .hero-panel {
    max-width: 560px;
  }

  .usecase-grid,
  .tech-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    inset: 10px;
    padding-inline: 14px;
  }

  .brand img,
  .brand .custom-logo {
    width: 104px;
  }

  .lang {
    display: inline-flex;
    min-width: 72px;
    height: 36px;
    padding-inline: 12px;
  }

  .hero-grid {
    padding: 128px 18px 36px;
    gap: 28px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .button {
    width: 100%;
  }

  .button.text {
    width: auto;
    color: var(--solar);
  }

  .section {
    padding: 72px 18px;
  }

  .problem-grid,
  .product-layout,
  .usecase-grid,
  .tech-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .energy-board {
    min-height: 420px;
  }

  .energy-node {
    width: 104px;
    height: 104px;
    font-size: 14px;
  }

  .product-visual {
    min-height: 330px;
  }

  .mini-steps {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 66svh;
    padding: 118px 18px 42px;
  }

  .intro-grid,
  .two-col,
  .cards-2,
  .cards-3,
  .cards-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item,
  .news-item {
    grid-template-columns: 1fr;
  }

  .media-gallery,
  .pain-flow .flow-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .media-tile:first-child {
    grid-row: auto;
  }

  .field.full {
    grid-column: auto;
  }
}

/* ============================================================
   HelioX Portal v2.3.0 — Futuristic Design Enhancements
   ============================================================ */

/* ---- Enhanced card hover effects ---- */
.info-card,
.deep-card,
.plan-card,
.faq-item,
.contact-card {
  transition: transform 0.32s cubic-bezier(0.34, 1.36, 0.64, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.info-card:hover,
.deep-card:hover,
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(17, 23, 21, 0.14), 0 0 0 1.5px rgba(255, 200, 61, 0.26);
  border-color: rgba(255, 200, 61, 0.32);
}

.tech-card {
  transition: transform 0.32s cubic-bezier(0.34, 1.36, 0.64, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1.5px rgba(255, 200, 61, 0.42), 0 28px 70px rgba(33, 79, 58, 0.18);
  border-color: rgba(255, 200, 61, 0.42);
}

.audience-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.audience-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 36px 96px rgba(17, 23, 21, 0.24);
}

/* ---- Stagger animation for card grids ---- */
.wp-block-columns .wp-block-column.reveal:nth-child(2) { transition-delay: 0.08s; }
.wp-block-columns .wp-block-column.reveal:nth-child(3) { transition-delay: 0.16s; }
.wp-block-columns .wp-block-column.reveal:nth-child(4) { transition-delay: 0.24s; }
.wp-block-columns .wp-block-column.reveal:nth-child(5) { transition-delay: 0.32s; }
.wp-block-columns .wp-block-column.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ---- Hero panel float ---- */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-panel {
  animation: heroFloat 7s ease-in-out infinite;
}

/* ---- Hero H1 gradient text ---- */
.hero h1 {
  background: linear-gradient(135deg, #ffffff 50%, rgba(255, 200, 61, 0.88) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Nav animated underline ---- */
.nav a {
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--solar);
  border-radius: 2px;
  transition: width 0.28s ease;
}

.nav a:hover::after,
.nav .current-menu-item > a::after,
.nav a.active::after {
  width: 100%;
}

/* ---- CTA animated sheen ---- */
.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 15%, rgba(255,255,255,0.22) 50%, transparent 85%);
  background-size: 300% 100%;
  animation: ctaSheen 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.final-cta > .wp-block-group,
.final-cta > .cta-inner {
  position: relative;
  z-index: 1;
}

@keyframes ctaSheen {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* ---- Dot grid background for technology sections ---- */
.technology {
  background-image:
    radial-gradient(circle at 15% 15%, rgba(255, 200, 61, 0.22), transparent 30%),
    url("data:image/svg+xml,%3Csvg width='28' height='28' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='rgba(33%2C79%2C58%2C0.18)'/%3E%3C/svg%3E");
  background-position: 15% 15%, 0 0;
  background-size: auto, 28px 28px;
  background-color: #eef5ee;
}

/* ---- Solar pulse glow on page-hero eyebrow ---- */
@keyframes solarPulse {
  0%, 100% { text-shadow: 0 0 6px rgba(255, 200, 61, 0); }
  50%       { text-shadow: 0 0 20px rgba(255, 200, 61, 0.55); }
}

.page-hero .eyebrow {
  animation: solarPulse 3.8s ease-in-out infinite;
}

/* ---- Page tab active state ---- */
.page-tabs a.active,
.page-tabs a[aria-current="page"] {
  background: var(--ink);
  color: var(--white) !important;
  border-color: var(--ink);
}

/* ---- Energy node pulse ---- */
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 24px 60px rgba(33, 79, 58, 0.16), 0 0 0 0 rgba(255, 200, 61, 0.5); }
  60%       { box-shadow: 0 24px 60px rgba(33, 79, 58, 0.24), 0 0 0 18px rgba(255, 200, 61, 0); }
}

.energy-node {
  animation: nodePulse 3.2s ease-in-out infinite;
}

/* ---- Media tile hover zoom ---- */
.media-tile {
  transition: transform 0.38s ease;
}

.media-tile .media-tile-image img,
.media-tile > img {
  transition: transform 0.5s ease;
}

.media-tile:hover .media-tile-image img,
.media-tile:hover > img {
  transform: scale(1.07);
}

/* ---- Wide scene hover zoom ---- */
.wide-scene {
  cursor: default;
}

.wide-scene img {
  transition: transform 0.6s ease;
}

.wide-scene:hover img {
  transform: scale(1.04);
}

/* ---- Spec table row hover ---- */
.spec-table tbody tr {
  transition: background 0.2s ease;
}

.spec-table tbody tr:hover {
  background: rgba(255, 200, 61, 0.07);
}

/* ---- Product section radial accent ---- */
.product-section {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 200, 61, 0.16), transparent 36%),
    var(--ink);
}

/* ---- Quote-box glow border ---- */
.quote-box {
  box-shadow: 0 0 0 1px rgba(255, 200, 61, 0.22), inset 0 0 80px rgba(255, 200, 61, 0.04);
}

/* ---- Deep card dark radial accent ---- */
.deep-card.dark {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 200, 61, 0.14), transparent 40%),
    var(--ink);
}

/* ---- Button primary gradient enhancement ---- */
.button.primary,
.shop-button {
  box-shadow: 0 8px 24px rgba(17, 23, 21, 0.24);
}

.button.primary:hover,
.shop-button:hover {
  box-shadow: 0 16px 44px rgba(17, 23, 21, 0.32);
}

/* ---- wp-block-button in dark card ---- */
.deep-card.dark .wp-block-button.primary .wp-block-button__link {
  background: var(--solar);
  color: var(--ink) !important;
}

.deep-card.dark .wp-block-button.primary .wp-block-button__link:hover {
  box-shadow: 0 8px 28px rgba(255, 200, 61, 0.42);
}

/* ---- Header solar underline glow ---- */
.site-header::after {
  transition: opacity 0.3s ease;
}

.site-header.is-scrolled::after {
  opacity: 0.28;
}

/* ---- Mobile: disable stagger delays ---- */
@media (max-width: 760px) {
  .wp-block-columns .wp-block-column.reveal:nth-child(n) {
    transition-delay: 0s;
  }
}

/* ---- Prefers-reduced-motion: disable new animations ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-panel                   { animation: none; }
  .page-hero .eyebrow           { animation: none; }
  .energy-node                  { animation: nodePulse 0s; }
  .final-cta::before            { animation: none; }
  .info-card, .deep-card,
  .tech-card, .audience-card,
  .plan-card, .faq-item         { transition: none; }
  .media-tile,
  .wide-scene img,
  .media-tile .media-tile-image img { transition: none; transform: none; }
  .wp-block-columns
    .wp-block-column.reveal:nth-child(n) { transition-delay: 0s; }
}
