/* Delaway Digital — single stylesheet for every page.
   Colours and fonts live in :root so they can be changed in one place. */

:root {
  --blue: #002acd;
  --teal: #5eebc9;
  --teal-dark: #19bdab;
  --ink: #212529;
  --text: #343a40;
  --muted: #6c757d;
  --grey-bg: #f8f9fa;
  --grey-border: #efefef;
  --gradient: linear-gradient(115deg, var(--blue) 0%, var(--teal-dark) 100%);
  --glow: 0 4px 11px 0 rgba(0, 42, 205, 0.99);
  --container: 1080px;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Bungee", "Inter", sans-serif;
  --font-alt: "Poppins", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
p + p { margin-top: 0.9em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 1112px) { .container { padding: 0; } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -40px;
  background: var(--blue); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 2px solid var(--teal);
  border-radius: 10px;
  background: var(--gradient);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  color: #fff;
  font: 500 15px/1.2 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn svg { width: 14px; height: 14px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 4px 23px -4px rgba(0, 0, 0, 0.1);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.site-header .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-header .logo-mark { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a:not(.btn) { color: #000; font-size: 15px; text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--blue); }

/* ---------- Section headings ---------- */
.section { padding: 60px 0 0; }
.section-title {
  color: var(--blue);
  font: 400 42.5px/1.15 var(--font-display);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.section-title.center { text-align: center; }
.section-subtitle { text-align: center; margin: -24px 0 40px; }

/* Glowing card look used across the home page */
.glow-card {
  border: 3px solid var(--teal);
  border-radius: 10px;
  box-shadow: var(--glow);
  background: #fff;
}

/* ---------- Press logo strip & reviews bar ---------- */

.logo-strip {
  overflow: hidden;
  max-width: 1060px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
  display: flex; align-items: center; gap: 100px;
  width: max-content;
  padding: 20px 0;
  animation: marquee 30s linear infinite;
}
.logo-track img { height: 38px; width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

.reviews-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 40px;
  padding: 32px;
  background: var(--grey-bg);
  border: 1px solid var(--grey-border);
  font-size: 14px;
}
.reviews-bar .stars { width: 90px; }
.reviews-bar .google { width: 70px; }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}
.service-card { padding: 24px; }
.service-card h3 { color: var(--blue); font: 500 17.5px/1.3 var(--font-alt); margin-bottom: 10px; }
.service-card p { color: #000; font: 500 14.25px/1.5 var(--font-alt); }

/* ---------- Testimonials ---------- */
.testimonial { margin: 0; padding: 24px 24px 0; display: flex; flex-direction: column; }
.testimonial .stars { width: 109px; margin-bottom: 12px; }
.testimonial h3 { color: var(--blue); font: 600 16px/1.3 var(--font-body); margin-bottom: 4px; }
.testimonial blockquote { margin: 0 0 14px; color: #000; flex: 1; }
.testimonial figcaption {
  border-top: 1px solid #f1f3f5;
  padding: 15px 0 12px;
  color: var(--blue);
  font-size: 14px;
}

.featured-testimonial {
  max-width: 820px; margin: 50px auto 0; text-align: center;
}
.featured-testimonial .wildfire { width: 150px; margin: 0 auto 16px; }
.featured-testimonial blockquote { margin: 0; font: 400 15px/1.6 var(--font-alt); }
.featured-testimonial figcaption {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 20px; font: 500 12px/1.3 var(--font-alt); text-align: left;
}
.featured-testimonial figcaption img { width: 50px; height: 50px; border-radius: 50%; }
.featured-testimonial figcaption span { display: block; color: var(--muted); font-weight: 400; font-size: 10px; }

/* ---------- Case studies ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 299px);
  justify-content: center;
  gap: 40px 60px;
}
.case-card {
  padding: 13px;
  border: 2px solid var(--teal);
  border-radius: 10px;
  box-shadow: var(--glow);
  background: linear-gradient(45deg, #fff 0%, #f1f2f3 100%);
  text-align: center;
}
.case-card img { width: 100%; aspect-ratio: 400 / 360; object-fit: cover; margin-bottom: 18px; }
.case-card .category { color: var(--blue); font: 600 14.3px/1.2 var(--font-alt); }
.case-card h3 { font: 500 13px/1.5 var(--font-alt); color: var(--ink); margin: 4px 0 8px; }
.case-card p:last-child { font: 400 13px/1.5 var(--font-alt); color: var(--text); margin-top: 0; }

/* ---------- Contact ---------- */
.contact { padding-top: 60px; text-align: center; scroll-margin-top: 80px; }
.contact h2 { color: var(--blue); font: 400 31px/1.2 var(--font-display); text-transform: uppercase; }
.contact .intro { font-size: 18px; max-width: 620px; margin: 10px auto 50px; color: var(--ink); }

.contact-form {
  max-width: 650px; margin: 0 auto;
  padding: 36px 32px;
  background: #f8f8f8;
  border: 1px solid var(--grey-border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  text-align: left;
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; font: 500 16px/1 var(--font-body); color: var(--text); margin-bottom: 8px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  background: #fff;
  font: 400 15px/1.4 var(--font-body);
  color: #000;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--teal-dark); outline-offset: 0; border-color: transparent; }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form button {
  width: 100%; justify-content: center; padding: 13px; font-size: 19px; font-weight: 400;
  box-shadow: none;
}
.honeypot { display: none; }

/* ---------- About page ---------- */
.about { padding: 20px 0 0; }
.about img { width: 100%; }
.about h1 { font: 800 40px/1.2 var(--font-body); color: var(--ink); margin: 30px 0 10px; }
.about p + p { margin-top: 1.2em; }

.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 60px;
  padding: 32px;
  background: var(--grey-bg);
  border: 1px solid var(--grey-border);
}
.cta-box h2 { font: 800 32px/1.2 var(--font-body); color: var(--ink); }

/* ---------- Simple text pages (legal, thanks) ---------- */
.prose { max-width: 760px; padding-top: 50px; padding-bottom: 20px; }
.prose h1 { font: 800 40px/1.2 var(--font-body); color: var(--ink); margin-bottom: 8px; }
.prose h2 { font: 700 22px/1.3 var(--font-body); color: var(--ink); margin: 32px 0 10px; }
.prose .updated { color: var(--muted); margin-bottom: 24px; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--blue); }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 299px)); gap: 30px; }
}

@media (max-width: 767px) {
  .section-title { font-size: 30px; margin-bottom: 28px; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .card-grid, .case-grid { grid-template-columns: 1fr; }
  .case-grid { justify-items: center; }
  .contact h2 { font-size: 24px; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 16px; }
  .logo-track { gap: 60px; }
  .about h1, .prose h1 { font-size: 32px; }
  .cta-box h2 { font-size: 26px; }
}

.form-error { margin-top: 10px; color: #b00020; font-size: 14px; }
.contact-form button:disabled { opacity: 0.6; cursor: wait; }

/* =========================================================
   Homepage v2 (structure: promise → proof → story → method → results → CTA)
   ========================================================= */
.eyebrow {
  color: var(--teal-dark);
  font: 600 13px/1.3 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.center { text-align: center; }
.center .btn, p.center { margin-top: 28px; }

.btn-lg { padding: 14px 20px; font-size: 16px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  color: var(--blue);
  font: 600 15px/1.2 var(--font-body);
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-outline:hover { background: rgba(0, 42, 205, 0.06); }

/* Hero */
.hero-v2 { padding: 64px 0 40px; text-align: center; }
.hero-wordmark { display: block; width: 100%; max-width: 880px; height: auto; margin: 0 auto 36px; }
.hero-v2 h1 {
  max-width: 900px; margin: 0 auto;
  color: var(--blue);
  font: 400 44px/1.12 var(--font-display);
  text-transform: uppercase;
}
.highlight {
  background: linear-gradient(transparent 55%, rgba(94, 235, 201, 0.7) 55%);
  padding: 0 4px;
}
.hero-v2 .lead {
  max-width: 680px; margin: 22px auto 0;
  color: var(--ink);
  font-size: 19px; line-height: 1.55;
}
.hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.stats {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  max-width: 860px; margin: 56px auto 0;
}
.stat { padding: 22px 16px; }
.stat strong { display: block; color: var(--blue); font: 400 30px/1.1 var(--font-display); }
.stat span { display: block; margin-top: 6px; color: var(--text); font-size: 14px; }

/* Trust strip */
.trust { padding: 30px 0 0; }
.trust-label { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.trust .reviews-bar { margin-top: 20px; }

/* Problem story */
.story { max-width: 720px; font-size: 18px; line-height: 1.65; color: var(--ink); }
.story p + p { margin-top: 1em; }
.story-turn { color: var(--blue); font: 400 26px/1.2 var(--font-display); text-transform: uppercase; margin-top: 1.4em !important; }

/* Personal intro */
.intro-card {
  display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center;
  padding: 30px;
}
.intro-photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 72% 30%; border-radius: 10px; }
.intro-card h2 { color: var(--ink); font: 800 32px/1.2 var(--font-body); margin-bottom: 14px; }
.intro-card p + p { margin-top: 0.9em; }
.intro-card .btn { margin-top: 22px; }

/* Method */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.step { padding: 24px; }
.step-num {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  font: 400 18px/1 var(--font-display);
  margin-bottom: 16px;
}
.step h3 { color: var(--blue); font: 600 18px/1.3 var(--font-alt); margin-bottom: 8px; }
.step p { font: 400 14.5px/1.55 var(--font-alt); color: #000; }

/* Featured results */
.results { display: grid; gap: 30px; }
.result { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; padding: 20px; }
.result img { width: 100%; border-radius: 8px; aspect-ratio: 400 / 360; object-fit: cover; }
.result .category { color: var(--teal-dark); font: 600 13px/1.3 var(--font-body); text-transform: uppercase; letter-spacing: 0.05em; }
.result h3 { color: var(--blue); font: 800 26px/1.2 var(--font-body); margin: 6px 0 10px; }
.result p { color: var(--text); }
.metrics { list-style: none; padding: 0; display: flex; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.metrics li { background: var(--grey-bg); border: 1px solid var(--grey-border); border-radius: 10px; padding: 12px 18px; }
.metrics strong { display: block; color: var(--blue); font: 400 24px/1.1 var(--font-display); }
.metrics span { font-size: 13px; color: var(--muted); }
.subhead { text-align: center; color: var(--ink); font: 700 22px/1.3 var(--font-body); margin: 60px 0 30px; }

/* Comparison table */
.compare-wrap { padding: 8px 20px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--grey-border); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { color: var(--blue); font: 700 16px/1.3 var(--font-body); }
.compare tbody th { color: var(--ink); font-weight: 600; width: 22%; }
.compare td:nth-child(3) { color: var(--muted); }
.yes { color: var(--teal-dark); font-weight: 700; margin-right: 6px; }
.no { color: #c0392b; font-weight: 700; margin-right: 6px; }

/* Testimonials (2 x 2) */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* FAQ */
.faq { max-width: 800px; }
.faq details { border: 2px solid var(--teal); border-radius: 10px; margin-bottom: 14px; background: #fff; }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 48px 18px 20px; position: relative;
  color: var(--ink); font: 600 17px/1.4 var(--font-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; color: var(--blue); font: 400 24px/1 var(--font-display); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; }

/* Contact v2: offer on the left, form on the right */
.contact-v2 { text-align: left; padding-top: 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-copy h2 { font-size: 34px; margin-bottom: 12px; }
.contact-copy > p { font-size: 17px; color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 22px 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal-dark); font-weight: 800; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 2px solid var(--teal); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--blue); }
.contact-v2 .contact-form { margin: 0; max-width: none; }

@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hide-mobile { display: none; }
  .hero-v2 { padding: 48px 0 24px; }
  .hero-v2 h1 { font-size: 28px; }
  .hero-wordmark { margin-bottom: 24px; }
  .hero-v2 .lead { font-size: 17px; }
  .stats { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .story { font-size: 17px; }
  .intro-card, .result { grid-template-columns: 1fr; gap: 20px; }
  .intro-photo { max-width: 260px; }
  .steps, .testimonial-grid { grid-template-columns: 1fr; }
  .result h3 { font-size: 22px; }
  .contact-copy h2 { font-size: 26px; }
}

.intro-photo { object-position: center; }
.talk-to { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.talk-to img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--teal); }
.talk-to p { font-weight: 600; color: var(--ink); }

/* ---------- Spacing pass: give homepage sections more room ---------- */
.section { padding-top: 110px; }
.section-title { margin-bottom: 48px; }
.section-subtitle { margin: -32px 0 56px; }

.hero-v2 { padding: 100px 0 40px; }
.hero-wordmark { margin-bottom: 64px; }
.hero-v2 .eyebrow { margin-bottom: 18px; }
.hero-v2 .lead { margin-top: 30px; line-height: 1.65; }
.hero-ctas { margin-top: 44px; }
.stats { margin-top: 96px; gap: 36px; }
.stat { padding: 30px 20px; }

.trust { padding-top: 90px; }
.trust .logo-strip { margin-top: 12px; }
.trust .reviews-bar { margin-top: 36px; }

.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.story { max-width: none; }
.story .section-title { margin-bottom: 28px; }
.story .btn { margin-top: 16px; }
.story-photo { width: 100%; border-radius: 14px; box-shadow: var(--glow); border: 3px solid var(--teal); aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% center; }

.intro-card { padding: 48px; gap: 56px; }
.steps { gap: 30px; }
.step { padding: 32px 28px; }
.card-grid { gap: 40px; }
.service-card { padding: 32px 28px; }
.results { gap: 44px; }
.result { padding: 28px; gap: 44px; }
.subhead { margin: 90px 0 40px; }
.testimonial-grid { gap: 40px; }
.testimonial { padding: 32px 32px 0; }
.featured-testimonial { margin-top: 80px; }
.compare th, .compare td { padding: 20px 16px; }
.faq details { margin-bottom: 18px; }
.contact-v2 { padding-top: 120px; }
.contact-grid { gap: 72px; }

@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 767px) {
  .section { padding-top: 72px; }
  .section-title { margin-bottom: 32px; }
  .section-subtitle { margin: -20px 0 36px; }
  .hero-v2 { padding: 56px 0 24px; }
  .hero-wordmark { margin-bottom: 36px; }
  .stats { margin-top: 56px; gap: 18px; }
  .trust { padding-top: 56px; }
  .intro-card { padding: 28px; gap: 28px; }
  .result { padding: 20px; gap: 22px; }
  .subhead { margin: 56px 0 28px; }
  .contact-v2 { padding-top: 80px; }
  .contact-grid { gap: 40px; }
}

/* Hero balance: headline narrower than the wordmark, highlight sits behind the word */
.hero-v2 h1 { max-width: 760px; font-size: 40px; line-height: 1.2; }
.highlight { background: linear-gradient(transparent 58%, rgba(94, 235, 201, 0.6) 58%, rgba(94, 235, 201, 0.6) 88%, transparent 88%); padding: 0 6px; }
.hero-v2 .lead { max-width: 600px; font-size: 18px; }
@media (max-width: 767px) { .hero-v2 h1 { font-size: 28px; } }

/* =========================================================
   Motion & interaction
   Hover effects always apply; entrance animations only run when
   motion.js adds .motion to <html> (never with "reduce motion").
   ========================================================= */

/* Header tightens once you scroll */
.site-header .container { transition: height 0.3s ease; }
.site-header { transition: box-shadow 0.3s ease; }
.site-header.scrolled .container { height: 58px; }
.site-header.scrolled { box-shadow: 0 6px 24px -6px rgba(0, 42, 205, 0.18); }
.site-nav a:not(.btn) { position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

/* Buttons: light sweep on hover */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg); transition: left 0.65s ease; pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn-outline { transition: background 0.2s ease, transform 0.2s ease; }
.btn-outline:hover { transform: translateY(-1px); }

/* Glowing cards lift and glow brighter */
.glow-card { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease; }
.glow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -10px rgba(0, 42, 205, 0.6), 0 0 0 4px rgba(94, 235, 201, 0.35);
}
.intro-card:hover, .compare-wrap:hover, .result:hover { transform: translateY(-3px); }

.step-num { transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.step:hover .step-num { transform: rotate(360deg) scale(1.12); }

.result img, .intro-photo, .story-photo { transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.result:hover img { transform: scale(1.04) rotate(-1deg); }
.intro-card:hover .intro-photo { transform: scale(1.03); }
.story-photo:hover { transform: rotate(1.5deg) scale(1.02); }
.metrics li { transition: transform 0.25s ease, border-color 0.25s ease; }
.metrics li:hover { transform: translateY(-3px); border-color: var(--teal); }

.compare tbody tr { transition: background 0.2s ease; }
.compare tbody tr:hover { background: rgba(94, 235, 201, 0.12); }
.faq summary { transition: color 0.2s ease; }
.faq summary:hover { color: var(--blue); }
.faq details[open] p { animation: fade-down 0.35s ease; }
.logo-strip:hover .logo-track { animation-play-state: paused; }
.logo-track img { transition: transform 0.25s ease; }
.logo-track img:hover { transform: scale(1.12); }
.chips li { transition: background 0.2s ease, color 0.2s ease; }
.chips li:hover { background: var(--teal); color: var(--ink); }

/* Case study flip cards: logo on the front, the story on the back */
.case-card.flip { padding: 0; border: 0; box-shadow: none; background: none; perspective: 1200px; outline: none; }
.flip-inner { display: grid; }
.flip-front, .flip-back {
  grid-area: 1 / 1;
  padding: 13px;
  border: 2px solid var(--teal);
  border-radius: 10px;
  box-shadow: var(--glow);
}
.flip-front { background: linear-gradient(45deg, #fff 0%, #f1f2f3 100%); }
.flip-back {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: 28px 24px;
  background: var(--gradient);
  color: #fff;
  font: 400 15px/1.6 var(--font-alt);
}
.flip-title { font: 400 22px/1.2 var(--font-display); text-transform: uppercase; }

@media (hover: hover) {
  .flip-inner { transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.3, 0.8, 0.2, 1); }
  .flip-front, .flip-back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
  .flip-back { transform: rotateY(180deg); }
  .flip:hover .flip-inner, .flip:focus-visible .flip-inner { transform: rotateY(180deg); }
}
/* Touch screens can't hover, so show the story under the logo instead of flipping */
@media (hover: none) {
  .flip-front, .flip-back { grid-area: auto; }
  .flip-front { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; box-shadow: none; }
  .flip-back { border-top-left-radius: 0; border-top-right-radius: 0; padding: 18px; font-size: 14px; }
  .flip-title { display: none; }
  .flip-inner { box-shadow: var(--glow); border-radius: 10px; }
}

/* Section titles get an accent bar */
.section-title::after {
  content: ""; display: block; width: 80px; height: 4px; margin-top: 14px;
  border-radius: 4px; background: var(--gradient);
}
.section-title.center::after { margin-left: auto; margin-right: auto; }

/* ---------- Entrance animations (only with .motion) ---------- */
html.motion .reveal {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity 0.7s ease var(--delay, 0ms),
    translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0ms),
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}
html.motion .reveal.is-visible { opacity: 1; translate: none; }
html.motion .section-title::after { width: 0; transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s; }
html.motion .section-title.is-visible::after { width: 80px; }

html.motion .hero-wordmark { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both, float 7s ease-in-out 1.2s infinite; }
html.motion .hero-v2 .eyebrow { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }
html.motion .hero-v2 h1 { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both; }
html.motion .hero-v2 .lead { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both; }
html.motion .hero-ctas { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s both; }
html.motion .stat { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
html.motion .stat:nth-child(1) { animation-delay: 0.7s; }
html.motion .stat:nth-child(2) { animation-delay: 0.8s; }
html.motion .stat:nth-child(3) { animation-delay: 0.9s; }
html.motion .highlight { background-size: 0% 100%; background-repeat: no-repeat; animation: sweep 0.9s cubic-bezier(0.6, 0, 0.2, 1) 1s forwards; }
html.motion .hero-ctas .btn { animation: pulse-glow 2.8s ease-in-out 2s infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sweep { to { background-size: 100% 100%; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(94, 235, 201, 0.35), 0 0 22px rgba(0, 42, 205, 0.45); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Back of flip cards: override the older .case-card p:last-child colour/size */
.case-card .flip-back p:last-child { color: #fff; font: 400 15px/1.6 var(--font-alt); margin: 0; }
@media (hover: none) { .case-card .flip-back p:last-child { font-size: 14px; } }

.intro-card .intro-lead { color: var(--ink); font-size: 19px; line-height: 1.55; font-weight: 500; }

/* Stat numbers "pop" when their count-up lands */
.stat strong { display: inline-block; font-variant-numeric: tabular-nums; }
.stat strong.counted { animation: count-pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1); }
@keyframes count-pop { 0% { transform: scale(1); } 45% { transform: scale(1.18); color: var(--teal-dark); } 100% { transform: scale(1); } }

/* Method cards: icon tile + large outlined step number in the corner */
.step { position: relative; overflow: hidden; }
.step-icon, .icon-tile {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--gradient); color: #fff;
  box-shadow: 0 8px 18px -6px rgba(0, 42, 205, 0.55);
  margin-bottom: 20px;
  transition: transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.step-icon svg, .icon-tile svg { width: 28px; height: 28px; }
.step .step-num {
  position: absolute; top: 16px; right: 20px;
  display: block; width: auto; height: auto; margin: 0;
  background: none; border-radius: 0;
  color: transparent; -webkit-text-stroke: 2px var(--teal);
  font: 400 52px/1 var(--font-display);
  opacity: 0.85;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease;
}
.step:hover .step-num { transform: translateY(-4px) scale(1.06); color: rgba(94, 235, 201, 0.25); }
.step:hover .step-icon, .service-card:hover .icon-tile { transform: rotate(-8deg) scale(1.1); }

/* Longer logo strip (press + clients): slower loop so each logo stays readable */
.logo-track { animation-duration: 60s; gap: 80px; }
.logo-track img { max-width: 200px; object-fit: contain; }

/* Result metrics count up too, with the same "pop" as the headline stats */
.metrics strong { font-variant-numeric: tabular-nums; }
.metrics strong.counted { animation: count-pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1); transform-origin: left center; }

/* Reviews bar: Google on the first row, Upwork on the second */
.reviews-bar { flex-direction: column; gap: 16px; }
.review-group { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; }
.review-divider { width: 100%; max-width: 420px; height: 1px; background: var(--grey-border); }
.reviews-bar .upwork { width: 84px; height: auto; }
.trp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: #fdeef7; color: #b0137a;
  font: 700 13px/1 var(--font-body);
  letter-spacing: 0.01em;
}
.trp-badge svg { width: 16px; height: 16px; }
.logo-track img.wide { height: 28px; max-width: 260px; }

/* =========================================================
   Proof section: real Shopify numbers in one compact card
   ========================================================= */
.proof-card {
  display: grid; grid-template-columns: 1.05fr 1.05fr 1.3fr;
  padding: 26px 28px; gap: 0;
}
.proof-col { padding: 0 26px; }
.proof-col:first-child { padding-left: 0; }
.proof-col:last-child { padding-right: 0; }
.proof-col + .proof-col { border-left: 1px solid var(--grey-border); }
.proof-card h3 { color: var(--muted); font: 600 12px/1.3 var(--font-body); letter-spacing: 0.05em; text-transform: uppercase; }
.proof-period { text-transform: none; letter-spacing: 0; font-weight: 500; }
.proof-headline { margin-top: 8px; color: var(--blue); font: 400 24px/1.1 var(--font-display); }
.proof-sub { margin-top: 4px; color: var(--muted); font-size: 13px; }
.proof-tag {
  display: inline-block; margin-right: 6px;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(94, 235, 201, 0.18); color: #0d7f6d;
  font: 700 10px/1.4 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase;
  vertical-align: 1px;
}
.proof-badge {
  display: inline-flex; align-items: center; gap: 3px;
  margin-top: 8px; padding: 3px 8px; border-radius: 999px;
  background: #e6f7ec; color: #1e8a4c;
  font: 700 12px/1 var(--font-body);
}
.proof-badge svg { width: 12px; height: 12px; }

/* Bar chart */
.bars { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
.bars li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar {
  display: block; width: 100%; max-width: 46px;
  height: calc(var(--h) * 1px); min-height: 4px; /* --h is 0–100, so the tallest bar is 100px */
  border-radius: 7px 7px 3px 3px;
  background: var(--gradient);
  transform-origin: bottom;
}
.bar-value { margin-bottom: 5px; color: var(--ink); font: 700 11px/1 var(--font-body); }
.bar-year { margin-top: 6px; color: var(--ink); font: 600 12px/1 var(--font-body); }
.bar-year em { font-style: normal; font-size: 9px; color: var(--teal-dark); }

/* What drove it: the work behind the numbers */
.drivers { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.driver {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 10px;
  background: #fff; border: 1px solid rgba(94, 235, 201, 0.7);
  color: var(--ink); font: 600 12px/1.25 var(--font-body);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.driver:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -8px rgba(0, 42, 205, 0.45); }
.driver-icon {
  flex: none; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--gradient); color: #fff;
}
.driver-icon svg { width: 15px; height: 15px; }

/* KPI grid */
.kpis { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { padding: 10px 12px; border-radius: 10px; background: var(--grey-bg); border: 1px solid var(--grey-border); }
.kpi-lead { background: linear-gradient(135deg, rgba(0, 42, 205, 0.06), rgba(94, 235, 201, 0.2)); border-color: var(--teal); }
.kpi-label { display: block; color: var(--muted); font: 600 11px/1.3 var(--font-body); }
.kpi strong { display: inline-block; margin-top: 3px; margin-right: 6px; color: var(--blue); font: 400 20px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.kpi strong.counted { animation: count-pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1); transform-origin: left center; }
.kpi .proof-badge { margin-top: 0; font-size: 11px; vertical-align: 3px; }
.proof-note { margin-top: 14px; text-align: center; color: var(--muted); font-size: 12px; }

/* Bars grow when the card scrolls into view */
html.motion .proof-card .bar { transform: scaleY(0); transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.motion .proof-card .bars li:nth-child(2) .bar { transition-delay: 0.12s; }
html.motion .proof-card .bars li:nth-child(3) .bar { transition-delay: 0.24s; }
html.motion .proof-card .bars li:nth-child(4) .bar { transition-delay: 0.36s; }
html.motion .proof-card.is-visible .bar { transform: scaleY(1); }

@media (max-width: 1024px) {
  .proof-card { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .proof-col:last-child { grid-column: 1 / -1; padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--grey-border); }
  .proof-col:nth-child(2) { padding-right: 0; }
}
@media (max-width: 640px) {
  .proof-card { grid-template-columns: 1fr; padding: 22px 20px; }
  .proof-col, .proof-col:nth-child(2) { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--grey-border); }
  .proof-col:first-child { padding-top: 0; border-top: 0; }
  .proof-col:last-child { padding-top: 20px; }
}

/* =========================================================
   Service pages (/shopify-cro-consultant/, /fractional-cmo/)
   ========================================================= */
.page-hero { padding: 72px 0 20px; text-align: center; }
.crumbs { margin-bottom: 26px; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.page-hero h1 {
  max-width: 820px; margin: 0 auto;
  color: var(--blue); font: 400 44px/1.15 var(--font-display); text-transform: uppercase;
}
.page-hero .lead { max-width: 680px; margin: 26px auto 0; color: var(--ink); font-size: 18px; line-height: 1.65; }
.page-hero .stats { margin-top: 72px; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.fit-grid .section-title { font-size: 34px; margin-bottom: 28px; }
.fit-list li { font-size: 17px; margin-bottom: 14px; color: var(--ink); }
.fit-copy { padding-top: 6px; font-size: 17px; line-height: 1.7; }
.fit-copy p + p { margin-top: 1em; }
.fit-lead { color: var(--blue); font: 700 22px/1.4 var(--font-body); }

.mini-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 44px; }
.mini-result { padding: 28px; }
.mini-result strong { display: block; color: var(--blue); font: 400 40px/1 var(--font-display); }
.mini-result h3 { margin-top: 10px; color: var(--ink); font: 700 17px/1.3 var(--font-body); }
.mini-result p { margin-top: 8px; color: var(--text); font-size: 15px; }

.compare-3 td:nth-child(3), .compare-3 td:nth-child(4) { color: var(--muted); }
.compare-3 tbody th { width: 20%; }

.cta-glow { background: #fff; padding: 40px; }
.cta-glow p { margin-top: 8px; max-width: 560px; }
.also { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14px; }
.also a { color: var(--blue); }

@media (max-width: 1024px) {
  .fit-grid { grid-template-columns: 1fr; gap: 32px; }
  .mini-results { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .page-hero { padding: 44px 0 10px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero .lead { font-size: 17px; }
  .page-hero .stats { margin-top: 48px; }
  .fit-grid .section-title { font-size: 26px; }
  .cta-glow { padding: 28px 22px; }
}
.card-link { display: inline-block; margin-top: 14px; color: var(--blue); font: 700 14px/1 var(--font-body); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.nowrap { white-space: nowrap; }

/* =========================================================
   Footer: gradient CTA panel, brand column, links, bottom bar
   ========================================================= */
.site-footer {
  margin-top: 120px;
  padding: 0 0 28px;
  background: linear-gradient(180deg, #fff 0, #fff 140px, #f4f7fd 140px);
  border-bottom: 4px solid transparent;
  border-image: var(--gradient) 1;
  font-size: 14px;
}
.footer-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px 56px;
  border-radius: 22px;
  background: var(--gradient);
  box-shadow: 0 24px 48px -20px rgba(0, 42, 205, 0.6);
  color: #fff;
}
.footer-cta::before, .footer-cta::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
}
.footer-cta::before { width: 360px; height: 360px; right: -80px; top: -160px; }
.footer-cta::after { width: 260px; height: 260px; left: -90px; bottom: -150px; }
.footer-cta > * { position: relative; }
.footer-cta-title { font: 400 44px/1.05 var(--font-display); text-transform: uppercase; }
.footer-cta-text { margin-top: 10px; font-size: 18px; opacity: 0.92; }
.btn-light { background: #fff; color: var(--blue); border-color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35); font-weight: 700; }
.btn-light::after { background: linear-gradient(120deg, transparent, rgba(94, 235, 201, 0.45), transparent); }

.footer-main { display: flex; justify-content: space-between; gap: 48px; padding: 64px 0 40px; }
.footer-brand { max-width: 360px; }
.footer-brand img { width: 230px; height: auto; }
.footer-brand p { margin-top: 16px; color: var(--text); line-height: 1.6; }
.footer-creds { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-creds li { padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid rgba(94, 235, 201, 0.8); color: var(--blue); font: 600 12px/1.2 var(--font-body); }

.footer-cols { display: flex; gap: 64px; }
.footer-cols h2 { margin-bottom: 16px; color: var(--blue); font: 400 14px/1.2 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a { color: var(--ink); font-size: 14px; text-decoration: none; transition: color 0.2s ease, padding 0.2s ease; }
.footer-cols a:hover { color: var(--blue); padding-left: 4px; }

.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--grey-border); color: var(--muted); font-size: 13px; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--blue); }

@media (max-width: 900px) {
  .footer-cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .footer-cta-title { font-size: 32px; }
  .footer-main { flex-direction: column; gap: 36px; padding-top: 48px; }
  .footer-cols { gap: 40px; flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .site-footer { margin-top: 80px; }
  .footer-cta .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; }
}
.cta-box .btn { flex: none; }
