/* Home page: layout, motion and interactive pieces layered over the Webflow base styles. */

:root {
  --cream: #f2ecdd;
  --ink: #141c19;
  --ink-soft: #4a5249;
  --agency-line: #8f9787;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }

/* ---------- Reveal on scroll ---------- */
.h-js .h-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.h-js .h-reveal.is-in { opacity: 1; transform: none; }

.h-rise {
  animation: h-rise .9s var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}
@keyframes h-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.h-lead { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.h-gold { color: var(--primary) !important; }

/* Left-aligned heading with intro to the right: breaks up the centred sections */
.h-split-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 48px;
  width: 100%;
  margin-bottom: 44px;
}
.h-split-head .label { text-align: left; }
.h-split-head h2 { text-align: left; margin-bottom: 0; max-width: 680px; }
.h-split-head p {
  color: var(--ink-soft);
  font-family: Karla, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 8px;
}
.h-split-head-dark p { color: var(--body-text); }

/* ---------- Hero ---------- */
.section.hero.h-hero {
  position: relative;
  overflow: hidden;
  background-image: none;
  background-color: var(--base-background-colour);
  justify-content: flex-start;
}
.h-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(180deg, #101613c7, #10161380 40%, #101613a6 75%, var(--base-background-colour)),
    url('../images/hero-5-chch.jpg');
  background-size: cover;
  background-position: 50%;
  animation: h-drift 28s ease-in-out infinite alternate;
  transform-origin: 50% 60%;
}
@keyframes h-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.12) translateY(-1.5%); }
}
.h-hero > .container { position: relative; z-index: 2; }
.h-hero-inner {
  flex: 1;
  justify-content: center;
  padding-top: 70px;
  padding-bottom: 110px;
}
.h-hero .hero-google-badge { margin-bottom: 28px; }

h1.h-hero-title {
  max-width: 1000px;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: .03em;
  margin-bottom: 22px;
}
.h-hero-tag {
  color: var(--light-text-2);
  font-family: Oswald, sans-serif;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 22px;
}
.h-hero-tag em { font-style: normal; color: var(--primary); }
.h-hero-sub {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto 40px;
}
.h-hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.h-text-link {
  color: var(--light-text-1);
  font-family: JetBrains Mono, monospace;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid #e8b46366;
  padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}
.h-text-link:hover { color: var(--primary); border-color: var(--primary); }

