/* ==========================================
   HOME PAGE SECTIONS
   (only loaded on the front page)
   ========================================== */



main { position: relative; z-index: 1; }


/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0px var(--pad) 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-decor { position: absolute; inset: 0; pointer-events: none; }
.hero-arc { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 10px;
  background: rgba(26, 145, 168, 0.08);
  border: 1px solid rgba(26, 145, 168, 0.18);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--teal-700);
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 0 rgba(26, 145, 168, 0.5);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(26, 145, 168, 0.5); }
  50%     { box-shadow: 0 0 0 8px rgba(26, 145, 168, 0); }
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 28px 0 28px;
  color: var(--ink-900);
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  color: var(--teal-500);
}
.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.05s cubic-bezier(.22, 1, .36, 1);
}
.reveal-line.in > span { transform: translateY(0); }
.reveal-line:nth-child(1) > span { transition-delay: .05s; }
.reveal-line:nth-child(2) > span { transition-delay: .15s; }
.reveal-line:nth-child(3) > span { transition-delay: .25s; }
.reveal-line:nth-child(4) > span { transition-delay: .35s; }

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--ink-500);
  max-width: 540px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s, background .25s, color .25s, border-color .25s, box-shadow .35s;
  font-family: var(--sans);
}
.btn svg { width: 14px; height: 14px; transition: transform .25s; }
.btn-primary {
  background: var(--ink-900);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-500);
  box-shadow: 0 12px 32px -10px rgba(26, 145, 168, .5);
}
.btn-primary:hover svg { transform: translateY(2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink-800);
  border-color: rgba(13,20,24,.18);
}
.btn-ghost:hover { border-color: var(--ink-900); background: rgba(13,20,24,.04); }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
  border-top: 1px solid rgba(13,20,24,.12);
  padding-top: 24px;
}
.hero-meta > div { display: flex; flex-direction: column; gap: 2px; }
.meta-num {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--ink-900);
  font-weight: 400;
}
.meta-num small { font-size: 0.55em; color: var(--ink-400); margin-left: 2px; font-family: var(--sans); font-weight: 500; }
.meta-unit {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-400);
  margin-top: 4px;
}

