/* =====================================================================
   LumenCraft Studio — Editorial / data-journalism minimalist theme
   Black on white, hairline rules, mono labels, single red accent.
   Class names preserved from the original markup.
   ===================================================================== */

:root {
  /* ── Backgrounds ── */
  --bg:        #ffffff;
  --bg-2:      #f5f4f1;   /* off-white section band */
  --bg-3:      #ecebe6;   /* slightly deeper panel */
  --surface:   #f5f4f1;
  --surface-2: #ecebe6;

  /* ── Borders ── */
  --border:        rgba(17, 17, 17, 0.14);
  --border-strong: rgba(17, 17, 17, 0.55);
  --border-acc:    rgba(214, 40, 27, 0.35);

  /* ── Text ── */
  --text:    #111111;
  --text-2:  #3a3a3a;
  --text-3:  #707070;
  --text-inv:#ffffff;

  /* ── Accent (single red, used sparingly) ── */
  --accent:    #d6281b;
  --accent-dk: #b01d12;

  /* ── Legacy aliases mapped onto the new palette ── */
  --gold: var(--accent);   --gold-lt: var(--accent);   --gold-dk: var(--accent);   --gold-deep: var(--accent-dk);
  --teal: var(--text);     --teal-lt: var(--accent);   --teal-dk: var(--text);
  --primary: var(--accent);--primary-dark: var(--accent-dk);
  --deep: var(--text);     --ink: var(--text);         --ink-light: var(--text-2);
  --stone: var(--text-3);  --stone-light: var(--border);

  /* ── Typography ── */
  --display: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --body:    'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* ── Radii (squared editorial look) ── */
  --r-sm: 2px;
  --r-md: 2px;
  --r-lg: 3px;
  --r-full: 999px;

  /* ── Spacing ── */
  --section-gap: clamp(72px, 9vw, 120px);
  --section-px:  clamp(22px, 6vw, 80px);
  --maxw: 1180px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: hidden;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Lenis smooth scroll ── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }

