*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: hidden;
  background: #060a12;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }
:root {
  --bg: #060a12;
  --bg-soft: #0c1422;
  --panel: rgba(10, 20, 34, 0.82);
  --panel-border: rgba(0, 229, 255, 0.16);
  --text: #eaf3fb;
  --muted: #8aa3b8;
  --accent: #00e5ff;
  --accent-glow: rgba(0, 229, 255, 0.35);
  --accent-2: #7b5cff;
  --accent-2-glow: rgba(123, 92, 255, 0.35);
  --line: rgba(0, 229, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'IBM Plex Mono', Consolas, monospace;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(0,229,255,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(123,92,255,0.08) 0%, transparent 55%);
}
a { color: inherit; }
::selection { background: var(--accent); color: #04080d; }

/* ── Header ── */
#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 2rem;
  background: rgba(6, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
#header h1 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#header h1 a { text-decoration: none; display: inline-flex; align-items: baseline; gap: .35rem; }
#header h1 a::before {
  content: '◆';
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
  font-size: .8em;
}
#header h1 .vibe-suffix { color: var(--accent); }
#header nav { display: flex; align-items: center; }
#header nav a, .mobile-nav a {
  color: rgba(234,243,251,0.78);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#header nav a { margin-left: 1.8rem; transition: color .15s; }
#header nav a:hover, .mobile-nav a:hover, .mobile-nav a:focus-visible { color: #fff; }
#header nav a.active { color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

.mobile-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.4rem;
  cursor: pointer;
}
.mobile-nav-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: #fff; }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav {
  position: absolute;
  top: 4.5rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.mobile-nav a { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 860px) {
  #header nav { display: none; }
  .mobile-nav-toggle { display: block; }
}

/* ── Hero ── */
#intro {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 2rem 4rem;
  overflow: hidden;
}
#intro .bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(0,229,255,0.14), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(123,92,255,0.14), transparent 45%),
    repeating-linear-gradient(0deg, rgba(0,229,255,0.025) 0px, rgba(0,229,255,0.025) 1px, transparent 1px, transparent 4px),
    url('../images/vibeops-hero-bg.webp') center/cover no-repeat;
  pointer-events: none;
}
#intro .inner { position: relative; max-width: 1180px; margin: 0 auto; width: 100%; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.4rem;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.3; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.04;
  max-width: 18ch;
  margin-bottom: 1.4rem;
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.65;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-actions-primary {
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5fb8ff);
  color: #04080d;
  box-shadow: 0 14px 30px rgba(0,229,255,0.18);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-secondary-subtle {
  border-color: rgba(255,255,255,0.1);
  color: var(--muted);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2.4rem;
}
.hero-stat {
  min-width: 0;
}
.hero-stats .stat-num {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}
.hero-stats .stat-label {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .25rem;
}
@media (max-width: 720px) { .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.scroll-down {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
  padding: .55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(6, 10, 18, 0.45);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ── Section shell ── */
section { padding: 6rem 2rem; position: relative; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-head { max-width: 62ch; margin-bottom: 3rem; }
.section-head .eyebrow { margin-bottom: .8rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  margin-bottom: .8rem;
}
.section-head p { color: var(--muted); line-height: 1.65; font-size: 1.02rem; }

#one {
  position: relative;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
#one::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(7, 14, 22, 0.62), rgba(7, 14, 22, 0.76)), url('../images/hero-bg.jpg') center/cover no-repeat;
  transform: scale(1.03);
  pointer-events: none;
  z-index: 0;
}
#one > * {
  position: relative;
  z-index: 1;
}

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--panel) url('../images/vibeops-panel-texture.webp') center/cover;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .2s;
}
.service-card:hover { transform: translateY(-3px); border-color: rgba(0,229,255,0.4); }
.service-card:hover::before { opacity: 1; }
.service-card .icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}
.service-card h3 { font-family: var(--font-display); font-size: 1.18rem; margin-bottom: .7rem; }
.service-card p { color: var(--muted); line-height: 1.6; font-size: .95rem; }
.service-card .tag-row { margin-top: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.service-card .tag {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .22rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(0,229,255,0.25);
  color: var(--accent);
}

/* ── Approach / process ── */
#two { background: var(--bg); }
.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (max-width: 860px) { .process-rail { grid-template-columns: 1fr; } }
.process-step {
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 1.6rem;
  background: var(--panel);
  position: relative;
}
.process-step .step-num {
  font-family: var(--font-mono);
  font-size: .76rem;
  color: #b7a8ff;
  letter-spacing: .1em;
  margin-bottom: .8rem;
}
.process-step h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .5rem; }
.process-step p { color: var(--muted); font-size: .88rem; line-height: 1.55; }
.article-content {
  overflow-wrap: anywhere;
}
.article-content img,
.article-content picture,
.article-content figure {
  max-width: 100%;
}
.article-content img {
  display: block;
  width: auto;
  height: auto;
  margin: 1.5rem auto;
  border-radius: 12px;
}
.article-content figure {
  margin: 1.5rem 0;
}
.article-content picture img {
  width: 100%;
}
.article-content iframe,
.article-content video,
.article-content table,
.article-content pre,
.article-content code {
  max-width: 100%;
}
.article-content pre {
  overflow-x: auto;
}
.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -1.5rem;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.1rem;
  display: none;
}
@media (min-width: 861px) { .process-step:not(:last-child)::after { display: block; } }