/* Hero stage */
.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.hero-stage-inner { position: relative; width: 100%; height: 100%; }
.stage-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.ring {
  position: absolute;
  border: 1px solid rgba(26, 145, 168, .25);
  border-radius: 50%;
  animation: ringRotate 30s linear infinite;
}
.ring.r1 { width: 95%; height: 95%; }
.ring.r2 { width: 75%; height: 75%; border-color: rgba(26, 145, 168, .35); border-style: dashed; animation-direction: reverse; animation-duration: 40s;}
.ring.r3 { width: 55%; height: 55%; border-color: rgba(26, 145, 168, .15); }
@keyframes ringRotate {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.device-floater {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.device-svg {
  width: 95%;
  height: 95%;
  filter: drop-shadow(0 30px 50px rgba(6, 43, 53, .25));
}

.stage-spec {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--ink-700);
  opacity: 0;
  transform: translateY(6px);
  animation: specIn .6s ease forwards;
}
.stage-spec .spec-line {
  width: 38px; height: 1px; background: var(--teal-500);
}
.stage-spec .spec-pill {
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid rgba(13,20,24,.08);
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px -4px rgba(6,43,53,.12);
}
.stage-spec .spec-num {
  display: inline-block;
  background: var(--teal-500);
  color: #fff;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: 0;
  font-weight: 600;
}
@keyframes specIn { to { opacity: 1; transform: translateY(0); } }
.spec-tl { top: 8%;  left: -4%; animation-delay: 1.2s; }
.spec-tr { top: 18%; right: -2%; flex-direction: row-reverse; animation-delay: 1.4s; }
.spec-bl { bottom: 22%; left: -2%; animation-delay: 1.6s; }
.spec-br { bottom: 6%; right: -4%; flex-direction: row-reverse; animation-delay: 1.8s; }
@media (max-width: 1024px) {
  .stage-spec { display: none; }
  .hero-stage { aspect-ratio: 4/3; max-width: 560px; margin: 0 auto; }
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-400);
  text-decoration: none;
  z-index: 3;
}
.hero-scroll svg { width: 14px; height: 22px; color: var(--ink-400); }
.hero-scroll .scroll-dot {
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { transform: translateY(8px); opacity: .3; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Ticker */
.ticker {
  background: var(--ink-900);
  color: var(--teal-200);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: tickerScroll 50s linear infinite;
}
.ticker-track > span:nth-child(2n) { color: var(--teal-500); }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Section chrome */
.section-head {
  margin-bottom: 64px;
  max-width: 760px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 20px;
}
.section-eyebrow.light { color: var(--teal-200); }
.section-eyebrow .bar {
  display: inline-block;
  width: 28px; height: 1px;
  background: currentColor;
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--teal-500); }
.section-title.light { color: #fff; }
.section-title.light em { color: var(--teal-300); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Product */
.product { padding: 80px 0; position: relative; }

.product-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--paper);
  border: 1px solid rgba(13,20,24,.08);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--teal-500), var(--teal-300));
}
.card-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}
.product-card h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--ink-900);
}
.product-card p {
  color: var(--ink-500);
  font-size: 15px;
  margin: 0 0 28px;
}
.product-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid rgba(13,20,24,.08);
}
.product-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(13,20,24,.06);
  font-size: 14px;
}
.product-list li span:first-child {
  color: var(--ink-500);
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.product-list li span:last-child {
  color: var(--ink-900);
  font-weight: 500;
}

.product-feature {
  position: relative;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(95, 180, 197, 0.10), transparent 60%),
    linear-gradient(160deg, #f6f4ef, #e8edef 60%, #dde4e7);
  overflow: hidden;
  min-height: 540px;
  isolation: isolate;
}
.feature-frame {
  position: absolute;
  inset: 24px;
  display: grid;
  place-items: center;
}
.frame-corners span {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid rgba(13, 50, 60, 0.35);
}
.frame-corners span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame-corners span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame-corners span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.frame-corners span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.frame-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(13,50,60,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,50,60,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
}
.device-bg-glow {
  position: absolute;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(95,180,197,0.30), transparent 70%);
  filter: blur(60px);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.feature-svg {
  position: relative;
  width: 92%;
  z-index: 2;
  filter: drop-shadow(0 30px 50px rgba(13,50,60,0.25));
  animation: floatSlow 7s ease-in-out infinite;
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-12px) rotate(0.5deg); }
}
.frame-label {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(13, 50, 60, 0.55);
  z-index: 3;
}
.frame-label.tl { top: 16px; left: 16px; }
.frame-label.tr { top: 16px; right: 16px; }
.frame-label.bl { bottom: 16px; left: 16px; }
.frame-label.br { bottom: 16px; right: 16px; }

/* Anatomy */
.anatomy { padding: 50px 0 140px; position: relative; }
.anatomy-stage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .anatomy-stage { grid-template-columns: 1fr; } }

.anatomy-svg-wrap {
  background: var(--paper);
  border: 1px solid rgba(13,20,24,.08);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.anatomy-photo { position: relative; width: 100%; aspect-ratio: 1.388/1; }
.anatomy-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.callout {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
}
.callout i {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(26,145,168,0.25);
  animation: cpulse 2.4s ease-in-out infinite;
}
@keyframes cpulse {
  0%,100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.6); opacity: 0; }
}
.callout > span {
  position: relative; z-index: 2;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px -4px rgba(26,145,168,.6), 0 0 0 3px #fff;
  cursor: pointer;
  transition: transform .25s, background .25s;
}
.callout:hover > span { transform: scale(1.15); background: var(--teal-400); }
.anatomy-svg-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(13,20,24,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,20,24,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.anatomy-svg {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}

.anatomy-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legend-row {
  display: flex;
  gap: 18px;
  padding: 18px 12px;
  border-bottom: 1px solid rgba(13,20,24,.06);
  align-items: flex-start;
  transition: background .25s, padding .25s;
  border-radius: 8px;
  cursor: default;
}
.legend-row:hover {
  background: rgba(26,145,168,.05);
  padding-left: 16px;
}
.legend-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-600);
  letter-spacing: .05em;
  width: 24px; flex: 0 0 24px;
  margin-top: 4px;
}
.legend-row h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 4px;
  color: var(--ink-900);
}
.legend-row p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.55;
}

