/* ============================================================
   BlueWater Marine Rigging & Electronics
   Design system + components  —  hand-built, no framework
   Palette pulled straight from their logo: navy · cyan · lime
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Ocean depth */
  --navy-900: #030d18;
  --navy-850: #05131f;
  --navy-800: #071b2c;
  --navy-700: #0a2439;
  --navy-600: #0f314c;
  --navy-500: #16456a;
  --line: rgba(120, 176, 214, 0.16);
  --line-strong: rgba(120, 176, 214, 0.30);

  /* Brand accents */
  --cyan: #29c2f0;
  --cyan-bright: #4ad6ff;
  --cyan-deep: #159fd0;
  --lime: #aee02a;
  --lime-bright: #c4f43a;

  /* Text */
  --foam: #eaf6ff;
  --mist: #a8c2d6;
  --slate: #7794a8;

  /* Effects */
  --glow-cyan: 0 0 40px rgba(41, 194, 240, 0.35);
  --glow-lime: 0 0 34px rgba(174, 224, 42, 0.30);
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-float: 0 40px 90px -30px rgba(0, 0, 0, 0.85);

  /* Type */
  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --wrap: 1220px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 26px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--f-body);
  background: var(--navy-900);
  color: var(--foam);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--cyan); color: var(--navy-900); }

/* ---------- Global atmosphere ---------- */
body::before {
  /* faint depth-contour + grain wash over everything */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 80% -5%, rgba(41, 194, 240, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(174, 224, 42, 0.06), transparent 60%);
}
main, .site-footer, .site-header, .announce { position: relative; z-index: 1; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h4 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--mist); }
.muted { color: var(--slate); }
.accent { color: var(--cyan); }
.accent-lime { color: var(--lime); }
.grad-text {
  background: linear-gradient(100deg, var(--cyan-bright) 10%, var(--lime) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section-tight { padding-block: clamp(48px, 7vw, 90px); }
.center { text-align: center; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cyan);
  --fg: var(--navy-900);
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  background: var(--bg); color: var(--fg);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: var(--glow-cyan); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-lime { --bg: var(--lime); }
.btn-lime:hover { box-shadow: var(--glow-lime); }
.btn-ghost {
  --bg: transparent; --fg: var(--foam);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--cyan); box-shadow: none; background: rgba(41,194,240,0.08); }
.btn-lg { padding: 1.1em 2em; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--f-display); font-weight: 600; color: var(--cyan);
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 0.85em; color: var(--cyan-bright); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, var(--navy-700), var(--navy-600));
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem; color: var(--mist);
  font-family: var(--f-mono); letter-spacing: 0.02em;
}
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 0.6em; padding-block: 9px; text-align: center; }
.announce .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 15, 26, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.9);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; }
.nav-links a {
  position: relative; padding: 8px 13px; font-weight: 600; font-size: 0.92rem;
  color: var(--mist); border-radius: 10px; transition: color 0.25s; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--foam); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-phone { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--f-mono); font-size: 0.9rem; color: var(--foam); font-weight: 500; }
.nav-phone svg { width: 16px; height: 16px; color: var(--cyan); }
.nav-phone:hover { color: var(--cyan); }

/* Logo — icon stacked top-center over the wordmark (matches original mark) */
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; flex: none; text-align: center; }
.logo-mark { width: 30px; height: 30px; flex: none; transition: transform 0.45s var(--ease); overflow: visible; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }
.logo-text { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1; }
.logo-text .b { color: var(--foam); }
.logo-text .w { color: var(--cyan); }
.logo-sub { display: block; font-family: var(--f-mono); font-size: 0.46rem; letter-spacing: 0.24em; color: var(--slate); margin-top: 3px; font-weight: 500; white-space: nowrap; }

/* Logo mark — draws itself on load */
@keyframes logo-draw { from { stroke-dashoffset: 64; } to { stroke-dashoffset: 0; } }
.logo-mark path { stroke-dasharray: 64; stroke-dashoffset: 64; animation: logo-draw 1s var(--ease) forwards; }
.logo-mark path:last-child { animation-delay: 0.26s; }

/* Footer emblem — continuous light-trace along the ribbons (injected by JS) */
@keyframes logo-trace { to { stroke-dashoffset: -42; } }
.footer-emblem { position: absolute; right: -30px; top: 24px; width: min(340px, 42vw); height: auto; opacity: 0.11; pointer-events: none; z-index: 0; }
.footer-emblem path { stroke-dasharray: 10 32; stroke-dashoffset: 0; animation: logo-trace 3.4s linear infinite; }
.footer-emblem path:last-child { animation-delay: -1.7s; }

/* Mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--foam); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 840px); display: flex; align-items: center; overflow: hidden; padding-block: 104px 76px; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; opacity: 0.62; transform: scale(1.08); will-change: transform; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,13,24,0.55) 0%, rgba(3,13,24,0.35) 40%, var(--navy-900) 100%),
    linear-gradient(90deg, rgba(3,13,24,0.85), transparent 65%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -2; opacity: 0.5;
  background-image:
    linear-gradient(rgba(41,194,240,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,194,240,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
/* sonar sweep */
.hero-sonar {
  position: absolute; right: -180px; top: 50%; transform: translateY(-50%);
  width: 620px; height: 620px; z-index: -1; opacity: 0.5; pointer-events: none;
}
.hero-sonar .ring { fill: none; stroke: rgba(41,194,240,0.25); }
.hero-sonar .sweep { transform-origin: center; animation: sweep 5s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
/* the BlueWater mark as a detected target — pings when the sweep passes it */
.hero-sonar .blip path { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-sonar .blip { opacity: 0.1; animation: blip-ping 5s linear infinite; }
@keyframes blip-ping { 0%, 31% { opacity: 0.1; } 37% { opacity: 0.95; } 46% { opacity: 0.4; } 100% { opacity: 0.1; } }
.hero-sonar .ping-ring { opacity: 0; animation: ping-ring 5s linear infinite; }
@keyframes ping-ring { 0%, 31% { r: 4; opacity: 0; } 37% { opacity: 0.7; } 55% { r: 40; opacity: 0; } }

.hero-inner { position: relative; max-width: 1040px; }
.hero h1 { font-size: clamp(2.15rem, 4.7vw, 3.9rem); margin: 18px 0 20px; max-width: 20ch; }
.hero .lead { max-width: 540px; font-size: clamp(1.02rem, 1.35vw, 1.18rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.05em; color: var(--mist); }
.hero-badge svg { width: 16px; height: 16px; color: var(--lime); flex: none; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.3em; color: var(--slate);
}
/* scroll cue built from the BlueWater mark: two-tone chevrons falling downward */
.scroll-hint .chevrons { width: 22px; height: 27px; overflow: visible; }
.scroll-hint .chevrons path { fill: none; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
.scroll-hint .chev-c { stroke: var(--cyan); animation: chev-fall 1.7s var(--ease) infinite; }
.scroll-hint .chev-l { stroke: var(--lime); animation: chev-fall 1.7s var(--ease) infinite; animation-delay: 0.22s; }
@keyframes chev-fall {
  0%   { opacity: 0; transform: translateY(-5px); }
  40%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(7px); }
}

/* ---------- Intro band ---------- */
.intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.intro-copy h2 { margin: 20px 0 22px; }
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-float); border: 1px solid var(--line); aspect-ratio: 4/3; object-fit: cover; }
.intro-media .float-chip {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--navy-800); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 14px;
}
.float-chip .fc-num { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; color: var(--lime); line-height: 1; }
.float-chip .fc-label { font-size: 0.78rem; color: var(--mist); line-height: 1.3; }

/* ---------- Service pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.pillar {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.pillar::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, var(--cyan), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s;
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.pillar:hover::before { opacity: 1; }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(41,194,240,0.18), rgba(174,224,42,0.10));
  border: 1px solid var(--line-strong); color: var(--cyan);
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h4 { margin-bottom: 12px; }
.pillar p { color: var(--mist); font-size: 0.98rem; }
.pillar .tag {
  display: inline-flex; align-items: center; gap: 0.5em; margin-top: 18px;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--lime);
  padding: 6px 12px; border-radius: 999px; background: rgba(174,224,42,0.08); border: 1px solid rgba(174,224,42,0.22);
}
.pillar .pillar-num { position: absolute; top: 22px; right: 26px; font-family: var(--f-mono); font-size: 0.8rem; color: var(--slate); }

/* ---------- Feature split ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-float); border: 1px solid var(--line); width: 100%; object-fit: cover; }
.feature-media .glow { position: absolute; inset: -10% -6%; z-index: -1; background: radial-gradient(circle at 50% 50%, rgba(41,194,240,0.28), transparent 65%); filter: blur(20px); }
.feature h2 { margin: 20px 0 22px; }
.feature ul.check { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.feature ul.check li { display: flex; gap: 12px; align-items: flex-start; color: var(--mist); }
.feature ul.check svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 3px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 0.6em; padding: 9px 16px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(174,224,42,0.14), rgba(41,194,240,0.10));
  border: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.05em; color: var(--foam);
  margin-bottom: 18px;
}
.badge-pill svg { width: 15px; height: 15px; color: var(--lime); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: var(--navy-800); border: 1px solid var(--line); }
.stat .num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; background: linear-gradient(120deg, var(--cyan-bright), var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { margin-top: 10px; font-size: 0.86rem; color: var(--mist); }

/* ---------- Divider (topographic contour) ---------- */
.contour { height: 90px; width: 100%; overflow: hidden; opacity: 0.5; }
.contour svg { width: 100%; height: 100%; }

