/* =============================================================
   ECLIPSE LOGISTICS SOLUTIONS — styles.css
   1. Tokens
   2. Reset & base
   3. Utilities
   4. Typography
   5. Components
   6. Sections
   7. Effects
   8. Responsive
   9. Reduced motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  /* Eclipse corporate — deep navy eclipsed sky + amber corona */
  --bg:        #060a12;
  --bg-2:      #0b111c;
  --bg-3:      #121a28;
  --bg-4:      #182234;
  --ink:       #eef2f7;
  --ink-soft:  #c6d0dd;
  --ink-mute:  #7c8798;
  --accent:    #f2a93c;   /* amber corona */
  --accent-2:  #ff7a45;   /* ember edge */
  --accent-dim: rgba(242,169,60,0.14);
  --cool:      #4fd1ff;   /* rim light, sparing use */
  --line:      rgba(238,242,247,0.10);
  --line-soft: rgba(238,242,247,0.06);
  --paper:     #f4f2ee;

  --display: "Space Grotesk", "Inter", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 84px;
  --container: 1240px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  min-height: 100svh;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--display); color: var(--ink); font-weight: 600; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}
.container-wide {
  width: min(100% - 2rem, 1440px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

.section {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: .9rem; }
.section-head p { font-size: 1.05rem; margin-top: 1rem; max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =============================================================
   4. Typography
   ============================================================= */
.h-display {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: .98;
}
.text-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 62ch;
}
em { font-style: normal; color: var(--accent); }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #17110a;
  box-shadow: 0 10px 30px -8px rgba(242,169,60,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(242,169,60,.6); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: .7rem 1.3rem; font-size: .85rem; }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), height .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(6,10,18,.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  height: 72px;
}
.nav-inner {
  width: min(100% - 2.4rem, 1400px);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  color: var(--ink);
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  display: block;
  object-fit: contain;
}
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .sub { font-size: .58rem; letter-spacing: .16em; color: var(--ink-mute); font-family: var(--mono); margin-top: .3rem; text-transform: uppercase; }

.nav-links {
  display: none;
  align-items: center; gap: 2.1rem;
  font-size: .92rem; font-weight: 500;
}
.nav-links a { position: relative; color: var(--ink-soft); padding: .3rem 0; transition: color .3s var(--ease-out); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--accent); transition: right .35s var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: .8rem; }

.lang-toggle {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
}
.lang-toggle button {
  padding: .38rem .7rem; border-radius: 999px; color: var(--ink-mute);
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.lang-toggle button[aria-pressed="true"] { background: var(--accent); color: #17110a; }

.nav-burger {
  display: flex; flex-direction: column; gap: 5px; width: 26px;
}
.nav-burger span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .35s var(--ease-out); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 400;
  background: rgba(6,10,18,.98); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; padding: 2rem 1.5rem;
  gap: .3rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a { font-family: var(--display); font-size: 1.6rem; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.mobile-menu .mobile-cta { margin-top: 1.5rem; }

/* --- Cards --- */
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card::before {
  content: "";
  position: absolute; inset: -1px;
  background: radial-gradient(240px circle at var(--mx,50%) var(--my,50%), var(--accent-dim), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(242,169,60,.35); transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(0,0,0,.6); }
.card-icon {
  width: 46px; height: 46px;
  color: var(--accent);
  margin-bottom: 1.3rem;
}
.card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.card p { font-size: .95rem; color: var(--ink-mute); }

/* --- Stat --- */
.stat { text-align: left; }
.stat .num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--ink);
  display: flex; align-items: baseline; gap: .15rem;
}
.stat .num .suffix { font-size: .55em; color: var(--accent); }
.stat .label { margin-top: .5rem; font-size: .85rem; color: var(--ink-mute); letter-spacing: .02em; }

/* --- Badge / pill list (equipment, certifications) --- */
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--ink-soft);
  background: var(--bg-2);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.pill-row { display: flex; flex-wrap: wrap; gap: .7rem; }

/* --- Checklist --- */
.check-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .98rem;
  color: var(--ink-soft);
}
.check-list li:last-child { border-bottom: 0; }
.check-list svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: .1rem; }

/* --- Marquee --- */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; width: max-content;
  gap: 3.2rem;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--display); font-weight: 600; font-size: 1.25rem;
  color: var(--ink-mute);
  white-space: nowrap;
  transition: color .3s var(--ease-out);
  display: flex; align-items: center; gap: .5rem;
}
.marquee-item:hover { color: var(--ink); }
.marquee-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* --- Client / carrier tile grid --- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.tile {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 14px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  font-family: var(--display); font-weight: 600;
  color: var(--ink-soft);
  font-size: .98rem;
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out), color .4s var(--ease-out), background .4s var(--ease-out);
}
.tile:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-4px); background: var(--bg-3); }