::selection { background: var(--accent); color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.page-wrapper { width: 100%; overflow-x: hidden; }

main { display: flex; flex-direction: column; }

/* Decorative leftovers from the old theme — neutralized */
.cursor, .cursor-follower, .aurora, .grain,
.sphere-ring, .three-container, .scroll-cue { display: none !important; }
body::before { content: none !important; }

/* ── Custom cursor (desktop / fine-pointer only) ── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.25s ease;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(17, 17, 17, 0.4);
  transition: width 0.25s ease, height 0.25s ease,
              border-color 0.2s ease, background 0.2s ease, opacity 0.25s ease;
}
.cursor-dot.is-hidden, .cursor-ring.is-hidden { opacity: 0; }
.cursor-ring.is-hover {
  width: 52px; height: 52px;
  border-color: var(--accent);
  background: rgba(214, 40, 27, 0.06);
}
.cursor-dot.is-hover { width: 9px; height: 9px; }
.cursor-ring.is-down { width: 26px; height: 26px; }

/* Show custom cursor only on fine-pointer (mouse) devices */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor,
  body.has-cursor a, body.has-cursor button, body.has-cursor [role="button"],
  body.has-cursor input, body.has-cursor textarea, body.has-cursor select,
  body.has-cursor label, body.has-cursor .faq-question { cursor: none; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100px; left: 50%;
  transform: translateX(-50%);
  background: var(--text); color: #fff;
  padding: 12px 24px; font-weight: 600;
  z-index: 10001; transition: top 0.3s ease;
}
.skip-link:focus { top: 16px; outline: 2px solid var(--accent); outline-offset: 2px; }

/* Container for non-hero sections */
main > section:not(.hero) {
  padding-left: var(--section-px);
  padding-right: var(--section-px);
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
}

/* ── NAV ── */
.nav {
  position: fixed; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  z-index: 200;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.nav-scrolled { border-color: var(--border-strong); box-shadow: 0 1px 0 rgba(17, 17, 17, 0.04); }

.logo {
  font-family: var(--display);
  font-size: 19px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--text);
}
.logo em { font-style: normal; color: var(--accent); }
.logo:hover { opacity: 0.75; }

.nav-links {
  display: flex; gap: 30px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em; text-transform: lowercase;
}
.nav-links a { color: var(--text-3); position: relative; padding-bottom: 4px; transition: color 0.2s ease; }
.nav-links a::before { content: '↳ '; color: var(--border-strong); transition: color 0.2s ease; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::before, .nav-links a.active::before { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border: 1px solid var(--text);
  border-radius: var(--r-sm);
  background: var(--text); color: #fff;
  cursor: pointer; transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer; padding: 0;
  z-index: 210;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 195;
  background: #ffffff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 80px 24px 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
body.nav-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-menu__links a {
  font-family: var(--display); font-size: 30px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--text); padding: 8px 0;
  transition: color 0.2s ease;
}
.mobile-menu__links a:hover, .mobile-menu__links a:active { color: var(--accent); }
.mobile-menu__cta { margin-top: 18px; padding: 14px 28px; font-size: 14px; }
.mobile-menu__social {
  display: flex; gap: 22px; margin-top: 22px;
  font-family: var(--mono); font-size: 12px; color: var(--text-3);
}
.mobile-menu__social a { transition: color 0.2s ease; }
.mobile-menu__social a:hover { color: var(--accent); }
body.nav-open { overflow: hidden; }

/* ── KEYFRAMES ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lineRise { to { transform: translateY(0); } }
@keyframes barGrow { to { transform: scaleY(1); } }
@keyframes fillGrow { to { transform: scaleX(1); } }
@keyframes marqueeLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* Scroll progress indicator (GPU transform, no per-frame layout) */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 100%;
  background: var(--accent);
  z-index: 300; pointer-events: none;
  transform: scaleX(0); transform-origin: left;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Animated counters use tabular figures so digit widths stay fixed
   (prevents the metrics row jittering/reflowing while counting up). */
.metric-value, .data-stat__num, .chip-num, .stat-value, .about-exp-badge__num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Scroll reveal */
.fade {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade.reveal { opacity: 1; transform: none; }

/* ── HERO ── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 92vh;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding: 130px clamp(22px, 6vw, 80px) 70px;
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
}
.hero::after { content: none; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.5s ease forwards 0.1s;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: blink 1.6s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(46px, 6.4vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 26px;
}

/* Desktop-only headline sizing */
@media (min-width: 881px) {
  .hero-headline { font-size: 66px; line-height: 1.08; }
}
.headline-line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.headline-line span { display: block; transform: translateY(110%); animation: lineRise 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: calc(var(--i) * 0.12s + 0.15s); }
.hero-headline em { font-style: normal; color: var(--accent); }
.headline-teal { color: var(--accent); }

.hero-sub {
  font-size: 17px; font-weight: 400;
  color: var(--text-2);
  max-width: 480px; line-height: 1.7;
  margin-bottom: 34px;
  opacity: 0; animation: fadeUp 0.6s ease forwards 0.55s;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex; align-items: center; gap: 22px;
  opacity: 0; animation: fadeUp 0.6s ease forwards 0.7s;
}

/* Buttons (shared) */
.btn-fill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px;
  background: var(--text); color: #fff;
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-fill:hover { background: var(--accent); transform: translateY(-1px); }
.btn-fill svg { transition: transform 0.2s ease; }
.btn-fill:hover svg { transform: translateX(4px); }

.btn-ghost {
  font-family: var(--mono);
  font-size: 13px; font-weight: 500;
  color: var(--text); letter-spacing: 0.01em;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--border-strong);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

/* Legacy buttons used elsewhere */
.primary, .btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; background: var(--text); color: #fff;
  border: none; border-radius: var(--r-sm);
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.primary:hover, .btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.ghost {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; background: transparent;
  border: 1px solid var(--text); color: var(--text);
  border-radius: var(--r-sm); font-family: var(--mono);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.ghost:hover { background: var(--text); color: #fff; }

/* Proof strip */
.hero-proof {
  display: flex; align-items: center; gap: 14px;
  margin-top: 42px; padding-top: 28px;
  border-top: 1px solid var(--border);
  opacity: 0; animation: fadeUp 0.6s ease forwards 0.85s;
}
.proof-avatars { display: flex; }
.av {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--bg);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-left: -8px; font-family: var(--mono);
  color: #fff; background: var(--text);
}
.av:first-child { margin-left: 0; }
.av-gold { background: var(--accent); }
.av-teal { background: var(--text-3); }
.av-muted { background: var(--bg-3); color: var(--text-2); font-size: 10px; }
.proof-text { font-family: var(--mono); font-size: 12px; color: var(--text-3); line-height: 1.45; }
.proof-stars { color: var(--accent); letter-spacing: 2px; font-size: 11px; margin-bottom: 2px; }

/* Hero visual → data-figure card */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: auto; }

.data-card {
  width: 100%;
  border: 1px solid var(--text);
  border-radius: var(--r-lg);
  background: var(--bg);
  opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
}

/* Header row */
.data-card__head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.data-card__fig { font-weight: 600; color: var(--accent); }
.data-card__name { font-weight: 500; color: var(--text); }
.data-card__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-3); font-weight: 500; letter-spacing: 0.06em;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: blink 1.6s ease-in-out infinite;
}

/* Bar chart */
.data-chart { padding: 24px 18px 14px; border-bottom: 1px solid var(--border); }
.data-chart__bars {
  display: flex; align-items: flex-end; gap: 10px;
  height: 116px;
}
.bar {
  flex: 1; height: var(--h);
  background: var(--bg-3);
  border-top: 2px solid var(--text-3);
  transform: scaleY(0); transform-origin: bottom;
  animation: barGrow 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.bar:nth-child(1) { animation-delay: 0.85s; }
.bar:nth-child(2) { animation-delay: 0.93s; }
.bar:nth-child(3) { animation-delay: 1.01s; }
.bar:nth-child(4) { animation-delay: 1.09s; }
.bar:nth-child(5) { animation-delay: 1.17s; }
.bar:nth-child(6) { animation-delay: 1.25s; }
.bar--peak { background: var(--accent); border-top-color: var(--accent); }
.data-chart__axis {
  display: flex; gap: 10px; margin-top: 9px;
}
.data-chart__axis span {
  flex: 1; text-align: center;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.04em; color: var(--text-3);
}

/* Key stats row */
.data-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.data-stat {
  padding: 18px 14px; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 3px;
}
.data-stat:last-child { border-right: none; }
.data-stat__num {
  font-family: var(--display); font-size: 32px; font-weight: 800;
  color: var(--text); line-height: 1; letter-spacing: -0.04em;
}
.data-stat__lbl {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3);
}

/* Tech proficiency meters */
.data-skills {
  padding: 18px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
}
.data-skill__row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em;
  color: var(--text); margin-bottom: 7px;
}
.data-skill__val { color: var(--accent); font-weight: 600; }
.data-skill__track { height: 4px; background: var(--bg-3); border-radius: var(--r-full); overflow: hidden; }
.data-skill__fill {
  display: block; height: 100%; width: var(--w);
  background: var(--text); border-radius: var(--r-full);
  transform: scaleX(0); transform-origin: left;
  animation: fillGrow 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.3s;
}
.data-skill:nth-child(2) .data-skill__fill { animation-delay: 1.45s; }