/* Features */
.features { padding: 140px 0; background: var(--bg-warm); position: relative; z-index: 2;}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(13,20,24,.08);
  border: 1px solid rgba(13,20,24,.08);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-warm);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background .35s ease, transform .35s ease;
}
.feature-card:hover {
  background: var(--paper);
}
.feature-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--teal-600);
  letter-spacing: .12em;
  margin-bottom: 18px;
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid rgba(13,20,24,.08);
  display: grid; place-items: center;
  margin-bottom: 24px;
  color: var(--teal-500);
  transition: transform .4s cubic-bezier(.22,1,.36,1), background .35s, color .35s;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.05); background: var(--teal-500); color: #fff; }
.feature-card h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 12px;
  line-height: 1.1;
  color: var(--ink-900);
}
.feature-card p {
  color: var(--ink-500);
  font-size: 14px;
  margin: 0;
}

/* Specs (dark) */
.specs {
  padding: 140px 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(26, 145, 168, 0.25), transparent 60%),
    linear-gradient(180deg, var(--bg-dark), #03101a);
  color: #fff;
  position: relative;
  z-index: 2;
}
.specs::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.specs > .container { position: relative; z-index: 2; }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 980px) { .specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .specs-grid { grid-template-columns: 1fr; } }
.spec-block {
  background: var(--bg-dark);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .35s;
}
.spec-block:hover { background: rgba(26, 145, 168, 0.08); }
.spec-block.wide { grid-column: span 2; }
@media (max-width: 540px) { .spec-block.wide { grid-column: span 1; } }
.spec-key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-200);
  opacity: .7;
}
.spec-val {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.spec-val.mono { font-family: var(--mono); font-size: clamp(20px, 2vw, 28px); letter-spacing: 0; }
.spec-val.small { font-family: var(--sans); font-size: 14px; line-height: 1.5; font-weight: 500; }
.spec-val small { font-size: 0.5em; color: var(--teal-200); margin-left: 4px; }

/* Indications */
.indications { padding: 140px 0; }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 880px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-card {
  background: var(--paper);
  border: 1px solid rgba(13,20,24,.08);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.ind-illu {
  width: 200px; height: 140px;
  margin-bottom: 24px;
  color: var(--teal-500);
}
.ind-illu svg { width: 100%; height: 100%; }
.ind-card h3 {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  margin: 0 0 12px;
  color: var(--ink-900);
}
.ind-card p {
  color: var(--ink-500);
  font-size: 14.5px;
  margin: 0;
}
.ind-warning {
  grid-column: span 2;
  background: var(--ink-900);
  color: rgba(255,255,255,0.78);
  padding: 32px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-900);
}
@media (max-width: 880px) { .ind-warning { grid-column: span 1; } }
.warning-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 16px;
}
.warning-head svg { width: 16px; height: 16px; color: var(--teal-300); }
.ind-warning p {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 12px;
  max-width: 1000px;
}
.ind-warning .rx-line { color: var(--teal-200); font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }

/* Coming Soon */
.coming-soon { padding: 0px 0 60px; position: relative; z-index: 2; padding-bottom: 50px; }
.cs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(13,20,24,.08);
  border: 1px solid rgba(13,20,24,.08);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 980px) { .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .cs-grid { grid-template-columns: 1fr; } }
.cs-card {
  background: var(--paper);
  padding: 32px 28px 36px;
  position: relative;
  display: flex; flex-direction: column;
  transition: background .35s;
}
.cs-card:hover { background: var(--bg-warm); }
.cs-tag {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 4px 10px;
  border-radius: 999px;
}
.cs-illu {
  width: 64px; height: 64px;
  margin: 8px 0 24px;
  color: var(--ink-300);
  transition: color .35s, transform .35s;
}
.cs-illu svg { width: 100%; height: 100%; }
.cs-card:hover .cs-illu { color: var(--teal-500); transform: rotate(-4deg); }
.cs-card h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
  line-height: 1.1;
  color: var(--ink-900);
}
.cs-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 13.5px;
  line-height: 1.55;
}