/* --- Form --- */
.form-grid { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .8rem; letter-spacing: .04em; color: var(--ink-mute); text-transform: uppercase; font-family: var(--mono); }
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .85rem 1rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .96rem;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--bg-3);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--ink-mute); margin-top: .5rem; }
.form-status { font-size: .88rem; margin-top: .8rem; min-height: 1.2em; }
.form-status.is-ok { color: var(--accent); }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  gap: 2.6rem;
}
.footer-brand p { font-size: .92rem; margin-top: 1rem; max-width: 34ch; color: var(--ink-mute); }
.footer h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-family: var(--mono); margin-bottom: 1.1rem; font-weight: 500; }
.footer-links li { margin-bottom: .75rem; }
.footer-links a { font-size: .95rem; color: var(--ink-soft); transition: color .3s var(--ease-out); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .82rem; color: var(--ink-mute);
}
.footer-social { display: flex; gap: .9rem; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: border-color .3s var(--ease-out), color .3s var(--ease-out); }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero (home) --- */
.hero {
  position: relative;
  z-index: 0;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #0d1526 0%, var(--bg) 60%);
}
.eclipse-orb {
  position: absolute;
  top: 50%; right: 6%;
  translate: 0 -50%;
  width: min(58vw, 620px); height: min(58vw, 620px);
  z-index: 0;
  opacity: .95;
}
.eclipse-orb .disc {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #1c2740, #05070c 70%);
  box-shadow: 0 0 140px 20px rgba(242,169,60,.12);
}
.eclipse-orb .corona {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from var(--mesh-angle), var(--accent-2), var(--accent), transparent 24%, transparent 76%, var(--accent-2));
  filter: blur(26px);
  animation: coronaSpin 26s linear infinite;
  -webkit-mask-image: radial-gradient(circle, transparent 45%, #000 47%, #000 55%, transparent 58%);
  mask-image: radial-gradient(circle, transparent 45%, #000 47%, #000 55%, transparent 58%);
}
@keyframes coronaSpin { to { --mesh-angle: 360deg; } }
.eclipse-orb .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(242,169,60,.18);
}
.eclipse-orb .ring.r2 { inset: -8%; border-color: rgba(242,169,60,.09); }

.route-map {
  position: absolute; inset: 0; z-index: 0;
  opacity: .55;
  pointer-events: none;
}
.route-map path.route {
  fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: .55;
  stroke-dasharray: 8 7;
  animation: dashFlow 6s linear infinite;
}
.route-map path.route.alt { stroke: var(--cool); opacity: .35; animation-duration: 8s; }
@keyframes dashFlow { to { stroke-dashoffset: -300; } }
.route-map circle.node {
  fill: var(--accent);
  animation: nodePulse 2.4s ease-in-out infinite;
}
.route-map circle.node.n2 { animation-delay: .5s; }
.route-map circle.node.n3 { animation-delay: 1s; }
@keyframes nodePulse { 0%,100% { opacity: .5; r: 3.5; } 50% { opacity: 1; r: 5; } }

.hero-inner { position: relative; z-index: 2; max-width: 760px; padding-block: 3rem; }
.hero-meta {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; color: var(--ink-mute);
  margin-bottom: 1.6rem; text-transform: uppercase;
}
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); animation: dotBreathe 2.4s ease-in-out infinite; }
@keyframes dotBreathe { 0%,100% { opacity: .6; } 50% { opacity: 1; } }
.hero h1 { margin-bottom: 1.4rem; }
.hero .text-lede { margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 4vw, 3.2rem); padding-top: 2rem; border-top: 1px solid var(--line); }

/* --- Page hero (inner pages) --- */
.page-hero {
  position: relative;
  z-index: 0;
  padding: calc(var(--nav-h) + 4.5rem) 0 4rem;
  overflow: hidden;
  background: radial-gradient(ellipse 100% 60% at 50% -20%, #0d1526 0%, var(--bg) 65%);
  border-bottom: 1px solid var(--line);
}
.page-hero .eclipse-orb { width: 340px; height: 340px; right: -80px; top: 20%; opacity: .5; }
.page-hero-inner { position: relative; z-index: 2; max-width: 780px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 1rem; }
.page-hero .text-lede { margin-top: 1.1rem; }

/* --- Trust bar --- */
.trust-bar {
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
  background: var(--bg-2);
}
.trust-bar .pill-row { justify-content: center; }

/* --- Services grid --- */
.services-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(1, 1fr);
}

