/* ============================================================
   AXYZ Design & CNC — style.css
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: dark;
  --navy:       #0b1624;
  --navy-mid:   #111f33;
  --teal-dark:  #0d2b2b;
  --teal:       #134040;
  --accent:     #3ecfbf;
  --accent-dim: rgba(62,207,191,0.15);
  --white:      #ffffff;
  --off-white:  #e8edf2;
  --muted:      #6b8499;
  --border:     rgba(255,255,255,0.08);
  --glass-blur:    16px;                   /* ← backdrop-filter intensity, all glass cards */
  --glass-blur-sm: 10px;                   /* ← lightweight panels (machine-group, honor-item) */
  --glass-bg:      rgba(11,22,36,0.6);     /* ← glass card background */
  --glass-bg-dark: rgba(11,22,36,0.65);    /* ← heavier glass (testimonials) */
  --glass-border:  rgba(255,255,255,0.08); /* ← card edge highlight */
  --grad-bg:       linear-gradient(145deg, #0b1624 0%, #111f33 35%, #0d2b2b 70%, #0b1a1a 100%);
  --grad-primary:  linear-gradient(45deg,  #0b1624 0%, #111f33 35%, #0d2b2b 70%, #0b1a1a 100%);
  --grad-tertiary: linear-gradient(315deg, #0b1624 0%, #111f33 35%, #0d2b2b 70%, #0b1a1a 100%);
  --grad-radial:   radial-gradient(ellipse at 50% 50%, #0e2a2a 0%, #111f33 35%, #0b1624 70%, #0b1a1a 100%);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  margin: 0;
  padding-top: 0;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; -webkit-tap-highlight-color: transparent; outline: none; }

/* Keyboard focus ring — only shown for keyboard navigation, not mouse clicks */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

body { cursor: none; }

/* === CUSTOM CURSOR === */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: fixed; top: -4px; left: -4px;
  pointer-events: none; z-index: 999999;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(62,207,191,0.5);
  border-radius: 50%;
  position: fixed; top: -17px; left: -17px;
  pointer-events: none; z-index: 999998;
}

.form-botcheck { display: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
  line-height: 1;
}

.label {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.label::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--navy);
  padding: 13px 28px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 13px 28px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); }
.btn-ghost .arrow { transition: transform 0.2s; }
.btn-ghost:hover .arrow { transform: translateX(5px); }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(62,207,191,0.3);
  border-radius: 6px;
  padding: 13px 28px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-accent:hover { border-color: rgba(62,207,191,0.6); }

/* === NAV === */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 56px;
  background: rgba(11,22,36,0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--navy);
  padding: 8px 20px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 9999;
  transition: top 0.15s;
}
.skip-nav:focus { top: 16px; }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  height: 60px;
  width: auto;
  /* logo is white on transparent — shows on dark bg */
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 1px;
}
.nav-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}
.nav-brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  -webkit-appearance: none;
}
.nav-hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* === HERO === */
#hero {
  min-height: 100vh;
  background: var(--grad-primary);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 110px 72px 80px;
  gap: 60px;
}