/* Footnote */
.data-card__foot {
  padding: 0 18px 16px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.02em; color: var(--text-3);
}

/* ── MARQUEE STRIP ── */
.marquee-strip {
  padding: 14px 0;
  background: var(--text);
  border-block: 1px solid var(--text);
  overflow: hidden;
}
.marquee-track { display: flex; white-space: nowrap; animation: marqueeLeft 20s linear infinite; }
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; padding: 0 20px; flex-shrink: 0;
}
.marquee-dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); margin-left: 20px;
}

/* ── SHARED SECTION STYLES ── */
.section { padding-block: var(--section-gap); width: 100%; border-top: 1px solid var(--border); }
main > section[id] { scroll-margin-top: 84px; }

.section-label {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: '※'; color: var(--accent); }

.section-title {
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 760px; margin-bottom: 16px;
}
.section-title em { font-style: normal; color: var(--accent); }

.section-sub {
  font-size: 16px; font-weight: 400;
  color: var(--text-2);
  max-width: 560px; line-height: 1.7;
  margin-bottom: 52px;
}

/* Generic section header helpers (legacy) */
.eyebrow {
  font-family: var(--mono); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 11px;
  color: var(--accent); margin-bottom: 14px;
}
.section-header { max-width: 680px; }
.section-header.centered { text-align: center; margin-inline: auto; }
.section-header h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; }
.section-subtitle { font-size: 16px; color: var(--text-2); margin-top: 14px; max-width: 600px; }
.section-header.centered .section-subtitle { margin-inline: auto; }
.lead { font-size: 1.05rem; max-width: 520px; margin-bottom: 26px; color: var(--text-2); }
h1, h2 { font-family: var(--display); font-weight: 800; color: var(--text); letter-spacing: -0.03em; }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border: 1px solid var(--text);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg);
  padding: 34px 30px;
  position: relative;
  border-right: 1px solid var(--border);
  transition: background 0.25s ease;
}
.service-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: var(--bg-2); }
.service-card:hover::after, .service-card--featured::after { transform: scaleX(1); }
.service-card--featured { background: var(--bg-2); }

.service-card__badge {
  position: absolute; top: 22px; right: 22px;
  border: 1px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 3px 9px;
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.service-card__num {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--accent); line-height: 1; display: block; margin-bottom: 22px;
}
.service-card__title {
  font-family: var(--display);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700; color: var(--text);
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 12px;
}
.service-card__body { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 22px; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.tag {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.02em; padding: 4px 9px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  color: var(--text-3);
}
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--text);
  padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.service-card__link:hover { color: var(--accent); border-color: var(--accent); }