/* ---------- Brand marquee ---------- */
.brands { overflow: hidden; }
.marquee { display: flex; gap: 0; overflow: hidden; -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; align-items: center; gap: 26px; padding-right: 26px; animation: marquee 34s linear infinite; }
.brands:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-chip {
  flex: none; height: 112px; width: 216px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 16px; padding: 20px 26px; border: 1px solid var(--line);
  opacity: 0.94; transition: opacity 0.4s, transform 0.4s, box-shadow 0.4s;
  overflow: hidden;
}
.brand-chip img { max-height: 64px; max-width: 100%; width: auto; height: auto; object-fit: contain; display: block; margin: auto; }
.brand-chip:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--glow-cyan); }

/* ---------- Brand grid (electronics page) ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brand-card {
  background: #fff; border-radius: var(--radius); aspect-ratio: 16/10; display: grid; place-items: center; padding: 26px;
  border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.brand-card img { max-height: 70px; max-width: 80%; object-fit: contain; }
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--glow-cyan); }

/* category chips */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cat {
  padding: 26px 24px; border-radius: var(--radius); background: var(--navy-800); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.cat:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--navy-700); }
.cat .cat-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; color: var(--cyan); background: rgba(41,194,240,0.10); border: 1px solid var(--line); }
.cat .cat-icon svg { width: 22px; height: 22px; }
.cat h4 { font-size: 1.05rem; margin-bottom: 6px; }
.cat p { font-size: 0.9rem; color: var(--slate); }

/* ---------- SeaDek page ---------- */
.seadek-hero { position: relative; min-height: min(82vh, 720px); display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--nav-h) + 60px) 0 64px; }
.seadek-hero .hero-bg img { object-position: center 46%; opacity: 0.78; }
.seadek-hero .hero-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(3,13,24,0.35), rgba(3,13,24,0.30) 40%, rgba(3,13,24,0.82) 82%, var(--navy-900)); }
.seadek-hero .inner { position: relative; max-width: 860px; }
.seadek-hero h1 { margin: 16px 0 18px; font-size: clamp(2.2rem, 5vw, 4rem); }

/* color + texture swatch grids */
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 14px; }
.texture-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.swatch { text-align: center; }
.swatch .chip { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); position: relative; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.swatch.wide .chip { aspect-ratio: 16 / 10; }
.swatch .chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch:hover .chip { transform: translateY(-5px); box-shadow: var(--glow-cyan); }
.swatch .sname { margin-top: 10px; font-size: 0.78rem; color: var(--mist); font-family: var(--f-mono); letter-spacing: 0.02em; text-transform: capitalize; }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 28px 26px; border-radius: var(--radius-lg); background: var(--navy-800); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.4s; }
.benefit:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.benefit .b-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; color: var(--navy-900); background: linear-gradient(140deg, var(--cyan), var(--lime)); }
.benefit .b-icon svg { width: 23px; height: 23px; }
.benefit h4 { margin-bottom: 10px; }
.benefit p { color: var(--mist); font-size: 0.94rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; grid-auto-flow: dense; }
.gallery figure { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin: 0; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; transition: transform 0.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery .span2 { grid-column: span 2; }
.gallery .tall img { aspect-ratio: 4 / 5; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 28px 24px; border-radius: var(--radius); background: linear-gradient(180deg, var(--navy-800), var(--navy-850)); border: 1px solid var(--line); position: relative; }
.step .s-num { font-family: var(--f-mono); font-size: 0.8rem; color: var(--cyan); letter-spacing: 0.1em; }
.step h4 { margin: 12px 0 8px; font-size: 1.1rem; }
.step p { color: var(--mist); font-size: 0.9rem; }
.step::after { content: ""; position: absolute; top: 40px; right: -9px; width: 18px; height: 1px; background: var(--line-strong); }
.step:last-child::after { display: none; }

/* combos */
.combos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.combo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--navy-800); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.combo:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.combo .pair { display: flex; height: 96px; }
.combo .pair img { width: 50%; height: 100%; object-fit: cover; }
.combo .cname { padding: 12px 16px; font-size: 0.9rem; font-weight: 600; }
.combo .cname small { display: block; font-family: var(--f-mono); font-size: 0.7rem; color: var(--slate); font-weight: 400; margin-top: 2px; letter-spacing: 0.03em; }

