/* ============================================================
   WORKFLOW CONCEPTS — DESIGN SYSTEM
   Aesthetic: yellow-accented enterprise dark
   Type: Bricolage Grotesque (display) / Instrument Sans (body)
         IBM Plex Mono (technical labels)
   ============================================================ */

:root {
  /* Canvas — warm near-black so yellow dominates */
  --bg0: #0A0800;
  --bg1: #12100A;
  --bg2: #1A1710;
  --bg3: #232019;

  /* Lines & surfaces — yellow-tinted at low opacity */
  --line: rgba(255, 176, 0, 0.12);
  --line2: rgba(255, 176, 0, 0.24);
  --glass: rgba(255, 255, 255, 0.03);

  /* Text — warm off-white */
  --text: #F8F5EC;
  --muted: #B8B0A0;
  --faint: #7A7265;

  /* Brand — yellow family */
  --brand: #FFB000;
  --brand-hi: #FFCC4D;
  --brand-deep: #8A5E00;
  --amber: #FFB000;
  --green: #C5A000;

  /* Type */
  --font-display: "Bricolage Grotesque", "Instrument Sans", sans-serif;
  --font-body: "Instrument Sans", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Rhythm */
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg0);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: rgba(255, 176, 0, 0.35); color: #fff; }

/* Subtle grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.1rem; line-height: 1.35; }
p { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 62ch; }
.accent { color: var(--brand-hi); }
.accent-amber { color: var(--amber); }

/* Gradient word inside display headlines */
.grad {
  background: linear-gradient(100deg, var(--brand-hi) 0%, var(--brand) 45%, #FFE69C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Mono eyebrow: [ 01 ] — LABEL */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-hi);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
}
.eyebrow.amber { color: var(--amber); }
.eyebrow.amber::before { background: var(--amber); box-shadow: 0 0 12px var(--amber); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section.alt { background: var(--bg1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }

@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .split { grid-template-columns: 1fr; }
  .split { gap: 40px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.7em;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(255, 176, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 176, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-ghost {
  border-color: var(--line2);
  color: var(--text);
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--brand); background: rgba(255, 176, 0, 0.08); transform: translateY(-2px); }
.btn-sm { padding: 0.6em 1.3em; font-size: 0.85rem; }

/* Inline arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.95rem; color: var(--brand-hi);
}
.arrow-link svg { width: 15px; height: 15px; transition: transform 0.25s; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.45em 1em;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--glass);
}
.chip.on, .chip:hover { color: var(--brand-hi); border-color: rgba(255, 176, 0, 0.5); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

.badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber);
  padding: 0.5em 1.1em;
  border: 1px solid rgba(255, 176, 0, 0.35);
  border-radius: 100px;
  background: rgba(255, 176, 0, 0.07);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 8, 0, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.logo img { height: 32px; width: auto; display: block; }
.logo span em { font-style: normal; color: var(--brand-hi); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.92rem; font-weight: 500; color: var(--muted);
  padding: 0.6em 0.95em; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover,
.nav-links > li > a[aria-current], .nav-links > li.open > button { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links .caret { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.2s; }
.nav-links li.open .caret { transform: rotate(180deg); }

/* Dropdown panel */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
li.open > .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 10px;
  transition: background 0.15s;
}
.dropdown a:hover { background: rgba(255, 176, 0, 0.09); }
.dropdown a b { display: block; font-size: 0.92rem; font-weight: 600; color: var(--text); }
.dropdown a small { display: block; font-size: 0.8rem; color: var(--faint); margin-top: 1px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Mobile nav */
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-burger { display: flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg0);
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  body.menu-open .nav-links { transform: translateX(0); }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links > li > a, .nav-links > li > button { width: 100%; justify-content: space-between; padding: 18px 6px; font-size: 1.05rem; }
  .dropdown {
    position: static; transform: none; min-width: 0;
    border: none; box-shadow: none; background: transparent;
    display: none; padding: 0 0 12px;
  }
  li.open > .dropdown { display: block; opacity: 1; visibility: visible; transform: none; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .glow {
  position: absolute;
  width: 900px; height: 900px;
  top: -320px; right: -180px;
  background: radial-gradient(circle, rgba(255, 176, 0, 0.16) 0%, rgba(204, 141, 0, 0.06) 40%, transparent 70%);
  filter: blur(20px);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero-bg .glow.two {
  width: 700px; height: 700px;
  top: auto; right: auto; bottom: -280px; left: -200px;
  background: radial-gradient(circle, rgba(255, 176, 0, 0.07) 0%, transparent 65%);
  animation-delay: -7s;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-60px, 40px) scale(1.08); }
}
.hero-bg .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 176, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 176, 0, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}
.hero-content { max-width: 820px; }
.hero .lede { margin: 1.6rem 0 2.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Page hero (subpages) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(64px, 9vw, 110px)) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .hero-bg .glow { width: 700px; height: 700px; top: -380px; }
.page-hero .lede { margin-top: 1.4rem; }
.page-hero .hero-ctas { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 14px; }
.breadcrumb {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 1.6rem;
  display: flex; gap: 0.8em; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--brand-hi); }
.breadcrumb .sep { color: var(--faint); opacity: 0.5; }

/* ---------- Logo strip ---------- */
.logos { margin-top: clamp(56px, 7vw, 88px); }
.logos-label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 22px;
}
.logos-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(24px, 4vw, 52px);
}
.logos-row span {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em;
  color: var(--faint);
  transition: color 0.3s;
  white-space: nowrap;
}
.logos-row span:hover { color: var(--muted); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px);
  transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1), border-color 0.35s, background 0.35s;
  overflow: hidden;
}
a.card:hover, .card.hover:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 176, 0, 0.45);
  background: var(--bg3);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; }
