/* J&D Print — cyan / teal-black redesign (mock-aligned) */

:root {
  --bg: #011822;
  --bg-deep: #011822;
  --bg-elevated: #0a2430;
  --bg-card: #0c2834;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(0, 230, 195, 0.28);

  --cyan: #00e6c3;
  --cyan-bright: #2affd6;
  --cyan-dim: rgba(0, 230, 195, 0.14);
  --cyan-glow: rgba(0, 230, 195, 0.35);

  --white: #ffffff;
  --text: #e8eef2;
  --muted: #9aadb8;
  --ink: #041018;

  --font-display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1240px;
  --nav-h: 5.15rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0.85rem;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--text);
  background: #011822;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.on-light {
  background: rgba(4, 14, 20, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  /* Default / scrolled: align with main .container column */
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  transition: width 0.4s var(--ease);
}

/* Desktop top-of-home: logo lines up with hero left copy column */
@media (min-width: 961px) {
  .site-header:not(.is-scrolled):not(.on-light) .header-inner {
    width: min(100% - 0.5rem, 1500px);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
}

.brand-logo {
  width: clamp(168px, 26vw, 220px);
  height: auto;
  display: block;
}

/* Header bar is always dark — keep white-ink logo.
   Black-ink (.brand-logo--on-light) only if header itself is white (.is-on-white). */
.site-header .brand-logo--on-light {
  display: none;
}

.site-header .brand-logo--on-dark {
  display: block;
}

.site-header.is-on-white .brand-logo--on-dark {
  display: none;
}

.site-header.is-on-white .brand-logo--on-light {
  display: block;
}

.nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.28rem;
  border-radius: var(--radius-pill);
  background: rgba(12, 28, 36, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.nav-link {
  position: relative;
  padding: 0.68rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 1.02rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link[aria-current="page"],
.nav-link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item.has-dropdown > .nav-link--parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item.has-dropdown > .nav-link--parent::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-item.has-dropdown.is-open > .nav-link--parent::after,
.nav-item.has-dropdown:hover > .nav-link--parent::after {
  transform: rotate(225deg);
  margin-top: 0.2rem;
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0.2rem);
  min-width: 13.5rem;
  margin: 0;
  padding: 0.55rem 0.4rem 0.4rem; /* top padding = hover bridge (no dead gap) */
  list-style: none;
  border-radius: 0.9rem;
  background: rgba(6, 18, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 60;
}

/* Invisible hit area above panel so cursor never leaves :hover */
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.75rem;
  height: 0.75rem;
}

.nav-item.has-dropdown:hover > .nav-dropdown,
.nav-item.has-dropdown:focus-within > .nav-dropdown,
.nav-item.has-dropdown.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__link {
  display: block;
  padding: 0.7rem 0.95rem;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.nav-dropdown__link:hover,
.nav-dropdown__link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
}

.nav-dropdown__link[aria-current="page"],
.nav-dropdown__link.is-active {
  color: var(--cyan-bright);
  background: rgba(0, 230, 195, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.22rem;
  border-radius: var(--radius-pill);
  background: rgba(12, 28, 36, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lang-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 750;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lang-btn.is-active {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 0 18px rgba(0, 230, 195, 0.35);
}

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(8, 24, 32, 0.7);
  padding: 0.65rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--white);
  border-radius: 2px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.35rem;
  padding: 0.95rem 1.65rem;
  border-radius: 0.7rem;
  font-weight: 750;
  font-size: 1.05rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 230, 195, 0.22);
}

.btn-primary:hover {
  background: var(--cyan-bright);
  box-shadow: 0 0 32px rgba(0, 230, 195, 0.4);
}

.btn-ghost,
.btn-outline,
.btn-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-ghost:hover,
.btn-outline:hover,
.btn-dark:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-actions .btn {
  min-width: 11.5rem;
}

.btn-arrow::after {
  content: "→";
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1;
}

/* —— Hero (two-column) —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 0.15rem) 0 0;
  overflow-x: clip;
  overflow-y: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Matches hero-ring-updated.jpg plate */
  background: #011822;
}

.hero.is-animated .hero-media {
  animation: heroDrift 24s ease-in-out infinite alternate;
}

.hero-grid {
  position: relative;
  z-index: 1;
  /* wider than page --max so visual can match mock scale */
  width: min(100% - 0.5rem, 1500px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.5fr);
  gap: clamp(0.25rem, 1.25vw, 1rem);
  align-items: center;
  padding: 0.5rem 0 0.35rem;
  flex: 1;
}

.hero-copy {
  max-width: 36rem;
  padding-bottom: 0.5rem;
  z-index: 2;
}

.hero-kicker {
  margin: 0 0 1.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.hero-brand {
  position: relative;
  display: inline-block;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  /* Solid wordmark — no gloss / sheen */
  color: #e8eef2;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-brand .accent {
  display: inline;
  color: var(--cyan);
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

.hero-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 18ch;
}

/* Tasteful text gloss on kicker / headline (brand wordmark stays solid) */
.hero.is-animated .hero-kicker,
.hero.is-animated .hero-title {
  will-change: filter, text-shadow;
}

.hero-lead {
  margin: 0 0 1.9rem;
  color: #9fb3bf;
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-visual {
  position: relative;
  justify-self: end;
  align-self: center;
  /* larger graphic vs copy — still responsive */
  width: min(145%, clamp(820px, 66vw, 1240px));
  margin: -1rem -3.5rem -6rem -1rem;
  aspect-ratio: 1583 / 993;
  /* do NOT isolate — ring plate matches page bg */
  overflow: visible;
  z-index: 1;
}

/* Wrappers: entrance on img, ambient drift on shell, spin on img */
.hero-visual__ring {
  position: absolute;
  left: -4%;
  top: -14%;
  width: 148%;
  z-index: 0;
  pointer-events: none;
  transform-origin: 55% 55%;
  will-change: transform;
  overflow: visible;
}

/* Bottom 35% fade on ring only */
.hero-visual__ring-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform-origin: 50% 48%;
  /* JPG plate is #011822 — same as page; no blend needed */
  mix-blend-mode: normal;
  will-change: transform, opacity;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 65%,
    rgba(0, 0, 0, 0.45) 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 65%,
    rgba(0, 0, 0, 0.45) 82%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero.is-animated .hero-visual__ring {
  animation: ringDrift 18s ease-in-out 1.15s infinite alternate;
}

.hero.is-animated .hero-visual__ring-img {
  /* Fade in, then slow continuous spin */
  animation:
    ringIn 1.25s var(--ease) 0.1s forwards,
    ringSpin 58s linear 1.35s infinite;
}

.hero-visual__equip {
  position: relative;
  z-index: 1;
  width: 100%;
  will-change: transform;
  overflow: visible;
  /* Keep mix-blend sheen inside this group so it cannot wash the hero bg */
  isolation: isolate;
}

/*
  Sheen band clipped to the equipment PNG’s own alpha (not a separate hard mask,
  not luminance). mask URL must stay in sync with .hero-visual__equipment src.
  Size/position mirror the img box (100% × 100% of .hero-visual__equip).
*/
.hero-visual__sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, 0.16) 43%,
    rgba(0, 230, 195, 0.55) 50%,
    rgba(255, 255, 255, 0.32) 56%,
    rgba(255, 255, 255, 0) 66%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 240% 240%;
  background-position: 145% 28%;
  mix-blend-mode: screen;
  /* Same asset as <img.hero-visual__equipment> — respects PNG/WebP alpha */
  -webkit-mask-image: url("../img/hero-equipment.png");
  mask-image: url("../img/hero-equipment.png");
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  -webkit-mask-source-type: alpha;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: 0;
  will-change: background-position, opacity;
}

.hero-visual__equipment {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  background: transparent;
  opacity: 0;
  transform: translateY(1.35rem) scale(0.985);
  position: relative;
  z-index: 1;
  /* filter pulse only paints this img’s own (alpha) pixels */
  transform-origin: center center;
}

.hero.is-animated .hero-visual__equip {
  animation: equipFloat 9s ease-in-out 1.4s infinite alternate;
}

.hero.is-animated .hero-visual__equipment {
  animation:
    equipIn 1.1s var(--ease) 0.4s forwards,
    equipGlossPulse 7.5s linear 0.55s infinite;
}

.hero.is-animated .hero-visual__sheen {
  animation: equipSheenSoft 7.5s linear 0.55s infinite;
}

/* Feature strip — solid plate above hero bg / ring / equipment */
.feature-strip {
  position: relative;
  z-index: 6;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #011822;
}

.feature-strip-inner {
  /* Match hero-grid horizontal span on desktop */
  width: min(100% - 0.5rem, 1500px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  perspective: 960px;
  perspective-origin: 50% 40%;
}

.feature-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.05rem;
  align-items: start;
  padding: 1.7rem 1.35rem 1.85rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  border-radius: 0.35rem;
  /* overflow visible so scale/shadow can lift forward; sheen stays inset */
  overflow: visible;
  isolation: isolate;
  transform: translate3d(0, 0, 0) scale(1);
  transform-style: preserve-3d;
  opacity: 1;
  will-change: transform, box-shadow, opacity;
  transition:
    background 0.28s var(--ease),
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    opacity 0.28s var(--ease),
    z-index 0s;
}

/* Soft cyan gloss sweep — CSS-only, alpha via opacity (no luminance mask) */
.feature-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.05) 45%,
    rgba(0, 230, 195, 0.16) 50%,
    rgba(255, 255, 255, 0.08) 54%,
    rgba(255, 255, 255, 0) 62%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 240% 140%;
  background-position: 145% 40%;
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: featureSheen 8s linear infinite;
}

