/* ============================================
   AE CUTTING — design system
   ============================================ */

:root {
  /* core palette - pulled from the logo */
  --bg-deep:        #050810;
  --bg-base:        #080d18;
  --bg-mid:         #0a1020;
  --bg-raised:      #0c1428;
  --bg-elevated:    #101830;

  --silver-100:     #f5f7fa;
  --silver-200:     #d8dee8;
  --silver-300:     #b8c2d0;
  --silver-400:     #8a98ac;
  --silver-500:     #6a7888;
  --silver-600:     #3a4655;
  --silver-700:     #2a3645;

  --blue-100:       #8ec8ff;
  --blue-200:       #4ab4ff;
  --blue-300:       #1e9fff;
  --blue-400:       #0a7acc;
  --blue-500:       #07599a;
  --blue-glow:      rgba(30, 159, 255, 0.4);

  --text-primary:   var(--silver-100);
  --text-secondary: var(--silver-300);
  --text-muted:     var(--silver-400);
  --text-accent:    var(--blue-300);

  --border-faint:   rgba(180, 200, 230, 0.08);
  --border-soft:    rgba(180, 200, 230, 0.15);
  --border-blue:    rgba(30, 159, 255, 0.4);

  --silver-grad:    linear-gradient(180deg, #f5f7fa 0%, #b8c2d0 50%, #6a7888 100%);
  --blue-grad:      linear-gradient(180deg, #4ab4ff 0%, #1e9fff 60%, #0a7acc 100%);

  --shadow-blue:    0 4px 24px rgba(30, 159, 255, 0.25);
  --shadow-card:    0 12px 40px rgba(0, 0, 0, 0.5);

  /* type */
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --easing: cubic-bezier(0.4, 0, 0.2, 1);
  --easing-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   reset + base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
}

/* full-page atmospheric background */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(30, 159, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(30, 159, 255, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 50%, var(--bg-deep) 100%);
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='5'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.55  0 0 0 0 0.7  0 0 0 0.4 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================
   typography
   ============================================ */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: var(--silver-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h-display {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.h-1 { font-size: clamp(40px, 5.5vw, 64px); letter-spacing: -0.03em; }
.h-2 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.025em; }
.h-3 { font-size: clamp(22px, 2.5vw, 28px); }

.blue-text {
  background: var(--blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { margin: 0 0 var(--space-4); color: var(--text-secondary); }
p.muted { color: var(--text-muted); }

/* numerical / monospace data labels */
.mono {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1, 'ss01' 1;
  letter-spacing: 0;
}

/* tag — the small uppercase eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-300);
  padding: 5px var(--space-3);
  border: 1px solid var(--border-blue);
  background: rgba(30, 159, 255, 0.06);
  border-radius: 100px;
  white-space: nowrap;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-300);
  box-shadow: 0 0 8px var(--blue-glow);
}

/* service index number (only used where sequence carries meaning - the services index) */
.section-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ============================================
   layout
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 var(--space-6); }

@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 var(--space-5); }
}

/* ============================================
   header / nav
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(5, 8, 16, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-faint);
  transition: background 0.3s var(--easing);
}
.site-header.scrolled {
  background: rgba(5, 8, 16, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.nav-logo-mark {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 0 transparent);
  transition: filter 0.3s var(--easing);
}
.nav-brand:hover .nav-logo-mark {
  filter: drop-shadow(0 0 12px rgba(30, 159, 255, 0.4));
}
/* Hide the redundant text wordmark since the real logo includes "CUTTING" already */
.nav-wordmark { display: none; }
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.32em;
  background: var(--silver-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  gap: var(--space-7);
  align-items: center;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: var(--space-2) 0;
  transition: color 0.2s var(--easing);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--blue-300);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--easing);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}
.nav-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px var(--space-4);
  background: var(--blue-grad);
  color: var(--bg-deep) !important;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--border-blue), 0 4px 16px rgba(30, 159, 255, 0.15);
  transition: all 0.25s var(--easing);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--blue-200), 0 8px 24px rgba(30, 159, 255, 0.35);
}

