/* ==== lf-base.css ==== */
/* ==========================================================================
   lawfirmseo.company: base stylesheet (tokens, fonts, section scaffolding, helpers)
   Built from the redditraffic-claude-design-v2 export. Component styles follow in global.css,
   the chrome (header, footer, legal pages, Astra overrides) closes it.
   ========================================================================== */

/* ---- Fonts (self-hosted, see build/fonts/v1) ---- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/v1/BricolageGrotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/v1/BricolageGrotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Caveat is declared 500 to 700 on purpose: the design asks Google Fonts for that range, so its
   font-weight: 400 text renders at 500. Declaring the same range keeps the stroke identical. */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/v1/Caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/v1/Caveat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Tokens ---- */
:root {
  --lf-sans: "Bricolage Grotesque", system-ui, sans-serif;
  --lf-serif: "Bricolage Grotesque", system-ui, sans-serif;
  --lf-hand: "Caveat", "Bradley Hand", cursive;

  --lf-ink: #121110;
  --lf-ink-2: #2A2826;
  --lf-text: #4F4A45;
  --lf-text-2: #3A3632;
  --lf-text-3: #57524C;
  --lf-muted: #6A645D;
  --lf-dim: #9E968D;
  --lf-dim-2: #C9BFB4;

  --lf-white: #FFFFFF;
  --lf-paper: #FCFAF8;
  --lf-paper-2: #F4F1ED;
  --lf-line: #ECE5DE;
  --lf-line-2: #F1EAE3;
  --lf-line-3: #F3EDE7;
  --lf-line-4: #E8DFD6;
  --lf-border: #D9D1C8;
  --lf-border-2: #DDD5CC;
  --lf-border-3: #E4D8CE;

  --lf-tint: #FFF6F0;
  --lf-tint-2: #FFF1EB;
  --lf-tint-3: #FFE0D2;
  --lf-tint-4: #FFD3C2;
  --lf-tint-5: #FFC9B0;
  --lf-tint-6: #FFD9C8;
  --lf-tint-7: #FFF8F3;
  --lf-peach: #FFB08F;
  --lf-peach-2: #FF8A5C;
  --lf-peach-3: #FFC3A9;

  --lf-accent: #E2481F;
  --lf-accent-2: #D33D27;
  --lf-accent-3: #B8321F;
  --lf-accent-4: #C2381E;
  --lf-accent-5: #B23A1E;
  --lf-orange: #FF5A1F;
  --lf-orange-2: #F0703F;
  --lf-orange-3: #F79A72;

  --lf-green: #23864C;
  --lf-green-2: #3DBA6E;
  --lf-green-3: #1E7A44;
  --lf-green-text: #3A5A47;
  --lf-green-text-2: #2A3A30;
  --lf-green-tint: #E6F5EC;
  --lf-green-tint-2: #F1F9F4;
  --lf-green-line: #CBEBD7;

  --lf-yellow: #FFC24D;
  --lf-yellow-2: #FFE7A3;
  --lf-yellow-tint: #FFF6DB;
  --lf-yellow-tint-2: #FFF9EC;
  --lf-yellow-line: #FBE3B0;
  --lf-yellow-text: #8A6A12;
  --lf-yellow-text-2: #4A3A10;
  --lf-yellow-text-3: #3B2F12;

  --lf-dark: #1E1C1A;
  --lf-dark-2: #34302C;
  --lf-dark-3: #2A2724;
  --lf-dark-4: #1F1E1C;
  --lf-dark-text: #F3EEE9;
  --lf-dark-text-2: #C9C1B8;
  --lf-dark-text-3: #E8E2DB;

  --lf-purple: #8F81BD;
  --lf-purple-text: #4B3F7A;
  --lf-purple-tint: #EEEAF7;
  --lf-linkedin: #0A66C2;
  --lf-error: #B3261E;

  --lf-shadow-red: 0 10px 26px rgba(211, 61, 39, 0.28);
  --lf-shadow-ink: 0 10px 26px rgba(18, 17, 16, 0.18);
  --lf-shadow-card: 0 30px 70px rgba(110, 50, 20, 0.10), 0 2px 6px rgba(18, 17, 16, 0.04);
  --lf-shadow-panel: 0 30px 80px rgba(226, 72, 31, 0.10), 0 2px 6px rgba(18, 17, 16, 0.04);

  --lf-wrap: 1240px;
  --lf-gutter: 28px;

  --lf-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --lf-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  /* the design's own token names, so CSS copied from the export keeps working */
  --ease-out: var(--lf-ease-out);
  --ease-in-out: var(--lf-ease-in-out);
}

/* ---- Document ---- */
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
.lf-site {
  margin: 0;
  background: var(--lf-white);
  color: var(--lf-ink);
  font-family: var(--lf-sans);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
.lf-site *, .lf-site *::before, .lf-site *::after { box-sizing: border-box; }
.lf-site img, .lf-site svg { max-width: 100%; }
.lf-sec h1, .lf-sec h2, .lf-sec h3 { text-wrap: balance; }
.lf-sec p, .lf-sec li, .lf-sec dd { text-wrap: pretty; }
.lf-site [hidden] { display: none; }
.lf-sec a { color: var(--lf-ink); }
.lf-sec a:hover { color: var(--lf-accent-2); }
.lf-sec button { color: inherit; font: inherit; }
.lf-site :focus-visible { outline: 2px solid var(--lf-ink); outline-offset: 3px; }
.lf-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Astra prints margins, sizes and line-heights on content elements. Neutralise them inside components
   so every component starts from the design's defaults (margin 0, inherited font). (0,3,1) */
.lf-site .entry-content .lf-sec p,
.lf-site .entry-content .lf-sec h1,
.lf-site .entry-content .lf-sec h2,
.lf-site .entry-content .lf-sec h3,
.lf-site .entry-content .lf-sec h4,
.lf-site .entry-content .lf-sec ul,
.lf-site .entry-content .lf-sec ol,
.lf-site .entry-content .lf-sec li,
.lf-site .entry-content .lf-sec dl,
.lf-site .entry-content .lf-sec dt,
.lf-site .entry-content .lf-sec dd,
.lf-site .entry-content .lf-sec figure,
.lf-site .entry-content .lf-sec blockquote {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  letter-spacing: inherit;
  border: 0;
  background: transparent;
}
.lf-site .entry-content .lf-sec ul,
.lf-site .entry-content .lf-sec ol { list-style: none; }
.lf-site .entry-content .lf-sec a { text-decoration: none; }
.lf-site .entry-content .lf-sec button,
.lf-site .entry-content .lf-sec input,
.lf-site .entry-content .lf-sec select,
.lf-site .entry-content .lf-sec textarea {
  font: inherit;
  letter-spacing: inherit;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  text-transform: none;
}
.lf-site .entry-content .lf-sec img { height: auto; }

/* ---- Section scaffolding ---- */
.lf-sec { position: relative; background: var(--lf-white); color: var(--lf-ink); font-family: var(--lf-sans); }
.lf-wrap { width: 100%; max-width: var(--lf-wrap); margin: 0 auto; padding: 0 var(--lf-gutter); }
/* The design narrows the gutter to 16px on phones only in some sections (hero, niche, why, results, services,
   logo strip, header, legal). Those components set it themselves; most sections keep 28px at every width. */

/* ---- Type helpers (identical across components) ----
   Each helper is declared twice: as a plain class, and at the reset's specificity (0,3,1) through
   `.lf-site .entry-content .lf-sec :is(h1, ...).helper`, so it also wins on the elements the reset above touches. */
.lf-eyebrow,
.lf-site .entry-content .lf-sec :is(p, h1, h2, h3, h4, li, dt, dd).lf-eyebrow { font-family: var(--lf-sans); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lf-accent-2); }
.lf-eyebrow--muted,
.lf-site .entry-content .lf-sec :is(p, h1, h2, h3, h4, li, dt, dd).lf-eyebrow--muted { color: var(--lf-muted); font-size: 12px; }
.lf-eyebrow--peach,
.lf-site .entry-content .lf-sec :is(p, h1, h2, h3, h4, li, dt, dd).lf-eyebrow--peach { color: var(--lf-peach); font-size: 12px; }
.lf-h1,
.lf-site .entry-content .lf-sec :is(h1, h2, h3, p).lf-h1 { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(3rem, 6.4vw, 5.8rem); line-height: 0.95; letter-spacing: -0.03em; text-wrap: pretty; color: var(--lf-ink); }
.lf-h2,
.lf-site .entry-content .lf-sec :is(h1, h2, h3, p).lf-h2 { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--lf-ink); }
.lf-h2--md,
.lf-site .entry-content .lf-sec :is(h1, h2, h3, p).lf-h2--md { font-size: clamp(2.4rem, 4.8vw, 4.2rem); }
.lf-h2--sm,
.lf-site .entry-content .lf-sec :is(h1, h2, h3, p).lf-h2--sm { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.lf-em { color: var(--lf-accent); }
.lf-lead,
.lf-site .entry-content .lf-sec :is(p, li, dd).lf-lead { margin: 0; font-size: 1.16rem; line-height: 1.6; color: var(--lf-text); }
.lf-lead--page,
.lf-site .entry-content .lf-sec :is(p, li, dd).lf-lead--page { font-size: 1.18rem; max-width: 38rem; }
.lf-hand,
.lf-site .entry-content .lf-sec :is(p, li, dd, h3, h4, figcaption).lf-hand { font-family: var(--lf-hand); font-weight: 400; color: var(--lf-text-2); line-height: 1.3; }
.lf-card-title,
.lf-site .entry-content .lf-sec :is(h2, h3, h4, p, dt).lf-card-title { font-family: var(--lf-sans); font-weight: 700; font-size: 23px; letter-spacing: -0.02em; color: var(--lf-ink); }
.lf-card-text,
.lf-site .entry-content .lf-sec :is(p, li, dd).lf-card-text { font-size: 15px; line-height: 1.55; color: var(--lf-text-3); }

/* ---- Buttons ---- */
.lf-btn,
.lf-site .entry-content .lf-sec :is(a, button, input).lf-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lf-ink); color: var(--lf-white); text-decoration: none;
  font-family: var(--lf-sans); font-weight: 600; font-size: 16px; line-height: normal;
  padding: 15px 24px; min-height: 44px; border: 0; border-radius: 12px; cursor: pointer;
}
.lf-sec a.lf-btn, .lf-sec a.lf-btn:hover { color: var(--lf-white); }
.lf-btn--lg, .lf-site .entry-content .lf-sec :is(a, button).lf-btn--lg { font-size: 16.5px; padding: 16px 26px; }
.lf-btn--md, .lf-site .entry-content .lf-sec :is(a, button).lf-btn--md { font-size: 15.5px; padding: 14px 22px; }
.lf-btn--sm, .lf-site .entry-content .lf-sec :is(a, button).lf-btn--sm { font-size: 15px; padding: 13px 20px; }
.lf-btn--red, .lf-site .entry-content .lf-sec :is(a, button).lf-btn--red { background: var(--lf-accent-2); box-shadow: var(--lf-shadow-red); }
.lf-btn--red:hover, .lf-site .entry-content .lf-sec :is(a, button).lf-btn--red:hover { background: var(--lf-accent-3); }
.lf-btn--shadow, .lf-site .entry-content .lf-sec :is(a, button).lf-btn--shadow { box-shadow: var(--lf-shadow-ink); }
.lf-btn--ghost, .lf-site .entry-content .lf-sec :is(a, button).lf-btn--ghost { background: var(--lf-white); color: var(--lf-ink); border: 1px solid var(--lf-border); }
.lf-sec a.lf-btn--ghost, .lf-sec a.lf-btn--ghost:hover { color: var(--lf-ink); }
.lf-btn--light, .lf-site .entry-content .lf-sec :is(a, button).lf-btn--light { background: var(--lf-white); color: var(--lf-ink); font-weight: 700; font-size: 15.5px; padding: 14px 22px; }
.lf-sec a.lf-btn--light, .lf-sec a.lf-btn--light:hover { color: var(--lf-ink); }
.lf-btn--outline, .lf-site .entry-content .lf-sec :is(a, button).lf-btn--outline { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; color: var(--lf-ink); background: var(--lf-white); border: 1px solid var(--lf-border); border-radius: 12px; padding: 12px 18px; min-height: 44px; text-decoration: none; box-shadow: none; }
.lf-link, .lf-site .entry-content .lf-sec a.lf-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; color: var(--lf-accent-2); text-decoration: none; }
.lf-pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--lf-sans); font-size: 11.5px; font-weight: 600; border-radius: 99px; padding: 4px 11px; }