/* Intent toggle */
.intent-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
}
.intent-btn {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.65);
  padding: 12px 14px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.intent-btn:hover { color: #fff; }
.intent-btn.is-active {
  background: var(--teal-500);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(26, 145, 168, .5);
}

/* Compliance */
.compliance { padding: 60px 0; background: var(--bg-warm); border-top: 1px solid rgba(13,20,24,.06); border-bottom: 1px solid rgba(13,20,24,.06); }
.comp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
@media (max-width: 880px) { .comp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .comp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.comp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.comp-symbol {
  width: 38px; height: 38px;
  border: 1px solid var(--ink-300);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--teal-600);
  font-family: var(--display);
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(26, 145, 168, 0.3), transparent 60%),
    linear-gradient(180deg, #03101a, #02080d);
  color: #fff;
  padding: 100px 0px 50px 0px; 
  position: relative;
  z-index: 2;
}
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 50%, #000, transparent 75%);
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 980px) { .contact-inner { grid-template-columns: 1fr; gap: 56px; } }

.contact-copy .section-title { margin-bottom: 28px; }
.contact-blurb {
  color: rgba(255,255,255,0.7);
  font-size: 15.5px;
  margin: 0 0 32px;
  max-width: 480px;
  line-height: 1.65;
}
.contact-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}
.contact-list li span {
  color: var(--teal-300);
  font-family: var(--mono);
}

/* Form */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field:last-of-type { margin-bottom: 24px; }
.form-row .field { margin-bottom: 0; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-300);
  font-weight: 500;
}
.field input, .field textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color .25s, background .25s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-300);
  background: rgba(26, 145, 168, 0.1);
}
.field textarea { min-height: 110px; }

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.role {
  position: relative;
  cursor: pointer;
}
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role span {
  display: block;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
  text-align: center;
  transition: all .25s;
}
.role:hover span { border-color: rgba(255,255,255,0.25); color: #fff; }
.role input:checked + span {
  border-color: var(--teal-300);
  background: rgba(26, 145, 168, 0.18);
  color: #fff;
}

.form-submit {
  width: 100%;
  background: var(--teal-500);
  color: #fff;
  border: 1px solid var(--teal-500);
  font-size: 15px;
  padding: 16px 22px;
  justify-content: center;
}
.form-submit:hover { background: var(--teal-400); border-color: var(--teal-400); box-shadow: 0 12px 32px -10px rgba(26, 145, 168, .6); }
.form-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.form-success {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 26, 0.95);
  border-radius: var(--radius);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  text-align: center;
}
.form-success.show { display: flex; animation: fadeIn .5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.form-success svg { width: 44px; height: 44px; color: var(--teal-300); }
.form-success h4 { font-family: var(--display); font-size: 28px; font-weight: 400; margin: 0; color: #fff; }
.form-success p { color: rgba(255,255,255,0.7); margin: 0; font-size: 14px; }

/* Footer */
.footer {
  background: #02080d;
  color: rgba(255,255,255,0.65);
  padding: 70px 0 30px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr; gap: 40px; } }
.footer-brand img { height: 72px; filter: brightness(0) invert(1); opacity: .85; margin-bottom: 14px; display: block;}
.footer-tag { color: rgba(255,255,255,0.5); font-size: 13px; max-width: 280px; margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 540px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 14px;
}
.footer-cols a {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-cols a:hover { color: var(--teal-300); }
.footer-fine { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.4); margin: 0; }
.footer-base {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--pad) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.dot-sep { color: rgba(255,255,255,0.2); }


/* ================================================================
   ASTRA + ELEMENTOR PRO HEADER INTEGRATION
   These rules fire only on the Venturis Home template because
   home-page.css is only enqueued on that page.
   ================================================================ */

/*
 * Astra's sticky-header JS reads the header height and sets
 * body { padding-top: Xpx } to prevent a layout jump.
 * That padding pushes the hero down and breaks the 100vh design.
 * Zero it out here; the hero's own top padding (140px) already
 * provides clearance for an overlapping/transparent header.
 */
body.page-template-page-venturis-home {
    padding-top: 0 !important;
    /* Also reset any margin Astra or Elementor may add */
    margin-top: 0 !important;
}

/*
 * Ensure the Elementor Pro header renders above the hero's
 * decorative layers (rings, bg-glow, parallax stage).
 * Astra wraps the header in #masthead; Elementor Pro uses
 * .elementor-location-header. Both are covered here.
 */
body.page-template-page-venturis-home #masthead,
body.page-template-page-venturis-home .elementor-location-header,
body.page-template-page-venturis-home .ast-site-header-wrap {
    position: relative;
    z-index: 1000;
}

/*
 * Astra sets overflow-x: hidden on #page to suppress horizontal
 * scroll. That is fine for most pages, but position:fixed children
 * (our .bg-field) can become mis-clipped on some browsers when a
 * parent has a transform applied (e.g. Astra sticky-header slide).
 * Making overflow visible here is safe because our own CSS already
 * sets overflow-x: hidden on both html and body.
 */
body.page-template-page-venturis-home #page {
    overflow: visible;
}