/* ── Proof / stats strip ── */
#work {
  background: var(--bg-soft) url('../images/vibeops-proof-bg.webp') center/cover no-repeat;
  background-blend-mode: overlay;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
@media (max-width: 860px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
.proof-item {
  text-align: center;
  padding: 1.6rem 1rem;
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: var(--panel);
}
.proof-item .num {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}
.proof-item .label { font-size: .78rem; color: var(--muted); margin-top: .4rem; letter-spacing: .04em; }
.proof-note {
  margin-top: 1.6rem;
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  font-family: var(--font-mono);
}

/* ── CTA ── */
#cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
#cta h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 1rem; }
#cta p { color: var(--muted); max-width: 50ch; margin: 0 auto 2rem; line-height: 1.6; }
#cta .hero-actions { justify-content: center; margin-bottom: 0; }


/* ── Closing gallery segment ── */
#gallery {
  background:
    linear-gradient(180deg, rgba(10, 14, 24, 0.98) 0%, rgba(7, 10, 18, 1) 100%),
    radial-gradient(circle at 20% 18%, rgba(0,229,255,0.08), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(123,92,255,0.10), transparent 40%);
  color: var(--text);
  border-top: 1px solid var(--line);
}
#gallery .section-head {
  margin-bottom: 2.5rem;
}
#gallery .section-head h2 {
  color: var(--text);
}
#gallery .section-head p {
  color: var(--muted);
}
#gallery .section-head .eyebrow {
  color: var(--accent);
}
.gallery {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86);
  transition: transform 0.45s ease, filter 0.45s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 72, 107, 0);
  transition: background 0.3s;
}
.overlay span {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .overlay {
  background: rgba(11, 72, 107, 0.34);
}
.gallery-item:hover .overlay span {
  opacity: 1;
}

#lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.86);
  z-index: 120;
}
#lightbox.active { display: flex; }
#lightbox-img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  border-radius: 0.6rem;
}
#lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
}