.card .arrow-link { margin-top: 1.4rem; }
.card .num {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.15em; color: var(--faint);
  display: block; margin-bottom: 1.6rem;
}
.card .outcome {
  margin-top: 1.2rem; padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem; color: var(--faint);
}
.card .outcome b { color: var(--green); font-weight: 600; }

/* Icon tile inside cards */
.tile {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 176, 0, 0.16), rgba(204, 141, 0, 0.05));
  border: 1px solid rgba(255, 176, 0, 0.25);
  margin-bottom: 1.4rem;
}
.tile svg { width: 24px; height: 24px; color: var(--brand-hi); }
.tile.amber {
  background: linear-gradient(145deg, rgba(255, 176, 0, 0.14), rgba(255, 176, 0, 0.03));
  border-color: rgba(255, 176, 0, 0.3);
}
.tile.amber svg { color: var(--amber); }

/* ---------- Stats ---------- */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg1);
  overflow: hidden;
}
.stat-band .stat { padding: clamp(28px, 3.5vw, 44px) clamp(20px, 3vw, 36px); border-left: 1px solid var(--line); }
.stat-band .stat:first-child { border-left: none; }
@media (max-width: 920px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band .stat:nth-child(odd) { border-left: none; }
  .stat-band .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .stat-band { grid-template-columns: 1fr; }
  .stat-band .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat-band .stat:first-child { border-top: none; }
}
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  color: var(--text);
}
.stat .stat-num em { font-style: normal; color: var(--amber); }
.stat .stat-label { margin-top: 0.7rem; font-size: 0.88rem; color: var(--muted); }
.stat .stat-src { display: block; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* ---------- Checklist ---------- */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 0.98rem; }
.check-list li b { color: var(--text); }
.check-list .check {
  flex: none; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 176, 0, 0.12);
  border: 1px solid rgba(255, 176, 0, 0.4);
}
.check-list .check svg { width: 11px; height: 11px; color: var(--green); }

/* ---------- Steps / process (01 02 03) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg1);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.8rem; letter-spacing: 0.15em;
  color: var(--brand-hi);
  display: inline-block;
  padding: 0.4em 0.9em;
  border: 1px solid rgba(255, 176, 0, 0.35);
  border-radius: 100px;
  margin-bottom: 1.4rem;
}
.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; }

/* Crawl → Walk → Run phases */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
@media (max-width: 920px) { .phases { grid-template-columns: 1fr; } }
.phase {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--bg2);
  position: relative;
}
.phase .phase-tag {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  display: inline-block; padding: 0.45em 1em;
  border-radius: 100px; margin-bottom: 1.3rem;
}
.phase:nth-child(1) .phase-tag { color: var(--muted); border: 1px solid var(--line2); }
.phase:nth-child(2) .phase-tag { color: var(--brand-hi); border: 1px solid rgba(255, 176, 0, 0.4); background: rgba(255, 176, 0, 0.07); }
.phase:nth-child(3) .phase-tag { color: var(--amber); border: 1px solid rgba(255, 176, 0, 0.4); background: rgba(255, 176, 0, 0.06); }
.phase h4 { margin-bottom: 0.6rem; }
.phase ul { margin-top: 1rem; display: grid; gap: 8px; }
.phase ul li { font-size: 0.9rem; color: var(--muted); padding-left: 1.2em; position: relative; }
.phase ul li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-family: var(--font-mono); font-size: 0.8em; top: 0.25em; }