.hero-logo-wm {
  position: absolute;
  left: 0;
  top: 62%;
  transform: translate(-50%, -50%);
  width: clamp(840px, 104vw, 1440px);
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Background grid lines */
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(62,207,191,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62,207,191,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Rotating orbit rings in background */
.hero-orbits {
  position: absolute;
  right: 0; top: 50%;
  transform: translate(10%, -50%);
  width: 700px; height: 700px;
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(62,207,191,0.08);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-ring:nth-child(1) { width: 300px; height: 300px; border-color: rgba(62,207,191,0.14); animation: spin 30s linear infinite; }
.orbit-ring:nth-child(2) { width: 460px; height: 460px; animation: spin 45s linear infinite reverse; }
.orbit-ring:nth-child(3) { width: 620px; height: 620px; animation: spin 60s linear infinite; }

/* ============================================================
   HERO ORBITAL SYSTEM
   spin:           drifts translate(-50%,-50%) — sweeps far off-centre
   spin-soft:      drifts translate(-25%,-25%) — moderate sweep
   spin-center:    drifts translate(-12%,-12%) — stays near centre
   orbit-spin:     fixed translate(-50%,-50%) — pure rotation for top/left-centred elements
   corner-spin:    no translate — pure rotation for absolutely corner-positioned elements
   ============================================================ */
@keyframes spin        { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-soft   { to { transform: translate(-25%, -25%) rotate(360deg); } }
@keyframes spin-center { to { transform: translate(-12%, -12%) rotate(360deg); } }
@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes corner-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --- Orbit PNG: pure rotation, centred on video circle --- */
.hero-orbit-img {
  position: absolute;
  top: 50%; left: 50%;          /* anchors to centre of .hero-video-wrap */
  width: 1100px;                /* ← change to resize this outer ring */
  height: auto;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  animation: orbit-spin 18s linear infinite reverse; /* ← change 18s to adjust speed; remove 'reverse' to flip direction */
  filter: invert(1) sepia(1) hue-rotate(135deg) saturate(6); /* ← hue-rotate(135deg) = brand teal; adjust to recolour */
  mix-blend-mode: screen;       /* makes black transparent on dark backgrounds */
  opacity: 1;                   /* ← change to brighten or dim */
}

/* --- CSS Ring 3: sweep-out drift, same visual diam as ::after --- */
.hero-ring-3 {
  position: absolute;
  inset: -180px;                /* ← change to resize: visual diam = 494 + (2 × this) → currently 854px */
  border-radius: 50%;
  border: 1px solid rgba(62,207,191,0.10); /* ← last value = opacity; first three values = teal colour */
  animation: spin-soft 35s linear infinite; /* ← change 35s to adjust speed; swap keyframe to change drift amount */
}

/* --- Orbit PNG: drifting, largest ring, minimal off-screen sweep --- */
.hero-orbit-drift {
  position: absolute;
  inset: -510px;                /* ← change to resize: ring visual diam ≈ 0.291 × (494 + 2×this) → currently ~894px */
  object-fit: contain;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  animation: spin-center 42s linear infinite reverse; /* ← change 42s to adjust speed; swap keyframe for more/less drift */
  filter: invert(1) sepia(1) hue-rotate(135deg) saturate(6); /* ← hue-rotate(135deg) = brand teal */
  mix-blend-mode: screen;
  opacity: 1;                   /* ← change to brighten or dim */
}

/* --- Corner PNG: decorative orbit ring in lower-right hero corner ---
   Uses corner-spin (no translate) — orbit-spin would shift the element
   away from the corner. bottom/right set so the ring's centre sits ~80px
   inside the corner edge, creating a quarter-arc peek-in effect. */
.hero-corner-orbit {
  position: absolute;
  bottom: -160px;               /* ← change to move up/down; more negative = more clipped into corner */
  right: -160px;                /* ← change to move left/right; more negative = more clipped into corner */
  width: 480px;                 /* ← change to resize the corner ring (centre = half this value from anchor) */
  height: auto;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  animation: corner-spin 28s linear infinite; /* ← change 28s to adjust speed; add 'reverse' to flip direction */
  filter: invert(1) sepia(1) hue-rotate(135deg) saturate(6); /* ← hue-rotate(135deg) = brand teal */
  mix-blend-mode: screen;
  opacity: 1;                   /* ← change to brighten or dim */
  z-index: 0;
}

.hero-left {
  padding: 0;
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  margin-bottom: 24px;
}

.hero-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 6vw, 8rem);
  line-height: 0.92;
  margin-bottom: 8px;
}
.hero-heading-accent {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.8rem);
  color: var(--accent);
  display: block;
  margin-bottom: 32px;
  letter-spacing: 0.06em;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--off-white);
  opacity: 0.8;
  max-width: 420px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  padding: 10px 22px;
  white-space: nowrap;
}

