/* ═══════════════════════════════════════════════════════════════
   HOME — front-page only styles (hero, services strip, portfolio,
   process, how-it-works, pricing, proof, reviews).
   Loaded via functions.php on is_front_page(); depends on main.css.
═══════════════════════════════════════════════════════════════ */

/* ── SECTION PLUMBING ─────────────────────────────────────── */
.gradient-divider {
  height: 3px;
  width: 100%;
  background: linear-gradient(to right, var(--color-blue), var(--color-yellow), var(--color-pink), var(--color-blue));
  border: 0;
  background-size: 200% 100%;
  background-position: 0% 50%;
}

/* Homepage section rhythm: space-lg between consecutive sections
   (.pricing-section gets the same rhythm from main.css — shared
   with the service pages) */
.services-strip,
.portfolio-section,
.hiw {
    margin-top: var(--space-lg);
}

.services-strip{
    padding-bottom: var(--space-lg);
}

.btn-ghost {
    font-size: 14px;
    font-weight: 500;
    margin-left: 1em;
}

/* ── Pricing tier button ── */
.btn-tier {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-tier:hover { background: rgba(0,0,0,0.04); }

.btn-tier--green {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--bg);
}

.btn-tier--green:hover {
  background: var(--bg);
  border-color: var(--color-green);
  color: var(--color-green);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 80vh;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-content { max-width: 30em; }

.hero-left, .hero-right {
  width: 50%;
  flex: 0 0 50%;
}

.hero-left{
  padding-right: 50px;
}

.hero-right {
  z-index: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* Static finished-hero illo — mobile only, swapped in below */
.hero-iso-static { display: none; }

/* On desktop the animated sticky #hiw-illo (left column) tells the story;
   the per-step static SVGs and the stage-0 heading grid are mobile-only,
   shown once the section stacks (≤860px) and gsap sits the animation out. */
.hiw__step-illo,
.hiw__heading-illo {
    display: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/ha-cloud-wide.webp');
  background-size: cover;
  opacity: .2;
  pointer-events: none;
  z-index: 1;
}

.hero-svg {
  z-index: 2;
  position:relative;
}

.hero-headline-wrap { display: flex; }
.hero-sub { margin: 2em 0; }

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}
.hero-tag { color: var(--color-green); white-space: nowrap; }

.hero-headline {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1em;
}

span .hero-headline
{
  display: inline;
  padding-left: .2em;
}
.hero-grid-9 {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: 0.48em;
  height: 0.48em;
  flex-shrink: 0;
  vertical-align: bottom;
  margin-bottom: 0.1em;
  transform: translate(-0.23em, -0.03em);
}


.g9-cell {
  background: #333;
}

.hero-animation {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* ── SERVICES ─────────────────────────────────────────────── */

.services-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.service-headline {
    margin-bottom: var(--space-sm);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.service-item {
    display: flex;
    flex-direction: column;
    padding-right: 40px;
}

.service-item .btn {
    margin-top: auto;
    align-self: flex-start;
}

.service-item + .service-item {
    padding-left: 40px;
    padding-right: 0;
    border-left: 1px solid var(--border);
}

.service-item-mid { padding-right: 1em; }

.item-num {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.service-num {
    color: var(--color-green);
}

h2.service-title {
    font-size: var(--text-2xl);
    margin-bottom: 8px;
    margin-top: .5em;
}

.service-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: var(--space-md);
}

.section-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    flex-wrap: wrap;
}

.section-note::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    min-width: 10px;
    background: var(--color-green);
    border-radius: 1px;
    margin-top: 3px;
}

.section-note--services {
    margin-top: 100px;
}

/* ── PORTFOLIO ────────────────────────────────────────────── */
.portfolio-section {
  overflow: hidden;
  background: var(--bg);
  position: relative;
}

.portfolio-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) 0;
}

.portfolio-header {
  display: flex;
  align-items: baseline;
  gap: 32px;
}