/* ── WORK ── */
.case-study {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--text);
  border-radius: var(--r-lg);
  overflow: hidden; min-height: 420px; margin-bottom: 16px;
}
.case-study__visual {
  background: var(--bg-2);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px;
  border-right: 1px solid var(--text);
}
.case-study__visual::before { content: none; }
.case-study__visual::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(17,17,17,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,17,17,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.case-study__visual-accent { position: absolute; top: 36px; left: 36px; width: 40px; height: 3px; background: var(--accent); z-index: 2; }
.case-study__visual-accent::after { content: ''; position: absolute; top: 7px; left: 0; width: 20px; height: 1px; background: var(--accent); }
.case-study__visual-num {
  font-family: var(--display);
  font-size: clamp(150px, 20vw, 240px);
  font-weight: 800; color: rgba(17,17,17,0.05);
  line-height: 0.8; letter-spacing: -0.06em;
  position: absolute; bottom: -24px; right: -10px; z-index: 1;
  pointer-events: none; user-select: none;
}
.case-study__visual-footer {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.case-study__visual-footer span {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
}
.case-study__visual-footer span:first-child { color: var(--accent); }

.case-study__panel {
  background: var(--bg); padding: 46px 42px;
  display: flex; flex-direction: column; justify-content: center;
}
.case-study__tag {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
  display: flex; align-items: center; gap: 9px;
}
.case-study__tag::before { content: ''; width: 22px; height: 1px; background: var(--accent); flex-shrink: 0; }
.case-study__title {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800; color: var(--text);
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 16px;
}
.case-study__title em { font-style: normal; color: var(--accent); }
.case-study__desc { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 30px; max-width: 400px; }
.case-study__metrics { display: flex; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--border); }
.cs-metric { flex: 1; padding-right: 20px; }
.cs-metric + .cs-metric { padding-left: 20px; border-left: 1px solid var(--border); }
.metric-value {
  font-family: var(--display); font-size: 30px; font-weight: 800;
  color: var(--text); line-height: 1; letter-spacing: -0.03em; display: block;
}
.metric-label {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-3); margin-top: 6px; display: block;
}
.case-study__link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); transition: gap 0.25s ease;
}
.case-study__link:hover { gap: 18px; color: var(--accent); }
.link-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.case-study__link:hover .link-arrow { border-color: var(--accent); color: var(--accent); }

/* ── PROJECT LIST ── */
.projects-list { border: 1px solid var(--text); border-radius: var(--r-lg); overflow: hidden; }
.project-row {
  display: grid;
  grid-template-columns: 60px 1fr auto 96px;
  align-items: center; gap: 32px;
  padding: 24px 30px; background: var(--bg);
  position: relative; transition: background 0.25s ease; cursor: pointer;
}
.project-row + .project-row { border-top: 1px solid var(--border); }
.project-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.3s ease;
}
.project-row:hover { background: var(--bg-2); }
.project-row:hover::before { transform: scaleY(1); }
.project-row__num { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--text-3); transition: color 0.25s; }
.project-row:hover .project-row__num { color: var(--accent); }
.project-row__tags { display: flex; gap: 6px; margin-bottom: 9px; }
.project-row__title {
  font-family: var(--display); font-size: clamp(19px, 2vw, 24px);
  font-weight: 700; color: var(--text); letter-spacing: -0.02em; margin-bottom: 5px;
}
.project-row__desc { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.project-row__metrics { display: flex; gap: 26px; flex-shrink: 0; align-items: center; }
.project-row__metric { text-align: center; }
.project-row__swatch {
  width: 96px; height: 60px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--text); background: var(--bg-2);
  transition: background 0.25s ease; flex-shrink: 0;
}
.project-row:hover .project-row__swatch { background: var(--text); }
.swatch-warm, .swatch-forest, .swatch-slate { background: var(--bg-2); }
.swatch-arrow { color: var(--text); opacity: 0; transform: translateX(-8px); transition: opacity 0.25s, transform 0.25s, color 0.25s; }
.project-row:hover .swatch-arrow { opacity: 1; transform: translateX(0); color: #fff; }

/* Work CTA */
.work-cta {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  margin-top: 56px; padding-top: 56px;
  border-top: 1px solid var(--border); text-align: center;
}
.work-cta__text {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800; color: var(--text); letter-spacing: -0.03em;
}

/* ── PROCESS ── */
.process { background: transparent; }
.process-timeline {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--text); border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg);
}
.process-connector { display: none; }
.process-step { background: var(--bg); padding: 34px 26px; border-right: 1px solid var(--border); transition: background 0.25s; }
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--bg-2); }
.process-step__num {
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  color: var(--accent); line-height: 1; margin-bottom: 18px; display: block;
}
.process-step__title { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--text); margin-bottom: 11px; letter-spacing: -0.02em; }
.process-step__desc { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ── PRICING ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--text); border-radius: var(--r-lg); overflow: hidden;
}
.pricing-card {
  background: var(--bg); padding: 36px 30px;
  position: relative; display: flex; flex-direction: column;
  border-right: 1px solid var(--border); transition: background 0.25s;
}
.pricing-card:last-child { border-right: none; }
.pricing-card:hover { background: var(--bg-2); }
.pricing-card--featured { background: var(--bg-2); }
.pricing-card__badge {
  position: absolute; top: 0; left: 0;
  background: var(--accent); color: #fff;
  padding: 4px 12px; font-family: var(--mono);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 0 0 var(--r-sm) 0;
}
.pricing-card__name {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 18px;
}
.pricing-card--featured .pricing-card__name { color: var(--accent); }
.pricing-card__price {
  font-family: var(--display); font-size: 46px; font-weight: 800;
  color: var(--text); line-height: 1; letter-spacing: -0.04em; margin-bottom: 10px;
}
.price-from { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--text-3); display: block; margin-bottom: 6px; }
.pricing-card__meta {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.pricing-card__desc { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 26px; }

/* WordPress custom-quote card (below the grid) */
.pricing-custom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  margin-top: 16px; padding: 32px;
  border: 1px solid var(--text); border-radius: var(--r-lg);
  background: var(--bg-2);
}
.pricing-custom__text { max-width: 620px; }
.pricing-custom__title {
  font-family: var(--display); font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800; letter-spacing: -0.02em; color: var(--text);
  margin: 8px 0 8px;
}
.pricing-custom__text p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.pricing-custom__cta { flex-shrink: 0; }