/* ---------- Values (about) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 34px 30px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--navy-800), var(--navy-850)); border: 1px solid var(--line); position: relative; }
.value .v-num { font-family: var(--f-mono); font-size: 0.8rem; color: var(--cyan); letter-spacing: 0.1em; }
.value h4 { margin: 16px 0 12px; }
.value p { color: var(--mist); font-size: 0.98rem; }

/* story */
.story { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.story-media { position: sticky; top: 110px; }
.story-media img { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-float); aspect-ratio: 3/4; object-fit: cover; }
.story-body p { margin-bottom: 22px; color: var(--mist); }
.story-body p:first-of-type::first-letter { font-family: var(--f-display); font-weight: 800; font-size: 3.4rem; float: left; line-height: 0.8; padding: 6px 14px 0 0; color: var(--cyan); }

/* founders */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.founder { padding: 28px; border-radius: var(--radius); background: var(--navy-800); border: 1px solid var(--line); }
.founder .role { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--lime); text-transform: uppercase; }
.founder h4 { margin: 10px 0 8px; }
.founder p { font-size: 0.92rem; color: var(--mist); }

/* ---------- Diff cards (about) ---------- */
.diffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.diff { padding: 32px 28px; border-radius: var(--radius-lg); background: var(--navy-800); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.4s; }
.diff:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.diff-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: var(--navy-900); background: linear-gradient(140deg, var(--cyan), var(--lime)); }
.diff-icon svg { width: 25px; height: 25px; }
.diff h4 { margin-bottom: 12px; }
.diff p { color: var(--mist); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: clamp(24px, 4vw, 40px); padding: clamp(44px, 7vw, 84px); background: linear-gradient(120deg, var(--navy-700), var(--navy-600)); border: 1px solid var(--line-strong); }
.cta-band::before { content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(41,194,240,0.3), transparent 65%); }
.cta-band::after { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(174,224,42,0.22), transparent 65%); }
.cta-band .inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { max-width: 620px; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); background: var(--navy-800); border: 1px solid var(--line); transition: border-color 0.35s, transform 0.35s var(--ease); }
.info-card:hover { border-color: var(--line-strong); transform: translateX(4px); }
.info-card .ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--cyan); background: rgba(41,194,240,0.10); border: 1px solid var(--line); }
.info-card .ic svg { width: 21px; height: 21px; }
.info-card .k { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.info-card .v { font-size: 1.05rem; font-weight: 600; margin-top: 4px; }
.info-card .v a:hover { color: var(--cyan); }
.info-card .v small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--mist); margin-top: 3px; }

/* form */
.form-card { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--navy-800), var(--navy-850)); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.form-card h3 { margin-bottom: 8px; }
.form-card > p { color: var(--mist); font-size: 0.95rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--navy-900); color: var(--foam);
  border: 1px solid var(--line-strong); font-family: var(--f-body); font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41,194,240,0.16); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.8rem; color: var(--slate); margin-top: 14px; }
.form-card button[type="submit"] { width: 100%; justify-content: center; margin-top: 6px; }

/* map / directions block */
.map-card { margin-top: 14px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--navy-800); }
.map-card iframe { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg) contrast(0.9); }
/* cookie-free static location card (replaces the Google Maps embed) */
.map-static { display: flex; align-items: center; gap: 16px; padding: 22px 24px; text-decoration: none; color: var(--foam);
  background:
    radial-gradient(circle at 25% 15%, rgba(41,194,240,0.12), transparent 60%),
    radial-gradient(circle at 90% 90%, rgba(174,224,42,0.08), transparent 55%),
    linear-gradient(rgba(120,176,214,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,176,214,0.06) 1px, transparent 1px), var(--navy-800);
  background-size: auto, auto, 22px 22px, 22px 22px, auto;
  transition: border-color 0.3s, transform 0.3s var(--ease); }