/* ── Footer ── */
#footer {
  padding: 2.4rem 2rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: center;
}
.footer-col-left { justify-self: start; }
.footer-col-center { justify-self: center; text-align: center; }
.footer-col-right { justify-self: end; text-align: right; }
.footer-col-center p { margin: 0; }
.footer-socials {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin: 0;
}
.footer-socials a {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: .5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .5rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links a:hover { color: var(--accent); }
.footer-sitemap-link { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-sitemap-link:hover { color: var(--accent); }
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col-left,
  .footer-col-center,
  .footer-col-right {
    justify-self: center;
    text-align: center;
  }
  .footer-socials,
  .footer-links {
    justify-content: center;
  }
}

/* ── Shared page chrome hero ── */
.page-chrome-hero {
  position: relative;
  margin-top: 4.5rem;
  padding: 3.25rem 2rem 2.75rem;
  background:
    linear-gradient(180deg, rgba(12, 20, 34, 0.96) 0%, rgba(8, 12, 20, 0.92) 100%),
    radial-gradient(circle at 15% 20%, rgba(0,229,255,0.10), transparent 38%),
    radial-gradient(circle at 85% 80%, rgba(123,92,255,0.12), transparent 42%);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.03);
}
.page-chrome-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0,229,255,0.025) 0px, rgba(0,229,255,0.025) 1px, transparent 1px, transparent 4px);
  opacity: .45;
  pointer-events: none;
}
.page-chrome-hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
.page-chrome-eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
  margin-bottom: .85rem;
}
.page-chrome-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  margin-bottom: .9rem;
  max-width: 18ch;
}
.page-chrome-subtitle {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(234,243,251,0.78);
  margin-bottom: 1rem;
}
.page-chrome-hero .intro-text {
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.6;
}
@media (max-width: 860px) {
  .page-chrome-hero {
    padding: 2.75rem 1.25rem 2.25rem;
  }
  .page-chrome-hero h2 {
    max-width: 100%;
  }
}

/* ── Contact form shell ── */
#contact-page { max-width: 1180px; margin: 0 auto; padding: 0 2rem 6rem; scroll-margin-top: 6.5rem; }
.hp-wrap { position: absolute; left: -9999px; top: -9999px; }
.form-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}
.form-spinner { text-align: center; color: var(--muted); }
.spinner-ring {
  width: 38px; height: 38px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid rgba(0,229,255,0.15);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-text { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.form-blocked { display: none; text-align: center; padding: 3rem 1rem; color: var(--muted); }
.form-blocked p { max-width: 42ch; margin: 0 auto; line-height: 1.6; }

.contact-panel {
  visibility: hidden;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity .3s ease;
}
.contact-panel.ready {
  visibility: visible;
  height: auto;
  opacity: 1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1rem;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 2rem;
}
.contact-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .8rem; }
.contact-card p { color: var(--muted); line-height: 1.6; font-size: .95rem; margin-bottom: 1rem; }
.contact-card a.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: .9rem;
  border-bottom: 1px solid rgba(0,229,255,0.3);
  padding-bottom: 2px;
}
.contact-card a.contact-link:hover { border-color: var(--accent); }
.contact-note {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .03em;
}

/* ── MS Forms embed — fixed window ── */
.msforms-wrap {
  visibility: hidden;
  height: 1100px;
  overflow: hidden;
  opacity: 0;
  transition: opacity .3s ease;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.msforms-wrap.ready,
.msforms-wrap.has-placeholder {
  visibility: visible;
  opacity: 1;
}
.msforms-wrap.has-placeholder {
  height: auto;
}
.msforms-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background: #fff;
}

/* ── Footer legal links ── */
.footer-legal { margin-bottom: .8rem; }
.footer-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--accent); }
.footer-legal-sep { color: var(--muted); margin: 0 .5rem; }

/* ── Legal content pages (privacy, terms) ── */
#legal-page { max-width: 1180px; margin: 0 auto; padding: 0 2rem 6rem; }
.legal-content { max-width: 70ch; color: var(--text); line-height: 1.7; }
.legal-content h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 2.4rem 0 .9rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 1rem; color: var(--muted); }
.legal-content ul { margin: 0 0 1rem 1.2rem; color: var(--muted); }
.legal-content li { margin-bottom: .4rem; }
.legal-content strong { color: var(--text); }
.legal-content blockquote {
  border-left: 2px solid var(--accent);
  padding: .6rem 1rem;
  margin: 1.2rem 0;
  color: var(--accent);
  font-size: .85rem;
  font-family: var(--font-mono);
}