/* Hero right — logo display */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  position: relative;
  z-index: 2;
}

.hero-video-wrap {
  position: relative;
  width: 494px;
  height: 494px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video-wrap::before {
  content: '';
  position: absolute; inset: -80px;
  border-radius: 50%;
  border: 1px solid rgba(62,207,191,0.15);
  animation: spin 25s linear infinite;
}
.hero-video-wrap::after {
  content: '';
  position: absolute; inset: -180px;
  border-radius: 50%;
  border: 1px solid rgba(62,207,191,0.07);
  animation: spin 40s linear infinite reverse;
}
.hero-video-circle {
  width: 494px;
  height: 494px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 0 35px rgba(62,207,191,0.25);
  animation: videoGlow 4s ease-in-out infinite;
}
.hero-video-circle::after {
  content: '▶';
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.9);
  background: rgba(11,22,36,0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.hero-video-circle:hover::after { opacity: 1; }
@keyframes videoGlow {
  0%, 100% { box-shadow: 0 0 35px rgba(62,207,191,0.25); }
  50%       { box-shadow: 0 0 70px rgba(62,207,191,0.55); }
}
.hero-video-player {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease;
}
.hero-video-player.active { opacity: 1; z-index: 2; }
.hero-video-player.prev   { opacity: 1; z-index: 1; transition: none; }

/* Hero bottom contact strip */
.hero-contact-strip {
  position: absolute;
  bottom: 40px; left: 72px;
  display: flex;
  gap: 36px;
  z-index: 3;
}
.hcs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.hcs-item svg { flex-shrink: 0; opacity: 0.6; }
.hcs-item a { color: var(--muted); transition: color 0.2s; }
.hcs-item a:hover { color: var(--accent); }

/* === MARQUEE === */
.marquee-bar {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-bar--reverse .marquee-track {
  animation-direction: reverse;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 36px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}
.marquee-sep {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.marquee-bar--accent .marquee-item {
  color: rgba(62, 207, 191, 0.55);
}
.marquee-bar--accent .marquee-sep {
  background: rgba(62, 207, 191, 0.35);
}

/* === SECTIONS BASE === */
section { padding: 110px 72px; }

/* ============================================================
   SITE-WIDE DECORATIVE SYSTEM
   Logo peeks: white PNG partially off-frame, opacity 1
   Orbit rings: teal (filter+screen blend), opacity 1
   Contact/CTA: full centred logo watermark, opacity 1
   Subtlety = positioning + clipping, NOT low opacity
   ============================================================ */

/* --- Peeking logo (edge/corner, partially off-frame) --- */
.section-deco-logo {
  position: absolute;
  pointer-events: none;
  -webkit-user-select: none; user-select: none;
  width: clamp(500px, 50vw, 700px); /* ← change to resize logo peek */
  height: auto;
  opacity: 0.05;                    /* ← change to show/hide logo peek */
  z-index: 0;
}

/* --- Orbit ring corner accent --- */
.section-deco-orbit {
  position: absolute;
  pointer-events: none;
  -webkit-user-select: none; user-select: none;
  width: 380px;               /* ← change to resize orbit accent */
  height: auto;
  filter: invert(1) sepia(1) hue-rotate(135deg) saturate(6); /* ← brand teal */
  mix-blend-mode: screen;     /* makes black transparent on dark backgrounds */
  opacity: 1;
  z-index: 0;
}

/* --- Full centred watermark (CTA / contact sections) --- */
.section-logo-wm {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  -webkit-user-select: none; user-select: none;
  width: clamp(500px, 65vw, 1000px); /* ← change to resize watermark */
  height: auto;
  opacity: 0.05;                 /* ← change to brighten or dim watermark */
  mix-blend-mode: screen;     /* makes black transparent on dark backgrounds; only works on dark sections */
  z-index: 0;
}

/* --- Per-section positioning (homepage) --- */
.services-deco-logo {
  top: 100px;      /* ← vertical position from top; adjust to slide up/down */
  right: -300px;   /* ← negative = partially off-frame; less negative = more visible (~57%) */
  transform: rotate(-8deg); /* ← tilt angle; negative = clockwise lean */
}
.services-deco-orbit {
  top: -140px;     /* ← more negative = deeper into corner */
  left: -140px;    /* ← more negative = deeper into corner */
  animation: corner-spin 38s linear infinite; /* ← change 38s to adjust speed; add 'reverse' to flip */
}
.about-deco-logo {
  bottom: -180px;  /* ← negative = peeks from below; adjust for more/less visible (~35%) */
  left: 8%;        /* ← horizontal position along bottom edge */
  transform: scaleX(-1) rotate(6deg); /* ← scaleX(-1) mirrors horizontally */
}
.about-deco-orbit {
  bottom: -140px;  /* ← corner depth */
  left: -140px;    /* ← corner depth */
  animation: corner-spin 44s linear infinite reverse; /* ← 'reverse' flips spin direction */
}
.process-deco-logo {
  top: -180px;     /* ← negative = peeks from above; adjust for more/less visible (~35%) */
  right: 12%;      /* ← horizontal position along top edge */
  transform: rotate(-12deg); /* ← tilt angle */
}
.process-deco-orbit {
  top: -140px;     /* ← corner depth */
  right: -140px;   /* ← corner depth */
  animation: corner-spin 32s linear infinite; /* ← change 32s to adjust speed */
}
.testi-deco-logo {
  top: 80px;       /* ← vertical position from top */
  left: -260px;    /* ← negative = peeks from left edge (~63% visible) */
  transform: scaleX(-1) rotate(-10deg); /* ← mirrored + tilted */
}
.testi-deco-orbit {
  bottom: -140px;  /* ← corner depth */
  right: -140px;   /* ← corner depth */
  animation: corner-spin 50s linear infinite reverse; /* ← slowest spin on homepage */
}

/* --- Ambient teal light orbs — subtle atmospheric depth behind glass cards.
   hue-rotate value = brand teal; adjust opacity (last value) to dim/brighten.
   Alternate sides between consecutive sections for visual variety. --- */
#services::before,
#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(62,207,191,0.06) 0%, transparent 65%); /* ← orb position (x% y%) + intensity */
  pointer-events: none;
  z-index: -1;
}
#about::before,
#process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 70%, rgba(62,207,191,0.05) 0%, transparent 60%); /* ← alternate side for visual variety */
  pointer-events: none;
  z-index: -1;
}

/* === SERVICES === */
#services {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  --glass-blur: 10px; /* ← lighter glass for top-of-page sections (progressive depth) */
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.section-heading { font-size: clamp(2rem, 3.5vw, 4rem); margin-top: 14px; }

.services-intro {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  align-self: flex-end;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(62,207,191,0.08);
}

.service-card {
  background: rgba(11,22,36,0.55);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-radius: 12px;
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: background 0.3s, transform 0.5s cubic-bezier(.23,1,.32,1), box-shadow 0.3s;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.23,1,.32,1);
}
.service-card:hover::after { transform: scaleX(1); }
/* Glass shimmer sweep — light streak across card face on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%;          /* ← shimmer streak width relative to card */
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.07) 50%, transparent 60%); /* ← shimmer intensity */
  transform: translateX(-120%);
  transition: transform 0.65s ease; /* ← shimmer sweep speed */
  pointer-events: none;
  z-index: 5;
}
.service-card:hover::before { transform: translateX(280%); /* ← how far shimmer travels */ }
.service-card:hover { background: rgba(62,207,191,0.07); box-shadow: inset 0 1px 0 rgba(62,207,191,0.18), 0 0 0 1px rgba(62,207,191,0.07); }
.service-card.is-expanded { background: rgba(62,207,191,0.07); box-shadow: inset 3px 0 0 rgba(62,207,191,0.5), inset 0 1px 0 rgba(62,207,191,0.18); }