/* mobile menu */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  position: relative;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s var(--easing);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    flex-direction: column;
    justify-content: flex-start;
    padding: 96px var(--space-6) var(--space-7);
    gap: var(--space-4);
    transform: translateY(-100%);
    transition: transform 0.4s var(--easing-out);
    pointer-events: none;
    visibility: hidden;
  }
  .nav-links.is-open {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  .nav-link {
    font-size: 22px;
    letter-spacing: 0.08em;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-faint);
    width: 100%;
    color: var(--text-primary);
  }
  .nav-cta {
    font-size: 13px;
    margin-top: var(--space-5);
    text-align: center;
    width: 100%;
    justify-content: center;
  }
  /* hero: stack on mobile */
  .hero { padding: var(--space-7) 0 var(--space-7); min-height: auto; }
  .hero-logo { width: 72px; height: 72px; margin-bottom: var(--space-5); }
  .hero h1.h-display { font-size: 56px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { gap: var(--space-4); }
  .btn { padding: 12px var(--space-5); font-size: 11px; }
}

@media (max-width: 480px) {
  .hero h1.h-display { font-size: 44px; }
}

/* ============================================
   hero — homepage
   ============================================ */
main {
  padding-top: 80px;
}
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  padding: 30px 0 var(--space-9);
  overflow: hidden;
}

/* concrete material backdrop - actual concrete-like texture */
.hero-concrete-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.concrete-texture {
  position: absolute;
  inset: 0;
  background-image:
    /* large speckle - aggregate stones */
    radial-gradient(circle at 10% 30%, rgba(180, 195, 210, 0.04) 0%, transparent 8%),
    radial-gradient(circle at 35% 70%, rgba(180, 195, 210, 0.03) 0%, transparent 6%),
    radial-gradient(circle at 75% 20%, rgba(180, 195, 210, 0.05) 0%, transparent 7%),
    radial-gradient(circle at 90% 60%, rgba(180, 195, 210, 0.03) 0%, transparent 9%),
    radial-gradient(circle at 60% 85%, rgba(180, 195, 210, 0.04) 0%, transparent 5%),
    radial-gradient(circle at 20% 90%, rgba(180, 195, 210, 0.03) 0%, transparent 6%),
    radial-gradient(circle at 50% 40%, rgba(180, 195, 210, 0.03) 0%, transparent 8%);
}
.concrete-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='c'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' seed='17'/><feColorMatrix values='0 0 0 0 0.7  0 0 0 0 0.75  0 0 0 0 0.85  0 0 0 0.18 0'/></filter><rect width='400' height='400' filter='url(%23c)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.concrete-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800'><filter id='cc'><feTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.2  0 0 0 0 0.25  0 0 0 0 0.35  0 0 0 0.5 0'/></filter><rect width='800' height='800' filter='url(%23cc)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.4;
}
.concrete-shadow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 70% at 30% 50%, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
}

/* technical blueprint lines - sparse, hand-placed */
.hero-blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(30, 159, 255, 0.08) 50%, transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent 0, transparent calc(33% - 1px), rgba(180, 195, 210, 0.06) 33%, transparent calc(33% + 1px)),
    linear-gradient(0deg, transparent 0, transparent calc(67% - 1px), rgba(180, 195, 210, 0.04) 67%, transparent calc(67% + 1px));
  mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 30%, transparent 80%);
}