.map-static:hover { transform: translateY(-2px); border-color: var(--cyan); }
.map-static .map-pin { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--navy-900); background: linear-gradient(140deg, var(--cyan), var(--lime)); box-shadow: var(--glow-cyan); }
.map-static .map-pin svg { width: 23px; height: 23px; }
.map-static .map-addr strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.map-static .map-addr small { display: block; color: var(--mist); font-size: 0.85rem; margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-850); border-top: 1px solid var(--line); padding-top: 72px; overflow: hidden; }
.site-footer .wrap { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--mist); font-size: 0.95rem; margin: 20px 0 24px; max-width: 320px; }
.footer-col h5 { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--mist); font-size: 0.95rem; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: var(--cyan); padding-left: 4px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--mist); transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.socials a:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-sub { display: flex; gap: 8px; margin-top: 14px; }
.footer-sub input { flex: 1; padding: 12px 14px; border-radius: 10px; background: var(--navy-900); border: 1px solid var(--line-strong); color: var(--foam); font-family: var(--f-body); }
.footer-sub input:focus { outline: none; border-color: var(--cyan); }
.footer-sub button { padding: 0 18px; border-radius: 10px; background: var(--cyan); color: var(--navy-900); font-family: var(--f-display); font-weight: 600; transition: box-shadow 0.3s; }
.footer-sub button:hover { box-shadow: var(--glow-cyan); }
.footer-bottom { margin-top: 56px; border-top: 1px solid var(--line); padding-block: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; font-size: 0.82rem; color: var(--slate); }
.footer-bottom a { color: var(--slate); }
.footer-bottom a:hover { color: var(--cyan); }
/* subtle "Designed by Chubs.io" credit — recolored to the site palette */
.designed-by { display: inline-flex; align-items: center; gap: 6px; color: var(--slate); transition: color 0.3s; }
.designed-by .chubs-mark { width: 17px; height: 17px; flex: none; opacity: 0.9; transition: transform 0.5s var(--ease); }
.designed-by .chubs-word { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.01em; color: var(--mist); transition: color 0.3s; }
.designed-by .chubs-word span { color: var(--cyan); }
.designed-by:hover { color: var(--mist); }
.designed-by:hover .chubs-word { color: var(--foam); }
.designed-by:hover .chubs-mark { transform: rotate(72deg); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(160%);
  z-index: 200; width: min(680px, calc(100% - 32px));
  background: rgba(7,27,44,0.94); backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 20px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; box-shadow: var(--shadow-float);
  transition: transform 0.6s var(--ease);
}
.cookie.show { transform: translateX(-50%) translateY(0); }
.cookie p { font-size: 0.86rem; color: var(--mist); flex: 1; min-width: 240px; }
.cookie .btn { padding: 0.7em 1.4em; font-size: 0.88rem; }

/* back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 150; width: 48px; height: 48px; border-radius: 50%; background: var(--cyan); color: var(--navy-900); display: grid; place-items: center; box-shadow: var(--shadow-card); opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none; transition: opacity 0.4s, transform 0.4s var(--ease); }
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { box-shadow: var(--glow-cyan); }
.to-top svg { width: 22px; height: 22px; }

/* page hero (interior pages) */
.page-hero { position: relative; padding: calc(var(--nav-h) + 60px) 0 70px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(1000px 500px at 75% 0%, rgba(41,194,240,0.14), transparent 60%); }
.page-hero .hero-grid { opacity: 0.35; }
.page-hero h1 { margin: 20px 0 20px; max-width: 900px; }
.page-hero .lead { max-width: 640px; }
.breadcrumb { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--slate); text-transform: uppercase; }
.breadcrumb a:hover { color: var(--cyan); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }
[data-reveal-stagger].in > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].in > *:nth-child(2) { transition-delay: 0.14s; }
[data-reveal-stagger].in > *:nth-child(3) { transition-delay: 0.23s; }
[data-reveal-stagger].in > *:nth-child(4) { transition-delay: 0.32s; }
[data-reveal-stagger].in > *:nth-child(5) { transition-delay: 0.41s; }
[data-reveal-stagger].in > *:nth-child(6) { transition-delay: 0.50s; }

/* per-item reveal — every child animates uniformly as it scrolls into view */
[data-reveal-each] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); will-change: opacity, transform; }
[data-reveal-each] > *.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .intro, .feature, .feature.reverse, .story, .contact-grid { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .pillars, .values, .diffs, .benefits { grid-template-columns: 1fr; }
  .steps, .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .span2 { grid-column: span 2; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .story-media { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-sonar { opacity: 0.3; right: -280px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-phone, .nav-right > .btn { display: none; }
  .nav-toggle { display: block; }
  .logo-sub { letter-spacing: 0.16em; font-size: 0.42rem; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-text { font-size: 1.18rem; }
  .nav-links.open {
    display: flex; position: fixed; inset: calc(var(--nav-h) + 0px) 0 auto 0; flex-direction: column;
    align-items: stretch; gap: 4px; padding: 20px var(--gutter) 30px; background: rgba(5,15,26,0.97);
    backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); z-index: 99;
  }
  .nav-links.open a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav-links.open a:hover { background: rgba(41,194,240,0.08); }
  .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .span2, .gallery .tall { grid-column: auto; }
  .color-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
  .founders { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
}