.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 20px; right: 20px;
  line-height: 1;
}

.service-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: border-color 0.3s;
}
.service-card:hover .service-icon { border-color: var(--accent); }
.service-icon svg { stroke: var(--accent); }

.service-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.service-card p { font-size: 0.85rem; line-height: 1.7; color: var(--muted); }

/* === ABOUT === */
#about {
  background: var(--grad-bg);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-visual { position: relative; }

/* === ABOUT IMAGE STACK === */
.about-img-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
}

.about-img {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(.23,1,.32,1), box-shadow 0.4s ease;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.4s ease;
  position: relative;
  z-index: 1;
}

/* Additional stack images */
.about-img--4 {
  width: 57%;
  top: 5%; left: 1%;
  transform: rotate(7deg);
  z-index: 1;
  background: var(--grad-radial);
}

/* Largest — behind everything, half visible above the stack */
.about-img--5 {
  width: 82%;
  top: -38%; left: 9%;
  transform: rotate(1.5deg);
  z-index: 0;
  background: var(--grad-radial);
}

@media (hover: hover) {
  .about-img.is-active {
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  }
  .about-img.is-active img {
    filter: brightness(1);
  }
}
/* Touch fallback — iOS/Android fire :hover on first tap, restoring brightness without JS */
.about-img:hover img {
  filter: brightness(1);
}