.feature-item:nth-child(1)::before {
  animation-delay: 0.35s;
}
.feature-item:nth-child(2)::before {
  animation-delay: 1.85s;
}
.feature-item:nth-child(3)::before {
  animation-delay: 3.35s;
}
.feature-item:nth-child(4)::before {
  animation-delay: 4.85s;
}

.feature-item > * {
  position: relative;
  z-index: 1;
}

a.feature-item:hover,
a.feature-item:focus-visible {
  z-index: 12;
  opacity: 0.85;
  background: rgba(0, 230, 195, 0.08);
  transform: translate3d(0, -0.55rem, 36px) scale(1.055);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.5),
    0 8px 20px rgba(0, 230, 195, 0.12),
    0 0 0 1px rgba(0, 230, 195, 0.28);
}

a.feature-item:hover::before,
a.feature-item:focus-visible::before {
  animation-duration: 6.5s;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 36%,
    rgba(255, 255, 255, 0.08) 44%,
    rgba(0, 230, 195, 0.22) 50%,
    rgba(255, 255, 255, 0.12) 55%,
    rgba(255, 255, 255, 0) 64%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 240% 140%;
}

a.feature-item:hover .feature-icon,
a.feature-item:focus-visible .feature-icon {
  color: var(--cyan);
  transform: scale(1.18);
  filter:
    brightness(1.25)
    drop-shadow(0 0 8px rgba(0, 230, 195, 0.85))
    drop-shadow(0 0 20px rgba(0, 230, 195, 0.55));
}