/* ---- Reveal (the design's [data-reveal]) ---- */
.lf-js .lf-reveal.is-pending { opacity: 0; transform: translateY(16px); filter: blur(6px); }
.lf-js .lf-reveal.is-in {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 1s var(--lf-ease-out), transform 1.1s var(--lf-ease-out), filter 0.9s var(--lf-ease-out);
  transition-delay: var(--lf-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .lf-js .lf-reveal.is-pending { transform: none; filter: none; }
  .lf-js .lf-reveal.is-in { transition: opacity 0.4s linear; transition-delay: 0ms; }
  html { scroll-behavior: auto; }
}

/* ==== component: hero-home ==== */
/* hero-home (HeroGreen.astro): the home hero with the site header, the pill, h1, lead and CTA, and the line-art
   Venn whose circles glide together over a 900px pin (the overlap turns green, the hand-drawn arrow sketches in).
   The header is printed at the lf:header marker, the logo strip is the included logo-strip component. */
.lf-hero-home { overflow: clip; }
.lf-hero-home__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(38% 46% at 86% 30%, rgba(255, 122, 60, 0.28) 0%, rgba(255, 150, 90, 0.12) 42%, rgba(255, 255, 255, 0) 72%), radial-gradient(30% 34% at 64% 8%, rgba(255, 196, 120, 0.22) 0%, rgba(255, 255, 255, 0) 70%), radial-gradient(34% 40% at 4% 62%, rgba(255, 170, 120, 0.14) 0%, rgba(255, 255, 255, 0) 70%), radial-gradient(60% 30% at 50% 100%, rgba(255, 214, 190, 0.25) 0%, rgba(255, 255, 255, 0) 70%); }
.lf-hero-home__inner { position: relative; }
.lf-hero-home__pin { position: relative; }
.lf-hero-home__stage { position: sticky; top: 0; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.lf-hero-home__main { flex: 1 0 auto; width: 100%; max-width: var(--lf-wrap); margin: 0 auto; padding: clamp(20px, 4.5vh, 64px) var(--lf-gutter) 0; display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 48px 40px; }
.lf-hero-home__copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 2.6vh, 26px); }
.lf-hero-home__pill { display: inline-flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--lf-line); border-radius: 99px; padding: 7px 15px 7px 11px; font-size: 14px; font-weight: 600; color: var(--lf-ink); box-shadow: 0 1px 2px rgba(18, 17, 16, 0.04); }
.lf-hero-home__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lf-green-2); box-shadow: 0 0 0 4px rgba(61, 186, 110, 0.18); }
.lf-site .entry-content .lf-hero-home h1.lf-hero-home__h1 { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(3.4rem, min(7vw, 9vh), 6.6rem); line-height: 0.95; letter-spacing: -0.03em; color: var(--lf-ink); }
.lf-site .entry-content .lf-hero-home p.lf-hero-home__lead { margin: 0; font-size: 1.22rem; line-height: 1.6; color: var(--lf-text); max-width: 34rem; }
.lf-hero-home__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.lf-hero-home__small { font-size: 14px; color: var(--lf-muted); }
.lf-hero-home__fig { flex: 1 1 320px; min-width: 0; max-width: max(320px, min(640px, calc((100vh - 400px) * 1.28))); margin: 0; }
.lf-hero-home__venn { position: relative; width: 100%; aspect-ratio: 640 / 500; container-type: inline-size; }
.lf-hero-home__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* Line-art Venn */
.lf-hero-home__fill { transition: fill 0.6s var(--lf-ease-out); }
.lf-hero-home__fill--l { fill: var(--lf-tint-2); }
.lf-hero-home__fill--r { fill: #FFF6DE; }
.lf-hero-home__lens { fill: var(--lf-green); opacity: 0; }
.lf-hero-home__stroke { fill: none; stroke: var(--lf-ink); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.lf-hero-home__arrow { fill: none; stroke: var(--lf-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lf-hero-home__title {
  position: absolute; top: 48%; left: var(--x, 50%); width: 24%; transform: translate(-50%, -50%); pointer-events: none; text-align: center;
  font-family: var(--lf-sans); font-weight: 600; font-size: clamp(13px, 2.9cqw, 19px); line-height: 1.15; letter-spacing: -0.015em; color: var(--lf-ink);
}
.lf-hero-home__title--m { left: 50%; width: 17%; color: var(--lf-white); font-size: clamp(12px, 2.6cqw, 17px); opacity: 0; }
.lf-hero-home__sub {
  display: block; margin-top: 8px; font-family: var(--lf-sans); font-weight: 400;
  font-size: clamp(10.5px, 2cqw, 13px); line-height: 1.35; letter-spacing: 0; color: var(--lf-muted);
}
.lf-hero-home__note {
  position: absolute; left: 58%; top: 93%; white-space: nowrap; pointer-events: none; transform: rotate(-4deg); opacity: 0;
  font-family: var(--lf-hand); font-weight: 400; font-size: clamp(18px, 3.9cqw, 25px); line-height: 1; color: var(--lf-ink);
}
.lf-hero-home__in { display: inline-block; }

/* Intro: circles draw themselves in, then titles and notes settle (soft rise + unblur). The script drops is-intro after 2.6s. */
@keyframes lfHeroDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lfHeroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lfHeroRise { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
.lf-hero-home__venn.is-intro .lf-hero-home__stroke { animation: lfHeroDraw 1.6s var(--lf-ease-out) both; animation-delay: var(--d, 0ms); }
.lf-hero-home__venn.is-intro .lf-hero-home__fill { animation: lfHeroFade 1.2s var(--lf-ease-out) both 0.35s; }
.lf-hero-home__venn.is-intro .lf-hero-home__in { animation: lfHeroRise 0.9s var(--lf-ease-out) both; animation-delay: var(--d, 0ms); }

/* Logo strip wrapper and the pin spacer (only with scripts; without them the hero is a plain, unpinned section). */
.lf-hero-home__logos { padding: clamp(16px, 3vh, 48px) 0 clamp(14px, 2.4vh, 28px); }
.lf-js .lf-hero-home__spacer { height: 900px; }

@media (hover: hover) and (pointer: fine) {
  .lf-hero-home__fill--l:hover { fill: #FFE3D6; }
  .lf-hero-home__fill--r:hover { fill: #FFEDC2; }
}
/* Narrow desktops/tablets in landscape: headline wraps onto more lines, so size it down a touch to keep the logo strip on the first screen. */
@media (min-width: 821px) and (max-width: 1180px) {
  .lf-site .entry-content .lf-hero-home h1.lf-hero-home__h1 { font-size: clamp(3rem, min(6.4vw, 8.2vh), 6.6rem); }
}
@media (max-width: 640px) {
  .lf-hero-home__main { padding: 40px 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lf-hero-home__venn.is-intro .lf-hero-home__stroke, .lf-hero-home__venn.is-intro .lf-hero-home__fill, .lf-hero-home__venn.is-intro .lf-hero-home__in { animation: none; }
  .lf-js .lf-hero-home__spacer { height: 0; }
}

/* ==== component: logo-strip ==== */
/* logo-strip (LogoStrip.astro): the marquee of client logos with the "See case studies" row.
   Modifiers: .lf-logo-strip--nolink hides the link row (case studies page); .lf-logo-strip--page adds the
   case studies page's 48px/32px vertical padding around the strip. */
.lf-logo-strip { background: transparent; }
.lf-logo-strip__wrap { display: flex; flex-direction: column; gap: 22px; }
.lf-logo-strip__label { font-family: var(--lf-sans); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lf-muted); }
.lf-logo-strip__mask {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.lf-site .entry-content .lf-logo-strip ul.lf-logo-strip__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: lfLogoScroll 55s linear infinite; }
.lf-site .entry-content .lf-logo-strip li.lf-logo-strip__cell { flex: 0 0 auto; height: 72px; padding: 0 34px; margin: 0; display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--lf-ease-out); }
.lf-logo-strip img.lf-logo-strip__logo { display: block; max-width: 150px; object-fit: contain; }
.lf-logo-strip__crop { display: block; position: relative; overflow: hidden; }
.lf-logo-strip img.lf-logo-strip__logo--crop { position: absolute; max-width: none; }
.lf-logo-strip__text { font-family: var(--lf-sans); font-weight: 800; font-size: 13px; line-height: 1.15; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; color: var(--lf-text-2); display: block; max-width: 150px; }
.lf-logo-strip__logo--casa { filter: brightness(0.6) saturate(1.3); }
.lf-logo-strip__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; border-top: 1px solid rgba(18, 17, 16, 0.07); padding-top: 18px; }
.lf-logo-strip--nolink .lf-logo-strip__more { display: none; }
.lf-logo-strip--page { padding: 48px 0 32px; }
@keyframes lfLogoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .lf-logo-strip__wrap { padding: 0 16px; } }
@media (hover: hover) and (pointer: fine) { .lf-site .entry-content .lf-logo-strip li.lf-logo-strip__cell:hover { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .lf-site .entry-content .lf-logo-strip ul.lf-logo-strip__track { animation: none; } }

/* ==== component: page-hero ==== */
/* page-hero: the inner pages' hero (how-we-work, services, case-studies, about): eyebrow, h1 with the orange span,
   lead. The design wraps the header and the hero in one box that carries a soft radial glow; in WordPress the header
   is printed before the page content, so the glow is a ::before on the section that reaches up behind the header by
   --lf-header-h (89px until the core script has measured .lf-sh). The section is itself the 1240px box, as in the
   design, so the compared structure stays 1:1 (no inner wrap); the glow is full-bleed (100vw, centred on the section)
   so the gradient keeps the design's geometry at every viewport width.
   Modifiers: --how (24px bottom padding), --services (980px h1, 40rem lead, second gradient), --work, --about (1000px h1). */
.lf-page-hero { position: relative; z-index: 0; padding: 72px var(--lf-gutter) 48px; background: transparent; display: flex; flex-direction: column; gap: 22px; }
/* Astra's block layout (lf-chrome.css) resets max-width and margin on every .lf-sec at (0,4,0); this wins at (0,4,1). */
.lf-site .entry-content section.lf-sec.lf-page-hero { max-width: var(--lf-wrap); margin: 0 auto; }
.lf-page-hero--how { padding-bottom: 24px; }
.lf-page-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; width: 100vw; margin-left: -50vw; top: calc(-1 * var(--lf-header-h, 89px)); bottom: 0;
  background: radial-gradient(34% 70% at 82% 10%, rgba(255, 122, 60, 0.20) 0%, rgba(255, 150, 90, 0.07) 45%, rgba(255, 255, 255, 0) 72%);
}
.lf-page-hero--services::before {
  background: radial-gradient(34% 70% at 82% 10%, rgba(255, 122, 60, 0.20) 0%, rgba(255, 150, 90, 0.07) 45%, rgba(255, 255, 255, 0) 72%), radial-gradient(26% 50% at 0% 90%, rgba(255, 170, 120, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}
.lf-site .entry-content .lf-page-hero h1.lf-page-hero__h1 { max-width: 900px; }
.lf-site .entry-content .lf-page-hero--services h1.lf-page-hero__h1 { max-width: 980px; }
.lf-site .entry-content .lf-page-hero--about h1.lf-page-hero__h1 { max-width: 1000px; }
.lf-site .entry-content .lf-page-hero--services p.lf-page-hero__lead { max-width: 40rem; }

/* ==== component: niche-traffic ==== */
/* niche-traffic (NicheTraffic.astro): the "Get your Reddit traffic estimate" card. Twelve niche tabs feed a panel
   with the counted-up total and three clipped bars; the footer carries the estimate form and its sent state. */
.lf-niche-traffic { padding: 24px 0 72px; }
.lf-niche-traffic__card {
  position: relative; overflow: hidden;
  border: 1px solid var(--lf-tint-6); border-radius: 32px;
  background: radial-gradient(50% 70% at 90% 10%, rgba(255, 138, 80, 0.12) 0%, rgba(255, 255, 255, 0) 70%), var(--lf-white);
  padding: clamp(24px, 4.5vw, 56px);
  display: flex; flex-direction: column; gap: 36px;
}
.lf-niche-traffic__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.lf-niche-traffic__intro { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lf-site .entry-content .lf-niche-traffic h2.lf-niche-traffic__h2 { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; text-wrap: pretty; }
.lf-site .entry-content .lf-niche-traffic p.lf-niche-traffic__lead { margin: 0; max-width: 38rem; font-size: 1.1rem; line-height: 1.6; color: var(--lf-text); }

/* tabs and panel */
.lf-niche-traffic__body { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: stretch; }
.lf-niche-traffic__tabs { flex: 1 1 260px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; align-content: start; }
.lf-site .entry-content .lf-niche-traffic button.lf-niche-traffic__tab {
  min-height: 48px; border-radius: 12px; padding: 10px 14px;
  border: 1.5px solid var(--lf-line-4); background: var(--lf-white); color: var(--lf-ink);
  font: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.25; text-align: left; cursor: pointer;
  transition: background 0.25s var(--lf-ease-out), color 0.25s var(--lf-ease-out), border-color 0.25s var(--lf-ease-out);
}
.lf-site .entry-content .lf-niche-traffic button.lf-niche-traffic__tab.is-on { border-color: var(--lf-ink); background: var(--lf-ink); color: var(--lf-white); }
.lf-niche-traffic__tab:focus-visible { outline: 2px solid var(--lf-ink); outline-offset: 2px; }
.lf-niche-traffic__panel {
  flex: 1.4 1 340px; min-width: 0;
  background: var(--lf-tint); border: 1px solid var(--lf-tint-3); border-radius: 24px; padding: clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 22px;
}
.lf-niche-traffic__stat { display: flex; flex-direction: column; gap: 8px; }
.lf-niche-traffic__name { font-family: var(--lf-sans); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--lf-muted); }
.lf-niche-traffic__total { font-family: var(--lf-sans); font-weight: 700; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--lf-accent); font-variant-numeric: tabular-nums; }
.lf-niche-traffic__caption { font-size: 15.5px; color: var(--lf-text-2); }
.lf-niche-traffic__bars { display: flex; flex-direction: column; gap: 14px; }
.lf-niche-traffic__row { display: flex; flex-direction: column; gap: 6px; }
.lf-niche-traffic__row-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.lf-niche-traffic__row-label { font-family: var(--lf-sans); color: var(--lf-muted); }
.lf-niche-traffic__value { font-weight: 700; font-variant-numeric: tabular-nums; }
.lf-niche-traffic__track { height: 14px; border-radius: 99px; background: rgba(226, 72, 31, 0.10); overflow: hidden; }
/* the bar colour and the initial clip-path are per-item inline values, as in the design */
.lf-niche-traffic__bar { height: 100%; width: 100%; border-radius: 99px; transition: clip-path 0.8s var(--lf-ease-out); }

/* footer: pitch, form, sent state */
.lf-niche-traffic__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 36px; border-top: 1px solid #F6E3D9; padding-top: 28px; }
.lf-niche-traffic__pitch { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lf-niche-traffic__pitch-title { font-family: var(--lf-sans); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -0.03em; }
.lf-niche-traffic__pitch-text { font-size: 15px; line-height: 1.55; color: var(--lf-text-3); }
.lf-niche-traffic__form { flex: 1.3 1 360px; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 0; }
.lf-site .entry-content .lf-niche-traffic label.lf-niche-traffic__field { flex: 1 1 170px; min-width: 0; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.lf-niche-traffic__label { font-family: var(--lf-sans); font-size: 12px; font-weight: 700; color: var(--lf-text-2); }
.lf-site .entry-content .lf-niche-traffic input.lf-niche-traffic__input {
  font: inherit; font-family: var(--lf-sans); font-size: 15px;
  min-height: 50px; padding: 12px 14px; width: 100%;
  border: 1px solid var(--lf-border-3); border-radius: 12px; background: var(--lf-white); color: var(--lf-ink);
}
.lf-site .entry-content .lf-niche-traffic button.lf-niche-traffic__submit {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--lf-ink); color: var(--lf-white); border: 0;
  font: inherit; font-weight: 600; font-size: 15.5px; min-height: 50px; padding: 12px 20px; border-radius: 12px;
  cursor: pointer; box-shadow: var(--lf-shadow-ink);
}
.lf-site .entry-content .lf-niche-traffic button.lf-niche-traffic__submit:disabled { opacity: 0.6; cursor: progress; }
.lf-site .entry-content .lf-niche-traffic p.lf-niche-traffic__error { flex: 1 1 100%; margin: 0; font-size: 14px; color: var(--lf-error); }
.lf-niche-traffic__sent { flex: 1.3 1 360px; min-width: 0; align-items: center; gap: 14px; background: var(--lf-green-tint-2); border: 1px solid var(--lf-green-line); border-radius: 14px; padding: 16px 18px; }
.lf-niche-traffic__sent:not([hidden]) { display: flex; }
.lf-niche-traffic__check { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--lf-green); color: var(--lf-white); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.lf-niche-traffic__sent-text { display: flex; flex-direction: column; gap: 2px; }
.lf-niche-traffic__sent-title { font-size: 16px; }
.lf-niche-traffic__sent-note { font-size: 14px; color: var(--lf-green-text); }

@media (max-width: 640px) { .lf-niche-traffic__wrap { padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) {
  .lf-site .entry-content .lf-niche-traffic button.lf-niche-traffic__tab, .lf-niche-traffic__bar { transition: none; }
}

/* ==== component: why-reddit ==== */
/* why-reddit (WhyReddit.astro): centred intro over two soft radial glows, three reason cards (staggered entrance,
   peach border on hover) and the kinetic "The catch?" lines whose words settle in sequence as the block scrolls up,
   with the hand-drawn underline drawing last. */
.lf-why-reddit { overflow: hidden; padding: 96px 0 8px; }
.lf-why-reddit__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 28% at 50% 46%, rgba(255, 122, 60, 0.16) 0%, rgba(255, 255, 255, 0) 75%), radial-gradient(30% 22% at 92% 88%, rgba(255, 196, 120, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
}
.lf-why-reddit__wrap { position: relative; display: flex; flex-direction: column; gap: 52px; }
.lf-why-reddit__intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.lf-site .entry-content .lf-why-reddit h2.lf-why-reddit__h2 { margin: 0; max-width: 980px; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 0.98; letter-spacing: -0.03em; }
.lf-site .entry-content .lf-why-reddit p.lf-why-reddit__lead { max-width: 44rem; }

/* cards */
.lf-why-reddit__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.lf-why-reddit__card {
  background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 22px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.3s var(--lf-ease-out), transform 0.3s var(--lf-ease-out);
}
.lf-why-reddit__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--lf-tint-2); display: inline-flex; align-items: center; justify-content: center; }

/* the kinetic lines: --w is each word's reveal (0..1), written by the script; fully shown without it */
.lf-why-reddit__catch { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-top: 24px; }
.lf-site .entry-content .lf-why-reddit p.lf-why-reddit__line { margin: 0; max-width: 900px; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.03em; color: var(--lf-ink); }
.lf-site .entry-content .lf-why-reddit p.lf-why-reddit__line--accent { max-width: none; color: var(--lf-accent); }
.lf-why-reddit__mark { position: relative; display: inline-block; }
.lf-why-reddit__word { display: inline-block; opacity: calc(0.14 + 0.86 * var(--w, 1)); transform: translateY(calc((1 - var(--w, 1)) * 0.32em)); will-change: opacity, transform; }
.lf-why-reddit svg.lf-why-reddit__underline { position: absolute; left: -2%; bottom: -0.2em; width: 104%; max-width: none; height: 0.26em; overflow: visible; }

@media (hover: hover) and (pointer: fine) { .lf-why-reddit__card:hover { border-color: var(--lf-peach-2); } }
@media (max-width: 640px) { .lf-why-reddit__wrap { padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) {
  .lf-why-reddit__card { transition: none; }
  .lf-why-reddit__word { opacity: 1; transform: none; }
}

/* ==== component: results ==== */
/* results (Results.astro): the "Case studies" pinned act (heading, agency totals ledger, the illustrative thread
   whose comments reorder as you scroll) and the three case cards with count-up stats. The pinned mode (.is-pinned)
   is switched on by the script on large screens with motion allowed; elsewhere the scene is static. */
.lf-results { background: var(--lf-paper); padding: 96px 0 104px; border-top: 1px solid var(--lf-line-2); border-bottom: 1px solid var(--lf-line-2); }
.lf-results__scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px 64px; align-items: center; }
.lf-js .lf-results.is-pinned .lf-results__pin { height: calc(100vh + var(--lf-res-travel, 1700px)); }
.lf-js .lf-results.is-pinned .lf-results__stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }

/* intro column */
.lf-results__intro { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.lf-results__head { display: flex; flex-direction: column; gap: 14px; }
.lf-site .entry-content .lf-results h2.lf-results__h2 { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(2.5rem, 4.6vw, 4.2rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--lf-ink); text-wrap: balance; }
.lf-results__hand { font-family: var(--lf-hand); font-weight: 400; font-size: 25px; line-height: 1.2; color: var(--lf-text-2); }
.lf-site .entry-content .lf-results dl.lf-results__ledger { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--lf-line-4); }
.lf-results__total { display: grid; grid-template-columns: minmax(150px, auto) minmax(0, 1fr); align-items: baseline; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--lf-line-4); }
.lf-site .entry-content .lf-results dt.lf-results__dt { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.lf-results__tally { font-family: var(--lf-sans); font-weight: 700; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -0.03em; color: var(--lf-ink); font-variant-numeric: tabular-nums; }
.lf-results__tally--accent { color: var(--lf-accent); }
.lf-results__tally--green { color: var(--lf-green); }
.lf-results__tlabel { font-family: var(--lf-sans); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.lf-site .entry-content .lf-results dd.lf-results__dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--lf-text-3); }
.lf-results__all { align-self: flex-start; }

/* the illustrative thread */
.lf-results__thread { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lf-results__card { background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 22px; box-shadow: var(--lf-shadow-card); overflow: hidden; }
.lf-results__post { padding: 18px 20px 14px; border-bottom: 1px solid var(--lf-line-3); display: flex; flex-direction: column; gap: 8px; }
.lf-results__meta { display: flex; align-items: center; gap: 8px; font-family: var(--lf-sans); font-size: 12.5px; color: var(--lf-text-3); }
.lf-results__sub { width: 22px; height: 22px; border-radius: 50%; background: var(--lf-orange); color: var(--lf-white); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.lf-results__subname { color: var(--lf-ink); }
.lf-results__title { font-family: var(--lf-sans); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.lf-site .entry-content .lf-results ol.lf-results__comments { list-style: none; margin: 0; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.lf-site .entry-content .lf-results li.lf-results__comment { position: relative; margin: 0; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; will-change: transform, opacity; }
.lf-site .entry-content .lf-results li.lf-results__comment--reply { background: var(--lf-tint-7); border: 1px solid var(--lf-tint-5); box-shadow: 0 10px 24px rgba(226, 72, 31, 0.10); }
.lf-site .entry-content .lf-results li.lf-results__comment--other { background: var(--lf-paper); border: 1px solid var(--lf-line-2); }
.lf-results__chead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-family: var(--lf-sans); font-size: 12.5px; color: var(--lf-text-3); }
.lf-results__user { color: var(--lf-ink); }
.lf-results__flair { font-size: 11.5px; font-weight: 700; color: var(--lf-green-3); background: var(--lf-green-tint); border-radius: 99px; padding: 2px 8px; }
.lf-results__badge { font-size: 11.5px; font-weight: 700; color: var(--lf-white); background: var(--lf-accent-2); border-radius: 99px; padding: 2px 8px; }
.lf-results__votes { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--lf-accent-4); }
.lf-results__num { font-variant-numeric: tabular-nums; }
.lf-results__ctext { font-size: 14.5px; line-height: 1.55; color: var(--lf-ink-2); }
.lf-site .entry-content .lf-results figcaption.lf-results__note { margin: 0; font-family: var(--lf-sans); font-size: 12px; color: var(--lf-muted); }

/* case cards */
.lf-results__below { padding-top: 56px; }
.lf-results__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.lf-results__case { background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.lf-results__case-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; }
.lf-results__crop { display: block; position: relative; overflow: hidden; }
.lf-results img.lf-results__logo--crop { position: absolute; max-width: none; }
.lf-results img.lf-results__logo--fit { object-fit: contain; }
.lf-results__tag { font-family: var(--lf-sans); font-size: 11px; font-weight: 600; color: var(--lf-accent-5); background: var(--lf-tint-2); border-radius: 99px; padding: 4px 11px; }
.lf-site .entry-content .lf-results h3.lf-results__case-title { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: 23px; line-height: 1.15; letter-spacing: -0.02em; color: var(--lf-ink); text-wrap: pretty; }
.lf-results__case-body { font-size: 14.5px; line-height: 1.55; color: var(--lf-text-3); text-wrap: pretty; }
.lf-results__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--lf-line-2); padding-top: 14px; }
.lf-results__stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.lf-results__count { font-family: var(--lf-sans); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lf-results__count--accent { color: var(--lf-accent); }
.lf-results__count--green { color: var(--lf-green); }
.lf-results__stat-label { font-size: 12px; color: var(--lf-muted); }
.lf-results__more, .lf-sec a.lf-results__more { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--lf-accent-2); text-decoration: none; }

@media (max-width: 959px) {
  .lf-results__scene { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lf-results__scene { padding: 0 16px; }
  .lf-results__grid { grid-template-columns: minmax(0, 1fr); }
  .lf-results__total { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  /* the script never pins under reduced motion; this keeps the scene static even if the preference flips later */
  .lf-js .lf-results.is-pinned .lf-results__pin { height: auto; }
  .lf-js .lf-results.is-pinned .lf-results__stage { position: static; height: auto; display: block; }
}

/* ==== component: how-we-work ==== */
/* how-we-work (HowWeWork.astro): the six-step process. Heading row with the handwritten note, a pinned stage
   (step rail with numbered tabs, six cross-fading step panes, the illustrated panel whose content group changes
   per step), the 1560px scroll spacer that gives the pin its length, and the dark "Why us?" band with the CTA.
   The pin, the spacer and the hidden step states exist only under html.lf-js; reduced motion unpins. */
.lf-how-we-work { padding: 96px 0 104px; overflow: clip; }
.lf-how-we-work__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(18, 17, 16, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 17, 16, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 85%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 85%);
}
.lf-how-we-work__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(36% 30% at 72% 42%, rgba(255, 122, 60, 0.16) 0%, rgba(255, 255, 255, 0) 75%); }
.lf-how-we-work__wrap { position: relative; display: flex; flex-direction: column; gap: 48px; }

/* heading row */
.lf-how-we-work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.lf-how-we-work__intro { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.lf-how-we-work__lead { max-width: 40rem; }
.lf-how-we-work__note { font-size: 26px; max-width: 20rem; }

/* pinned stage */
.lf-how-we-work__track { position: relative; }
.lf-how-we-work__sticky { padding: 24px 0; display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; }
.lf-js .lf-how-we-work__sticky { position: sticky; top: 0; }
.lf-how-we-work__spacer { height: 0; }
.lf-js .lf-how-we-work__spacer { height: 1560px; }
.lf-how-we-work__steps { flex: 1 1 280px; min-width: 0; display: flex; gap: 24px; align-items: center; }

/* step rail and tabs */
.lf-site .entry-content .lf-how-we-work ol.lf-how-we-work__tabs { list-style: none; margin: 0; padding: 0; flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; position: relative; }
.lf-site .entry-content .lf-how-we-work li.lf-how-we-work__railtrack { position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; border-radius: 2px; background: var(--lf-line-2); }
.lf-how-we-work__rail { display: block; width: 100%; height: 100%; border-radius: 2px; background: linear-gradient(180deg, #E2481F 0%, #E2481F 52%, #23864C 62%, #23864C 100%); clip-path: inset(0 0 100% 0); will-change: clip-path; }
.lf-how-we-work__tabitem { display: flex; position: relative; z-index: 1; }
.lf-site .entry-content .lf-how-we-work button.lf-how-we-work__tab {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  margin: 0; padding: 0; border: 0; cursor: pointer; text-align: left;
  background: var(--lf-paper-2); color: var(--lf-muted); box-shadow: none; transform: none;
  font-family: var(--lf-sans); font-size: 12.5px; font-weight: 700; letter-spacing: normal;
  transition: background 0.35s var(--lf-ease-out), color 0.35s var(--lf-ease-out), box-shadow 0.35s var(--lf-ease-out), transform 0.35s var(--lf-ease-out);
}
.lf-site .entry-content .lf-how-we-work button.lf-how-we-work__tab.is-on { background: var(--lf-green-tint); color: var(--lf-green-3); }
.lf-site .entry-content .lf-how-we-work button.lf-how-we-work__tab[aria-selected="true"] { background: var(--lf-accent-2); color: var(--lf-white); box-shadow: 0 10px 24px rgba(226, 72, 31, 0.22); transform: scale(1.12); }
.lf-site .entry-content .lf-how-we-work button.lf-how-we-work__tab--green[aria-selected="true"] { background: var(--lf-green); }
.lf-site .entry-content .lf-how-we-work button.lf-how-we-work__tab:focus-visible { outline: 2px solid var(--lf-ink); outline-offset: 4px; }

/* step panes: stacked in one grid cell and cross-faded by the script; without scripts they flow as a column */
.lf-how-we-work__panes { flex: 1 1 auto; min-width: 0; display: grid; gap: 32px; }
.lf-js .lf-how-we-work__panes { gap: 0; }
.lf-how-we-work__step { display: flex; flex-direction: column; gap: 14px; }
.lf-js .lf-how-we-work__step { grid-area: 1 / 1; will-change: opacity, transform; pointer-events: none; opacity: 0; transform: translate3d(0, 26px, 0); }
.lf-js .lf-how-we-work__step.is-on { pointer-events: auto; opacity: 1; transform: translate3d(0, 0, 0); }
.lf-how-we-work__when { font-family: var(--lf-sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lf-accent-2); }
.lf-how-we-work__when--green { color: var(--lf-green); }
.lf-site .entry-content .lf-how-we-work h3.lf-how-we-work__title { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; text-wrap: pretty; }
.lf-site .entry-content .lf-how-we-work p.lf-how-we-work__body { margin: 0; max-width: 30rem; font-size: 1.1rem; line-height: 1.65; color: var(--lf-text); text-wrap: pretty; }

/* illustrated panel */
.lf-how-we-work__panel { flex: 1.6 1 380px; min-width: 0; background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 24px; box-shadow: var(--lf-shadow-panel); display: flex; flex-direction: column; overflow: hidden; min-height: 480px; }
.lf-how-we-work__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 20px; border-bottom: 1px solid var(--lf-line-2); background: var(--lf-paper); }
.lf-how-we-work__crumbs { font-family: var(--lf-sans); font-size: 12px; color: var(--lf-muted); }
.lf-how-we-work__sep { color: var(--lf-dim-2); }
.lf-how-we-work__crumb { color: var(--lf-ink); font-weight: 600; }
.lf-how-we-work__pill { color: var(--lf-yellow-text); background: var(--lf-yellow-tint); }
.lf-how-we-work__pilldot { width: 7px; height: 7px; border-radius: 50%; background: var(--lf-yellow-text); }
.lf-how-we-work__content { flex: 1 1 auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(60% 50% at 100% 0%, rgba(255, 196, 160, 0.18) 0%, rgba(255, 255, 255, 0) 70%); }
.lf-how-we-work__fine { padding: 10px 20px 14px; font-family: var(--lf-sans); font-size: 10.5px; color: var(--lf-muted); }

/* one content group per step; display: contents keeps the children as items of the panel's flex column */
.lf-how-we-work__group { display: contents; }
.lf-js .lf-how-we-work__group:not(.is-on) { display: none; }
@keyframes lfHwwIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
.lf-how-we-work__in { animation: lfHwwIn 0.8s var(--lf-ease-out) both; }
.lf-how-we-work__in--2 { animation: lfHwwIn 0.8s var(--lf-ease-out) both 0.1s; }
.lf-how-we-work__in--3 { animation: lfHwwIn 0.8s var(--lf-ease-out) both 0.2s; }

/* shared bits inside the panel */
.lf-how-we-work__check { width: 22px; height: 22px; border-radius: 50%; background: var(--lf-green-tint); color: var(--lf-green-3); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.lf-how-we-work__check--solid { background: var(--lf-green); color: var(--lf-white); font-size: 12px; }
.lf-how-we-work__tag { font-family: var(--lf-sans); font-size: 10.5px; font-weight: 600; border-radius: 99px; padding: 3px 9px; }
.lf-how-we-work__tag--red { color: var(--lf-accent-5); background: var(--lf-tint-2); }
.lf-how-we-work__tag--yellow { color: var(--lf-yellow-text); background: var(--lf-yellow-tint); }
.lf-how-we-work__tag--gray { color: var(--lf-text-2); background: var(--lf-paper-2); }
.lf-how-we-work__tag--purple { color: var(--lf-purple-text); background: var(--lf-purple-tint); }
.lf-how-we-work__tag--outlined { border: 1px solid var(--lf-tint-4); padding: 1px 8px; }
.lf-how-we-work__panel-title { font-family: var(--lf-sans); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.lf-how-we-work__label { font-family: var(--lf-sans); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--lf-muted); }
.lf-how-we-work__avatar { width: 44px; height: 44px; border-radius: 50%; color: var(--lf-white); display: inline-flex; align-items: center; justify-content: center; font-family: var(--lf-sans); font-weight: 700; font-size: 20px; }
.lf-how-we-work__avatar--orange { background: var(--lf-orange); }
.lf-how-we-work__avatar--dark { background: var(--lf-dark-4); }
.lf-how-we-work__avatar--purple { background: var(--lf-purple); }
.lf-how-we-work__avatar--sm { width: 22px; height: 22px; font-size: 12px; }
.lf-how-we-work__dot { width: 12px; height: 12px; border-radius: 50%; }
.lf-how-we-work__dot--green { background: var(--lf-green); }
.lf-how-we-work__dot--gray { background: #CFC6BC; }

/* step 01: fit check */
.lf-how-we-work__site { display: flex; align-items: center; gap: 12px; border: 1px solid var(--lf-line); border-radius: 14px; padding: 12px 16px; }
.lf-how-we-work__site-url { font-family: var(--lf-sans); font-size: 13px; color: var(--lf-ink); }
.lf-how-we-work__site-niche { margin-left: auto; font-family: var(--lf-sans); font-size: 11px; color: var(--lf-muted); }
.lf-how-we-work__checks { display: flex; flex-direction: column; border: 1px solid var(--lf-line); border-radius: 14px; overflow: hidden; }
.lf-how-we-work__checkrow { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--lf-line-3); }
.lf-how-we-work__checkrow:last-child { border-bottom: 0; }
.lf-how-we-work__checklabel { font-size: 14.5px; }
.lf-how-we-work__checkval { margin-left: auto; font-family: var(--lf-sans); font-size: 12px; color: var(--lf-text); }
.lf-how-we-work__verdicts { display: flex; flex-wrap: wrap; gap: 12px; }
.lf-how-we-work__verdict { flex: 1 1 220px; display: flex; align-items: center; gap: 12px; border-radius: 14px; padding: 14px 16px; }
.lf-how-we-work__verdict--fit { background: var(--lf-green-tint-2); border: 1px solid var(--lf-green-line); }
.lf-how-we-work__verdict--nofit { border: 1px dashed var(--lf-border); }
.lf-how-we-work__verdict-text { display: flex; flex-direction: column; gap: 2px; }
.lf-how-we-work__verdict-title { font-family: var(--lf-sans); font-weight: 700; font-size: 17px; }
.lf-how-we-work__verdict-title--muted { color: var(--lf-text); }
.lf-how-we-work__verdict-sub { font-size: 13px; color: var(--lf-green-text); }
.lf-how-we-work__verdict-sub--muted { color: var(--lf-muted); }

/* step 02: audit and plan */
.lf-how-we-work__audit-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lf-how-we-work__badge { font-family: var(--lf-sans); font-size: 11.5px; font-weight: 600; color: var(--lf-green-3); background: var(--lf-green-tint); border-radius: 99px; padding: 4px 11px; }
.lf-how-we-work__threads { display: flex; flex-direction: column; gap: 8px; }
.lf-how-we-work__thread { display: flex; align-items: center; gap: 10px; border: 1px solid var(--lf-line); border-radius: 12px; padding: 11px 14px; }
.lf-how-we-work__thread-sub { font-family: var(--lf-sans); font-size: 11px; color: var(--lf-muted); flex: 0 0 auto; }
.lf-how-we-work__thread-title { font-size: 14px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-how-we-work__thread-tag { margin-left: auto; flex: 0 0 auto; }
.lf-how-we-work__months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lf-how-we-work__month { background: var(--lf-paper); border: 1px solid var(--lf-line-2); border-radius: 12px; padding: 12px; }
.lf-how-we-work__month--green { background: var(--lf-green-tint-2); border-color: var(--lf-green-line); }
.lf-how-we-work__month-label { display: block; font-family: var(--lf-sans); font-size: 10.5px; color: var(--lf-muted); }
.lf-how-we-work__month--green .lf-how-we-work__month-label { color: var(--lf-green); }
.lf-how-we-work__month-text { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 600; }

/* step 03: accounts */
.lf-how-we-work__accounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.lf-how-we-work__account { border: 1px solid var(--lf-line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--lf-white); }
.lf-how-we-work__account--brand { border: 1.5px solid var(--lf-tint-4); }
.lf-how-we-work__handle { font-family: var(--lf-sans); font-size: 13px; font-weight: 600; }
.lf-how-we-work__role { align-self: flex-start; }
.lf-how-we-work__account-text { font-size: 12.5px; line-height: 1.45; color: var(--lf-text); }
.lf-how-we-work__notice { display: flex; align-items: center; gap: 10px; background: var(--lf-green-tint-2); border: 1px solid var(--lf-green-line); border-radius: 14px; padding: 12px 16px; }
.lf-how-we-work__notice-text { font-size: 14px; color: var(--lf-ink-2); }

/* step 04: warm-up */
.lf-how-we-work__stats { display: flex; flex-wrap: wrap; gap: 12px; }
.lf-how-we-work__stat { flex: 1 1 160px; border: 1px solid var(--lf-line); border-radius: 14px; padding: 14px 16px; }
.lf-how-we-work__stat--green { background: var(--lf-green-tint-2); border-color: var(--lf-green-line); }
.lf-how-we-work__stat-label { display: block; font-family: var(--lf-sans); font-size: 11px; color: var(--lf-muted); }
.lf-how-we-work__stat-value { display: block; margin-top: 4px; font-family: var(--lf-sans); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.lf-how-we-work__stat--green .lf-how-we-work__stat-label,
.lf-how-we-work__stat--green .lf-how-we-work__stat-value { color: var(--lf-green); }
.lf-how-we-work__posts { display: flex; flex-direction: column; gap: 10px; }
.lf-how-we-work__post { border: 1px solid var(--lf-line); border-radius: 14px; padding: 13px 16px; display: flex; flex-direction: column; gap: 6px; }
.lf-how-we-work__post-meta { font-family: var(--lf-sans); font-size: 11px; color: var(--lf-muted); }
.lf-how-we-work__post-user { color: var(--lf-ink); }
.lf-how-we-work__post-text { font-size: 14px; line-height: 1.5; color: var(--lf-ink-2); }
.lf-how-we-work__hand { font-size: 22px; }

/* step 05: brand mentions */
.lf-how-we-work__thread-card { border: 1px solid var(--lf-line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.lf-how-we-work__thread-meta { font-family: var(--lf-sans); font-size: 11.5px; color: var(--lf-muted); }
.lf-how-we-work__thread-sub-name { color: var(--lf-ink); }
.lf-how-we-work__thread-q { font-family: var(--lf-sans); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.lf-how-we-work__reply { border-left: 2px solid var(--lf-tint-4); padding-left: 12px; margin-top: 4px; display: flex; flex-direction: column; gap: 7px; }
.lf-how-we-work__reply-head { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.lf-how-we-work__reply-user { font-family: var(--lf-sans); font-size: 12px; font-weight: 600; }
.lf-how-we-work__reply-text { font-size: 14.5px; line-height: 1.55; color: var(--lf-ink-2); }
.lf-how-we-work__upvote { display: inline-flex; align-items: center; gap: 6px; font-family: var(--lf-sans); font-size: 11.5px; font-weight: 600; color: var(--lf-accent-2); }
.lf-how-we-work__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-how-we-work__chip { display: inline-flex; align-items: center; gap: 7px; background: var(--lf-green-tint-2); border: 1px solid var(--lf-green-line); border-radius: 99px; padding: 6px 12px; font-size: 13px; color: var(--lf-green); font-weight: 600; }

/* step 06: tracking */
.lf-how-we-work__table { display: flex; flex-direction: column; border: 1px solid var(--lf-line); border-radius: 14px; overflow: hidden; }
.lf-how-we-work__row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 0.6fr); gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--lf-line-3); font-size: 13.5px; align-items: center; }
.lf-how-we-work__row:last-child { border-bottom: 0; }
.lf-how-we-work__row--head { padding: 10px 16px; background: var(--lf-paper); border-bottom: 1px solid var(--lf-line-2); font-family: var(--lf-sans); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--lf-muted); align-items: normal; }
.lf-how-we-work__cell-thread { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-how-we-work__cell-sub { font-family: var(--lf-sans); font-size: 11.5px; color: var(--lf-muted); }
.lf-how-we-work__status { justify-self: start; font-family: var(--lf-sans); font-size: 11px; font-weight: 600; color: var(--lf-green-3); background: var(--lf-green-tint); border-radius: 99px; padding: 3px 9px; }
.lf-how-we-work__status--fix { transition: background 0.4s var(--lf-ease-out), color 0.4s var(--lf-ease-out); }
.lf-how-we-work__cell-votes { font-family: var(--lf-sans); font-size: 12px; }
.lf-how-we-work__modnote { display: flex; align-items: flex-start; gap: 10px; background: var(--lf-yellow-tint-2); border: 1px solid var(--lf-yellow-line); border-radius: 14px; padding: 12px 16px; }
.lf-how-we-work__modnote-icon { flex: 0 0 18px; margin-top: 2px; }
.lf-how-we-work__modnote-text { font-size: 13.5px; line-height: 1.5; color: var(--lf-yellow-text-2); }
.lf-how-we-work__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lf-how-we-work__kpi { border: 1px solid var(--lf-line); border-radius: 12px; padding: 12px; }
.lf-how-we-work__kpi-label { display: block; font-family: var(--lf-sans); font-size: 10.5px; color: var(--lf-muted); }
.lf-how-we-work__kpi-value { display: block; margin-top: 4px; font-family: var(--lf-sans); font-weight: 700; font-size: 24px; }

/* "Why us?" band */
.lf-how-we-work__why { background: var(--lf-ink); color: var(--lf-dark-text); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; position: relative; overflow: hidden; }
.lf-how-we-work__why-glow { position: absolute; right: -8%; top: -60%; width: 50%; height: 220%; background: radial-gradient(closest-side, rgba(255, 90, 31, 0.28), rgba(255, 90, 31, 0) 70%); }
.lf-how-we-work__why-copy { position: relative; flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.lf-how-we-work__why-title { font-family: var(--lf-sans); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--lf-white); }
.lf-how-we-work__why-text { font-size: 15.5px; line-height: 1.6; color: var(--lf-dark-text-2); }
.lf-how-we-work__why-side { position: relative; flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lf-how-we-work__cta { align-self: flex-start; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  .lf-how-we-work__in, .lf-how-we-work__in--2, .lf-how-we-work__in--3 { animation: none; }
  /* no scroll pinning under reduced motion, so no scroll spacer (the design's pinned() === false) */
  .lf-js .lf-how-we-work__spacer { height: 0; }
  .lf-js .lf-how-we-work__sticky { position: static; }
  .lf-site .entry-content .lf-how-we-work button.lf-how-we-work__tab, .lf-how-we-work__status--fix { transition: none; }
}

/* ==== component: services-section ==== */
/* services-section (ServicesSection.astro): heading row with the "See all services" link, the rail of five service
   cards (a wrapped row by default; a pinned horizontal rail on large screens when the script adds is-pinned; a
   swipeable snap row under 960px), and the "Organic and paid" strip below. */
.lf-services-section { padding: 96px 0 104px; }
.lf-services-section__wrap--stage { display: flex; flex-direction: column; gap: 40px; }
.lf-services-section__wrap--strip { margin: 40px auto 0; }
.lf-services-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.lf-services-section__title { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.lf-services-section a.lf-services-section__link, .lf-services-section a.lf-services-section__link:hover { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; color: var(--lf-ink); text-decoration: none; border: 1px solid var(--lf-border); border-radius: 12px; padding: 12px 18px; min-height: 44px; }

/* Default (no script, reduced motion): a wrapped row of cards, close to the original grid. */
.lf-services-section__track { display: flex; flex-wrap: wrap; gap: 18px; }
.lf-services-section__card { flex: 1 1 260px; min-height: 260px; background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.lf-services-section__card--core { flex: 1.4 1 320px; background: linear-gradient(165deg, #C93C1F 0%, #A82E17 100%); color: var(--lf-white); border: 0; padding: 30px; gap: 14px; }
/* the design's inline min-height on the core card wins over every state */
.lf-services-section__card.lf-services-section__card--core { min-height: 380px; }
.lf-services-section__core-eyebrow { font-family: var(--lf-sans); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #FFF1EA; }
.lf-services-section__core-title { font-family: var(--lf-sans); font-weight: 700; font-size: 36px; line-height: 1.02; letter-spacing: -0.02em; }
.lf-services-section__core-text { font-size: 16px; line-height: 1.6; color: #FFF1EA; }
.lf-services-section__core-note { margin-top: auto; font-family: var(--lf-hand); font-size: 29px; font-weight: 400; color: var(--lf-white); line-height: 1.3; }
.lf-services-section__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--lf-tint-2); display: inline-flex; align-items: center; justify-content: center; }
.lf-services-section__card-title { font-family: var(--lf-sans); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.lf-services-section__card-text { font-size: 15px; line-height: 1.55; color: var(--lf-text-3); }

/* Pinned rail (large screens, motion allowed): vertical scroll drives lateral travel. The script sets is-pinned. */
.lf-services-section.is-pinned .lf-services-section__stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.lf-services-section.is-pinned .lf-services-section__viewport { overflow: visible; }
.lf-services-section.is-pinned .lf-services-section__track { flex-wrap: nowrap; will-change: transform; }
.lf-services-section.is-pinned .lf-services-section__card { flex: 0 0 330px; min-height: 380px; }
.lf-services-section.is-pinned .lf-services-section__card--core { flex: 0 0 420px; }
.lf-services-section.is-pinned { overflow-x: clip; }

/* The "Organic and paid" strip */
.lf-services-section__strip { background: var(--lf-paper); border: 1px solid var(--lf-line-2); border-radius: 22px; padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.lf-services-section__strip-title { flex: 0 1 220px; font-family: var(--lf-sans); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.lf-services-section__strip-grid { flex: 1 1 600px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 20px; }
.lf-services-section__strip-item { font-size: 14.5px; line-height: 1.5; color: var(--lf-text); }
.lf-services-section__strip-item strong { color: var(--lf-ink); }

/* Phones: a native swipeable row with snap points. */
@media (max-width: 959px) {
  .lf-services-section__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -28px; padding: 0 28px 6px; }
  .lf-services-section__viewport::-webkit-scrollbar { display: none; }
  .lf-services-section__track { flex-wrap: nowrap; }
  .lf-services-section__card, .lf-services-section__card--core { flex: 0 0 min(82%, 340px); scroll-snap-align: start; min-height: 300px; }
}
@media (max-width: 640px) {
  .lf-services-section__wrap { padding: 0 16px; }
  .lf-services-section__viewport { margin: 0 -16px; padding: 0 16px 6px; scroll-padding-left: 16px; }
}

/* ==== component: team-section ==== */
/* team-section (TeamSection.astro): the tilted polaroid with the founder photo and the sticky note, the note from
   the founder, the signature and the LinkedIn / "More about us" buttons. No script: the wrapper carries lf-reveal. */
.lf-team-section { padding: 96px 0 104px; overflow: hidden; }
.lf-team-section__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(34% 50% at 20% 50%, rgba(255,150,100,0.16) 0%, rgba(255,255,255,0) 75%); }
.lf-team-section__wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px clamp(32px, 5vw, 72px); }
.lf-team-section__photo { flex: 0 1 340px; min-width: 240px; position: relative; padding: 18px; }
.lf-team-section__polaroid { transform: rotate(-3deg); background: var(--lf-white); border-radius: 8px; padding: 18px 18px 14px; box-shadow: 0 2px 4px rgba(18,17,16,0.06), 0 30px 60px rgba(110,50,20,0.16); display: flex; flex-direction: column; gap: 12px; }
.lf-team-section__frame { position: relative; width: 100%; aspect-ratio: 4 / 4.6; border-radius: 4px; background: var(--lf-paper-2); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.lf-site .entry-content .lf-team-section img.lf-team-section__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.lf-team-section__caption { font-family: var(--lf-hand); font-weight: 400; font-size: 30px; line-height: 1; color: var(--lf-ink); }
.lf-team-section__handle { font-family: var(--lf-sans); font-size: 12px; color: var(--lf-muted); }
.lf-team-section__note { position: absolute; right: -10px; top: 36px; transform: rotate(5deg); background: var(--lf-yellow-2); border-radius: 6px; padding: 12px 14px; width: 150px; box-shadow: 0 12px 26px rgba(120,90,10,0.16); }
.lf-team-section__note-text { font-family: var(--lf-hand); font-weight: 400; font-size: 21px; line-height: 1.1; color: var(--lf-yellow-text-3); }
.lf-team-section__body { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lf-site .entry-content .lf-team-section p.lf-team-section__p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--lf-text-2); }
.lf-team-section__sign { display: flex; flex-direction: column; gap: 2px; }
.lf-team-section__name { font-family: var(--lf-hand); font-weight: 400; font-size: 36px; line-height: 1; color: var(--lf-ink); }
.lf-team-section__role { font-size: 14px; color: var(--lf-muted); }
.lf-team-section__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.lf-team-section a.lf-team-section__linkedin, .lf-team-section a.lf-team-section__linkedin:hover { display: inline-flex; align-items: center; gap: 10px; background: var(--lf-linkedin); color: var(--lf-white); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 14px 20px; min-height: 44px; border-radius: 12px; }
.lf-team-section a.lf-team-section__more, .lf-team-section a.lf-team-section__more:hover { display: inline-flex; align-items: center; background: var(--lf-white); color: var(--lf-ink); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 14px 20px; min-height: 44px; border-radius: 12px; border: 1px solid var(--lf-border); }

/* ==== component: faq ==== */
/* faq (FAQ.astro): intro column with the CTA, and the accordion whose plus morphs into a minus and whose answers
   ease open by animating a grid row. */
.lf-faq { padding: 96px 0 104px; }
.lf-faq__wrap { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.lf-faq__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lf-site .entry-content .lf-faq p.lf-faq__lead { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--lf-text); max-width: 24rem; }
.lf-faq__cta { align-self: flex-start; margin-top: 6px; }
.lf-faq__list { flex: 1.6 1 520px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--lf-line); }
.lf-faq__item { border-bottom: 1px solid var(--lf-line); }
.lf-site .entry-content .lf-faq h3.lf-faq__q { margin: 0; }
.lf-site .entry-content .lf-faq button.lf-faq__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: transparent; border: 0; padding: 22px 4px; min-height: 44px; cursor: pointer; text-align: left;
  font-family: var(--lf-sans); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--lf-ink);
}
.lf-faq__icon { position: relative; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--lf-paper-2); transition: background 0.45s var(--lf-ease-out), transform 0.6s var(--lf-ease-out); }
.lf-faq__bar { position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; border-radius: 2px; background: var(--lf-ink); transition: transform 0.6s var(--lf-ease-out), background 0.45s var(--lf-ease-out); }
.lf-faq__bar--v { transform: rotate(90deg); }
.lf-faq__toggle[aria-expanded="true"] .lf-faq__icon { background: var(--lf-accent); transform: rotate(180deg); }
.lf-faq__toggle[aria-expanded="true"] .lf-faq__bar { background: var(--lf-white); }
.lf-faq__toggle[aria-expanded="true"] .lf-faq__bar--v { transform: rotate(90deg) scaleX(0); }
.lf-faq__panel { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows 0.6s var(--lf-ease-out), opacity 0.5s var(--lf-ease-out); }
.lf-faq__panel.is-closed { grid-template-rows: 0fr; opacity: 0; }
.lf-faq__panel[hidden] { display: none; }
.lf-faq__inner { min-height: 0; overflow: hidden; }
.lf-site .entry-content .lf-faq p.lf-faq__a { margin: 0; padding: 0 52px 22px 4px; font-size: 15.5px; line-height: 1.65; color: var(--lf-text); }
@media (prefers-reduced-motion: reduce) { .lf-faq__panel, .lf-faq__icon, .lf-faq__bar { transition: none; } }

/* ==== component: final-cta ==== */
/* final-cta (FinalCTA.astro, without the footer): the closing band with the dot grid, the small Venn that joins as
   the band scrolls in (server-rendered joined), the CTA button and the handwritten reply note. */
.lf-final-cta__wrap { padding: 56px var(--lf-gutter) 56px; }
.lf-final-cta__band {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 6vw, 80px);
  background: radial-gradient(60% 90% at 88% 10%, rgba(255,122,60,0.38) 0%, rgba(255,150,100,0.12) 50%, rgba(255,246,240,0) 80%), radial-gradient(40% 70% at 0% 100%, rgba(255,196,120,0.30) 0%, rgba(255,246,240,0) 70%), var(--lf-tint);
  border: 1px solid var(--lf-tint-3);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px;
}
.lf-final-cta__dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(226,72,31,0.14) 1.2px, transparent 1.5px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.lf-final-cta__copy { position: relative; flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lf-site .entry-content .lf-final-cta h2.lf-final-cta__h2 { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 0.96; letter-spacing: -0.03em; }
.lf-site .entry-content .lf-final-cta p.lf-final-cta__lead { margin: 0; font-size: 1.14rem; line-height: 1.6; color: var(--lf-text); max-width: 34rem; }
.lf-final-cta__side { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.lf-final-cta__venn { overflow: visible; margin-bottom: 6px; }
.lf-final-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lf-final-cta__note { font-family: var(--lf-hand); font-weight: 400; font-size: 22px; color: var(--lf-text-2); line-height: 1.3; }

/* ==== component: measure ==== */
/* measure (how-we-work page, "How we measure"): paper band with hairlines, eyebrow + h2 with the handwritten
   note at the end of the row, and three numbered question cards on an auto-fit grid. */
.lf-measure { background: var(--lf-paper); border-top: 1px solid var(--lf-line-2); border-bottom: 1px solid var(--lf-line-2); padding: 96px 0 104px; }
.lf-measure__wrap { display: flex; flex-direction: column; gap: 44px; }
.lf-measure__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.lf-measure__intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.lf-measure .lf-measure__h2 { text-wrap: pretty; }
.lf-measure__note { font-size: 25px; max-width: 20rem; }
.lf-site .entry-content .lf-measure ol.lf-measure__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.lf-site .entry-content .lf-measure li.lf-measure__card { margin: 0; background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.lf-measure__num { font-family: var(--lf-sans); font-size: 13px; font-weight: 600; color: var(--lf-accent-2); }
.lf-measure__card-text { font-size: 15px; line-height: 1.6; color: var(--lf-text-3); }

/* ==== component: fit ==== */
/* fit (how-we-work page, "Are we a fit?"): centred eyebrow + h2, then the green-light and red-flag cards on a
   300px auto-fit grid. Below 400px the design lets the single column shrink under 300px (its .hp-fit rule). */
.lf-fit { padding: 96px 0 24px; }
.lf-fit__wrap { display: flex; flex-direction: column; gap: 40px; }
.lf-fit__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.lf-fit .lf-fit__h2 { text-wrap: pretty; }
.lf-fit__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.lf-fit__card { background: var(--lf-green-tint-2); border: 1px solid var(--lf-green-line); border-radius: 22px; padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.lf-fit__card--no { background: var(--lf-tint); border-color: var(--lf-tint-3); }
.lf-fit__title { display: flex; align-items: center; gap: 10px; font-family: var(--lf-sans); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.lf-fit__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lf-green); }
.lf-fit__card--no .lf-fit__dot { background: var(--lf-accent); }
.lf-site .entry-content .lf-fit ul.lf-fit__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; color: var(--lf-green-text-2); }
.lf-site .entry-content .lf-fit .lf-fit__card--no ul.lf-fit__list { color: #4A2A20; }
@media (max-width: 400px) { .lf-fit__grid { grid-template-columns: minmax(0, 1fr); } }

/* ==== component: services-rows ==== */
/* services-rows (services.astro, section "Our services"): the five themed service articles. The section is itself
   the design's 1240px box (max-width, auto margins, padding 0 28px 96px), so there is no inner .lf-wrap and the root
   compares one to one with the design's section. Each article carries one theme modifier (--orange for 01, --light
   for 02 to 04, --dark for 05) that sets the custom properties the label, body, "Best for" line and list items read. */
.lf-services-rows { max-width: var(--lf-wrap); margin: 0 auto; padding: 0 var(--lf-gutter) 96px; background: transparent; display: flex; flex-direction: column; gap: 16px; }
.lf-services-rows__item { border-radius: 26px; padding: clamp(24px, 3.4vw, 40px); display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.lf-services-rows__item--orange {
  background: linear-gradient(165deg, #C93C1F 0%, #A82E17 100%); color: var(--lf-white); border: 0;
  --lf-srow-label: #FFF1EA; --lf-srow-body: #FFF1EA; --lf-srow-best: var(--lf-white);
  --lf-srow-li-bg: rgba(255, 255, 255, 0.1); --lf-srow-li-border: rgba(255, 255, 255, 0.28); --lf-srow-li-color: var(--lf-white);
}
.lf-services-rows__item--light {
  background: var(--lf-white); color: var(--lf-ink); border: 1px solid var(--lf-line);
  --lf-srow-label: var(--lf-accent-2); --lf-srow-body: var(--lf-text-3); --lf-srow-best: var(--lf-text-2);
  --lf-srow-li-bg: var(--lf-paper); --lf-srow-li-border: var(--lf-line-2); --lf-srow-li-color: var(--lf-ink-2);
}
.lf-services-rows__item--dark {
  background: var(--lf-ink); color: var(--lf-white); border: 0;
  --lf-srow-label: var(--lf-peach); --lf-srow-body: var(--lf-dark-text-2); --lf-srow-best: var(--lf-white);
  --lf-srow-li-bg: var(--lf-dark); --lf-srow-li-border: var(--lf-dark-2); --lf-srow-li-color: var(--lf-dark-text-3);
}
.lf-services-rows__intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.lf-services-rows__label { font-family: var(--lf-sans); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lf-srow-label); }
.lf-site .entry-content .lf-services-rows h2.lf-services-rows__title { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.02; letter-spacing: -0.03em; }
.lf-site .entry-content .lf-services-rows p.lf-services-rows__body { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--lf-srow-body); max-width: 34rem; text-wrap: pretty; }
.lf-services-rows__best { font-family: var(--lf-hand); font-weight: 400; font-size: 21px; line-height: 1.35; color: var(--lf-srow-best); }
.lf-site .entry-content .lf-services-rows ul.lf-services-rows__list { flex: 1 1 420px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.lf-site .entry-content .lf-services-rows li.lf-services-rows__li { background: var(--lf-srow-li-bg); border: 1px solid var(--lf-srow-li-border); color: var(--lf-srow-li-color); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }

/* ==== component: pricing ==== */
/* pricing (services.astro, section#pricing): centred intro and the three plan cards. The section is itself the
   design's 1240px box (max-width, auto margins, padding 0 28px 96px), so there is no inner .lf-wrap; the page spec
   adds id="pricing". The featured plan takes .lf-pricing__plan--featured (tint, peach border, shadow, badge, tinted
   rule above the features) and the filled button; the others use the ghost button. */
.lf-pricing { max-width: var(--lf-wrap); margin: 0 auto; padding: 0 var(--lf-gutter) 96px; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.lf-pricing__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.lf-site .entry-content .lf-pricing p.lf-pricing__lead { margin: 0; max-width: 34rem; font-size: 1.08rem; line-height: 1.6; color: var(--lf-text); }
.lf-pricing__grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; align-items: stretch; }
.lf-pricing__plan { position: relative; background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 24px; padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.lf-pricing__plan--featured { background: var(--lf-tint); border: 1.5px solid var(--lf-peach); box-shadow: 0 20px 50px rgba(226, 72, 31, 0.12); }
.lf-pricing__badge { position: absolute; top: -12px; right: 20px; font-family: var(--lf-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--lf-white); background: var(--lf-accent-2); border-radius: 99px; padding: 4px 11px; }
.lf-pricing__name { font-family: var(--lf-sans); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.lf-pricing__price-row { display: flex; align-items: baseline; gap: 6px; }
.lf-pricing__price { font-family: var(--lf-sans); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.lf-pricing__per { font-size: 14px; color: var(--lf-muted); }
.lf-pricing__blurb { font-size: 15px; line-height: 1.55; color: var(--lf-text-3); text-wrap: pretty; }
.lf-site .entry-content .lf-pricing ul.lf-pricing__features { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--lf-line-2); list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lf-site .entry-content .lf-pricing .lf-pricing__plan--featured ul.lf-pricing__features { border-top-color: var(--lf-tint-3); }
.lf-site .entry-content .lf-pricing li.lf-pricing__feature { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--lf-ink-2); }
.lf-pricing__check { flex: 0 0 18px; margin-top: 3px; }
.lf-pricing__cta { margin-top: auto; justify-content: center; }

/* ==== component: case-studies ==== */
/* case-studies (case-studies.astro): the three case study cards. The inner .lf-wrap is the design's 1240px div
   (padding 0 28px 40px, flex column, gap 20px). Each article carries one colour modifier (--orange for Waterdrop,
   --green for ROVE, --ink for SIHOO) that sets the custom properties the "Case study NN" label, the facts panel and
   the quote rule read; stat values take --accent, --ink or --green. */
.lf-case-studies__wrap { padding: 0 var(--lf-gutter) 40px; display: flex; flex-direction: column; gap: 20px; }
.lf-case-studies__item { background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 24px; overflow: hidden; display: flex; flex-wrap: wrap; }
.lf-case-studies__item--orange { --lf-cs-num: var(--lf-accent-4); --lf-cs-panel: var(--lf-tint); --lf-cs-quote: var(--lf-peach-2); }
.lf-case-studies__item--green { --lf-cs-num: var(--lf-green-3); --lf-cs-panel: var(--lf-green-tint-2); --lf-cs-quote: var(--lf-green-2); }
.lf-case-studies__item--ink { --lf-cs-num: var(--lf-ink); --lf-cs-panel: var(--lf-paper-2); --lf-cs-quote: var(--lf-ink); }
.lf-case-studies__panel { flex: 1 1 300px; min-width: 0; background: var(--lf-cs-panel); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.lf-case-studies__num { font-family: var(--lf-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--lf-cs-num); }
.lf-case-studies__logo { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-width: 150px; height: 52px; padding: 0 16px; background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 12px; }
.lf-case-studies__crop { display: block; position: relative; overflow: hidden; }
.lf-case-studies img.lf-case-studies__logo-img--crop { position: absolute; max-width: none; }
.lf-case-studies img.lf-case-studies__logo-img--contain { display: block; width: auto; height: auto; max-height: 26px; max-width: 140px; object-fit: contain; }
.lf-site .entry-content .lf-case-studies dl.lf-case-studies__facts { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lf-case-studies__fact { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.lf-site .entry-content .lf-case-studies dt.lf-case-studies__dt { color: var(--lf-muted); }
.lf-site .entry-content .lf-case-studies dd.lf-case-studies__dd { margin: 0; font-weight: 600; color: var(--lf-ink); }
.lf-case-studies__main { flex: 2 1 520px; min-width: 0; padding: clamp(22px, 3.2vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.lf-site .entry-content .lf-case-studies h2.lf-case-studies__title { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; letter-spacing: -0.03em; text-wrap: pretty; }
.lf-case-studies__story { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 28px; }
.lf-case-studies__block { display: flex; flex-direction: column; gap: 6px; }
.lf-case-studies__kicker { font-family: var(--lf-sans); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--lf-muted); }
.lf-site .entry-content .lf-case-studies p.lf-case-studies__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--lf-text); text-wrap: pretty; }
.lf-case-studies__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.lf-case-studies__stat { background: var(--lf-paper); border: 1px solid var(--lf-line-2); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.lf-case-studies__stat-v { font-family: var(--lf-sans); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; white-space: nowrap; }
.lf-case-studies__stat-v--accent { color: var(--lf-accent); }
.lf-case-studies__stat-v--ink { color: var(--lf-ink); }
.lf-case-studies__stat-v--green { color: var(--lf-green); }
.lf-case-studies__stat-l { font-size: 12.5px; color: var(--lf-muted); }
.lf-site .entry-content .lf-case-studies figure.lf-case-studies__quote { margin: 0; border-left: 3px solid var(--lf-cs-quote); padding: 4px 0 4px 16px; display: flex; flex-direction: column; gap: 6px; }
.lf-site .entry-content .lf-case-studies blockquote.lf-case-studies__q { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--lf-ink-2); }
.lf-site .entry-content .lf-case-studies figcaption.lf-case-studies__cite { margin: 0; padding: 0; font-family: var(--lf-sans); font-size: 11.5px; color: var(--lf-muted); }

/* ==== component: founder-note ==== */
/* founder-note (about page, "Why ReddiTraffic exists."): paper card with the tilted photo on the left and the
   note, signature and LinkedIn button on the right. The design's section is itself the 1240px box with the 96px
   bottom padding, so that padding sits on the inner wrap here and the wrap is the compared root. */
.lf-founder-note__wrap { padding-bottom: 96px; }
.lf-founder-note__card { background: var(--lf-paper); border: 1px solid var(--lf-line-2); border-radius: 28px; padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 36px 56px; }
.lf-founder-note__photo { flex: 0 1 320px; min-width: 240px; padding: 10px; }
.lf-founder-note__frame {
  position: relative; transform: rotate(-3deg); width: 100%; aspect-ratio: 4 / 4.8; border-radius: 18px;
  background: var(--lf-paper-2); box-shadow: 0 30px 60px rgba(110, 50, 20, 0.18);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.lf-site .entry-content .lf-founder-note img.lf-founder-note__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.lf-founder-note__body { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lf-site .entry-content .lf-founder-note h2.lf-founder-note__h2 { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--lf-ink); }
.lf-site .entry-content .lf-founder-note p.lf-founder-note__p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--lf-text-2); }
.lf-founder-note__sig { display: flex; flex-direction: column; gap: 4px; }
.lf-founder-note__name { font-family: var(--lf-hand); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--lf-ink); }
.lf-founder-note__role { font-size: 14px; color: var(--lf-muted); }
.lf-site .entry-content .lf-founder-note a.lf-founder-note__linkedin {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: var(--lf-linkedin); color: var(--lf-white); text-decoration: none;
  font-family: var(--lf-sans); font-weight: 600; font-size: 15px; padding: 13px 20px; min-height: 44px; border-radius: 12px;
}

/* ==== component: rules ==== */
/* rules (about page, "Five rules we don't break."): eyebrow + h2, then five numbered cards on a 200px auto-fit
   grid. The design's section is itself the 1240px box with the 72px bottom padding, so that padding sits on the
   inner wrap here and the wrap is the compared root. */
.lf-rules__wrap { padding-bottom: 72px; display: flex; flex-direction: column; gap: 36px; }
.lf-rules__head { display: flex; flex-direction: column; gap: 14px; }
.lf-site .entry-content .lf-rules ol.lf-rules__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.lf-site .entry-content .lf-rules li.lf-rules__card { margin: 0; background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.lf-rules__num { font-family: var(--lf-sans); font-size: 12.5px; font-weight: 600; color: var(--lf-accent-2); }
.lf-rules__card-title { font-family: var(--lf-sans); font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.lf-rules__card-text { font-size: 14.5px; line-height: 1.55; color: var(--lf-text-3); }

/* ==== component: audit ==== */
/* audit (pages/free-audit.astro): the free growth check page content. Left column (eyebrow, h1, lead, the three
   numbered steps, the handwritten promise, the "talk first" link) and the form card with its sent state. The
   page's two radial glows sit on the section's ::before, which reaches up behind the site header by the measured
   --lf-header-h (contract section 9); the inner box is positioned so it paints above the glow, as the design's
   wrapper does. */
.lf-audit { position: relative; }
.lf-audit::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: calc(-1 * var(--lf-header-h, 89px)); pointer-events: none;
  background: radial-gradient(30% 50% at 78% 18%, rgba(255, 122, 60, 0.18) 0%, rgba(255, 255, 255, 0) 72%), radial-gradient(26% 40% at 0% 80%, rgba(255, 170, 120, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}
.lf-audit__main { position: relative; padding: 64px 28px 72px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 56px; }

/* ---- Left column ---- */
.lf-audit__intro { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.lf-site .entry-content .lf-audit h1.lf-audit__h1 { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.03em; text-wrap: pretty; color: var(--lf-ink); }
.lf-site .entry-content .lf-audit p.lf-audit__lead { margin: 0; max-width: 32rem; font-size: 1.15rem; line-height: 1.6; color: var(--lf-text-2); }
.lf-site .entry-content .lf-audit ol.lf-audit__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lf-site .entry-content .lf-audit li.lf-audit__step { margin: 0; padding: 0; display: flex; gap: 12px; align-items: flex-start; }
.lf-audit__num { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--lf-sans); font-size: 11.5px; font-weight: 600; }
.lf-audit__num--red { background: var(--lf-accent-2); color: var(--lf-white); }
.lf-audit__num--yellow { background: var(--lf-yellow); color: var(--lf-ink); }
.lf-audit__num--green { background: var(--lf-green); color: var(--lf-white); }
.lf-audit__step-text { display: flex; flex-direction: column; gap: 2px; }
.lf-audit__step-title { font-family: var(--lf-sans); font-weight: 700; font-size: 17px; }
.lf-audit__step-body { font-size: 14px; color: var(--lf-text-3); }
.lf-audit__hand { font-family: var(--lf-hand); font-weight: 400; font-size: 24px; line-height: 1.35; color: var(--lf-text-2); }
.lf-audit a.lf-audit__talk { align-self: flex-start; font-weight: 600; font-size: 15px; color: var(--lf-accent-2); text-decoration: none; }

/* ---- Form card ---- */
.lf-audit__card { flex: 1 1 420px; min-width: 0; max-width: 520px; background: var(--lf-white); border: 1px solid var(--lf-line); border-radius: 24px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--lf-shadow-panel); }
.lf-audit__form { display: flex; flex-direction: column; gap: 16px; }
.lf-site .entry-content .lf-audit h2.lf-audit__title { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--lf-ink); }
.lf-audit__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.lf-site .entry-content .lf-audit label.lf-audit__label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }
/* Fields: the design's `field` style. Astra colours inputs grey and tints their background; every property it
   touches is set here at (0,4,1), the colour as the ink token (the design leaves the UA default). */
.lf-site .entry-content .lf-audit :is(input, select, textarea).lf-audit__field { font: inherit; font-weight: 400; font-size: 15px; padding: 10px 12px; box-sizing: border-box; border: 1px solid var(--lf-border-2); border-radius: 10px; background: var(--lf-white); color: var(--lf-ink); }
.lf-site .entry-content .lf-audit :is(input, select).lf-audit__field { min-height: 46px; }
.lf-site .entry-content .lf-audit textarea.lf-audit__field--area { resize: vertical; }
.lf-audit .lf-audit__field:focus { outline: 2px solid var(--lf-ink); outline-offset: 1px; }
.lf-site .entry-content .lf-audit button.lf-audit__submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--lf-ink); color: var(--lf-white); border: 0; font: inherit; font-weight: 600; font-size: 16px; padding: 15px 24px; min-height: 48px; border-radius: 12px; cursor: pointer; }
.lf-site .entry-content .lf-audit button.lf-audit__submit:hover { background: var(--lf-ink); color: var(--lf-white); }
.lf-site .entry-content .lf-audit button.lf-audit__submit[disabled] { opacity: 0.7; cursor: progress; }
.lf-site .entry-content .lf-audit p.lf-audit__error { margin: 0; color: var(--lf-error); font-size: 14px; }
.lf-audit a.lf-audit__error-link { color: inherit; }
.lf-audit__note { font-size: 12.5px; color: var(--lf-muted); }
.lf-site .entry-content .lf-audit a.lf-audit__privacy { color: inherit; text-decoration: underline; }
.lf-site .entry-content .lf-audit a.lf-audit__privacy:hover { color: var(--lf-accent-2); }

/* ---- Sent state (shown by the script; `hidden` keeps it out of the no-script page too) ---- */
.lf-audit__sent { flex-direction: column; align-items: flex-start; gap: 14px; padding: 12px 0; }
.lf-audit__sent:not([hidden]) { display: flex; }
.lf-audit__check { width: 44px; height: 44px; border-radius: 50%; background: var(--lf-green); color: var(--lf-white); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.lf-site .entry-content .lf-audit h2.lf-audit__sent-title { margin: 0; font-family: var(--lf-sans); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--lf-ink); }
.lf-site .entry-content .lf-audit h2.lf-audit__sent-title:focus { outline: none; }
.lf-site .entry-content .lf-audit p.lf-audit__sent-text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--lf-text); }
.lf-audit__sent-hand { font-family: var(--lf-hand); font-weight: 400; font-size: 22px; color: var(--lf-text-2); line-height: 1.3; }

/* ==== lf-chrome.css ==== */
/* ==========================================================================
   lawfirmseo.company: chrome. The design's header (printed by the mu-plugin, or inside the home hero),
   skip link, footer, mini footer, 404 page, legal pages, and the Astra overrides. Closes global.css.
   ========================================================================== */

/* ---- Skip link ---- */
.lf-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lf-ink); color: var(--lf-white); padding: 10px 16px; border-radius: 10px; font-family: var(--lf-sans); font-weight: 600; text-decoration: none; transition: top 0.2s ease; }
.lf-skip:focus { top: 12px; color: var(--lf-white); }

/* ---- Header (SiteHeader.astro) ---- */
.lf-sh {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--lf-wrap); margin: 0 auto; padding: 22px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  border-bottom: 1px solid rgba(18, 17, 16, 0.06);
  font-family: var(--lf-sans); color: var(--lf-ink); background: transparent;
}
.lf-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.lf-logo__img { display: block; width: auto; }
.lf-sh__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; font-weight: 500; }
.lf-sh__link { text-decoration: none; color: var(--lf-text-2); }
.lf-sh__link:hover, .lf-sh__link[aria-current="page"] { color: var(--lf-accent-2); }
.lf-sh__cta {
  text-decoration: none; color: var(--lf-white); background: var(--lf-ink); border-radius: 99px;
  padding: 11px 20px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
}
.lf-sh__cta:hover { color: var(--lf-white); background: var(--lf-dark-3); }
@media (max-width: 640px) {
  .lf-sh { padding: 16px 16px; }
  .lf-sh__nav { width: 100%; justify-content: space-between; gap: 10px 14px; font-size: 14.5px; }
  .lf-sh__cta { width: 100%; justify-content: center; }
}
/* Astra prints its own header wrappers only when its header actions are left in place; the mu-plugin removes them. */
.lf-site .ast-primary-header-bar, .lf-site #masthead { display: none; }

/* ---- Footer (SiteFooter.astro) ---- */
.lf-footer {
  max-width: var(--lf-wrap); margin: 0 auto; padding: 32px 28px 48px;
  display: flex; flex-direction: column; gap: 28px; border-top: 1px solid var(--lf-line-2);
  font-family: var(--lf-sans); color: var(--lf-ink); background: var(--lf-white);
}
.lf-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.lf-footer__brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.lf-footer__blurb { font-size: 14.5px; line-height: 1.55; color: var(--lf-text-3); }
.lf-footer__nav { display: flex; flex-wrap: wrap; gap: 28px 56px; }
.lf-footer__col { display: flex; flex-direction: column; gap: 10px; }
.lf-footer__title { font-family: var(--lf-sans); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--lf-muted); }
.lf-footer__link, .lf-footer .lf-footer__col a { font-size: 14.5px; color: var(--lf-text-2); text-decoration: none; }
.lf-footer .lf-footer__col a:hover { color: var(--lf-accent-2); }
.lf-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--lf-muted); }
.lf-footer__legal { display: flex; gap: 18px; }
.lf-footer__bottom a { color: var(--lf-muted); text-decoration: none; }
.lf-footer__bottom a:hover { color: var(--lf-accent-2); }
.lf-footer--mini { padding: 24px 28px 40px; gap: 0; }
/* Astra's footer wrappers are not printed (the mu-plugin removes astra_footer); keep them out if a cache serves an old page. */
.lf-site .site-footer:not(.lf-footer) { display: none; }

/* ---- 404 (pages/404.astro) ---- */
.lf-404 { position: relative; overflow: hidden; background: var(--lf-white); color: var(--lf-ink); font-family: var(--lf-sans); }
.lf-404__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(30% 50% at 78% 18%, rgba(255, 122, 60, 0.18) 0%, rgba(255, 255, 255, 0) 72%); }
.lf-404__main { position: relative; max-width: var(--lf-wrap); margin: 0 auto; padding: 96px 28px 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.lf-404__h1 { margin: 0; font-weight: 700; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.03em; }
.lf-404__p { margin: 0; max-width: 32rem; font-size: 1.15rem; line-height: 1.6; color: var(--lf-text-2); }
.lf-404 .lf-404__glow + .lf-404__main { z-index: 0; }

/* ---- Legal pages (LegalPage.astro), rendered as core blocks ---- */
.lf-site .entry-content > .wp-block-group.lf-legal { max-width: 760px; margin: 0 auto; padding: 64px 28px 80px; font-family: var(--lf-sans); color: var(--lf-ink); }
.lf-site .lf-legal > * { max-width: none; margin-left: 0; margin-right: 0; }
.lf-site .lf-legal .lf-legal__date { margin: 0; font-family: var(--lf-sans); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lf-accent-2); line-height: normal; }
.lf-site .lf-legal .lf-legal__h1 { margin: 14px 0 28px; font-family: var(--lf-sans); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--lf-ink); }
.lf-site .lf-legal h2 { margin: 36px 0 10px; font-family: var(--lf-sans); font-weight: 700; font-size: 24px; line-height: normal; letter-spacing: -0.02em; color: var(--lf-ink); }
.lf-site .lf-legal p, .lf-site .lf-legal li { margin: 0 0 1em; font-size: 16.5px; line-height: 1.7; color: var(--lf-text-2); }
.lf-site .lf-legal p:last-child { margin-bottom: 0; }
.lf-site .lf-legal a { color: var(--lf-accent-2); text-decoration: underline; }
@media (max-width: 640px) { .lf-site .entry-content > .wp-block-group.lf-legal { padding: 40px 16px 64px; } }

/* ---- Astra overrides (the traps in CLAUDE-DESIGN-TO-WORDPRESS.md, section 6) ---- */
/* Astra caps every direct child of a block-layout section at the content width; the sections manage their own width. */
.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .lf-sec > * { max-width: none; }
.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .lf-sec > .lf-wrap { max-width: var(--lf-wrap); }
.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .lf-sec { max-width: none; margin-left: 0; margin-right: 0; }
/* No gaps, titles or paddings from the theme around the page content. */
.lf-site .ast-page-builder-template .site-content > .ast-container,
.lf-site.ast-page-builder-template .site-content > .ast-container { max-width: 100%; padding-left: 0; padding-right: 0; }
.lf-site .ast-page-builder-template .entry-header, .lf-site .entry-header.ast-no-title { display: none; }
.lf-site .entry-content > .lf-sec:first-child { margin-top: 0; }
.lf-site #primary, .lf-site #content, .lf-site .site-content { padding: 0; margin: 0; }
.lf-site .ast-separate-container .ast-article-single { padding: 0; margin: 0; border: 0; background: transparent; }
.lf-site .entry-content > * + * { margin-top: 0; }
.lf-site .entry-content > .lf-sec { margin-top: 0; margin-bottom: 0; }
/* Astra's body line-height (1.6) would leak into captions and chips. */
.lf-site, .lf-site .entry-content { line-height: normal; }
/* Astra's button styles must not reach the design's buttons and tabs. */
.lf-site .lf-sec button, .lf-site .lf-sec .lf-btn, .lf-site .lf-sec input[type="submit"] { line-height: normal; }