.portfolio-count {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.portfolio-track {
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg) 160px var(--space-xl) calc(25vw);
  padding-right: calc(25vw + 160px);
  gap: 20px;
  will-change: transform;
}

#portfolioTrack a{
  text-decoration: none;
}

.portfolio-card {
  flex-shrink: 0;
  width: 380px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: #f0ede8;
  position: relative;
  cursor: pointer;
  will-change: transform;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgb(0 0 0 / 18%);
}

.portfolio-card .device-desktop,
.portfolio-card .device-mobile {
  transition: transform 0.35s var(--ease);
}

.portfolio-card:hover .device-desktop {
  transform: scale(1.03);
}

.portfolio-card:hover .device-mobile {
  transform: scale(1.04);
}

.portfolio-card:nth-child(even) { margin-bottom: 36px; }

.portfolio-card > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.portfolio-card-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255,251,248,0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,251,248,0.9) 1px, transparent 1px);
  background-size: 30px 30px;
}

.device-desktop {
  position: absolute;
  bottom: -8px;
  left: 24px;
  right: 56px;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgb(0 0 0 / 18%);
}

.device-desktop-bar {
  height: 18px;
  background: #d4d1cb;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  flex-shrink: 0;
}

.device-desktop-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8b4ae;
}

.device-desktop-screen {
  height: 180px;
  background-size: cover;
}

.device-mobile {
  position: absolute;
  bottom: 16px;
  right: 20px;
  width: 72px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgb(0 0 0 / 25%);
  border: 2px solid #d4d1cb;
  background: #eae8e4;
  z-index: 2;
}

.device-mobile-bar {
  height: 10px;
  background: #d4d1cb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-mobile-notch {
  width: 20px;
  height: 4px;
  background: #b8b4ae;
  border-radius: 4px;
}

.device-mobile-screen {
  height: 120px;
  background-size: cover;
}

.portfolio-card-footer {
  padding: 18px 22px 20px;
  background: var(--color-blue);
  border-top: 1px solid rgb(28 28 28 / 7%);
  flex-shrink: 0;
}

.portfolio-card-type {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}

.portfolio-card-title {
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}

.portfolio-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.stack-tag {
  font-size: 10px;
  background: rgb(255 255 255 / 18%);
  color: #fff;
  border-radius: 100px;
  padding: 3px 10px;
}

.portfolio-cta-card {
  flex-shrink: 0;
  width: 240px;
  height: 200px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(135deg, var(--color-green), var(--color-yellow));
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
  padding: 28px;
  cursor: pointer;
  margin-bottom: 30px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%);
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

.portfolio-cta-card:hover { transform: translateY(-4px); }

.portfolio-cta-label {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: #fff;
  font-style: italic;
  line-height: 1.4;
}

.portfolio-cta-arrow {
  font-size: var(--text-lg);
  color: rgb(255 255 255 / 70%);
  line-height: 1.4;
}

.portfolio-progress {
  position: absolute;
  bottom: 32px;
  left: 25vw;
  width: 120px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  z-index: 10;
  overflow: hidden;
}

.portfolio-progress-fill {
  height: 100%;
  background: var(--color-green);
  width: 0%;
  border-radius: 2px;
}

.card-gloss .device-desktop-screen{
  background-image: url('/wp-content/uploads/2026/05/gloss-1.webp');
}
.card-dwd .device-desktop-screen{
  background-image: url('/wp-content/uploads/2026/05/dwd-hp.webp');
}
.card-sunflower .device-desktop-screen{
  background-image: url('/wp-content/uploads/2026/05/sunflower-hp.webp');
}
.card-aryza .device-desktop-screen{
  background-image: url('/wp-content/uploads/2026/05/aryza-hp.webp');
}
.card-sm .device-desktop-screen{
  background-image: url('/wp-content/uploads/2026/05/sm-hp.webp');
}
.card-millrace .device-desktop-screen{
  background-image: url('/wp-content/uploads/2026/05/millrace-hp.webp');
}
.card-k-murphy .device-desktop-screen{
  background-image: url('/wp-content/uploads/2026/05/k-murphy-hp.webp');
}