/* --- Showcase (services pinned strip / equipment) --- */
.equip-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.equip-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  background: var(--bg-2);
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out);
}
.equip-item:hover { border-color: var(--accent); transform: translateY(-4px); }
.equip-item .n { font-family: var(--mono); font-size: .75rem; color: var(--accent); }
.equip-item h4 { margin-top: .5rem; font-size: 1.02rem; color: var(--ink); font-family: var(--display); font-weight: 600; }

/* --- Split (about / mission-vision) --- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.split .num-big {
  font-family: var(--display); font-size: 4.5rem; color: var(--accent-dim);
  font-weight: 700; line-height: 1; -webkit-text-stroke: 1px rgba(242,169,60,.4); color: transparent;
}

/* --- Value cards --- */
.value-grid {
  display: grid; gap: 1.2rem; grid-template-columns: 1fr;
}

.principles-grid {
  display: grid;
  gap: 1.2rem;
}
.principle-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(20,29,44,.98), rgba(11,17,28,.94)),
    var(--bg-3);
}
.principle-card::after {
  content: attr(data-principle);
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(4.8rem, 10vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(242,169,60,.13);
}
.principle-card .eyebrow,
.principle-card .text-lede { position: relative; z-index: 1; }
.principle-card .text-lede { max-width: 48ch; }

.equipment-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.equipment-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(242,169,60,.08), transparent 42%);
  pointer-events: none;
}
.equipment-section .container { position: relative; }
.equipment-section .section-head { margin-inline: auto; }
.equipment-grid {
  display: grid;
  gap: 1.2rem;
}
.equipment-card {
  position: relative;
  min-height: 230px;
  padding: clamp(1.6rem, 4vw, 2.2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(20,29,44,.96), rgba(11,17,28,.98));
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.equipment-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 68%);
  opacity: .65;
}
.equipment-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242,169,60,.34);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.equipment-index {
  display: block;
  margin-bottom: clamp(2.7rem, 6vw, 4.2rem);
  color: var(--accent);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
}
.equipment-card h3 { font-size: 1.2rem; }
.equipment-card p { margin-top: .65rem; color: var(--ink-mute); line-height: 1.65; }

/* --- Coverage map section --- */
.coverage {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.coverage-map {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  overflow: hidden;
  min-height: 340px;
}
.coverage-map svg { width: 100%; height: auto; display: block; }
.coverage-legend { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.6rem; }
.coverage-legend .item { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--ink-mute); }
.coverage-legend .sw { width: 10px; height: 10px; border-radius: 3px; }

/* --- Timeline / process --- */
.process-list { counter-reset: step; display: grid; gap: 1.4rem; }
.process-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem;
  padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft);
}
.process-item:last-child { border-bottom: 0; padding-bottom: 0; }
.process-item .idx {
  font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--accent);
}
.process-item h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.process-item p { font-size: .92rem; color: var(--ink-mute); }

/* --- CTA band --- */
.cta-band {
  position: relative;
  border-radius: 28px;
  padding: clamp(2.6rem, 6vw, 4.5rem);
  background: linear-gradient(145deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-dim), transparent 70%);
  top: -220px; left: 50%; translate: -50% 0;
  filter: blur(10px);
}
.cta-band h2 { position: relative; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 620px; margin-inline: auto; }
.cta-band .text-lede { position: relative; margin-inline: auto; margin-top: 1rem; }
.cta-band .hero-actions { position: relative; justify-content: center; margin-top: 2rem; margin-bottom: 0; }

/* --- Contact page --- */
.contact-grid {
  display: grid;
  gap: 2.4rem;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem;
  background: var(--bg-3);
}
.contact-card + .contact-card { margin-top: 1.2rem; }
.contact-card h4 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-family: var(--mono); margin-bottom: .7rem; font-weight: 500; }
.contact-card p, .contact-card a { font-size: 1rem; color: var(--ink); }
.contact-card .muted { color: var(--ink-mute); font-size: .9rem; margin-top: .3rem; }
.map-embed { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/11; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.92) contrast(.9); }
.location-map {
  width: min(100%, 900px);
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-2);
}
.location-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: .5rem .5rem 1.3rem;
}
.location-map-head h3 { margin-top: .55rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.location-map-head address { color: var(--ink-mute); font-style: normal; line-height: 1.6; }
.location-map .map-embed { aspect-ratio: 16 / 8.5; }

.location-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.location-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: 50%;
  top: 48%;
  border: 1px solid rgba(242,169,60,.09);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 90px rgba(242,169,60,.025), 0 0 0 180px rgba(242,169,60,.018);
  pointer-events: none;
}
.location-section .container { position: relative; }
.location-section .section-head { margin-inline: auto; }
.location-section .section-head p { margin-inline: auto; }
.location-feature {
  position: relative;
  width: min(100%, 720px);
  margin-inline: auto;
  padding: clamp(2.2rem, 6vw, 4rem);
  text-align: center;
  border: 1px solid rgba(242,169,60,.22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20,29,44,.96), rgba(11,17,28,.96));
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
.location-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(242,169,60,.13), transparent 48%);
  pointer-events: none;
}
.location-feature > * { position: relative; }
.location-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
}
.location-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(242,169,60,.12);
}
.location-feature h3 {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.location-feature address {
  margin: 1rem auto 1.8rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-style: normal;
  line-height: 1.7;
}

/* --- Photography (added for rebrand) --- */
.hero-media, .page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: grayscale(.5) brightness(.5) contrast(1.08);
}
.hero.has-photo::after, .page-hero.has-photo::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, var(--bg) 0%, rgba(6,10,18,.92) 30%, rgba(6,10,18,.6) 56%, rgba(6,10,18,.28) 100%);
}
.page-hero.has-photo::after {
  background: linear-gradient(100deg, var(--bg) 0%, rgba(6,10,18,.94) 40%, rgba(6,10,18,.66) 64%, rgba(6,10,18,.3) 100%);
}

