/* ==========================================================================
   Monkey Crayon - Master the Media Jungle
   Global design system · Brand: Ink #000000, Cobalt #0066FF, Sky #BAD4FA,
   Pine/Teal #00A863, Cream #DEDECC, Pearl #E8E8F2
   ========================================================================== */

@font-face {
  font-family: 'Sherika';
  src: url('../assets/fonts/sherika-bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Cicle';
  src: url('../assets/fonts/cicle-fina.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../assets/fonts/opensans-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #000000;
  --cobalt: #0066ff;
  --cobalt-dark: #0052cc;
  --sky: #bad4fa;
  --pine: #00a863;
  --teal: #00a863;
  --cream: #dedecc;
  --pearl: #e8e8f2;
  --white: #ffffff;
  --font-head: 'Sherika', 'Arial Black', sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;
  --font-accent: 'Cicle', 'Open Sans', sans-serif;
  --max-w: 1180px;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 20, 60, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
ul { padding-left: 1.2em; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 100px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--cobalt); text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

.eyebrow {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--cobalt);
  display: block;
  margin-bottom: 1rem;
}
.on-dark .eyebrow, .eyebrow.light { color: var(--teal); }
.hero .eyebrow.light { color: var(--white); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.pt-tight { padding-top: 40px; }
.card-tint-blue { background: var(--sky); border-color: var(--sky); }
.card-tint-blue .card-tag { background: var(--white); }
.card-tag-blue { background: #BAD4FA; }
.page-hero.pb-tight { padding-bottom: 40px; }

.lead { font-size: 1.18rem; max-width: 720px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ------- Buttons ------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { background: var(--cobalt-dark); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-teal { background: var(--teal); color: var(--ink); }
.btn-teal:hover { background: #00c274; }

/* ------- Header / Nav ------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pearl);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  max-width: 1320px;
  margin: 0 auto;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; padding-left: 0; }
.nav-mobile-cta { display: none; }
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--cobalt); color: var(--cobalt); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .login-link { font-weight: 700; color: var(--ink); font-size: 0.95rem; display: none; }
.nav-cta .login-link:hover { color: var(--cobalt); }
.footer-login-hidden { display: none; }
.case-hidden { display: none; }
.nav-cta .btn { padding: 11px 24px; font-size: 0.9rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; line-height: 1; }

/* ------- Site-wide centered-logo header (transparent over hero, solid on scroll) ------- */
.nav-wrap-centered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-wrap-centered .nav-links { justify-self: start; }
.nav-wrap-centered .nav-cta { justify-self: end; }
.nav-logo-center { justify-self: center; }
.nav-logo-center img { height: 60px; width: auto; }

.site-header-hero {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  z-index: 200;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header-hero .nav-links a { color: var(--white); }
.site-header-hero .nav-links a:hover, .site-header-hero .nav-links a.active { color: var(--white); border-bottom-color: var(--white); }
.site-header-hero .nav-cta .login-link { color: var(--white); }
.site-header-hero .nav-cta .login-link:hover { color: var(--cobalt); }
.site-header-hero .nav-toggle { color: var(--white); }
.site-header-hero.scrolled {
  position: fixed;
  background: var(--ink);
  box-shadow: var(--shadow);
}
@media (max-width: 980px) {
  .nav-wrap-centered { grid-template-columns: auto 1fr auto; }
}

/* ------- Hero ------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 130px 0 120px;
}
.hero.hero-media-wall {
  padding: 180px 0 130px;
}
.hero-bg {
  position: absolute;
  top: -20%; left: 0; right: 0; height: 140%;
  background: url('../assets/img/media-wall.jpg') center center / cover no-repeat;
  z-index: 0;
  will-change: transform;
}
.hero.hero-media-wall::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 88% 10%, rgba(0, 102, 255, 0.35), transparent 65%),
    radial-gradient(520px 340px at 5% 95%, rgba(0, 168, 99, 0.22), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 850px; }
.hero.hero-media-wall h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.hero h1 .hl { color: var(--teal); }
.hero .lead { color: var(--pearl); margin-top: 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.4rem; justify-content: center; }
.hero-trust {
  margin-top: 2rem;
  font-family: var(--font-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--sky);
}
.hero-vine {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 420px;
  opacity: 0.16;
  z-index: 1;
}

/* ------- Stat band ------- */
.stat-band { background: var(--cobalt); color: var(--white); padding: 56px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.stat-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 780px; margin: 0 auto; }
.stat-grid .num, .stat-grid-5 .num { font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 3rem); display: block; }
.stat-grid .label, .stat-grid-5 .label {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--sky);
}
.placeholder-note {
  font-size: 0.78rem;
  opacity: 0.65;
  text-align: center;
  margin-top: 1.6rem;
  font-style: italic;
}

/* ------- Cards ------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--pearl);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--sky); }
.card h3 { margin-bottom: 0.7rem; }
.card p { font-size: 0.98rem; }
#one-model-section .card p { font-size: 1.08rem; }
#one-model-section .card ul {
  margin-top: 1.1rem;
  padding-left: 1.15em;
}
#one-model-section .card ul li { font-size: 1.08rem; }
.card .icon-img { height: 64px; width: auto; margin-bottom: 1.2rem; }
.blog-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.blog-card p { flex-grow: 1; }
.blog-card .read-more {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--cobalt);
}
.blog-card:hover .read-more { color: var(--cobalt-dark); }
.team-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.team-row .team-card {
  flex: 1 1 200px;
  max-width: 210px;
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 200px;
  justify-content: flex-start;
}
.team-avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--pearl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.team-card h3 { font-size: 1.05rem; }
.team-card p { color: #555; }
.card-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--pearl);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 1rem;
}

/* ------- Alternating split rows ------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.split.reverse > .split-media { order: 2; }
.split-media {
  background: var(--pearl);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.split-media img { max-height: 280px; width: auto; }
.split h2 { margin-bottom: 1.1rem; }
.split ul { margin: 1.2rem 0 0 1.2rem; }
.split li { margin-bottom: 0.55rem; }

/* ------- Section themes ------- */
.bg-pearl { background: var(--pearl); }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.bg-cobalt { background: var(--cobalt); color: var(--white); }

/* ------- Problem / options comparison ------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.compare .option {
  border-radius: var(--radius);
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--pearl);
  box-shadow: var(--shadow);
}
.compare .option h3 { margin-bottom: 0.4rem; }
.compare .verdict {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--cobalt);
  margin-bottom: 1rem;
  display: block;
}
.compare ul { list-style: none; margin-top: 1rem; }
.compare li { padding-left: 1.6em; position: relative; margin-bottom: 0.5rem; font-size: 0.97rem; }
.compare li.pro::before { content: '✓'; color: var(--pine); position: absolute; left: 0; font-weight: 700; }
.compare li.con::before { content: '✕'; color: #c0392b; position: absolute; left: 0; font-weight: 700; }

.model-banner {
  margin-top: 40px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 52px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.model-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 300px at 80% 0%, rgba(0, 102, 255, 0.4), transparent 65%);
}
.model-banner > * { position: relative; z-index: 1; }
.model-banner h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
.model-banner p { max-width: 760px; margin: 0 auto; color: var(--pearl); }

/* ------- Process loop ------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.process .step {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--pearl);
  padding: 26px 20px;
  text-align: center;
  position: relative;
}
.process .step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  color: var(--cobalt);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}
.process .step h4 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.process .step p { font-size: 0.86rem; line-height: 1.5; }

/* ------- Testimonials ------- */
.quote-card {
  background: var(--white);
  border-left: 5px solid var(--cobalt);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.quote-card blockquote { font-size: 1.02rem; font-style: italic; }
.quote-card svg { margin-bottom: 14px; display: block; }
.quote-card cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cobalt);
}

/* ------- Case study feature ------- */
.case-feature {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.case-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 320px at 100% 100%, rgba(0, 168, 99, 0.3), transparent 60%);
}
.case-feature > * { position: relative; z-index: 1; }
.case-stats { display: grid; gap: 20px; }
.case-stats .stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 18px 22px;
}
.case-stats .num { font-family: var(--font-head); font-size: 1.9rem; color: var(--teal); display: block; }
.case-stats .label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; color: var(--pearl); }

/* ------- CTA footer band ------- */
.cta-band {
  background: var(--cobalt);
  color: var(--white);
  text-align: center;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 340px at 12% 110%, rgba(0, 0, 0, 0.28), transparent 65%);
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band.pb-tight { padding-bottom: 40px; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 640px; margin: 0 auto 2rem; color: var(--sky); }

/* ------- Footer ------- */
.site-footer { background: var(--ink); color: var(--pearl); padding: 72px 0 36px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-grid img.footer-logo { height: 52px; width: auto; margin-bottom: 1rem; }
.site-footer h4 {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--sky);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding-left: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--pearl); }
.site-footer a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(232, 232, 242, 0.65);
}