.hero-bg-glow {
  position: absolute;
  top: 30%; right: 5%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(30, 159, 255, 0.18), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite;
  z-index: 0;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* ----- LIVE JOB TICKER ----- */
.hero-ticker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto var(--space-7);
  padding: 0 var(--space-6);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 14px;
  font-weight: 700;
  color: var(--bg-deep);
  background: #4ade80;
  border-radius: 2px 0 0 2px;
  letter-spacing: 0.2em;
  font-size: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.ticker-label .live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bg-deep);
  animation: tickerBlink 1s ease-in-out infinite;
}
@keyframes tickerBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  background: rgba(5, 8, 16, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-faint);
  border-left: none;
  border-radius: 0 2px 2px 0;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.ticker-content {
  display: flex;
  width: max-content;
  padding: 10px 0;
  animation: tickerScroll 50s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 var(--space-7);
  color: var(--text-secondary);
  white-space: nowrap;
}
.ticker-arrow { color: var(--blue-300); font-size: 9px; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----- HERO LAYOUT ----- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--space-8);
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 1;
}
.hero-text-block {
  max-width: 720px;
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ----- HERO HEADLINE WITH KERF CUT ----- */
.hero h1 {
  margin-bottom: var(--space-5);
}
.hero .h-display {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.88;
  background: none;
  -webkit-text-fill-color: inherit;
  color: inherit;
}
.hero-headline {
  display: block;
  position: relative;
}
.hero-headline .line-1,
.hero-headline .line-2 {
  display: block;
}
.hero-headline .line-1 {
  background: var(--silver-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-headline .line-2 {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
}
.hero-headline .word-cut {
  background: var(--silver-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-right: 0.28em;
}
.hero-headline .word-clean {
  position: relative;
  display: inline-block;
}
.hero-headline .word-clean-text {
  background: var(--blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(30, 159, 255, 0.35));
}
.hero-headline .period {
  color: var(--blue-300);
  filter: drop-shadow(0 0 16px rgba(30, 159, 255, 0.6));
}

/* the kerf cut — a thin glowing diagonal slice through "clean" */
.kerf-line {
  position: absolute;
  top: 55%;
  left: -10%;
  width: 120%;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(74, 180, 255, 0.2) 8%,
    rgba(74, 180, 255, 0.9) 35%,
    #fff 50%,
    rgba(74, 180, 255, 0.9) 65%,
    rgba(74, 180, 255, 0.2) 92%,
    transparent 100%);
  filter: blur(0.4px) drop-shadow(0 0 12px rgba(30, 159, 255, 0.9));
  transform: rotate(-2.5deg) translateX(-100%);
  animation: kerfSlice 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: 99px;
}
@keyframes kerfSlice {
  0% { transform: rotate(-2.5deg) translateX(-100%); opacity: 0; }
  15% { opacity: 1; }
  60% { transform: rotate(-2.5deg) translateX(0); opacity: 1; }
  100% { transform: rotate(-2.5deg) translateX(0); opacity: 0; }
}

/* sparks at the cut point */
.kerf-sparks {
  position: absolute;
  top: 55%;
  right: 5%;
  width: 4px; height: 4px;
  pointer-events: none;
}
.kerf-sparks .spark {
  position: absolute;
  inset: 0;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #4ab4ff, 0 0 12px #1e9fff;
  animation: sparkFly 4s ease-out infinite;
  opacity: 0;
}
.kerf-sparks .spark:nth-child(1) { --sx: 30px; --sy: -25px; animation-delay: 1.6s; }
.kerf-sparks .spark:nth-child(2) { --sx: 45px; --sy: -10px; animation-delay: 1.7s; }
.kerf-sparks .spark:nth-child(3) { --sx: 35px; --sy: 15px;  animation-delay: 1.8s; }
.kerf-sparks .spark:nth-child(4) { --sx: 50px; --sy: -30px; animation-delay: 1.9s; }
.kerf-sparks .spark:nth-child(5) { --sx: 25px; --sy: 25px;  animation-delay: 2.0s; }
.kerf-sparks .spark:nth-child(6) { --sx: 40px; --sy: 5px;   animation-delay: 2.1s; }
@keyframes sparkFly {
  0%, 35% { opacity: 0; transform: translate(0, 0) scale(1); }
  40% { opacity: 1; transform: translate(0, 0) scale(1.2); }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0.3); }
}

.hero-lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: var(--space-6);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
}
.hero-trust-row {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-faint);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-trust-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: rgba(30, 159, 255, 0.12);
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  color: var(--blue-300);
  font-size: 9px;
  font-weight: 700;
}
.hero-trust-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* primary button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 16px var(--space-6);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--easing);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--blue-grad);
  color: var(--bg-deep);
  box-shadow: 0 0 0 1px var(--border-blue), var(--shadow-blue);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--easing);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--blue-200), 0 12px 32px rgba(30, 159, 255, 0.45);
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary .arrow {
  display: inline-block;
  transition: transform 0.25s var(--easing);
}
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-soft);
}
.btn-ghost:hover {
  border-color: var(--border-blue);
  background: rgba(30, 159, 255, 0.05);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 14.5px;
  letter-spacing: 0.05em;
  padding: var(--space-3) 0;
  transition: color 0.2s var(--easing);
}
.phone-link:hover { color: var(--blue-300); }
.phone-link .phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(30, 159, 255, 0.1);
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  color: var(--blue-300);
}
.phone-link .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  position: relative;
  flex-shrink: 0;
}
.phone-link .live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #4ade80;
  animation: livePulse 1.8s ease-out infinite;
}
.hero-status .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  position: relative;
  display: inline-block;
}
.hero-status .live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #4ade80;
  animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