/* Back image — large, bottom left */
.about-img--3 {
  width: 72%;
  bottom: 0; left: 0;
  transform: rotate(-5deg);
  z-index: 2;
  background: var(--navy-mid);
}

/* Middle image */
.about-img--2 {
  width: 62%;
  top: 1%; right: 0;
  transform: rotate(4deg);
  z-index: 3;
  background: var(--navy-mid);
}

/* Front image — smallest, center */
.about-img--1 {
  width: 53%;
  bottom: 5%; right: 4%;
  transform: rotate(-2deg);
  z-index: 4;
  background: var(--navy-mid);
}

/* Placeholder style when no image loaded */
.about-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(62,207,191,0.03) 20px,
    rgba(62,207,191,0.03) 21px
  );
  z-index: 0;
}

.about-logo {
  width: 260px;
  height: 260px;
  object-fit: contain;
  opacity: 0.18;
  position: relative;
  z-index: 1;
}

/* === ABOUT IMAGE OVERLAY LABEL === */
.about-img-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(to top, rgba(11,22,36,0.92) 0%, transparent 100%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--white);
  z-index: 2;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .about-img.is-active .about-img-label {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-img-label::after {
  content: 'Click for Info  →';
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 5px;
}

/* === LIGHTBOX === */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, #0e2a2a 0%, #111f33 35%, #0b1624 70%, #0b1a1a 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lb-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 20px 28px 40px;
  background: linear-gradient(to bottom, rgba(11,22,36,0.85) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.lb-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--white);
  opacity: 0.9;
}
.lb-close {
  background: none;
  border: none;
  color: var(--off-white);
  font-size: 1.2rem;
  line-height: 1;
  padding: 8px 10px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.lb-close:hover { opacity: 1; }
.lb-img-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border: 1px solid var(--border);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(.23,1,.32,1), opacity 0.2s ease;
}
#lightbox.open .lb-img {
  transform: scale(1);
}
.lb-img.switching {
  opacity: 0;
}
.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--off-white);
  font-size: 1rem;
  padding: 12px 18px;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s, border-color 0.2s;
  border-radius: 6px;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-prev:hover,
.lb-next:hover {
  opacity: 1;
  border-color: var(--accent);
}
@media (max-width: 640px) {
  .lb-prev { left: 10px; padding: 10px 14px; }
  .lb-next { right: 10px; padding: 10px 14px; }
  .lb-img { max-height: 72vh; }
}