/* ------- Page hero (interior pages) ------- */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(640px 380px at 90% 20%, rgba(0, 102, 255, 0.35), transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { color: var(--pearl); margin-top: 1.2rem; }

/* ------- Forms ------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 44px 40px;
  border: 1px solid var(--pearl);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cream);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}
.form-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.form-checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.95rem;
  cursor: pointer;
}
.form-checkbox-grid input[type="checkbox"] {
  width: auto;
  accent-color: var(--cobalt);
}
@media (max-width: 620px) {
  .form-checkbox-grid { grid-template-columns: 1fr; }
}

/* ------- Login page ------- */
.login-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
}
.login-brand {
  position: relative;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px;
  overflow: hidden;
  background:
    radial-gradient(700px 500px at 80% 15%, rgba(0, 102, 255, 0.45), transparent 65%),
    radial-gradient(500px 400px at 10% 90%, rgba(0, 168, 99, 0.3), transparent 60%),
    var(--ink);
}
.login-brand img.brand-logo { height: 60px; width: auto; }
.login-brand h1 { font-size: clamp(2rem, 3.4vw, 3rem); max-width: 480px; }
.login-brand h1 .hl { color: var(--teal); }
.login-brand .platform-tag {
  font-family: var(--font-accent);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--sky);
  margin-bottom: 1rem;
  display: block;
}
.login-brand .vine { position: absolute; bottom: -30px; right: -40px; width: 340px; opacity: 0.14; }
.login-panel { background: var(--white); display: flex; align-items: center; justify-content: center; padding: 48px; }
.login-card { width: 100%; max-width: 420px; }
.login-card h2 { margin-bottom: 0.4rem; }
.login-card .sub { color: #555; margin-bottom: 2rem; }
.login-extras { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; margin: 4px 0 22px; }
.login-extras label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.login-card .btn { width: 100%; }
.login-foot { margin-top: 2rem; font-size: 0.88rem; color: #666; text-align: center; }
.badge-soon {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
  margin-left: 8px;
}

/* ------- Utility ------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 44px;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: #777;
}
.divider-vine { text-align: center; padding: 8px 0; }
.divider-vine img { height: 90px; margin: 0 auto; opacity: 0.8; }

/* ------- Responsive ------- */
@media (max-width: 980px) {
  .grid-3, .grid-4, .process { grid-template-columns: 1fr 1fr; }
  .split, .compare, .case-feature, .login-body { grid-template-columns: 1fr; }
  .split.reverse > .split-media { order: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid-3 { grid-template-columns: 1fr 1fr; max-width: none; }
  .stat-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .login-brand { min-height: 300px; }
  .nav-logo-center img { height: 44px; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--ink);
    padding: 100px 28px 40px;
    border-left: none;
    border-bottom: none;
    gap: 14px;
    box-shadow: none;
    overflow-y: auto;
    z-index: 250;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    font-size: 1.6rem;
    font-family: var(--font-head);
    display: inline-block;
  }
  .nav-mobile-cta { display: block; margin-top: 16px; }
  .nav-mobile-cta .btn,
  .site-header-hero .nav-links a.btn {
    display: inline-block;
    font-size: 1rem;
    padding: 18px 40px;
  }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 300;
    font-size: 2.2rem;
  }
  .nav-toggle.is-open,
  .site-header-hero .nav-toggle.is-open { color: var(--white); }
  .nav-cta .btn { display: none; }
  .nav-logo-center {
    position: relative;
    z-index: 260;
  }
}
@media (max-width: 620px) {
  section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .process, .stat-grid, .stat-grid-3, .stat-grid-5, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 80px; }
  .page-hero { padding-bottom: 56px; }
  .case-feature { padding: 40px 28px; }
}