a.feature-item:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.feature-item:last-child {
  border-right: 0;
}

.feature-icon {
  width: 2.35rem;
  height: 2.35rem;
  margin-top: 0.1rem;
  color: var(--cyan);
  filter:
    drop-shadow(0 0 6px rgba(0, 230, 195, 0.55))
    drop-shadow(0 0 16px rgba(0, 230, 195, 0.35));
  flex-shrink: 0;
  transform-origin: center center;
  transition:
    transform 0.25s var(--ease),
    color 0.25s var(--ease),
    filter 0.25s var(--ease);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.feature-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.5vw, 1.42rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.feature-item span {
  display: block;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: #9fb3bf;
  line-height: 1.45;
}

/* Hero entrance */
.hero .reveal-item {
  opacity: 0;
  transform: translateY(1.2rem);
}

.hero.is-animated .hero-kicker.reveal-item {
  animation:
    riseIn 0.7s var(--ease) 0.05s forwards,
    textSheen 6.5s linear 0.7s infinite;
}

.hero.is-animated .hero-brand.reveal-item {
  animation: wordmarkRise 0.95s var(--ease) 0.12s forwards;
}

.hero.is-animated .hero-brand.reveal-item .accent {
  animation: none;
}

.hero.is-animated .hero-title.reveal-item {
  animation:
    riseIn 0.8s var(--ease) 0.28s forwards,
    textSheen 6.5s linear 1.1s infinite;
}

.hero.is-animated .hero-lead.reveal-item {
  animation: riseIn 0.8s var(--ease) 0.42s forwards;
}

.hero.is-animated .hero-actions.reveal-item {
  animation: riseIn 0.8s var(--ease) 0.56s forwards;
}

/* Container stays visible — layers own the staggered entrance */
.hero .hero-visual.reveal-item,
.hero.is-animated .hero-visual.reveal-item {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes heroDrift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.04) translate(-1%, 0.6%); }
}