.card-gloss .device-mobile-screen{
  background-image: url('/wp-content/uploads/2026/05/mob-gloss-hp.webp');
}
.card-dwd .device-mobile-screen{
  background-image: url('/wp-content/uploads/2026/05/mob-dwd-hp.webp');
}
.card-sunflower .device-mobile-screen{
  background-image: url('/wp-content/uploads/2026/05/mob-sunflower-hp.webp');
}
.card-aryza .device-mobile-screen{
  background-image: url('/wp-content/uploads/2026/05/mob-aryza-hp.webp');
}
.card-sm .device-mobile-screen{
  background-image: url('/wp-content/uploads/2026/05/mob-sm-hp.webp');
}
.card-millrace .device-mobile-screen{
  background-image: url('/wp-content/uploads/2026/05/mob-millrace-hp.webp');
}
.card-k-murphy .device-mobile-screen{
  background-image: url('/wp-content/uploads/2026/05/mob-k-murphy-hp.webp');
}

/* ── PROCESS ──────────────────────────────────────────────── */
.process-section {
        background: linear-gradient(135deg, #088eb0 0%, #06627e 55%, #07495c 100%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%), inset 0 -1px 0 rgb(0 0 0 / 12%);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

/* Radial blob highlights */
.process-section::before,
.process-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.process-section::before {
    width: 500px;
    height: 500px;
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 65%);
}

.process-section::after {
    width: 320px;
    height: 320px;
    bottom: -80px;
    right: 60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 65%);
}

.process-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* ── Left column ── */
.process-label {
    margin-bottom: 16px;
}

.process-heading {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.1;
}

.process-accent {
    width: 32px;
    height: 2px;
    margin-bottom: 20px;
}

.process-note {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* ── Steps ── */
.process-steps {
    display: flex;
    flex-direction: column;
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.process-step:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.step-body {}

.step-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    line-height: 1.75;
}

/* ── How It Works ─────────────────────────────────────────── */

.hiw{
    position: relative;
    background: linear-gradient(135deg, #1B7F9D 0%, #1e8aa9 100%);
    font-family: var(--font-sans);
    overflow: clip;
    padding-top: var(--space-lg);
}

.hiw, .hiw h2, .hiw h3{
    color: var(--color-off-white);
}

.hiw__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 80px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.hiw__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(16px, 3vh, 50px);
    padding: clamp(32px, 5vh, 80px) 0;
}

.hiw__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 24px;
}

.hiw__title {
    font-family: var(--font-serif);
}

.hiw__title em {
    font-style: italic;
}

.hiw__rule {
    width: 56px;
    height: 2px;
    background: rgb(255 255 255 / 40%);
    margin: 24px 0 20px;
}

.hiw__sub {
    font-size: 16px;
    line-height: 1.55;
    opacity: 0.85;
    max-width: 360px;
}

.hiw__illo {
    --cell: clamp(18px, 2.5vh, 28px);
    display: grid;
    position: relative;
    grid-template-columns: repeat(18, var(--cell));
    grid-template-rows: repeat(14, var(--cell));
    width: calc(18 * var(--cell));
    height: calc(14 * var(--cell));
    background-image:
        linear-gradient(rgb(255 255 255 / 12%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 12%) 1px, transparent 1px);
    background-size: var(--cell) var(--cell);
    background-position: -0.5px -0.5px;
}