/* ---------- Workflow diagram (node → node) ---------- */
.flow {
  display: flex; align-items: stretch; justify-content: space-between;
  gap: 8px; flex-wrap: wrap;
}
.flow-node {
  flex: 1; min-width: 130px;
  text-align: center;
  padding: 24px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg2);
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.flow-node:hover { border-color: rgba(255, 176, 0, 0.5); transform: translateY(-3px); }
.flow-node .tile { margin: 0 auto 14px; width: 44px; height: 44px; }
.flow-node .tile svg { width: 20px; height: 20px; }
.flow-node b { display: block; font-size: 0.9rem; font-weight: 600; }
.flow-node small { display: block; font-size: 0.75rem; color: var(--faint); margin-top: 3px; }
.flow-arrow {
  align-self: center; flex: none;
  color: var(--brand); opacity: 0.7;
  display: grid; place-items: center;
}
.flow-arrow svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .flow { flex-direction: column; }
  .flow-arrow svg { transform: rotate(90deg); }
}

/* Animated dashes for SVG connector lines */
.dash-line { stroke-dasharray: 6 8; animation: dashmove 1.6s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -14; } }

/* ---------- Carousel ---------- */
.carousel-wrap { position: relative; }
.carousel {
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 20px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * {
  flex: none;
  width: min(380px, 82vw);
  scroll-snap-align: start;
}
.carousel-nav { display: flex; gap: 10px; margin-top: 8px; }
.carousel-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line2);
  display: grid; place-items: center;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.carousel-btn:hover { border-color: var(--brand); color: var(--brand-hi); background: rgba(255, 176, 0, 0.08); }
.carousel-btn svg { width: 18px; height: 18px; }

/* ---------- Case study / results ---------- */
.case-card {
  display: flex; flex-direction: column;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 34px);
  transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1), border-color 0.35s;
}
.case-card:hover { transform: translateY(-5px); border-color: rgba(255, 176, 0, 0.45); }
.case-card .case-metric {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  color: var(--amber);
}
.case-card .case-metric-label { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
.case-card h4 { margin-top: 1.6rem; }
.case-card p { font-size: 0.92rem; margin-top: 0.5rem; flex: 1; }
.case-card .chip-row { margin-top: 1.3rem; }

/* Before / after comparison */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 720px) { .ba { grid-template-columns: 1fr; } }
.ba > div { padding: clamp(26px, 3vw, 38px); }
.ba .before { background: var(--bg1); border-right: 1px solid var(--line); }
.ba .after { background: linear-gradient(160deg, rgba(255, 176, 0, 0.09), rgba(204, 141, 0, 0.02)); }
@media (max-width: 720px) { .ba .before { border-right: none; border-bottom: 1px solid var(--line); } }
.ba .ba-tag {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 1.2rem; display: block;
}
.ba .before .ba-tag { color: var(--faint); }
.ba .after .ba-tag { color: var(--brand-hi); }
.ba ul { display: grid; gap: 10px; }
.ba li { font-size: 0.94rem; color: var(--muted); display: flex; gap: 10px; }
.ba .before li::before { content: "✕"; color: #E5646E; font-family: var(--font-mono); font-size: 0.8em; margin-top: 0.3em; }
.ba .after li::before { content: "✓"; color: var(--green); font-family: var(--font-mono); font-size: 0.8em; margin-top: 0.3em; }

/* Quote / testimonial */
.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg2);
  padding: clamp(30px, 4vw, 48px);
  position: relative;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500; line-height: 1.4; letter-spacing: -0.01em;
  color: var(--text);
}
.quote .quote-by { margin-top: 1.6rem; display: flex; align-items: center; gap: 14px; }
.quote .quote-by .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: #fff;
}
.quote .quote-by b { display: block; font-size: 0.92rem; }
.quote .quote-by small { color: var(--faint); font-size: 0.8rem; }

/* ---------- Tier cards (managed services) ---------- */
.tier {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg1);
  padding: clamp(28px, 3vw, 38px);
  position: relative;
}
.tier.featured {
  background: linear-gradient(170deg, rgba(255, 176, 0, 0.1), var(--bg2) 55%);
  border-color: rgba(255, 176, 0, 0.45);
  box-shadow: 0 20px 60px rgba(204, 141, 0, 0.18);
}
.tier .tier-flag {
  position: absolute; top: -13px; left: 28px;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--brand); color: #fff;
  padding: 0.45em 1.1em; border-radius: 100px;
}
.tier h3 { margin-bottom: 0.3rem; }
.tier .tier-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.4rem; }
.tier .check-list { margin: 1.2rem 0 1.8rem; flex: 1; }
.tier .sla {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem; margin-bottom: 1.6rem;
  font-size: 0.85rem; color: var(--muted);
  display: grid; gap: 6px;
}
.tier .sla b { color: var(--brand-hi); font-family: var(--font-mono); font-weight: 500; font-size: 0.8rem; }