@keyframes ringIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Slow continuous rotation — tasteful, almost imperceptible */
@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Continuous directional gloss — start/end keep the band off-glyph (no hard reset) */
@keyframes brandSheen {
  0% {
    background-position: 200% 50%;
  }
  100% {
    background-position: -100% 50%;
  }
}

/* Legacy alias — continuous linear sweep (band off-canvas at both ends) */
@keyframes equipSheen {
  0% {
    opacity: 0.7;
    background-position: 145% 28%;
  }
  100% {
    opacity: 0.7;
    background-position: -40% 78%;
  }
}

/* Feature-strip cell gloss — continuous linear sweep, no mid-cycle pause */
@keyframes featureSheen {
  0% {
    opacity: 0.55;
    background-position: 145% 40%;
  }
  100% {
    opacity: 0.55;
    background-position: -35% 70%;
  }
}

/* Equipment sheen — continuous linear sweep; gradient ends are transparent */
@keyframes equipSheenSoft {
  0% {
    opacity: 0.62;
    background-position: 145% 28%;
  }
  100% {
    opacity: 0.62;
    background-position: -40% 78%;
  }
}

/* Alpha-safe: continuous mild brightness pulse on equipment PNG pixels */
@keyframes equipGlossPulse {
  0%,
  100% {
    filter: brightness(1) saturate(1) contrast(1);
  }
  50% {
    filter: brightness(1.06) saturate(1.03) contrast(1.01);
  }
}

@keyframes equipIn {
  from {
    opacity: 0;
    transform: translateY(1.35rem) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes textSheen {
  0%,
  100% {
    filter: brightness(1);
    text-shadow: 0 0 0 transparent;
  }
  50% {
    filter: brightness(1.1);
    text-shadow:
      0 0 14px rgba(0, 230, 195, 0.22),
      0 0 2px rgba(255, 255, 255, 0.28);
  }
}

/* Slow halo drift — opposite bias to equipment float */
@keyframes ringDrift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(2.2%, 1.4%) scale(1.04);
  }
}

/* Soft float / counter-parallax on gear */
@keyframes equipFloat {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(-1.5%) translateX(-0.75%);
  }
}

@keyframes wordmarkRise {
  from {
    opacity: 0;
    transform: translateY(1.5rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-muted {
  background: rgba(0, 0, 0, 0.22);
}

.section-ink,
.solutions-overview {
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 230, 195, 0.08), transparent 40%),
    linear-gradient(180deg, #011822, #011822);
  color: var(--white);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
}

.section-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.seo-block p {
  color: var(--muted);
}

.seo-block a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(0, 230, 195, 0.35);
  text-underline-offset: 0.18em;
}

.seo-block a:hover {
  color: var(--cyan-bright);
}

/* Jump / pill / CTA — beat .seo-block a color (cyan-on-cyan was unreadable) */
.seo-block .service-jump a,
.seo-block a.btn,
.service-jump a,
a.btn {
  text-decoration: none;
}

.seo-block a.btn-primary,
.seo-block a.btn-primary:hover,
.seo-block a.btn-primary:focus-visible {
  color: var(--ink);
  background: var(--cyan);
  border-color: transparent;
  text-decoration: none;
}

.seo-block a.btn-primary:hover,
.seo-block a.btn-primary:focus-visible {
  background: var(--cyan-bright);
  color: var(--ink);
}

.seo-block a.btn-ghost,
.seo-block a.btn-outline,
.seo-block a.btn-dark,
.seo-block a.btn-ghost:hover,
.seo-block a.btn-outline:hover,
.seo-block a.btn-dark:hover {
  color: var(--white);
  text-decoration: none;
}

.seo-block a.btn-ghost:hover,
.seo-block a.btn-outline:hover,
.seo-block a.btn-dark:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.seo-block .service-jump a {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
}

.seo-block .service-jump a:hover,
.seo-block .service-jump a:focus-visible {
  color: var(--cyan-bright);
  border-color: var(--cyan);
  background: rgba(0, 230, 195, 0.1);
  text-decoration: none;
}

.seo-block strong {
  color: var(--white);
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Zig-zag: media on the left, copy on the right (desktop) */
.split.split--flip > :first-child {
  order: 2;
}

.split.split--flip > :last-child {
  order: 1;
}

@media (min-width: 961px) {
  .split.split--flip {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.service-cta {
  margin-top: 1.75rem;
}

.service-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.service-jump a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
  font-size: 1rem;
  font-weight: 650;
  color: var(--white);
  text-decoration: none;
}

.service-jump a:hover,
.service-jump a:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan-bright);
  background: rgba(0, 230, 195, 0.1);
  text-decoration: none;
}

/* Visual panels */
.visual-panel {
  position: relative;
  min-height: clamp(280px, 42vw, 420px);
  border-radius: var(--radius);
  overflow: hidden;
  background: #050d12;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--line-strong);
}

.visual-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 2;
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan));
}