/* === VIDEO LIGHTBOX === */
#vlb {
  position: fixed;
  inset: 0;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#vlb.open {
  opacity: 1;
  pointer-events: all;
}
.vlb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,22,36,0.93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.vlb-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: min(860px, 90vw);
  padding: 0 24px;
}
.vlb-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.1em;
  color: var(--off-white);
  text-align: center;
  margin: 0;
}
.vlb-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  background: #000;
}
.vlb-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  text-align: center;
  max-width: 540px;
  margin: 0;
  letter-spacing: 0.01em;
}
.vlb-close {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 2;
  background: none;
  border: 1px solid var(--border);
  color: var(--off-white);
  font-size: 1rem;
  width: 40px; height: 40px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vlb-close:hover { opacity: 1; border-color: var(--accent); }
.vlb-prev,
.vlb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(11,22,36,0.55);
  border: 1px solid var(--border);
  color: var(--off-white);
  font-size: 1.1rem;
  padding: 14px 18px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.vlb-prev { left: 24px; }
.vlb-next { right: 24px; }
.vlb-prev:hover,
.vlb-next:hover { opacity: 1; border-color: var(--accent); }
@media (max-width: 640px) {
  .vlb-prev { left: 10px; padding: 10px 14px; }
  .vlb-next { right: 10px; padding: 10px 14px; }
  .vlb-inner { gap: 16px; }
}

.about-accent-block {
  position: absolute;
  bottom: -18px; right: -18px;
  width: 80px; height: 80px;
  background: var(--accent);
  opacity: 0.12;
  z-index: -1;
}

.stats-row {
  display: flex;
  gap: 20px;
  margin-top: 36px;
}
.stat-glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  backdrop-filter: blur(var(--glass-blur-sm));
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-border);
  border-radius: 12px;    /* ← card radius, adjust to taste */
  padding: 20px 28px;     /* ← inner spacing */
}
.stat-item .stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--white);
}
.stat-item .stat-lbl {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.about-content .section-heading { margin-bottom: 20px; }
.about-content p {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--off-white);
  opacity: 0.8;
  margin-bottom: 16px;
}

.about-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.86rem;
  color: var(--off-white);
  opacity: 0.8;
}
.about-list li::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* === PROCESS === */
#process {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
  padding: 80px 72px;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(62,207,191,0.08);
  margin-top: 56px;
}
.process-step {
  background: rgba(11,22,36,0.55);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: background 0.3s, box-shadow 0.3s;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: start;
}
.step-icon {
  font-size: 2.2rem;
  grid-row: 1 / 4;
  align-self: center;
}
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.24em;
}
.process-step h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.process-step p { font-size: 0.82rem; line-height: 1.65; color: var(--muted); }
.process-step:hover { background: rgba(62,207,191,0.07); box-shadow: inset 0 1px 0 rgba(62,207,191,0.18); }
.process-step.is-expanded { background: rgba(62,207,191,0.07); box-shadow: inset 3px 0 0 rgba(62,207,191,0.5), inset 0 1px 0 rgba(62,207,191,0.18); }

/* Expand panels — service cards and process steps */
.card-expand,
.step-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(.23,1,.32,1);
}
.step-expand { grid-column: 1 / -1; }
.service-card.is-expanded .card-expand { max-height: 100px; }
.process-step.is-expanded .step-expand  { max-height: 100px; }

.card-expand-inner,
.step-expand-inner {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(62,207,191,0.14);
}
.card-expand-cta,
.step-expand-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(62,207,191,0.3);
  padding: 7px 16px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.card-expand-cta:hover,
.step-expand-cta:hover {
  background: rgba(62,207,191,0.08);
  border-color: rgba(62,207,191,0.55);
}