/* VibeOps image assets */
.header-logo { display: block; height: 36px; width: auto; }
.hero-img-wrap {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 520px;
  opacity: 0.55;
  pointer-events: none;
}
.hero-img-wrap .hero-accent-img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .hero-img-wrap { display: none; } }
.pipeline-img-wrap { text-align: center; margin-bottom: 2.5rem; }
.pipeline-img { max-width: 100%; height: auto; opacity: 0.85; }
.cta-shield-wrap { text-align: center; margin-bottom: 1.5rem; }
.cta-shield-img { width: 140px; height: auto; aspect-ratio: 1 / 1; opacity: 0.7; }
@media (max-width: 860px) {
  #header {
    height: 4rem;
    padding: 0 1rem;
  }

  #intro {
    min-height: auto;
    padding: 6.5rem 1rem 3.75rem;
    align-items: flex-start;
  }

  #intro .inner {
    max-width: 34rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 13ch;
    margin-bottom: 1rem;
  }

  .hero-sub {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 34ch;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    gap: .75rem;
    margin-bottom: 1.4rem;
  }

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

  .hero-actions-primary .btn-secondary {
    flex: 1 1 0;
    justify-content: center;
  }

  .hero-stats {
    gap: .8rem;
  }

  .hero-stat {
    padding: .9rem .85rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(6, 10, 18, 0.48);
  }

  .hero-stats .stat-num {
    font-size: 1.35rem;
  }

  .hero-stats .stat-label {
    font-size: .68rem;
    line-height: 1.35;
  }

  .hero-stat-secondary {
    display: none;
  }

  .mobile-nav {
    top: 4rem;
    left: .75rem;
    right: .75rem;
  }

  .page-hero {
    padding: 7rem 1rem 2rem;
  }

  #contact-page {
    padding: 0 1rem 4rem;
  }

  .msforms-wrap {
    height: 1400px;
    max-width: 100%;
  }

  .footer-socials {
    gap: .75rem;
  }

  .footer-socials a,
  .footer-links a,
  .cookie-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .cookie-consent-actions a,
  .consent-placeholder-actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-links {
    gap: .6rem;
  }

  .footer-links a {
    width: 100%;
  }

  .process-step .step-num,
  .proof-item .label {
    font-size: .84rem;
    line-height: 1.5;
  }

  .scroll-down {
    bottom: 1rem;
  }
}
/* Manual cookie consent banner */
.cookie-consent[hidden] {
  display: none !important;
}
.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(5, 8, 16, 0.82);
}
.cookie-consent-card {
  width: min(680px, 100%);
  background: #0f1726;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}
.cookie-consent-card h3 {
  margin: 0 0 .7rem;
}
.cookie-consent-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.cookie-consent-card a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.cookie-consent-actions {
  display: flex;
  gap: .8rem;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: .78rem 1rem;
  cursor: pointer;
  font: inherit;
}
.cookie-btn-primary {
  background: var(--accent);
  color: #041019;
  border-color: var(--accent);
}
.cookie-btn-secondary {
  background: transparent;
  color: var(--text);
}
body.cookie-consent-open {
  overflow: hidden;
}
.consent-placeholder {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(255,255,255,0.03);
}
.msforms-wrap.has-placeholder .consent-placeholder {
  margin: 0 auto;
}
.consent-placeholder p + p { margin-top: .75rem; }
.consent-placeholder-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.consent-placeholder-actions a.cookie-btn,
.consent-placeholder-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  text-decoration: none;
}
@media (max-width: 640px) {
  #intro {
    padding-bottom: 3.25rem;
  }

  .scroll-down {
    position: static;
    transform: none;
    margin-top: .5rem;
    animation: none;
  }

  .hero-actions-primary .btn-secondary {
    width: 100%;
    flex-basis: 100%;
  }

  .cookie-consent {
    align-items: flex-end;
    padding: .85rem;
  }

  .cookie-consent-card {
    width: 100%;
    padding: 1rem;
    border-radius: 16px;
  }

  .cookie-consent-actions,
  .consent-placeholder-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions > *,
  .consent-placeholder-actions > * {
    width: 100%;
  }

  .cookie-consent-actions a,
  .consent-placeholder-actions a {
    justify-content: center;
  }
}
.blog-page {
  padding-top: 0;
}