.hiw__illo .cell {
    opacity: 0;
    transform: translateY(-10px) scale(0.85);
    transition:
        opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hiw__illo .cell.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hiw__illo .cell.W {
    background: rgb(255 255 255 / 95%);
}

.hiw__illo .cell.g {
    background: var(--color-green);
}

.hiw__progress {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 0;
    bottom: 40px;
}

.hiw__progress span {
    width: 24px;
    height: 4px;
    background: rgb(255 255 255 / 25%);
    border-radius: 2px;
    transition: background 0.3s;
}

.hiw__progress span.on {
    background: rgb(255 255 255 / 90%);
}

.hiw__steps {
    display: flex;
    flex-direction: column;
    /* No offset: Talk sits at viewport centre (its 100vh box centres it)
       as soon as the section pins — same spot every step stops at */
}

.hiw__step {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.hiw__step-num {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.hiw__step-num span {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.06em;
    opacity: var(--hiw-num-opacity, 0.7);
    transition: opacity 0.4s;
}

.hiw__step-num i {
    flex: 1;
    height: 1px;
    background: var(--hiw-rule-bg, rgb(255 255 255 / 18%));
    transition: background 0.4s;
}

.hiw__step.active {
    --hiw-num-opacity: 1;
    --hiw-rule-bg: rgb(255 255 255 / 55%);
    opacity: 1;
}

.hiw__step-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0 0 18px;
}

.hiw__step-body {
    font-size: 17px;
    line-height: 1.55;
    max-width: 460px;
}

/* ── PRICING (front-page internals; .pricing-section shell +
   .section-label live in main.css, shared with service pages) ── */
.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.pricing-header {
  max-width: 600px;
  margin-bottom: 64px;
}

.pricing-header .section-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.pricing-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.pricing-tier {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pricing-tier--featured {
  border-color: var(--color-green);
  border-width: 1.5px;
}

.tier-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-green);
}

.tier-name {
  font-size: var(--text-lg);
  color: var(--text);
  margin: 0;
}

.tier-price {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.tier-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tier-features li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.tier-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
}

/* ── ADD-ONS ──────────────────────────────────────────────── */
.pricing-addons {
    border-top: 1px solid var(--border);
    padding-top: 48px;
}

.addons-heading {
    font-family: var(--font-sans);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 40px;
}

.addon-group {
    margin-bottom: 32px;
}

.addon-group:last-of-type {
    margin-bottom: 0;
}

.addon-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    gap: 24px;
}

.addon-row:last-of-type {
    border-bottom: 1px solid var(--border);
}

.addon-item {
    font-size: 14px;
    color: var(--text);
    line-height: 1.4;
}

.addon-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}

.addon-inline-note {
    margin-top: 8px;
}

.pricing-note {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-bottom: 0;
}

/* ── PROOF QUOTE ──────────────────────────────────────────── */
.proof-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