/* ------- Accessibility ------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cobalt);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 2px;
}

/* ------- Comparison table ------- */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--pearl); font-size: 0.95rem; vertical-align: top; }
.compare-table thead th { font-family: var(--font-head); font-size: 1rem; background: var(--ink); color: var(--white); }
.compare-table thead th.mc-col { background: var(--cobalt); }
.compare-table td.mc-col { background: rgba(0, 102, 255, 0.06); font-weight: 600; }
.compare-table tbody th { font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: #555; }
.table-scroll { overflow-x: auto; }

/* ------- FAQ ------- */
.faq-item { border: 1px solid var(--pearl); border-radius: var(--radius); margin-bottom: 14px; background: var(--white); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-size: 1.05rem; list-style: none; position: relative; }
.faq-item summary::after { content: '+'; position: absolute; right: 24px; color: var(--cobalt); font-size: 1.4rem; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-body { padding: 0 24px 20px; font-size: 0.98rem; }

/* ------- Lead magnet band ------- */
.magnet-band { background: var(--pearl); border-radius: var(--radius); padding: 44px 48px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.magnet-band form { display: flex; gap: 12px; }
.magnet-band input[type="email"] { flex: 1; padding: 13px 16px; border: 1.5px solid var(--cream); border-radius: 10px; font-family: var(--font-body); font-size: 1rem; }

/* ------- Timeline ------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline .t-step { background: var(--white); border: 1px solid var(--pearl); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); position: relative; }
.timeline .t-step .t-when { font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; color: var(--cobalt); display: block; margin-bottom: 0.5rem; }
.timeline .t-step h4 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.timeline .t-step p { font-size: 0.88rem; line-height: 1.5; }

/* ------- Case study detail pages ------- */
.stat-panel { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat-panel-head {
  padding: 16px 24px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
}
.stat-panel-body { background: var(--white); padding: 22px 24px; }
.stat-panel-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--pearl);
  font-size: 0.95rem;
}
.stat-panel-row:last-child { border-bottom: none; }
.stat-panel-row .val { font-weight: 700; }
.stat-panel-row .val.accent { color: var(--teal); }

.tactic-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tactic-table th, .tactic-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--pearl); font-size: 0.92rem; }
.tactic-table thead th { font-family: var(--font-head); background: var(--ink); color: var(--white); }
.tactic-table tbody tr.grand-total { background: var(--sky); font-weight: 700; }
.tactic-table tbody tr.grand-total td { border-bottom: none; }

