/* ==========================================================================
   Navita Origo — Scenes
   Hero, telemetry console, wellbore column, coverage map, page blocks.
   All visuals are CSS/SVG — no photography.
   ========================================================================== */

/* ============================================================ HOME HERO == */

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  padding: clamp(60px, 9vw, 110px) 0 clamp(50px, 7vw, 90px);
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
  width: 100%;
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  margin-bottom: 26px;
  overflow-wrap: break-word;
}

/* The one warm accent on an otherwise cold page — earns attention */
.hero h1 em {
  font-style: normal;
  background: linear-gradient(115deg, var(--cyan-glow) 8%, var(--amber-hi) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  font-size: clamp(1.02rem, 1.65vw, 1.19rem);
  color: var(--fog);
  max-width: 54ch;
  margin-bottom: 34px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 44px;
}

/* Live status pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: 100px;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.pill__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35e08a;
  box-shadow: 0 0 9px #35e08a;
}

.pill__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #35e08a;
  animation: ping 2.4s var(--ease) infinite;
}

@keyframes ping {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }
  80%,
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* Inline metric strip under the hero copy */
.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 46px);
  padding-top: 30px;
  border-top: 1px solid var(--edge);
}

.hero__metric b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.7vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.1;
}

.hero__metric span {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ------------------------------------------------- hero: rig + strata art */

.hero__art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__art svg {
  position: absolute;
  bottom: -6%;
  left: 50%;
  transform: translateX(-44%);
  width: min(108%, 1320px);
  height: 88%;
  opacity: 0.52;
}

@media (max-width: 980px) {
  .hero__art svg {
    width: 175%;
    opacity: 0.26;
  }
}

/* Slow drift of the strata beneath the rig — geological, not flashy */
.strata-drift {
  animation: drift 26s ease-in-out infinite alternate;
}

@keyframes drift {
  to {
    transform: translateY(-9px);
  }
}

/* The drill string descending the wellbore */
.bit-travel {
  animation: descend 7s var(--ease) infinite;
}

@keyframes descend {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(26px);
  }
}

/* Data pulses rising from the bit to surface — the product, visualised */
.uplink {
  stroke-dasharray: 4 190;
  animation: uplink 3.4s linear infinite;
}

.uplink--b {
  animation-delay: 1.1s;
}

.uplink--c {
  animation-delay: 2.2s;
}

@keyframes uplink {
  from {
    stroke-dashoffset: 194;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ======================================================= TELEMETRY PANEL == */
/* A stylised NDM console. Reads as a real product screenshot at a glance,
   but it is entirely markup — so it stays crisp and weighs nothing. */

.console {
  position: relative;
  z-index: 3;
  border-radius: 17px;
  background: linear-gradient(165deg, rgba(0, 38, 64, 0.94), rgba(0, 17, 30, 0.97));
  border: 1px solid var(--edge-hi);
  box-shadow: var(--lift-3), 0 0 70px -30px rgba(36, 139, 202, 0.65);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  background: rgba(0, 10, 20, 0.62);
  border-bottom: 1px solid var(--edge);
}

.console__dots {
  display: flex;
  gap: 6px;
}

.console__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(168, 194, 212, 0.26);
}

.console__title {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--slate);
}

.console__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: #35e08a;
}

.console__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #35e08a;
  box-shadow: 0 0 7px #35e08a;
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

.console__body {
  padding: 19px;
}

/* Read-outs */
.readouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 15px;
}

.readout {
  padding: 11px 13px;
  background: rgba(109, 190, 245, 0.055);
  border: 1px solid rgba(109, 190, 245, 0.13);
  border-radius: 9px;
}

.readout span {
  display: block;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 4px;
}

.readout b {
  font-family: var(--mono);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--cyan-glow);
}

.readout b small {
  font-size: 0.6rem;
  color: var(--slate);
  margin-left: 2px;
}

.readout--warn b {
  color: var(--amber-hi);
}

/* Trace chart */
.trace {
  position: relative;
  height: 128px;
  padding: 10px;
  background: rgba(0, 8, 16, 0.5);
  border: 1px solid rgba(109, 190, 245, 0.11);
  border-radius: 9px;
  margin-bottom: 15px;
  overflow: hidden;
}