/* ---------- Accordion ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  transition: background 0.2s;
}
.acc-head:hover { background: rgba(255, 255, 255, 0.02); }
.acc-head .acc-icon {
  flex: none; width: 28px; height: 28px;
  border: 1px solid var(--line2); border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 0.3s, border-color 0.3s;
}
.acc-head .acc-icon svg { width: 12px; height: 12px; color: var(--brand-hi); }
.acc-item.open .acc-icon { transform: rotate(45deg); border-color: var(--brand); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.acc-body-inner { padding: 0 26px 24px; font-size: 0.95rem; color: var(--muted); }

/* ---------- Table (SLA / KPI) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
.table th {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); font-weight: 500;
  text-align: left; padding: 16px 22px;
  background: var(--bg1);
  border-bottom: 1px solid var(--line);
}
.table td { padding: 16px 22px; border-bottom: 1px solid var(--line); color: var(--muted); }
.table tr:last-child td { border-bottom: none; }
.table td:first-child { color: var(--text); font-weight: 500; }

/* ---------- Mock dashboard window ---------- */
.window {
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  background: var(--bg1);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.window-bar i:first-child { background: rgba(229, 100, 110, 0.7); }
.window-bar i:nth-child(2) { background: rgba(255, 176, 0, 0.7); }
.window-bar i:nth-child(3) { background: rgba(255, 176, 0, 0.7); }
.window-bar span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--faint); margin-left: 8px; }
.window-body { padding: clamp(18px, 2.5vw, 28px); }

/* KPI mini-tiles inside windows */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.kpi {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; background: var(--bg2);
}
.kpi b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; display: block; }
.kpi small { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.kpi .up { color: var(--green); } .kpi .down { color: #E5646E; }

/* Simple CSS bar chart */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 16px; }
.bars i {
  flex: 1; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, rgba(255, 176, 0, 0.25), var(--brand));
  min-height: 12%;
  animation: barup 1s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.bars i.hot { background: linear-gradient(to top, rgba(255, 176, 0, 0.3), var(--amber)); }
@keyframes barup { from { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit; font-size: 0.95rem;
  color: var(--text);
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 176, 0, 0.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2396A3BE' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(80px, 10vw, 130px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 110%, rgba(255, 176, 0, 0.18), transparent 65%),
    var(--bg0);
}
.cta-band h2 { max-width: 700px; margin: 0 auto; }
.cta-band p { max-width: 560px; margin: 1.2rem auto 2.4rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg1);
  padding: clamp(56px, 7vw, 80px) 0 36px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 56px;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .logo { margin-bottom: 18px; }
.footer-about p { color: var(--faint); font-size: 0.88rem; max-width: 34ch; }
.footer h5 {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-hi); }
.footer-contact { display: grid; gap: 12px; color: var(--muted); }
.footer-contact a:hover { color: var(--brand-hi); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 0.8rem; color: var(--faint);
}
.footer-bottom .mono { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; }

/* ---------- Video modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
  background: rgba(10, 8, 0, 0.85);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 24px;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.3s;
}
.modal.open .modal-box { transform: scale(1); }
.modal-box iframe { width: 100%; height: 100%; border: none; }
.modal-close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px;
  border: 1px solid var(--line2); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted); background: var(--bg2);
  transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: var(--text); border-color: var(--brand); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.65, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1);
}
.reveal.in { 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; }

/* Hero load-in sequence */
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { animation: riseIn 0.9s 0.1s cubic-bezier(0.2, 0.65, 0.2, 1) backwards; }
.hero h1 { animation: riseIn 0.9s 0.25s cubic-bezier(0.2, 0.65, 0.2, 1) backwards; }
.hero .lede { animation: riseIn 0.9s 0.4s cubic-bezier(0.2, 0.65, 0.2, 1) backwards; }
.hero .hero-ctas { animation: riseIn 0.9s 0.55s cubic-bezier(0.2, 0.65, 0.2, 1) backwards; }
.hero .logos { animation: riseIn 0.9s 0.75s cubic-bezier(0.2, 0.65, 0.2, 1) backwards; }
.page-hero .breadcrumb { animation: riseIn 0.8s 0.05s cubic-bezier(0.2, 0.65, 0.2, 1) backwards; }
.page-hero .eyebrow { animation: riseIn 0.8s 0.15s cubic-bezier(0.2, 0.65, 0.2, 1) backwards; }
.page-hero h1 { animation: riseIn 0.8s 0.25s cubic-bezier(0.2, 0.65, 0.2, 1) backwards; }
.page-hero .lede { animation: riseIn 0.8s 0.38s cubic-bezier(0.2, 0.65, 0.2, 1) backwards; }
.page-hero .hero-ctas { animation: riseIn 0.8s 0.5s cubic-bezier(0.2, 0.65, 0.2, 1) backwards; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: var(--font-mono); }
.flex-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