/* technical frame around drill rig */
.drill-rig-area {
  position: relative;
  width: 360px;
  height: 540px;
}
.drill-rig-frame {
  position: absolute;
  inset: -16px 20px -16px 20px;
  pointer-events: none;
}
.drill-rig-frame::before,
.drill-rig-frame::after {
  content: '';
  position: absolute;
  border: 1px solid var(--border-blue);
  width: 20px;
  height: 20px;
}
.drill-rig-frame::before {
  top: 0; left: 0;
  border-right: none;
  border-bottom: none;
}
.drill-rig-frame::after {
  bottom: 0; right: 0;
  border-left: none;
  border-top: none;
}
.drill-rig-frame .rig-crosshair {
  position: absolute;
  top: 50%; left: 50%;
  width: 24px; height: 24px;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.drill-rig-frame > div[class^="rig-spec"] {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--blue-300);
  opacity: 0.7;
}
.rig-spec-tl { top: -10px; left: -8px; padding: 2px 6px; background: var(--bg-deep); }
.rig-spec-tr { top: -10px; right: -8px; padding: 2px 6px; background: var(--bg-deep); }
.rig-spec-bl { bottom: -10px; left: -8px; padding: 2px 6px; background: var(--bg-deep); }
.rig-spec-br { bottom: -10px; right: -8px; padding: 2px 6px; background: var(--bg-deep); }

.drill-rig {
  position: relative;
  top: 0;
  margin-left: 20px;
  width: 320px;
  height: 540px;
  z-index: 5;
}
.rig-svg-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.rig-svg-stack svg {
  position: absolute;
  top: 0; left: 0;
}

/* scroll cue at the bottom */
.hero-scroll-cue {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  z-index: 2;
  transition: color 0.2s var(--easing);
}
.hero-scroll-cue:hover { color: var(--blue-300); }
.scroll-line {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--blue-300), transparent);
  position: relative;
}
.scroll-line::before {
  content: '';
  position: absolute;
  top: 0; left: -1px;
  width: 3px; height: 8px;
  background: var(--blue-300);
  animation: scrollDrip 2s ease-in-out infinite;
}
@keyframes scrollDrip {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(36px); opacity: 0; }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .drill-rig-area {
    display: none;
  }
  .hero-bg-glow {
    right: -200px;
    top: 10%;
  }
  .hero-scroll-cue { display: none; }
}

/* ============================================
   PROCESS STRIP — new section, the brand signature moment
   ============================================ */
.process-strip {
  position: relative;
  padding: var(--space-9) 0;
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
  background:
    linear-gradient(180deg, var(--bg-deep), var(--bg-base) 50%, var(--bg-deep));
  overflow: hidden;
}
.process-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='ps'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' seed='42'/><feColorMatrix values='0 0 0 0 0.7  0 0 0 0 0.75  0 0 0 0 0.85  0 0 0 0.08 0'/></filter><rect width='400' height='400' filter='url(%23ps)'/></svg>");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.process-header {
  text-align: center;
  margin-bottom: var(--space-8);
}
.process-header .eyebrow { margin-bottom: var(--space-4); }
.process-headline { color: var(--text-primary); }
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  position: relative;
  padding: var(--space-6) var(--space-5);
  text-align: left;
  background: rgba(8, 13, 24, 0.6);
  border: 1px solid var(--border-faint);
  border-right: none;
  transition: background 0.3s var(--easing), transform 0.3s var(--easing-out);
  cursor: default;
}
.process-step:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.process-step:last-child {
  border-right: 1px solid var(--border-faint);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
/* diagonal cut connector between steps */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0; right: -1px;
  width: 24px; height: 100%;
  background: linear-gradient(110deg,
    transparent 0%,
    transparent calc(50% - 1px),
    var(--blue-300) 50%,
    transparent calc(50% + 1px),
    transparent 100%);
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}
.process-step:hover {
  background: rgba(12, 20, 40, 0.8);
  transform: translateY(-2px);
}
.process-step:hover .process-step-icon {
  color: var(--blue-200);
  border-color: var(--blue-200);
  box-shadow: 0 0 20px rgba(30, 159, 255, 0.3);
}
.process-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--blue-300);
  margin-bottom: var(--space-5);
}
.process-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin-bottom: var(--space-4);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--blue-300);
  background: rgba(30, 159, 255, 0.04);
  transition: all 0.3s var(--easing);
}
.process-step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0 0 var(--space-3);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.process-step-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 880px) {
  .process-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step:nth-child(2) { border-right: 1px solid var(--border-faint); border-radius: 0 var(--radius-md) 0 0; }
  .process-step:nth-child(3) { border-radius: 0 0 0 var(--radius-md); border-top: none; }
  .process-step:nth-child(4) { border-radius: 0 0 var(--radius-md) 0; border-top: none; }
  .process-step:first-child { border-radius: var(--radius-md) 0 0 0; }
  .process-step:last-child { border-right: 1px solid var(--border-faint); }
  .process-step:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .process-flow { grid-template-columns: 1fr; }
  .process-step,
  .process-step:first-child,
  .process-step:last-child,
  .process-step:nth-child(2),
  .process-step:nth-child(3),
  .process-step:nth-child(4) {
    border-radius: 0;
    border-right: 1px solid var(--border-faint);
    border-top: 1px solid var(--border-faint);
  }
  .process-step:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .process-step:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .process-step::after { display: none; }
}