/* Risk-reversal / reassurance strip */
.pricing-guarantee {
  list-style: none; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px 26px;
  margin: 22px 0 0; padding: 0;
  font-family: var(--mono); font-size: 12px; color: var(--text-2);
}
.pricing-guarantee li { display: inline-flex; align-items: center; gap: 7px; }
.pricing-guarantee li::before {
  content: '✓'; color: var(--accent); font-weight: 700;
}

/* ── FREE AUDIT LEAD MAGNET ── */
.audit-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  padding: clamp(30px, 5vw, 54px);
  background: var(--text); color: #fff;
  border-radius: var(--r-lg);
}
.audit-card__text { max-width: 640px; }
.audit-card .section-label { color: var(--accent); margin-bottom: 14px; }
.audit-card__title {
  font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 12px;
}
.audit-card__title em { color: var(--accent); font-style: normal; }
.audit-card__desc { font-size: 15px; color: rgba(255, 255, 255, 0.72); line-height: 1.65; }
.audit-card__cta { flex-shrink: 0; background: #fff; color: var(--text); }
.audit-card__cta:hover { background: var(--accent); color: #fff; }
.pricing-card__features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; flex: 1; }
.pricing-card__features li { font-size: 13px; color: var(--text-2); padding-left: 20px; position: relative; }
.pricing-card__features li::before { content: '+'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; font-family: var(--mono); }
.pricing-card__cta { margin-top: auto; }
.pricing-card__cta.btn-fill, .pricing-card__cta.btn-ghost { justify-content: center; }
.pricing-card__cta.btn-ghost {
  border: 1px solid var(--text); border-radius: var(--r-sm);
  padding: 13px 20px; text-align: center;
}
.pricing-card__cta.btn-ghost:hover { background: var(--text); color: #fff; border-color: var(--text); }

/* ── TESTIMONIALS ── */
.testimonials { overflow: hidden; }
.testimonials-marquee { margin-top: 52px; display: flex; flex-direction: column; gap: 16px; }
/* Vertical padding gives the hover lift headroom; horizontal stays clipped for the marquee. */
.testimonials-row { overflow: hidden; padding: 10px 0; }
.testimonials-track { display: flex; gap: 16px; width: max-content; animation: marqueeLeft 36s linear infinite; }
.testimonials-marquee:hover .testimonials-track { animation-play-state: paused; }
.testimonial-card {
  width: 360px; flex-shrink: 0; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; transition: border-color 0.25s ease, transform 0.25s ease;
}
.testimonial-card:hover { border-color: var(--text); transform: translateY(-4px); }
.testimonial-card__stars { color: var(--accent); font-size: 13px; letter-spacing: 3px; margin-bottom: 16px; }
.testimonial-card__quote {
  font-family: var(--display); font-size: 16px; font-weight: 500;
  color: var(--text); line-height: 1.55; margin-bottom: 20px; letter-spacing: -0.01em;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.testimonial-card__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--text) !important; color: #fff;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testimonial-card__author strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.testimonial-card__author span { font-family: var(--mono); font-size: 11px; color: var(--text-3); }

/* ── FAQ ── */
.faq-grid { display: flex; flex-direction: column; border: 1px solid var(--text); border-radius: var(--r-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); transition: background 0.2s; }
.faq-item:last-child { border-bottom: none; }
.faq-item.active { background: var(--bg-2); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; background: none; border: none; cursor: pointer;
  font-family: var(--display); font-size: 16px; font-weight: 600;
  color: var(--text); text-align: left; gap: 16px; letter-spacing: -0.01em;
}
.faq-question::after { content: '+'; font-family: var(--mono); font-size: 20px; font-weight: 400; color: var(--accent); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.active .faq-content { max-height: 240px; }
.faq-content p { padding: 0 26px 24px; font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ── CONTACT ── */
.contact { background: transparent; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact-lead { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 36px; }
.contact-benefits { display: flex; flex-direction: column; gap: 13px; margin-bottom: 36px; }
.contact-benefit { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-2); }
.contact-benefit svg { color: var(--accent); flex-shrink: 0; }
.contact-direct p { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.contact-email { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; border-bottom: 2px solid var(--accent); transition: color 0.2s; }
.contact-email:hover { color: var(--accent); }

/* Form */
.contact-form-wrap { background: var(--bg); border: 1px solid var(--text); border-radius: var(--r-lg); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-row .form-group { margin-bottom: 0; }
.form-label { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.form-input {
  width: 100%; padding: 13px 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  color: var(--text); font-family: var(--body); font-size: 14px;
  transition: border-color 0.2s; outline: none;
}
.form-input::placeholder { color: var(--text-3); }
.form-input:focus { border-color: var(--text); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-status { padding: 12px 14px; border-radius: var(--r-sm); font-size: 13px; margin-bottom: 16px; }
.form-status.success { background: #fff; color: var(--text); border: 1px solid var(--text); }
.form-status.error { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.form-submit { width: 100%; justify-content: center; padding: 15px; font-size: 14px; }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--text); background: var(--bg); }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px;
  padding: 52px var(--section-px); max-width: var(--maxw); margin-inline: auto;
}
.footer-tagline { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-top: 6px; }
.footer-cta-block { text-align: center; }
.footer-cta-title { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 16px; letter-spacing: -0.03em; }
.footer-cta-title em { color: var(--accent); font-style: normal; }
.footer-links { display: flex; justify-content: flex-end; gap: 24px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--text-3); }
.footer-links a { position: relative; padding-bottom: 2px; }
.footer-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.footer-links a:hover { color: var(--accent); }
.footer-links a:hover::after { width: 100%; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--section-px); max-width: var(--maxw); margin-inline: auto;
  border-top: 1px solid var(--border); font-family: var(--mono);
  font-size: 11px; color: var(--text-3);
}

/* ── ABOUT ── */
.about-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.about-image-wrap { position: relative; display: inline-block; width: 100%; }
.about-image {
  display: block;
  width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: var(--r-lg);
  border: 1px solid var(--text);
  object-fit: cover; object-position: center top;
  background: var(--bg-2);
}
.about-exp-badge {
  position: absolute; bottom: 22px; right: -16px;
  background: var(--text); color: #fff;
  padding: 16px 20px; border-radius: var(--r-sm); text-align: center;
}
.about-exp-badge__num { font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1; display: block; letter-spacing: -0.03em; }
.about-exp-badge__text { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.4; opacity: 0.85; }
.about-lead { font-size: 17px; color: var(--text-2); line-height: 1.7; margin-bottom: 36px; }
.about-lead strong { color: var(--text); font-weight: 600; }
.about-highlights { display: flex; flex-direction: column; gap: 24px; }
.about-highlight { display: flex; gap: 16px; align-items: flex-start; }
.about-highlight__icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--bg-2); border: 1px solid var(--text);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.about-highlight strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.about-highlight p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--text); color: #fff;
  border: none; border-radius: var(--r-sm);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all 0.25s ease; z-index: 99;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); }

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-fab {
  position: fixed; bottom: 28px; left: 28px;
  width: 54px; height: 54px;
  background: #25d366; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 99;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5); }
.whatsapp-fab::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; opacity: 0.6;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 560px) { .whatsapp-fab { bottom: 18px; left: 18px; width: 50px; height: 50px; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-fab::after { animation: none; } }

/* ── PRELOADER ── */
.preloader {
  position: fixed; inset: 0; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000; transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-logo { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 22px; text-align: center; letter-spacing: -0.02em; }
.preloader-logo em { font-style: normal; color: var(--accent); }
.preloader-spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto;
}

/* ── TRUSTPILOT BADGE ── */
.trustpilot-cta {
  display: flex; justify-content: center;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.trustpilot-badge {
  display: inline-flex; align-items: center; flex-wrap: wrap;
  justify-content: center; gap: 10px 16px;
  padding: 14px 22px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--bg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.trustpilot-badge:hover { border-color: var(--text); transform: translateY(-2px); }
.tp-logo {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display); font-weight: 800; font-size: 15px;
  letter-spacing: -0.02em; color: var(--text);
}
.tp-stars { display: inline-flex; gap: 3px; }
.tp-star {
  width: 22px; height: 22px;
  background: #00b67a; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; line-height: 1;
}
.tp-cta {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--text-2); transition: color 0.2s ease;
}
.trustpilot-badge:hover .tp-cta { color: var(--accent); }

/* ── FIVERR VERIFIED MARK (beside reviewer name) ── */
.fiverr-mark {
  display: inline-flex; align-items: center; gap: 3px;
  margin-left: 7px; padding: 2px 7px;
  background: #1dbf73; color: #fff;
  border-radius: var(--r-full);
  font-family: var(--body); font-size: 9px; font-weight: 700;
  letter-spacing: 0.02em; vertical-align: middle;
  text-transform: lowercase;
}
.fiverr-mark::before { content: '✓'; font-size: 8px; }

/* ── FOOTER SOCIAL ── */
.footer-social { display: flex; gap: 18px; }
.footer-social a { position: relative; transition: color 0.2s; }
.footer-social a:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--border); }
  .service-card:last-child { border-bottom: none; }
  .service-card--featured { order: -1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { border-right: none; border-bottom: 1px solid var(--border); }
  .pricing-card:last-child { border-bottom: none; }
  /* Keep natural Basic → Standard → Premium order when stacked */
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: none; }
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; min-height: auto; }
  .hero-headline { line-height: 1.06; }
  .hero-visual { width: 100%; }
  .hero-sub { max-width: 100%; }

  .case-study { grid-template-columns: 1fr; }
  .case-study__visual { min-height: 240px; border-right: none; border-bottom: 1px solid var(--text); }
  .project-row { grid-template-columns: 44px 1fr; gap: 18px; padding: 22px; }
  .project-row__metrics { display: none; }
  .project-row__swatch { display: none; }

  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-image-col { display: block; }
  .about-image-wrap { display: block; max-width: 300px; margin: 0 auto; }

  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Narrow viewport shortens the track, so speed it up to keep the same feel */
  .marquee-track { animation-duration: 6s; }
}