.blog-page-inner {
  max-width: 980px;
}

.blog-section-head {
  max-width: 720px;
}

.blog-filter-shell {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  padding: 1.5rem;
  margin: 2rem 0 1.5rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15,18,24,.92), rgba(10,12,17,.96));
  box-shadow: 0 20px 45px rgba(0,0,0,.22);
}

.blog-filter-copy {
  max-width: 520px;
}

.blog-filter-eyebrow {
  margin: 0 0 .45rem;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(210,225,255,.68);
}

.blog-filter-shell h3 {
  margin: 0 0 .45rem;
  color: #fff;
}

.blog-filter-shell p {
  margin: 0;
  color: rgba(221,229,242,.78);
}

.blog-filter-form {
  min-width: 320px;
}

.blog-filter-label {
  display: block;
  margin-bottom: .55rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(210,225,255,.72);
}

.blog-filter-controls {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}

.blog-select-wrap {
  position: relative;
  flex: 1 1 240px;
}

.blog-filter-select {
  width: 100%;
  min-height: 48px;
  padding: .8rem 2.75rem .8rem .95rem;
  border-radius: 12px;
  border: 1px solid rgba(160,183,215,.28);
  background: rgba(255,255,255,.07);
  color: #fff;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.blog-filter-select option {
  color: #111;
}

.blog-select-wrap::after {
  content: "▾";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.72);
  pointer-events: none;
}

.blog-filter-select:focus,
.blog-filter-apply:focus,
.blog-filter-clear:focus,
.blog-inline-tag:focus,
.blog-read-link:focus {
  outline: 2px solid rgba(114,255,157,.55);
  outline-offset: 2px;
}

.blog-filter-apply,
.blog-filter-clear,
.blog-read-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.blog-filter-apply {
  border: 1px solid rgba(114,255,157,.42);
  background: linear-gradient(180deg, rgba(114,255,157,.18), rgba(114,255,157,.11));
  color: #d7ffe4;
  cursor: pointer;
}

.blog-filter-apply:hover,
.blog-filter-clear:hover,
.blog-read-link:hover,
.blog-inline-tag:hover {
  transform: translateY(-1px);
}

.blog-filter-clear {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(233,238,246,.85);
}

.blog-filter-status {
  margin-bottom: 1.5rem;
}

.blog-services-grid {
  margin-top: 0;
}

.blog-service-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.blog-card-body {
  min-width: 0;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}

.blog-card-date {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .2rem .65rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(202,212,231,.72);
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.blog-inline-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .24rem .72rem;
  border: 1px solid rgba(160,183,215,.22);
  border-radius: 999px;
  text-decoration: none;
  font-size: .78rem;
  color: rgba(225,233,245,.78);
  background: rgba(255,255,255,.04);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.blog-inline-tag.active {
  border-color: rgba(114,255,157,.45);
  background: rgba(114,255,157,.12);
  color: #d8ffe4;
}

.blog-card-actions {
  margin-top: 1rem;
}

.blog-read-link {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d9e5ff;
  justify-content: flex-start;
}

.blog-empty-state {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  text-align: center;
}

.blog-empty-state h3 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .blog-filter-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-filter-form {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .blog-filter-shell {
    padding: 1rem;
  }

  .blog-filter-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-filter-apply,
  .blog-filter-clear {
    width: 100%;
  }

  .blog-service-card {
    grid-template-columns: 1fr;
  }

  .blog-card-meta {
    align-items: flex-start;
  }
}