/* ============================================
   the long scroll section — drill descends here
   ============================================ */
.drill-scroll {
  position: relative;
  padding: var(--space-7) 0 var(--space-10);
}
.drill-scroll-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-8);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
}
.drill-scroll-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  padding-top: var(--space-7);
}
.scroll-rig-container {
  position: relative;
}
.scroll-rig-sticky {
  position: sticky;
  top: 120px;
  width: 320px;
  height: calc(100vh - 140px);
  max-height: 720px;
}

@media (max-width: 980px) {
  .drill-scroll-grid {
    grid-template-columns: 1fr;
  }
  .scroll-rig-container { display: none; }
  .drill-scroll-text { gap: var(--space-8); }
}

/* service entries */
.service-entry {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.8s var(--easing-out), transform 0.8s var(--easing-out);
}
.service-entry.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.service-entry-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.service-entry h2 {
  margin: var(--space-4) 0 var(--space-4);
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.025em;
}
.service-entry p {
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.service-entry .service-meta {
  display: inline-block;
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-entry .service-meta::before {
  content: '— ';
  color: var(--blue-300);
}

/* the closing impact zone */
.impact-zone {
  position: relative;
  padding: var(--space-9) 0 var(--space-10);
  margin-top: var(--space-7);
  text-align: center;
}
.impact-slab {
  height: 140px;
  background:
    linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 100%);
  border-top: 2px solid var(--blue-300);
  position: relative;
  margin-bottom: var(--space-7);
  overflow: hidden;
  box-shadow: 0 -2px 40px rgba(30, 159, 255, 0.15);
}
.impact-slab::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='29'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.3  0 0 0 0 0.28  0 0 0 0.5 0'/></filter><rect width='200' height='140' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.impact-point {
  position: absolute;
  top: -4px;
  /* horizontally aligned to the drill bit centre on desktop */
  right: calc(50% - 480px + 160px);
  width: 80px;
  height: 80px;
  transform: translateX(50%);
  pointer-events: none;
}
.impact-flash {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(30, 159, 255, 0.8), transparent 60%);
  filter: blur(10px);
  animation: impactFlash 2.2s ease-in-out infinite;
}
@keyframes impactFlash {
  0%, 100% { opacity: 0; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.3); }
}
.impact-crater {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 16px;
  background: radial-gradient(ellipse at top, #000 60%, transparent 90%);
  border-radius: 50%;
}
.impact-cracks {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 100px;
}
.impact-cracks line {
  stroke: rgba(5, 8, 16, 0.85);
  stroke-width: 1;
  fill: none;
  stroke-linecap: round;
}

@media (max-width: 980px) {
  .impact-point { right: 50%; }
}

.impact-zone h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: var(--space-4);
}
.impact-zone .contact-line {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
}
.impact-zone .contact-line a { color: var(--text-secondary); transition: color 0.2s; }
.impact-zone .contact-line a:hover { color: var(--blue-300); }

/* ============================================
   credibility strip — sits above the drill scroll
   ============================================ */