.visual-panel__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
}

.visual-label {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
  color: var(--white);
}

/* Feature grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-grid li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.feature-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--white);
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Solutions overview */
.solutions-overview .eyebrow {
  color: var(--cyan);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.solution-tile {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--white);
  transition: transform 0.35s var(--ease);
}

.solution-tile:hover {
  transform: translateY(-4px);
}

.solution-tile__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: #050d12;
  box-shadow: 0 0 0 1px var(--line-strong), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.solution-tile__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-tile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.3;
}

/* Illustration banners */
.illust-banner {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #050d12;
  border: 1px solid var(--line);
}

.illust-banner img {
  width: 100%;
  height: auto;
  max-height: min(56vw, 480px);
  object-fit: cover;
}

.illust-banner--in-section {
  margin-top: 2.5rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 2.5rem;
}

.page-hero .section-title {
  max-width: 18ch;
}

.contact-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 2rem;
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-nap {
  display: grid;
  gap: 1rem;
}

.nap-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.nap-accent {
  width: 4px;
  border-radius: 4px;
  background: var(--cyan);
}

.nap-accent--red { background: #ff5a5a; }
.nap-accent--blue { background: #4da3ff; }
.nap-accent--gold { background: var(--cyan); }

.nap-item .label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.nap-value {
  margin: 0;
  color: var(--white);
}

.nap-value--lg {
  font-size: 1.35rem;
  font-weight: 650;
}

.nap-value a,
.nap-link {
  color: var(--cyan);
}

.nap-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 1rem;
}

.contact-map-section {
  padding: 0 0 3rem;
}

.contact-map {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.contact-map img {
  width: 100%;
  height: auto;
}

.contact-map-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-seo h2 {
  font-family: var(--font-display);
  color: var(--white);
}

.product-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.chip {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 650;
}

.product-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Legal */
.legal-card,
.todo {
  /* keep readable on dark */
}

.legal-block,
[data-lang-block] .todo,
.todo {
  color: #ffd27a;
}

main .legal-doc,
.page-hero + .section .container > div {
  color: var(--muted);
}

/* CTA band */
.cta-band {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(0, 230, 195, 0.16), transparent 45%),
    linear-gradient(135deg, #04141c, #0a2430);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.cta-band .section-title {
  margin-inline: auto;
}

.cta-band p {
  color: var(--muted);
  max-width: 36ch;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: #030b10;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .brand-logo {
  width: 180px;
  height: auto;
  margin-bottom: 0.85rem;
}

/* Footer is dark — keep white-ink logo */
.footer-brand .brand-logo--on-light {
  display: none;
}

.footer-brand .brand-logo--on-dark {
  display: block;
}

.site-footer h4 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--white);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a:hover {
  color: var(--cyan);
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 1.05rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    padding: calc(var(--nav-h) + 0.85rem) 0 1rem;
    overflow-x: clip;
    overflow-y: visible;
  }

  .hero-grid,
  .split,
  .contact-hero-inner,
  .product-block {
    grid-template-columns: 1fr;
  }

  .split.split--flip > :first-child,
  .split.split--flip > :last-child {
    order: 0;
  }

  .hero-grid {
    width: min(100% - 3rem, 1500px);
    gap: 0.85rem;
    padding: 1rem 0 0.65rem;
  }

  .hero-copy {
    max-width: none;
    padding: 0.5rem 0 1.25rem;
  }

  .hero-kicker {
    letter-spacing: 0.12em;
    line-height: 1.45;
    white-space: normal;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-actions .btn {
    min-width: 0;
    flex: 1 1 auto;
  }

  .feature-strip {
    z-index: 6;
  }

  .feature-strip-inner {
    width: min(100% - 3rem, 1500px);
  }

  .hero-visual {
    justify-self: center;
    align-self: center;
    order: -1;
    width: min(108%, 760px);
    margin: 0 auto -1.75rem;
    aspect-ratio: 1583 / 993;
    min-height: 0;
  }

  .hero-visual__ring {
    left: 0;
    top: -6%;
    width: 132%;
  }

  .feature-strip-inner,
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    display: none;
    position: fixed;
    inset: var(--nav-h) 1rem auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: 1rem;
    background: rgba(4, 14, 20, 0.96);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    margin: 0.15rem 0 0.35rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
  }

  .nav-item.has-dropdown.is-open > .nav-dropdown {
    display: grid;
    transform: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

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

@media (max-width: 560px) {
  .feature-strip-inner,
  .feature-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: calc(var(--nav-h) + 1rem) 0 1.15rem;
  }

  .hero-grid {
    width: min(100% - 3.5rem, 1500px);
    padding: 0.65rem 0 0.5rem;
  }

  .hero-copy {
    padding: 0.35rem 0 1.35rem;
    max-width: 100%;
  }

  .hero-kicker {
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    max-width: 100%;
  }

  .hero-title {
    max-width: none;
  }

  .hero-lead {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .feature-strip-inner {
    width: min(100% - 3.5rem, 1500px);
  }

  .feature-item {
    padding: 1.35rem 0.15rem 1.45rem;
  }

  .hero-brand {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
  }

  body {
    font-size: 1.1rem;
  }

  .nav-link {
    font-size: 1.08rem;
    padding: 0.75rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .hero .reveal-item,
  .hero.is-animated .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .hero-visual__ring,
  .hero.is-animated .hero-visual__ring,
  .hero-visual__equip,
  .hero.is-animated .hero-visual__equip,
  .hero-visual__ring-img,
  .hero.is-animated .hero-visual__ring-img,
  .hero-visual__equipment,
  .hero.is-animated .hero-visual__equipment {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    will-change: auto;
  }

  .hero-visual__sheen,
  .hero.is-animated .hero-visual__sheen {
    opacity: 0 !important;
    animation: none !important;
    visibility: hidden !important;
  }

  .feature-item::before {
    opacity: 0 !important;
    animation: none !important;
    visibility: hidden !important;
  }

  .hero-brand,
  .hero.is-animated .hero-brand,
  .hero-brand .accent,
  .hero.is-animated .hero-brand .accent {
    animation: none !important;
    filter: none !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .hero.is-animated .hero-visual__equipment {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .hero.is-animated .hero-kicker,
  .hero.is-animated .hero-brand,
  .hero.is-animated .hero-title {
    filter: none !important;
    text-shadow: none !important;
  }

  .hero-media,
  .hero.is-animated .hero-media,
  .hero-media::after,
  .hero.is-animated .hero-media::after {
    animation: none !important;
    transform: none !important;
  }
}


/* Legal / prose on dark theme */
.legal-doc,
.section .container > .legal-block,
[class*="privacy"],
[class*="terms"] {
  color: var(--muted);
}

.section h2,
.section h3,
.section h4 {
  color: var(--white);
  font-family: var(--font-display);
}

.section table,
.section ul:not(.feature-grid):not(.service-jump) {
  color: var(--muted);
}

.section a:not(.btn):not(.nav-link) {
  color: var(--cyan);
}