/* === TESTIMONIALS === */
#testimonials {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid var(--border);
  padding: 110px 72px;
  position: relative;
  overflow: hidden;
  --glass-blur: 20px; /* ← heavier glass for lower-page sections (progressive depth) */
  content-visibility: auto;
  contain-intrinsic-size: auto 900px; /* ← estimated height; browser caches actual after first render */
}

.testimonials-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

.testimonials-intro {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  align-self: flex-end;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.testimonial-card {
  background: var(--glass-bg-dark);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-border);
  border-radius: 16px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

/* Glass shimmer sweep on testimonial cards */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%;          /* ← shimmer streak width */
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%); /* ← shimmer intensity */
  transform: translateX(-120%);
  transition: transform 0.65s ease; /* ← shimmer sweep speed */
  pointer-events: none;
  z-index: 5;
}
.testimonial-card:hover::before { transform: translateX(280%); }

.testimonial-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  -webkit-user-select: none;
  user-select: none;
}

.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--off-white);
  opacity: 0.85;
  flex: 1;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.testimonial-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.testimonial-role {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 4px;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-header { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  #testimonials { padding: 64px 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* === CONTACT === */
#contact {
  background: var(--grad-bg);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.contact-info .section-heading { margin-bottom: 20px; }
.contact-info > p {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--off-white);
  opacity: 0.8;
  max-width: 360px;
  margin-bottom: 40px;
}

.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { stroke: var(--accent); }
.contact-item-text .c-label {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-item-text .c-val { font-size: 0.88rem; color: var(--white); }
.contact-item-text a { color: var(--white); transition: color 0.2s; }
.contact-item-text a:hover { color: var(--accent); }

/* === FORM === */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.4);
}
.form-group select option { background: #111f33; }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  background: var(--accent);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px;
  width: 100%;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 4px;
}
.form-submit:hover { opacity: 0.88; transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-error {
  display: none;
  color: #ff6b6b;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-top: -8px;
}
.form-error:not(:empty) { display: block; }

/* === FOOTER === */
footer {
  background: rgba(0,0,0,0.45);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo { height: 32px; width: auto; }
.footer-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.footer-copy { font-size: 0.7rem; color: var(--muted); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* === TOAST NOTIFICATION === */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--white);
  color: var(--navy);
  padding: 14px 22px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(.23,1,.32,1);
  z-index: 500;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(.23,1,.32,1), transform 0.85s cubic-bezier(.23,1,.32,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* Staggered word-by-word reveal for section headings */
.word-reveal {
  display: inline-block;
  transform: translateY(28px);
  transition: transform 0.55s cubic-bezier(.23,1,.32,1);
}
.reveal.visible .word-reveal { transform: none; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  #nav { padding: 18px 32px; }
  section { padding: 80px 32px; }
  #hero { grid-template-columns: 1fr; padding: 100px 32px 64px; gap: 48px; }
  .hero-left { padding: 0; }
  .hero-right {
    display: flex;
    justify-content: center;
    padding: 0;
  }
  .hero-video-wrap {
    width: min(380px, 78vw);
    height: min(380px, 78vw);
  }
  .hero-video-circle {
    width: min(380px, 78vw);
    height: min(380px, 78vw);
  }
  .hero-orbit-img {
    width: min(840px, 95vw);
    height: auto;
  }
  .hero-contact-strip { left: 32px; }
  .services-header { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  #about { grid-template-columns: 1fr; gap: 48px; padding: 80px 32px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  #contact { grid-template-columns: 1fr; gap: 48px; padding: 80px 32px; }
  #process { padding: 80px 32px; }
  footer { padding: 24px 20px; }
}

@media (max-width: 640px) {
  #nav { padding: 16px 20px; }
  .nav-hamburger { display: flex; }
  section { padding: 64px 20px; }
  #hero { padding: 80px 20px 150px; }
  .hero-left { padding: 0; }
  .hero-right { padding: 0; }
  .hero-video-wrap {
    width: min(300px, 78vw);
    height: min(300px, 78vw);
  }
  .hero-video-circle {
    width: min(300px, 78vw);
    height: min(300px, 78vw);
  }
  .hero-orbit-img {
    width: 660px;  /* fixed — keeps ring (384px diam) outside the 300px video circle */
    height: auto;
  }
  .hero-orbit-drift  { display: none; }  /* ring extends beyond hero width on mobile */
  .hero-corner-orbit { display: none; }  /* mostly clipped on narrow viewport */
  .hero-logo-wm      { left: 50%; top: 28%; } /* centre + raise behind heading */
  .hero-actions { flex-wrap: wrap; gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { white-space: normal; }
  .hero-contact-strip { left: 20px; flex-direction: column; gap: 10px; bottom: 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 20px 16px; }
  .stats-row { gap: 24px; }
  #about { padding: 64px 20px; }
  #process { padding: 64px 20px; }
  #contact { padding: 64px 20px; }
}

footer {
  margin-bottom: 0;
}

body > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  #hero {
    min-height: -webkit-fill-available;
  }
  html {
    min-height: -webkit-fill-available;
  }
}

@supports not (-webkit-touch-callout: none) {
  @media (max-width: 1024px) {
    html {
      min-height: 100%;
      height: auto;
    }
    #hero {
      min-height: 100svh;
    }
  }
}

#scrollTop {
  position: fixed;
  bottom: 32px; left: 32px;
  width: 44px; height: 44px;
  background: rgba(11,22,36,0.8);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 400;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}
#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
}
#scrollTop:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.about-visual.visible .about-logo,
.about-visual.visible .about-logo-box,
.about-visual.visible .about-logo-box img {
  cursor: none;
  pointer-events: none;
}