.cred-strip {
  position: relative;
  padding: var(--space-7) 0;
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
  background: rgba(5, 8, 16, 0.5);
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.cred-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.cred-value {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: var(--silver-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.cred-value .accent {
  background: var(--blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cred-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .cred-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}

/* ============================================
   footer
   ============================================ */
.site-footer {
  position: relative;
  padding: var(--space-8) 0 var(--space-6);
  border-top: 1px solid var(--border-faint);
  background: var(--bg-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-7);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.footer-brand-block {
  max-width: 360px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer-logo-mark {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.footer-wordmark { display: none; }
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.32em;
  background: var(--silver-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-tagline {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-4);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: var(--space-4);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--space-3); }
.footer-col a, .footer-col span {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s var(--easing);
}
.footer-col a:hover { color: var(--blue-300); }
.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-bottom-meta { display: flex; gap: var(--space-5); }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}

/* ============================================
   reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .service-entry { opacity: 1; transform: none; }
}

/* ============================================
   utility
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   SPLASH INTRO — homepage only
   ============================================ */
body.splash-active {
  overflow: hidden;
}
body.splash-active main,
body.splash-active .site-header,
body.splash-active .site-footer {
  opacity: 0;
  transition: opacity 0.8s var(--easing-out);
}
body.splash-revealed main,
body.splash-revealed .site-header,
body.splash-revealed .site-footer {
  opacity: 1;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* dark background that fades out */
.splash-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, #0c1428 0%, #050810 70%);
  transition: opacity 0.9s var(--easing-out);
}
.splash-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='c'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' seed='17'/><feColorMatrix values='0 0 0 0 0.7  0 0 0 0 0.75  0 0 0 0 0.85  0 0 0 0.1 0'/></filter><rect width='400' height='400' filter='url(%23c)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.splash-bg::after {
  /* radial spotlight pulse */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(30, 159, 255, 0.18), transparent 50%);
  animation: splashPulse 2.2s ease-in-out infinite;
}
@keyframes splashPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.splash-logo {
  width: clamp(240px, 28vw, 360px);
  height: auto;
  opacity: 0;
  transform: scale(0.85);
  filter: drop-shadow(0 0 0 transparent);
  animation: splashLogoIn 1.2s var(--easing-out) 0.1s forwards,
             splashLogoGlow 2.5s ease-in-out 1.0s infinite;
}
@keyframes splashLogoIn {
  0% { opacity: 0; transform: scale(0.85); filter: drop-shadow(0 0 0 transparent); }
  60% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 24px rgba(30, 159, 255, 0.35)); }
}
@keyframes splashLogoGlow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(30, 159, 255, 0.3)); }
  50% { filter: drop-shadow(0 0 36px rgba(30, 159, 255, 0.55)); }
}

.splash-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-300), transparent);
  animation: splashLineIn 0.9s var(--easing-out) 0.7s forwards;
}
@keyframes splashLineIn {
  to { width: clamp(180px, 22vw, 280px); }
}

.splash-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: splashTaglineIn 0.6s var(--easing-out) 1.1s forwards;
}
@keyframes splashTaglineIn {
  to { opacity: 1; }
}

/* the flight out — triggered by adding .splash-fly */
.splash.splash-fly .splash-logo {
  animation: splashLogoFly 1.0s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}
@keyframes splashLogoFly {
  0% {
    transform: translate(0, 0) scale(1);
    filter: drop-shadow(0 0 24px rgba(30, 159, 255, 0.5));
  }
  100% {
    /* fly up to nav header position - approximate top-left target */
    transform: translate(calc(-50vw + 80px), calc(-50vh + 36px)) scale(0.12);
    filter: drop-shadow(0 0 0 transparent);
  }
}
.splash.splash-fly .splash-line,
.splash.splash-fly .splash-tagline {
  animation: splashFadeOut 0.4s var(--easing-out) forwards;
}
.splash.splash-fly .splash-bg {
  opacity: 0;
}
@keyframes splashFadeOut {
  to { opacity: 0; transform: translateY(-20px); }
}

/* the splash gets removed entirely */
.splash.splash-done {
  display: none;
}

/* if user prefers reduced motion, skip the whole splash */
@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
  body.splash-active { overflow: auto; }
  body.splash-active main,
  body.splash-active .site-header,
  body.splash-active .site-footer { opacity: 1; }
}

/* ============================================
   ANIMATED HEADER LOGO
   subtle continuous animation on the nav logo
   ============================================ */
.nav-logo-mark {
  animation: navLogoBreathe 5s ease-in-out infinite;
}
@keyframes navLogoBreathe {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(30, 159, 255, 0.15)); }
  50% { filter: drop-shadow(0 0 12px rgba(30, 159, 255, 0.45)); }
}