@media (max-width: 560px) {
  .process-timeline { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .contact-form-wrap { padding: 24px; }
  .back-to-top { bottom: 18px; right: 18px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* =====================================================================
   BLOG
   ===================================================================== */
.blog-hero {
  max-width: var(--maxw); margin-inline: auto; width: 100%;
  padding: 140px var(--section-px) 36px;
}
.blog-hero .section-title { max-width: 800px; }

/* Featured (latest) post */
.blog-featured-wrap {
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  padding: 0 var(--section-px) 22px;
}
.blog-featured {
  position: relative; display: block;
  border: 1px solid var(--text); border-radius: var(--r-lg);
  background: var(--bg); padding: clamp(28px, 4vw, 46px) clamp(24px, 4vw, 42px);
  transition: background 0.25s ease;
}
.blog-featured:hover { background: var(--bg-2); }
.blog-featured__badge {
  position: absolute; top: 0; right: clamp(24px, 4vw, 42px);
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 5px 12px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.blog-featured__title {
  font-family: var(--display); font-size: clamp(27px, 4.2vw, 44px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  color: var(--text); margin: 14px 0 14px; max-width: 820px;
}
.blog-featured__excerpt {
  font-size: 16px; color: var(--text-2); line-height: 1.65;
  max-width: 660px; margin-bottom: 18px;
}
.blog-featured:hover .post-card__link { color: var(--accent); border-color: var(--accent); }

.blog-grid {
  max-width: var(--maxw); margin: 0 auto var(--section-gap); width: 100%;
  padding: 0 var(--section-px);
}
.blog-grid__inner {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--text); border-radius: var(--r-lg); overflow: hidden;
}
.post-card {
  background: var(--bg); padding: 32px 30px;
  display: flex; flex-direction: column; gap: 13px;
  transition: background 0.25s ease;
}
/* A lone last card on an odd row spans full width */
.post-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.post-card:hover { background: var(--bg-2); }
.post-card__cat {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.post-card__cat::before { content: '\203B'; }
.post-card__title {
  font-family: var(--display); font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: var(--text);
}
.post-card a.stretched { color: inherit; }
.post-card a.stretched::after { content: ''; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card__excerpt { font-size: 14px; color: var(--text-2); line-height: 1.65; flex: 1; }
.post-card__meta {
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
  display: flex; gap: 8px; align-items: center;
}
.post-card__meta .dot { color: var(--border-strong); }
.post-card__link {
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--text); padding-bottom: 2px; align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}
.post-card:hover .post-card__link { color: var(--accent); border-color: var(--accent); }

/* Breadcrumb */
.breadcrumb {
  max-width: 760px; margin: 0 auto; width: 100%;
  padding: 124px var(--section-px) 0;
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-3); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border-strong); }

/* Article */
.article { max-width: 760px; margin: 0 auto; width: 100%; padding: 0 var(--section-px); }
.article-header { padding: 26px 0 34px; border-bottom: 1px solid var(--border); margin-bottom: 42px; }
.article-cat {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.article-cat::before { content: '\203B'; }
.article-title {
  font-family: var(--display); font-size: clamp(30px, 5vw, 50px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; color: var(--text); margin-bottom: 20px;
}
.article-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--text-3);
}
.article-meta .author { color: var(--text); font-weight: 500; }
.article-meta .dot { color: var(--border-strong); }

/* Prose */
.prose { font-size: 17px; line-height: 1.8; color: var(--text-2); }
.prose > * + * { margin-top: 22px; }
.prose h2 {
  font-family: var(--display); font-size: clamp(23px, 3.2vw, 31px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--text);
  margin-top: 50px; margin-bottom: 2px; scroll-margin-top: 90px;
}
.prose h3 {
  font-family: var(--display); font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--text); margin-top: 34px;
}
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--border-acc); transition: border-color 0.2s; }
.prose a:hover { border-color: var(--accent); }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li { color: var(--text-2); }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  border-left: 3px solid var(--accent); padding: 2px 0 2px 22px; margin-left: 0;
  font-family: var(--display); font-size: 20px; font-weight: 600;
  color: var(--text); letter-spacing: -0.01em; line-height: 1.42;
}
.prose .callout {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 20px 22px; font-size: 15px; line-height: 1.7;
}
.prose .callout__label { display: block; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.prose code {
  font-family: var(--mono); font-size: 0.86em; background: var(--bg-3);
  padding: 2px 6px; border-radius: 3px; color: var(--text);
}
.prose hr { border: none; border-top: 1px solid var(--border); margin: 42px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 11px 13px; border: 1px solid var(--border); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); background: var(--bg-2); }