.trace svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* The sweep line — a live-plot feel without redrawing anything */
.trace__sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 46px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(109, 190, 245, 0.16)
  );
  animation: sweep 5.5s linear infinite;
}

@keyframes sweep {
  from {
    transform: translateX(-46px);
  }
  to {
    transform: translateX(calc(100% + 460px));
  }
}

.trace__draw {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: draw 4.5s var(--ease) forwards;
}

.trace__draw--b {
  animation-delay: 0.5s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Depth ladder */
.ladder {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 40px;
}

.ladder i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--cyan-hi), rgba(36, 139, 202, 0.16));
  transform-origin: bottom;
  animation: bar 3.6s var(--ease) infinite alternate;
}

@keyframes bar {
  from {
    transform: scaleY(0.35);
  }
  to {
    transform: scaleY(1);
  }
}

/* Floating badge clipped to the console corner */
.console__badge {
  position: absolute;
  right: -14px;
  bottom: -14px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  background: rgba(0, 24, 41, 0.96);
  border: 1px solid var(--edge-hi);
  border-radius: 12px;
  box-shadow: var(--lift-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.console__badge svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--amber-hi);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.console__badge b {
  display: block;
  font-family: var(--display);
  font-size: 0.92rem;
  color: var(--white);
  line-height: 1.25;
}

.console__badge span {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

@media (max-width: 560px) {
  .console__badge {
    position: static;
    margin-top: 14px;
  }

  .readouts {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================================= LOGO MARQUEE == */

.marquee {
  padding: 30px 0;
  border-block: 1px solid var(--edge);
  background: rgba(0, 10, 19, 0.4);
}

.marquee__label {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 20px;
}

.marquee__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4.5vw, 58px);
  align-items: center;
}

.marquee__row span {
  font-family: var(--display);
  font-size: clamp(0.78rem, 1.5vw, 0.96rem);
  font-weight: 600;
  letter-spacing: 0.055em;
  color: var(--slate);
  opacity: 0.72;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.marquee__row span:hover {
  color: var(--cyan-hi);
  opacity: 1;
}

/* ============================================================= FEATURES == */

.feature {
  position: relative;
}

/* Number watermark behind each capability card */
.feature__ghost {
  position: absolute;
  top: -6px;
  right: 14px;
  font-family: var(--display);
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(109, 190, 245, 0.055);
  pointer-events: none;
  user-select: none;
}

/* ======================================================== WELLBORE LIST == */
/* Vertical process rail — the spine reads as a wellbore, markers as stages */

.bore {
  position: relative;
  padding-left: 46px;
}

.bore::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--cyan) 0%,
    rgba(36, 139, 202, 0.42) 55%,
    rgba(245, 166, 35, 0.5) 100%
  );
  border-radius: 2px;
}

.bore__step {
  position: relative;
  padding-bottom: 38px;
}

.bore__step:last-child {
  padding-bottom: 0;
}

.bore__step::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--abyss);
  border: 2px solid var(--cyan-hi);
  box-shadow: 0 0 0 4px rgba(36, 139, 202, 0.14);
}

.bore__step h3 {
  margin-bottom: 0.35em;
}

.bore__step .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-hi);
  margin-bottom: 7px;
}

/* ============================================================ FIELD SHOT == */
/* Real wellsite photography. It is a bright daylight image, so it is framed and
   graded slightly cooler to sit inside the subsurface palette rather than
   fighting it. */

.fieldshot {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--edge);
  box-shadow: var(--lift-3);
}

.fieldshot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1500 / 774;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02) brightness(0.94);
}

/* Bottom scrim so the caption stays legible over the photograph */
.fieldshot figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(46px, 8vw, 74px) clamp(18px, 3vw, 30px) clamp(16px, 2.4vw, 24px);
  font-size: clamp(0.84rem, 1.5vw, 0.95rem);
  color: var(--mist);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 12, 22, 0.72) 42%,
    rgba(0, 10, 19, 0.93)
  );
}

.fieldshot figcaption strong {
  color: var(--white);
}

@media (max-width: 560px) {
  .fieldshot img {
    aspect-ratio: 4 / 3;
  }
}

/* ============================================================== CALLOUT == */