/* No review cards below (API data unavailable) — drop the separator */
.proof-inner--solo {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.proof-quote-wrap {
    flex: 1;
    max-width: 520px;
}

.proof-quote {
    font-family: var(--font-serif);
    font-size: 22px;
    font-style: italic;
    color: var(--text);
    line-height: 1.35;
    letter-spacing: -0.02em;
    quotes: none;
    position: relative;
}

.proof-quote::before {
    content: '\201C';
    color: var(--color-green);
    font-size: 52px;
    line-height: 0;
    vertical-align: -18px;
    margin-right: 4px;
    font-style: normal;
}

.proof-attr {
    display: block;
    font-size: 11px;
    color: var(--muted);
    font-style: normal;
    margin-top: 12px;
}

.proof-reviews {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.proof-stars {
    color: var(--color-star);
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
}

.proof-reviews-meta {
    font-size: 12px;
    color: var(--muted);
}

.proof-reviews-link {
    color: #1a73e8;
    text-decoration: underline;
}

.proof-google-logo {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: var(--font-sans);
}

.proof-google-logo span:nth-child(1) { color: #4285f4; }
.proof-google-logo span:nth-child(2) { color: #ea4335; }
.proof-google-logo span:nth-child(3) { color: #fbbc05; }
.proof-google-logo span:nth-child(4) { color: #4285f4; }
.proof-google-logo span:nth-child(5) { color: #34a853; }
.proof-google-logo span:nth-child(6) { color: #ea4335; }

/* ── REVIEWS ──────────────────────────────────────────────── */
.reviews-section {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border);
}

.reviews-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.reviews-header {
    margin-bottom: 48px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.reviews-score {
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1;
    color: var(--text);
}

.reviews-stars {
    display: flex;
    gap: 2px;
}

.reviews-total {
    font-size: 13px;
    color: var(--muted);
}

.reviews-google-logo {
    margin-left: 4px;
    opacity: 0.75;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.review-date {
    font-size: 12px;
    color: var(--muted);
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
    flex: 1;
}

.review-read-more {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-blue);
    text-decoration: none;
    margin-top: auto;
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */

@media (max-width: 860px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-item + .service-item {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border);
        padding-top: 28px;
    }

    .reviews-grid  { grid-template-columns: repeat(2, 1fr); }
    .pricing-tiers { grid-template-columns: repeat(2, 1fr); }

    .process-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .proof-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .proof-reviews { align-items: flex-start; }

    .home section:not(.hero) > div:nth-child(1) {
        padding: var(--space-md) var(--space-md);
    }

    .services-inner,
    .process-inner,
    .reviews-inner,
    .pricing-inner { padding: 0 var(--space-md); }

    .hiw__inner {
        grid-template-columns: 1fr;
    }

    .hiw__sticky {
        position: static;
        height: auto;
        padding: 80px 0 40px;
    }

    .hiw__illo,
    .hiw__progress {
        display: none;
    }

    /* the scroll anim above is hidden, so each step shows its own
       completed stage of the grid illustration instead */
    .hiw__step-illo {
        display: block;
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 28px auto 0;
    }

    /* bare stage-0 grid appears under the heading once stacked */
    .hiw__heading-illo {
        display: block;
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 32px auto 0;
    }

    .hiw__steps {
        padding-top: 0;
    }

    .hiw__step {
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    /* content (headline + CTAs + static illo) is taller than 80vh on
       phones; let the hero grow so the headline isn't clipped off the top */
    .hero                  { height: auto; min-height: 80vh; }

        .hero-inner {
        flex-direction: column;
        gap: 32px;
        padding: var(--space-md) var(--space-md);
    }
    .hero-left,
    .hero-right           { width: 100%; flex: 0 0 100%; }

    /* hero-right follows hero-left in the column flow, so the static
       illo sits under the two CTA buttons; the JS-built anim stays off */
    .hero-right            { display: block; min-height: 0; }
    .hero-right > svg      { display: none !important; }
    .hero-iso-static       { display: block; width: 100%; max-width: 320px; margin: 8px auto 0; height: auto; }
    .hero-left            { padding-right: 0; }
    .hero-tag             { font-size: var(--text-sm); }

    .services-strip,
    .process-section      { padding: var(--space-md) 0; }

    .reviews-section      { padding: var(--space-md) 0; }

    .services-strip{
    margin-top: 0;
}

    .process-steps        { grid-template-columns: 1fr; gap: 32px; }

    .reviews-grid         { grid-template-columns: 1fr; }

    .pricing-tiers        { grid-template-columns: 1fr; }

    .addon-row {
        flex-direction: column;
        gap: 4px;
    }

    .addon-price            { font-size: 13px; }

    .portfolio-section {
        overflow: auto hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-left: var(--space-md);
    }

    .portfolio-inner { padding: var(--space-md) var(--space-md) 0; }

    .portfolio-track {
        padding: var(--space-sm) var(--space-md) var(--space-md);
        gap: 16px;
    }

    .portfolio-card {
        width: 300px;
        scroll-snap-align: start;
    }

    .portfolio-cta-card {
        width: 100vw;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .portfolio-card:nth-child(even) { margin-bottom: 0; }

    .portfolio-progress { display: none; }

    .process-section::before {
        width: 280px;
        height: 280px;
        top: -80px;
        left: -60px;
    }

    .process-section::after {
        display: none;
    }
}