/* Sticky nav gets a CTA alongside the phone button */
.h-sticky-actions { display: flex; align-items: center; gap: 10px; }
.h-sticky-cta {
  color: var(--light-text-2);
  font-family: JetBrains Mono, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #f2ecdd40;
  padding: 11px 16px;
  transition: border-color .2s, color .2s;
}
.h-sticky-cta:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Stats ---------- */
.h-stats { padding-top: 40px; padding-bottom: 40px; }
.h-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 860px;
}
.h-stat {
  text-align: center;
  padding: 6px 12px;
  border-left: 1px solid var(--green-borders);
}
.h-stat:first-child { border-left: 0; }
.h-stat-num {
  color: var(--primary);
  font-family: Oswald, sans-serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
}
.h-stat-label {
  color: var(--muted-text);
  font-family: JetBrains Mono, monospace;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ---------- Light section (the difference) ---------- */
.section.h-light {
  background: var(--cream);
  background-image: radial-gradient(#141c1914 1px, transparent 1px);
  background-size: 22px 22px;
  padding-top: 100px;
  padding-bottom: 100px;
}
.h-light h2, .h-light h3 { color: var(--ink); }
.h-light .label { color: #a06d1c; }

.h-chart-card {
  width: 100%;
  background: var(--ink);
  border: 1px solid #0c110f;
  box-shadow: 10px 10px 0 0 #c9bfa5;
  padding: 34px 34px 26px;
}
.h-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 18px;
}
.h-chart-legend { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.h-key {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--body-text);
  font-family: JetBrains Mono, monospace;
  font-size: 12.5px;
  letter-spacing: .08em;
}
.h-key::before { content: ""; width: 22px; height: 0; border-top: 3px solid; }
.h-key-agency::before { border-top: 3px dashed var(--agency-line); }
.h-key-us::before { border-color: var(--primary); }

.h-chart-readout {
  min-width: 250px;
  border: 1px solid var(--green-borders);
  background: var(--dark-bg);
  padding: 14px 18px;
  font-family: JetBrains Mono, monospace;
}
.h-readout-month {
  color: var(--light-text-2);
  font-family: Oswald, sans-serif;
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.h-readout-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted-text);
  font-size: 12.5px;
  line-height: 1.9;
}
.h-readout-row strong { color: var(--light-text-1); font-weight: 600; }

/* Line chart */
.h-lc { position: relative; height: 320px; padding-left: 58px; }
.h-lc-y { position: absolute; left: 0; top: 0; bottom: 0; width: 58px; }
.h-lc-y span {
  position: absolute;
  left: 0;
  transform: translateY(50%);
  color: var(--muted-text);
  font-family: JetBrains Mono, monospace;
  font-size: 11px;
}
.h-lc-plot { position: relative; height: 100%; }
.h-lc-plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.h-lc-grid line { stroke: #24302a; stroke-width: 1; vector-effect: non-scaling-stroke; }
.h-lc-agency { fill: none; stroke: var(--agency-line); stroke-width: 2.5; stroke-dasharray: 8 7; vector-effect: non-scaling-stroke; }
.h-lc-us { fill: none; stroke: var(--primary); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.h-lc-area { fill: url(#h-lc-fill); }
.h-lc-draw {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-out);
}
.h-lc.is-drawn .h-lc-draw { clip-path: inset(0 0 0 0); }
.h-lc-guide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #f2ecdd33;
  pointer-events: none;
  transition: left .25s var(--ease-out);
}
.h-lc-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--primary);
  pointer-events: none;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .3s ease, transform .3s var(--ease-out), background .2s;
  transition-delay: var(--dd, 0ms);
}
.h-lc.is-drawn .h-lc-dot { opacity: 1; transform: scale(1); }
.h-lc.is-drawn .h-lc-dot.is-active { background: var(--primary); transform: scale(1.5); transition-delay: 0ms; }
.h-lc-dot-agency { border-color: var(--agency-line); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-width: 2px; }
.h-lc.is-drawn .h-lc-dot-agency.is-active { background: var(--agency-line); }
.h-lc-hits {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.h-lc-hits button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.h-lc-hits button:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.h-lc-x {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin: 12px 0 0 58px;
}
.h-lc-x span {
  text-align: center;
  color: var(--muted-text);
  font-family: JetBrains Mono, monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.h-lc-x span.is-active { color: var(--primary); }

.h-chart-totals {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px 34px;
  border-top: 1px solid var(--green-borders);
  margin-top: 22px;
  padding-top: 20px;
}
.h-chart-totals div { display: flex; flex-direction: column; gap: 4px; }
.h-chart-totals span {
  color: var(--muted-text);
  font-family: JetBrains Mono, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.h-chart-totals strong {
  color: var(--light-text-1);
  font-family: Oswald, sans-serif;
  font-size: 30px;
  font-weight: 500;
}
.h-chart-totals p {
  color: #7c8478;
  font-family: Karla, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.h-points {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  margin-top: 60px;
}
.h-point { flex: 1; }
.h-point h3 {
  font-family: Oswald, sans-serif;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 8px;
}
.h-light .h-point:nth-child(2) h3 { color: #a06d1c; }
.h-point p {
  color: var(--ink-soft);
  font-family: Karla, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Services: alternating rows ---------- */
.h-services-sec { padding-top: 100px; padding-bottom: 110px; }
.h-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1120px;
  margin-top: 70px;
}
.h-row-flip .h-row-copy { order: 2; }
.h-row-num {
  color: var(--primary);
  font-family: JetBrains Mono, monospace;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.h-row-copy h3 {
  color: var(--light-text-2);
  font-family: Oswald, sans-serif;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  text-transform: uppercase;
  margin: 12px 0 16px;
}
.h-row-copy p {
  color: var(--body-text);
  font-family: Karla, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 20px;
}
.h-ticks { list-style: none; padding: 0; margin: 0; }
.h-ticks li {
  position: relative;
  color: var(--light-text-1);
  font-family: Karla, sans-serif;
  font-size: 16px;
  padding: 7px 0 7px 30px;
}
.h-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 16px;
  background: url('../images/icon-tick-gold.svg') center / contain no-repeat;
}

.h-row-visual { position: relative; padding: 20px 10px 34px; }
.h-mock {
  background: #fff;
  color: #202124;
  border-radius: 12px;
  box-shadow: 0 30px 60px #00000080, 0 0 0 1px #ffffff14;
  font-family: Arial, Helvetica, sans-serif;
  transform: rotate(-1.5deg);
  transition: transform .5s var(--ease-out);
}
.h-row-flip .h-mock { transform: rotate(1.5deg); }
.h-row-visual:hover .h-mock { transform: rotate(0) translateY(-4px); }

.h-mock-google { padding: 18px 20px 20px; }
.h-mg-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dfe1e5;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 15px;
  margin-bottom: 18px;
}
.h-mg-bar img { width: 18px; height: 18px; }
.h-mg-ad { border-left: 3px solid var(--primary); padding-left: 14px; margin-bottom: 18px; }
.h-mg-sponsored { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.h-mg-url { font-size: 13px; color: #4d5156; margin-bottom: 4px; }
.h-mg-title { color: #1a0dab; font-size: 19px; line-height: 1.3; margin-bottom: 6px; }
.h-mg-desc { color: #4d5156; font-size: 14px; line-height: 1.5; }
.h-mg-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.h-mg-links span { border: 1px solid #dadce0; border-radius: 999px; padding: 5px 12px; font-size: 13px; color: #1a0dab; }
.h-mg-faint { height: 10px; width: 80%; background: #eceae6; border-radius: 5px; margin: 12px 0 0 17px; }
.h-mg-short { width: 58%; }

.h-mock-meta { overflow: hidden; max-width: 380px; margin-left: auto; margin-right: auto; }
.h-mm-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.h-mm-head strong { display: block; font-size: 14px; }
.h-mm-head div span { font-size: 12px; color: #65676b; }
.h-mm-avatar { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: #141c19; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.h-mm-avatar img { width: 30px; height: auto; }
.h-mm-text { font-size: 14.5px; line-height: 1.45; margin: 0; padding: 0 16px 12px; }
.h-mock-meta > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.h-mm-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f0f2f5;
  padding: 12px 16px;
}
.h-mm-foot div span { display: block; font-size: 11px; color: #65676b; }
.h-mm-foot strong { font-size: 14.5px; }
.h-mm-btn { background: #e4e6eb; color: #050505; font-size: 13.5px; font-weight: 700; padding: 8px 14px; border-radius: 6px; white-space: nowrap; }


/* ---------- Websites grid ---------- */
.h-sites-sec { padding-top: 100px; padding-bottom: 100px; }
.h-inline-link { color: var(--primary); text-decoration: none; border-bottom: 1px solid #e8b46366; white-space: nowrap; }
.h-inline-link:hover { border-color: var(--primary); }
.h-sites {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
}
.h-site {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 14px 14px 20px;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.h-site:hover, .h-js .h-site.h-reveal.is-in:hover { border-color: #e8b46380; transform: translateY(-4px); }
.h-site-frame { border-radius: 8px; overflow: hidden; background: #0b0f0d; border: 1px solid #ffffff12; }
.h-site-bar { display: flex; gap: 6px; padding: 9px 12px; background: #0b0f0d; }
.h-site-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2c3832; }
.h-site-screen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.h-site-screen img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: transform 5s ease-in-out;
}
/* Hover slowly scrolls the page preview */
.h-site:hover .h-site-screen img { transform: translateY(calc(-100% + 100cqh)); }
.h-site-screen { container-type: size; }
.h-site-info { display: flex; align-items: center; gap: 14px; margin: 18px 4px 0; }
.h-site-logo { width: 54px; height: 44px; object-fit: contain; flex: 0 0 54px; }
.h-site-logo-round { height: 50px; }
.h-site-info strong {
  display: block;
  color: var(--light-text-2);
  font-family: Oswald, sans-serif;
  font-size: 21px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.15;
}
.h-site-info span { color: var(--muted-text); font-family: JetBrains Mono, monospace; font-size: 11.5px; }
.h-site-visit {
  margin: 16px 4px 0;
  color: var(--primary);
  font-family: JetBrains Mono, monospace;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---------- Plans ---------- */
.h-plans {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1080px;
  margin-top: 46px;
}
.h-plan-or {
  color: var(--muted-text);
  font-family: Oswald, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  width: 52px;
  height: 52px;
  border: 1px solid var(--green-borders);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.h-plan {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 36px 34px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.h-plan-featured {
  border-color: var(--primary);
  box-shadow: 10px 10px 0 0 #e8b4631f;
}
.h-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.h-plan-num {
  color: var(--muted-text);
  font-family: JetBrains Mono, monospace;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.h-plan-badge {
  background: var(--primary);
  color: var(--dark-primary);
  font-family: JetBrains Mono, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 10px;
  white-space: nowrap;
}
.h-plan-badge-quiet { background: transparent; color: var(--primary); border: 1px solid #e8b46380; }
.h-plan-name {
  color: var(--light-text-2);
  font-family: Oswald, sans-serif;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 22px 0 14px;
}
.h-plan-featured .h-plan-name { color: var(--primary); }
.h-plan-pitch {
  color: var(--body-text);
  font-family: Karla, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.h-plan-pitch em { font-style: normal; color: var(--light-text-2); font-weight: 700; }
.h-plan-list { list-style: none; padding: 0; margin: 0 0 22px; }
.h-plan-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--green-borders);
}
.h-plan-list span {
  color: var(--muted-text);
  font-family: JetBrains Mono, monospace;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.h-plan-list strong {
  color: var(--light-text-1);
  font-family: Karla, sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  text-align: right;
}
.h-plan-suits {
  margin: auto 0 0;
  color: var(--muted-text);
  font-family: Karla, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
.h-plan-suits strong { color: var(--light-text-1); }

/* ---------- Results ---------- */
.h-results-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 40px;
  width: 100%;
  margin-bottom: 40px;
}
.h-results-head .label { text-align: left; }
.h-results-head h2 { text-align: left; margin-bottom: 0; }
.h-wins-total-wrap { display: flex; align-items: flex-end; gap: 20px; justify-content: flex-end; }
.h-wins-total {
  color: var(--primary);
  font-family: Oswald, sans-serif;
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 600;
  line-height: .85;
  white-space: nowrap;
}
.h-wins-total-wrap p {
  max-width: 270px;
  color: var(--body-text);
  font-family: Karla, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
.h-wins-total-wrap p strong { display: block; color: var(--light-text-2); font-size: 16.5px; margin-bottom: 4px; }

.h-ledger { width: 100%; border-top: 1px solid var(--green-borders); }
.h-ledger-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr .8fr;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--green-borders);
  transition: background .25s;
}
.h-ledger-row:not(.h-ledger-headrow):hover { background: #ffffff06; }
.h-ledger-headrow { padding-top: 12px; padding-bottom: 12px; }
.h-ledger-headrow span {
  color: var(--muted-text);
  font-family: JetBrains Mono, monospace;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.h-ledger-headrow span:nth-child(n+2) { text-align: right; }
.h-ledger-who { display: flex; align-items: center; gap: 20px; }
.h-ledger-who img { width: 120px; height: 52px; object-fit: contain; object-position: left center; flex: 0 0 120px; }
.h-ledger-who strong {
  display: block;
  color: var(--light-text-2);
  font-family: Oswald, sans-serif;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.h-ledger-who span { color: var(--muted-text); font-family: JetBrains Mono, monospace; font-size: 12px; }
.h-ledger-big {
  text-align: right;
  color: var(--primary);
  font-family: Oswald, sans-serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}
.h-ledger-cell {
  text-align: right;
  color: var(--light-text-1);
  font-family: JetBrains Mono, monospace;
  font-size: 15px;
}

.h-logo { display: flex; align-items: center; height: 56px; margin-bottom: 18px; }
.h-logo img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; object-position: left center; }
.h-win-tag {
  display: inline-block;
  color: var(--primary);
  border: 1px solid #e8b46366;
  font-family: JetBrains Mono, monospace;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 4px 8px;
  margin-bottom: 14px;
}
.h-win-name {
  color: var(--light-text-2);
  font-family: Oswald, sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
}
.h-win-trade { color: var(--muted-text); font-family: JetBrains Mono, monospace; font-size: 12px; margin-top: 6px; }

.h-rank {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 40px;
  width: 100%;
  margin-top: 46px;
  background: linear-gradient(90deg, #e8b4630d, transparent 60%), var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 30px;
}
.h-rank p {
  color: var(--body-text);
  font-family: Karla, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 14px 0 0;
}
.h-serp {
  background: #f7f4ec;
  border-radius: 10px;
  padding: 16px 18px 18px;
  box-shadow: 8px 8px 0 0 #e8b46326;
}
.h-serp-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #ddd8cc;
  border-radius: 999px;
  padding: 10px 16px;
  color: #202124;
  font-family: Karla, sans-serif;
  font-size: 16px;
  margin-bottom: 14px;
}
.h-serp-bar img { width: 18px; height: 18px; }
.h-serp-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-top: 1px solid #e6e1d4; }
.h-serp-pos {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: #e6e1d4;
  color: #6b6658;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: JetBrains Mono, monospace;
  font-size: 12px;
  font-weight: 700;
}
.h-serp-top .h-serp-pos { background: var(--primary); color: var(--ink); }
.h-serp-name { color: #1a0dab; font-family: Karla, sans-serif; font-size: 17px; font-weight: 700; }
.h-serp-line { height: 10px; width: 70%; border-radius: 5px; background: #e2ddcf; }
.h-serp-short { width: 52%; }

.h-sub-label {
  align-self: flex-start;
  color: var(--muted-text);
  font-family: JetBrains Mono, monospace;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 56px;
}
.results-grid.h-results-grid { margin-top: 18px; }
.result-card { transition: transform .3s var(--ease-out), border-color .3s; }
.result-card:hover, .h-js .result-card.h-reveal.is-in:hover { transform: translateY(-4px); }

/* ---------- Testimonials: one big rotating quote ---------- */
.h-quotes-sec { padding-top: 100px; padding-bottom: 90px; }
.h-quotes {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 20px auto 40px;
  text-align: center;
}
.h-quote-mark {
  color: var(--primary);
  font-family: Oswald, sans-serif;
  font-size: 160px;
  line-height: .6;
  height: 70px;
}
.h-quote { display: none; margin: 0; }
.h-quote.is-active { display: block; animation: h-quote-in .6s var(--ease-out); }
@keyframes h-quote-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.h-quote blockquote {
  color: var(--light-text-2);
  font-family: Karla, sans-serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.5;
  border: 0;
  margin: 0 0 28px;
  padding: 0;
}
.h-quote-name {
  display: block;
  color: var(--light-text-2);
  font-family: Oswald, sans-serif;
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.h-quote-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--muted-text);
  font-family: JetBrains Mono, monospace;
  font-size: 12px;
}
.h-quote figcaption .h-quote-note img { height: 14px; filter: none; opacity: 1; }
.h-quote figcaption > img { height: 42px; width: auto; max-width: 220px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.h-quote-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.h-quote-arrow {
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--green-borders);
  color: var(--light-text-1);
  font-size: 18px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.h-quote-arrow:hover { border-color: var(--primary); color: var(--primary); }
.h-quote-dots { display: flex; gap: 8px; }
.h-quote-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  background: var(--green-borders);
  cursor: pointer;
  transition: background .3s;
}
.h-quote-dots button[aria-selected="true"] { background: var(--primary); }

/* ---------- Trades: draggable strip ---------- */
.h-trades-sec { padding-bottom: 50px; }
.h-trades-sec .h-split-head { margin-bottom: 36px; }
.h-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 max(40px, calc((100vw - 1220px) / 2)) 10px;
  scroll-padding: 0 max(40px, calc((100vw - 1220px) / 2));
  cursor: grab;
  outline: none;
}
.h-strip::-webkit-scrollbar { display: none; }
.h-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.h-trade {
  position: relative;
  flex: 0 0 300px;
  height: 380px;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  user-select: none;
}
.h-trade:nth-child(even) { margin-top: 40px; height: 340px; }
.h-trade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform .7s var(--ease-out);
}
.h-trade:hover img { transform: scale(1.06); }
.h-trade figcaption {
  text-align: left;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 20px 18px;
  background: linear-gradient(180deg, transparent, #0b100dd9);
}
.h-trade strong {
  display: block;
  color: var(--light-text-2);
  font-family: Oswald, sans-serif;
  font-size: 28px;
  font-weight: 500;
  text-transform: uppercase;
}
.h-trade span {
  color: var(--light-text-1);
  font-family: JetBrains Mono, monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.h-strip-hint {
  color: var(--muted-text);
  font-family: JetBrains Mono, monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: right;
  padding: 14px max(40px, calc((100vw - 1220px) / 2)) 0;
}

/* Contact: stop the grid column growing wider than the screen on phones */
.contactform-stack > .w-layout-cell { min-width: 0; }

/* ---------- Lead generation page ---------- */
.svc-tag-core.svc-tag-quiet { background: transparent; color: var(--primary); border: 1px solid #e8b46380; }
.h-lg-proof .container { align-items: stretch; }

/* ---------- Responsive ---------- */
@media screen and (max-width: 991px) {
  .h-split-head { grid-template-columns: 1fr; gap: 16px; }
  .h-row { grid-template-columns: 1fr; gap: 34px; margin-top: 56px; }
  .h-row-flip .h-row-copy { order: 0; }
  .h-chart-head { flex-direction: column; }
  .h-chart-readout { width: 100%; }
  .h-chart-totals { grid-template-columns: auto auto; }
  .h-chart-totals p { grid-column: 1 / -1; }
  .h-results-head { grid-template-columns: 1fr; gap: 24px; }
  .h-wins-total-wrap { justify-content: flex-start; }
  .h-rank { grid-template-columns: 1fr; gap: 24px; }
  .h-plans { grid-template-columns: 1fr; }
  .h-sites { grid-template-columns: 1fr 1fr; }
  .h-plan-or { margin: 0 auto; }
}

@media screen and (max-width: 767px) {
  .h-stat { padding: 4px 6px; }
  .h-stat-num { font-size: 34px; }
  .h-stat-label { font-size: 10px; letter-spacing: .1em; }
  .h-hero-inner { padding-top: 50px; padding-bottom: 70px; }
  .h-hero-sub { font-size: 16.5px; }
  .section.h-light { padding-top: 70px; padding-bottom: 70px; }
  .h-chart-card { padding: 22px 14px 18px; box-shadow: 6px 6px 0 0 #c9bfa5; }
  .h-lc { height: 230px; padding-left: 40px; }
  .h-lc-y { width: 40px; }
  .h-lc-y span { font-size: 9.5px; }
  .h-lc-x { margin-left: 40px; }
  .h-lc-x span { font-size: 9px; letter-spacing: 0; }
  .h-chart-totals strong { font-size: 24px; }
  .h-points { flex-direction: column; gap: 26px; margin-top: 44px; }
  .h-services-sec { padding-top: 70px; padding-bottom: 80px; }
  .h-row-visual { padding: 10px 0 40px; }
  .h-plan { padding: 28px 22px 24px; }
  .h-plan-list li { flex-direction: column; gap: 4px; }
  .h-plan-list strong { text-align: left; }
  .h-wins-total-wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .h-ledger-headrow { display: none; }
  .h-ledger-row { grid-template-columns: 1fr 1fr 1fr; gap: 10px 14px; padding: 22px 0; }
  .h-ledger-who { grid-column: 1 / -1; }
  .h-ledger-who img { width: 96px; flex-basis: 96px; }
  .h-ledger-big, .h-ledger-cell { text-align: left; }
  .h-ledger-big { font-size: 34px; }
  .h-ledger-row [data-th]::before {
    content: attr(data-th);
    display: block;
    color: var(--muted-text);
    font-family: JetBrains Mono, monospace;
    font-size: 9.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .h-rank { padding: 22px 18px; }
  .h-sites { grid-template-columns: 1fr; }
  .h-sites-sec { padding-top: 70px; padding-bottom: 70px; }
  .h-quotes-sec { padding-top: 70px; padding-bottom: 60px; }
  .h-quote-mark { font-size: 120px; height: 52px; }
  .h-strip { padding: 0 16px 10px; gap: 12px; scroll-padding: 0 16px; }
  .h-trade { flex-basis: 240px; height: 310px; }
  .h-trade:nth-child(even) { margin-top: 26px; height: 284px; }
  .h-strip-hint { padding: 12px 16px 0; }
  .h-sticky-cta { padding: 10px 10px; font-size: 11px; letter-spacing: .08em; }
  .h-sticky-actions { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .h-rise, .h-hero-bg, .h-quote.is-active { animation: none !important; }
  .h-js .h-reveal { opacity: 1; transform: none; transition: none; }
  .h-lc-draw, .h-lc-dot, .h-site-screen img { transition: none; }
}