.callout {
  position: relative;
  padding: clamp(34px, 5.5vw, 62px);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(36, 139, 202, 0.155),
    rgba(0, 27, 46, 0.55)
  );
  border: 1px solid var(--edge-hi);
  overflow: hidden;
  text-align: center;
}

.callout::before {
  content: "";
  position: absolute;
  inset: -55% 28% auto;
  height: 150%;
  background: radial-gradient(
    ellipse at 50% 0,
    rgba(109, 190, 245, 0.2),
    transparent 62%
  );
  pointer-events: none;
}

.callout > * {
  position: relative;
}

.callout h2 {
  max-width: 19ch;
  margin-inline: auto;
}

.callout p {
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: 30px;
}

.callout__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
}

/* ============================================================== CONTACT == */

.mailcard {
  display: block;
  position: relative;
  padding: clamp(26px, 3.4vw, 36px);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.058),
    rgba(255, 255, 255, 0.016)
  );
  border: 1px solid var(--edge);
  border-radius: 16px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.mailcard:hover {
  transform: translateY(-4px);
  border-color: var(--edge-hi);
  box-shadow: var(--lift-2);
}

.mailcard__addr {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: clamp(0.85rem, 1.7vw, 1rem);
  color: var(--cyan-hi);
  margin-top: 18px;
  word-break: break-word;
}

.mailcard__addr svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.mailcard:hover .mailcard__addr svg {
  transform: translateX(3px);
}

/* Office detail list */
.detail {
  display: flex;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--edge);
}

.detail:last-child {
  border-bottom: 0;
}

.detail__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(36, 139, 202, 0.14);
  border: 1px solid rgba(109, 190, 245, 0.2);
}

.detail__ico svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--cyan-hi);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 4px;
}

.detail dd {
  margin: 0;
  font-size: 0.93rem;
  color: var(--mist);
  line-height: 1.6;
}

.detail dd a:hover {
  color: var(--cyan-hi);
}

/* ========================================================= COVERAGE MAP == */

.coverage {
  position: relative;
  padding: clamp(24px, 3.4vw, 40px);
  background: linear-gradient(165deg, rgba(0, 32, 54, 0.6), rgba(0, 15, 27, 0.75));
  border: 1px solid var(--edge);
  border-radius: 18px;
  overflow: hidden;
}

.coverage__plot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.coverage__plot svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Operating markers laid over the archipelago */
.node {
  transform-origin: center;
  animation: nodepulse 3.6s ease-in-out infinite;
}

.node--b {
  animation-delay: 0.8s;
}

.node--c {
  animation-delay: 1.6s;
}

.node--d {
  animation-delay: 2.4s;
}

@keyframes nodepulse {
  0%,
  100% {
    opacity: 0.45;
    r: 5;
  }
  50% {
    opacity: 1;
    r: 8;
  }
}

/* Supplied photographic map. It is a bright, light-ground image, so it gets a
   contained frame and a slight warm-down rather than bleeding into the page. */
.coverage__plot--photo {
  aspect-ratio: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #cfe6f5;
  border: 1px solid var(--edge);
}

.coverage__plot--photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.92) brightness(0.97);
}

.coverage__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--edge);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.coverage__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.coverage__legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-hi);
  box-shadow: 0 0 8px rgba(109, 190, 245, 0.8);
}

.coverage__legend i.amber {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.8);
}

/* ============================================================== ALLIANCE == */

.alliance {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 14px;
  box-shadow: var(--lift-2);
}

.alliance img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.alliance p {
  margin: 0;
  font-size: 0.86rem;
  color: #3c5567;
  max-width: 40ch;
}

/* Module cards on the software page */
.module__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-hi);
  padding: 5px 11px;
  background: rgba(36, 139, 202, 0.12);
  border: 1px solid rgba(109, 190, 245, 0.2);
  border-radius: 100px;
}

/* ================================================================ MISC == */

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  font-size: 0.94rem;
  color: var(--fog);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(36, 139, 202, 0.2);
  border: 1px solid var(--cyan-hi);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 11px;
  width: 4px;
  height: 7px;
  border-right: 1.6px solid var(--cyan-glow);
  border-bottom: 1.6px solid var(--cyan-glow);
  transform: rotate(42deg);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--edge), transparent);
  border: 0;
  margin: 0;
}