.media-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.media-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.35) contrast(1.05);
  transition: transform .6s var(--ease-out), filter .6s var(--ease-out);
}
.media-frame:hover img { transform: scale(1.04); filter: grayscale(0) contrast(1.05); }
.media-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,10,18,.5) 100%);
  pointer-events: none;
}

.cert-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}
.cert-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, .72fr) minmax(0, 1.28fr);
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242,169,60,.11), transparent 40%),
    var(--bg-2);
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.cert-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 72%);
  opacity: .75;
}
.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242,169,60,.35);
  box-shadow: 0 22px 55px rgba(0,0,0,.22);
}
.cert-logo {
  display: grid;
  place-items: center;
  padding: 1.8rem;
  background: #fff;
  border-right: 1px solid rgba(11,17,28,.09);
}
.cert-logo img {
  display: block;
  width: 100%;
  max-width: 220px;
  max-height: 128px;
  object-fit: contain;
}
.cert-copy {
  align-self: center;
  padding: clamp(1.7rem, 4vw, 2.5rem);
}
.cert-copy h3 {
  margin: .8rem 0 .65rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}
.cert-copy p {
  max-width: 48ch;
  color: var(--ink-mute);
  line-height: 1.7;
}
.cert-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cert-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(242,169,60,.12);
}

.tile-photo { padding: 1.1rem 1rem; background: var(--paper); display: flex; align-items: center; justify-content: center; }
.tile-photo img { width: 100%; height: 34px; object-fit: contain; display: block; filter: grayscale(1) opacity(.75); transition: filter .35s var(--ease-out), opacity .35s var(--ease-out); }
.tile-photo:hover { background: #ffffff; }
.tile-photo:hover img { filter: grayscale(0) opacity(1); }

/* =============================================================
   7. Effects
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 70ms); }

[data-count-to] { font-variant-numeric: tabular-nums; }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none;
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 30px; height: 30px; margin: -15px;
  border: 1px solid var(--accent); border-radius: 50%;
  z-index: 9998; pointer-events: none; mix-blend-mode: difference;
  transition: opacity .3s var(--ease-out), width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out);
  opacity: 0;
}
.cursor-ring.is-ready { opacity: .8; }
.cursor-ring.is-hover { width: 54px; height: 54px; margin: -27px; }

@media (hover: none), (pointer: coarse) { .cursor-ring { display: none; } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .equip-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipment-card:last-child { grid-column: 1 / -1; width: calc(50% - .6rem); justify-self: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 539px) {
  .nav-cta > .btn { display: none; }
  .nav-inner { padding-inline: 1rem; }
  .cert-card { grid-template-columns: 1fr; }
  .cert-logo { min-height: 170px; border-right: 0; border-bottom: 1px solid rgba(11,17,28,.09); }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .mobile-menu { display: none; }
  .split { grid-template-columns: .8fr 1.2fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .tile-grid { grid-template-columns: repeat(5, 1fr); }
  .equip-strip { grid-template-columns: repeat(5, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipment-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .equipment-card { grid-column: span 2; }
  .equipment-card:nth-child(4) { grid-column: 2 / span 2; }
  .equipment-card:last-child { grid-column: 4 / span 2; width: auto; justify-self: stretch; }
}

@media (min-width: 1280px) {
  .value-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   9. Reduced motion — only truly intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .eclipse-orb .corona { animation-duration: 60s; }
  .route-map path.route { animation: none; stroke-dasharray: none; }
}