.mediamix-card .num { font-family: var(--font-head); font-size: 2.1rem; display: block; margin: 0.2rem 0 0.6rem; }
.mediamix-card .label-sub { font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; color: #777; }

.spend-bar-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; margin-bottom: 14px; font-size: 0.92rem; }
.spend-bar-track { background: var(--pearl); border-radius: 999px; height: 14px; overflow: hidden; }
.spend-bar-fill { height: 100%; border-radius: 999px; }

.creative-card { border-radius: var(--radius); padding: 28px 26px; color: var(--white); box-shadow: var(--shadow); }
.creative-card .spot-len { font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; opacity: 0.85; display: block; margin: 0.8rem 0 1rem; }
.creative-card p { font-size: 0.92rem; }
.creative-card.on-light { color: var(--ink); }

.takeaway-row { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 32px; }
.takeaway-icon { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.takeaway-row h3 { margin-bottom: 0.3rem; }

@media (max-width: 620px) {
  .stat-panel-row, .spend-bar-row { font-size: 0.88rem; }
  .spend-bar-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ------- Quick links ------- */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.quick-links a {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--ink);
  background: var(--sky);
  border-radius: 999px;
  padding: 10px 20px;
  transition: background 0.15s ease, color 0.15s ease;
}
.quick-links a:hover { background: var(--cobalt); color: var(--white); }

/* ------- Category banners (services page) ------- */
.category-banner {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 22px 30px;
  margin: 64px 0 28px;
  scroll-margin-top: 100px;
}
.category-banner:first-of-type { margin-top: 0; }
.category-banner h2 {
  font-family: var(--font-head);
  margin: 0;
}

/* ------- Scroll reveal ------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

@media (max-width: 980px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .magnet-band { grid-template-columns: 1fr; padding: 32px 28px; }
}
@media (max-width: 620px) {
  .timeline { grid-template-columns: 1fr; }
  .magnet-band form { flex-direction: column; }
}