/* End-of-article CTA */
.article-cta {
  max-width: 760px; margin: 54px auto 0; padding: 36px;
  border: 1px solid var(--text); border-radius: var(--r-lg); background: var(--bg-2); text-align: center;
}
.article-cta h2 { font-family: var(--display); font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.03em; color: var(--text); margin-bottom: 10px; }
.article-cta p { font-size: 15px; color: var(--text-2); margin-bottom: 22px; max-width: 480px; margin-inline: auto; line-height: 1.6; }
.article-cta .btn-fill { justify-content: center; }

/* Article footer nav */
.article-foot {
  max-width: 760px; margin: 46px auto 0; padding: 24px var(--section-px) 0;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px;
}
.article-foot a { color: var(--text); border-bottom: 1px solid var(--text); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.article-foot a:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 760px) {
  .blog-grid__inner { grid-template-columns: 1fr; }
  .post-card:last-child:nth-child(odd) { grid-column: auto; }
}

/* Blog mobile optimization */
@media (max-width: 600px) {
  .blog-hero { padding: 120px var(--section-px) 28px; }
  .blog-featured { padding: 30px 22px; }
  .blog-featured__badge { right: 22px; }
  .post-card { padding: 26px 22px; }
  .breadcrumb { padding-top: 110px; }
  .article-header { padding: 22px 0 26px; margin-bottom: 32px; }
  .prose { font-size: 16px; }
  .prose h2 { margin-top: 40px; }
  /* Tables scroll horizontally instead of overflowing the screen */
  .prose .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--section-px) * -0.5); padding-inline: calc(var(--section-px) * 0.5); }
  .prose table { min-width: 460px; }
  .article-foot { flex-direction: column; gap: 12px; }
}