/*
 * Astra sometimes injects a .ast-above-header-bar or
 * .ast-primary-header-bar with a default background that overlaps
 * the hero. Keep those transparent on this page so the hero
 * shows through if the header is set to "transparent" in Astra/
 * Elementor Pro settings.
 */
body.page-template-page-venturis-home .ast-above-header-bar,
body.page-template-page-venturis-home .ast-primary-header-bar {
    background: transparent;
}

/* -----------------------------------------------
   Force full‑width layout on the Venturis Home page
   (overrides Astra's default grid / sidebar spacing)
----------------------------------------------- */
body.page-template-page-venturis-home #page,
body.page-template-page-venturis-home .site-content,
body.page-template-page-venturis-home #content,
body.page-template-page-venturis-home #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
}

body.page-template-page-venturis-home #secondary,
body.page-template-page-venturis-home .widget-area,
body.page-template-page-venturis-home .ast-grid-common-col {
    display: none !important;
}

/* If Astra still adds a left margin/padding to the main wrapper,
   reset it completely */
body.page-template-page-venturis-home .ast-container,
body.page-template-page-venturis-home .site-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* =============================================
   CRITICAL FIX – prevent page width from growing
   beyond the viewport (stops the right‑shift bug)
   ============================================= */

/* 1. Lock the entire page to the viewport */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* 2. Astra’s #page wrapper must never expand */
#page {
    max-width: 100vw;
    overflow-x: hidden;
}

/* 3. Your main content container */
main#top,
.site-content,
#content,
#primary {
    max-width: 100vw;
    width: 100%;
    overflow-x: hidden;
}

/* 4. Direct fix for the ticker – give it a 100% width
   so its extremely long inner track doesn’t push the page */
.ticker {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden;               /* already present, but reinforces */
}

/* 5. The ticker track itself – allow it to be as wide as it needs,
   but NEVER affect the parent’s box size */
.ticker-track {
    width: max-content;             /* let it be its natural width */
    max-width: none;               /* no artificial cap */
    /* It will still scroll because the parent .ticker hides the overflow */
}

/* 6. Section containers must not exceed the viewport */
.hero,
.product,
.anatomy,
.features,
.specs,
.indications,
.coming-soon,
.compliance,
.contact,
.footer {
    max-width: 100vw;
    overflow-x: hidden;
}

/* 7. Any element with a .container class already has a max-width,
   but let’s be safe */
.container {
    max-width: var(--container);    /* your 1280px variable */
    width: 100%;
    box-sizing: border-box;
}

/* 8. Finally, ensure no margin/padding from Astra pushes content right */
body.page-template-page-venturis-home #page,
body.page-template-page-venturis-home .site-content,
body.page-template-page-venturis-home #content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}