/* Hide mobile-only CTA item on desktop */
.nav-mobile-cta { display: none; }

/* === MOBILE NAV MENU === */
@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(11,22,36,0.99);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 9999;
    padding: 80px 24px 48px;
    box-sizing: border-box;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    color: var(--white);
  }
  .nav-cta {
    display: none;
  }
  .nav-mobile-cta {
    display: block;
    margin-top: 8px;
  }
  .nav-mobile-cta a {
    display: inline-block;
    background: var(--white);
    color: var(--navy);
    padding: 14px 40px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 6px;
    white-space: nowrap;
  }
  .nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav-hamburger {
    z-index: 10000;
    position: relative;
  }
  #nav {
    top: 36px;
  }
}

/* === TOOLS STRIP === */
.tools-strip {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.tools-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tool-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(62,207,191,0.05);
}

/* === ROUNDED CORNERS === */
.btn-primary,
.btn-ghost,
.form-submit,
.nav-cta,
.project-cta,
.grid-card-tag,
.project-tag,
.tool-tag,
.fs-btn,
.carousel-btn,
#lightbox-close,
#lightbox-prev,
#lightbox-next,
#scrollTop {
  border-radius: 6px;
}

/* === TOUCH DEVICE FIXES === */

/* Hide custom cursor on touch devices */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* Prevent iOS Safari from zooming in when form inputs are focused */
@media (max-width: 640px) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem;
  }
}

/* Strip sticky hover effects on touch devices */
@media (hover: none) {
  .service-card:hover,
  .process-step:hover { background: rgba(11,22,36,0.55); box-shadow: none; }
  .service-card:hover::after { transform: scaleX(0); }
  .service-card:hover::before { transform: translateX(-120%); }
  .testimonial-card:hover::before { transform: translateX(-120%); }
  .service-card:hover .service-icon { border-color: var(--border); }
}

/* === PAGE TRANSITIONS === */
#page-transition {
  position: fixed; inset: 0;
  background: #0b1624;
  z-index: 9900;
  opacity: 1;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
body.page-loaded #page-transition { opacity: 0; }
body.page-exit  #page-transition { opacity: 1; pointer-events: auto; }