:root {
  --lp-bg: #ffffff;
  --lp-text: #0f172a;
  /* near-black */
  --lp-muted: #667085;
  /* muted slate */
  --lp-accent: #7a1a1a;
  /* burgundy */
  --lp-border: #e5e7eb;
  /* light gray */
  --lp-container: 1400px;
  --ff-serif: "Prata", Georgia, "Times New Roman", serif;
  --ff-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --radius: 0;
  /* no rounding */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--ff-sans);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.lp-container {
  max-width: var(--lp-container);
  margin: 0 auto;
}

/* Responsive enhancements: container padding and hero breakpoints */
.lp-container {
  padding-left: 20px;
  padding-right: 20px;
}

.lp-section-title {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 42px);
  margin: 0 0 30px;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Header */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--lp-border);
}

.lp-header .lp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.lp-brand {
  display: flex;
  font-family: var(--ff-serif);
  font-size: 20px;
  letter-spacing: .2px;
  font-weight: 700;
  flex-direction: column;
  align-items: flex-start;
  /* make the brand push other items to the right */
  margin-right: auto;
}

.lp-tagline {
  color: var(--lp-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lp-nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
}

.lp-nav-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #111;
  top: 12px;
}

.lp-nav-toggle span:last-child {
  top: 22px;
}

.lp-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-weight: 300;
  letter-spacing: .02em;
}

.lp-menu a {
  color: #111;
}

.lp-menu a:hover {
  color: var(--lp-accent);
}

/* Ensure nav sits correctly and toggle is only visible on small screens */
.lp-nav { display: flex; align-items: center; gap: 20px; }

@media (max-width: 900px) {
  .lp-nav-toggle { display: inline-flex; align-items: center; }
}

@media (max-width: 900px) {
  .lp-menu {
    display: none;
    position: absolute;
    top: 68px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--lp-border);
    padding: 16px 20px;
    flex-direction: column;
    gap: 14px;
    min-width: 220px;
    border-radius: var(--radius);
  }

  .lp-menu.is-open {
    display: flex;
  }
}

/* Hero (container-width image) */
.lp-hero {
  padding-top: 48px;
}

.lp-hero-media {
  position: relative;
  min-height: 62vh;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
}

.lp-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .45) 58%, rgba(0, 0, 0, .55) 100%);
}

.lp-hero .lp-container {
  padding-top: 0;
  padding-bottom: 0;
}

.lp-hero .lp-quote {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 900px;
  padding: 50vh 24px 8vh;
}

/* Hero responsiveness */
@media (max-width: 1100px) {
  .lp-hero .lp-quote {
    padding: 40vh 24px 10vh;
  }
  .lp-hero-media {
    min-height: 56vh;
  }
}

@media (max-width: 900px) {
  .lp-hero .lp-quote {
    padding: 34vh 20px 10vh;
  }
  .lp-hero-media {
    min-height: 50vh;
    background-image: var(--hero-image-md, var(--hero-image, none));
  }
}

@media (max-width: 640px) {

  .lp-service-title {
    font-size: 18px !important;
  }

  .lp-service-item {
    padding: 8px 0px !important;
  }

  .lp-hero .lp-quote {
    padding: 25vh 20px 10vh;
  }
  .lp-hero-media {
    min-height: 44vh;
    background-image: var(--hero-image-sm, var(--hero-image, none));
  }
  .lp-insights { padding: 14px 0px !important; }
  .lp-vision { padding: 56px 0 !important; }
  .lp-about { padding: 64px 0 !important; }
  .lp-services { padding: 64px 0 80px !important; }
}

.lp-quote p {
  font-family: var(--ff-serif);
  font-size: clamp(34px, 4.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.lp-quote cite {
  display: block;
  font-style: normal;
  color: #e5e7eb;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Second quote / vision */
.lp-vision {
  padding: 72px 0;
  background: #fff;
}

.lp-vision .lp-container {
  display: block;
}

.lp-vision-line {
  font-family: var(--ff-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: #1f2937;
  text-align: center;
  margin: 0;
}

/* Links */
.lp-link,
.lp-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lp-accent);
  font-weight: 800;
  letter-spacing: .02em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.lp-link::after,
.lp-button::after {
  content: "→";
  font-weight: 700;
  transition: transform .15s ease;
}

.lp-link:hover::after,
.lp-button:hover::after {
  transform: translateX(3px);
}

/* Insights */
.lp-insights {
  padding: 72px 0 24px;
}

.lp-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.lp-insight-card {
  display: flex;
  flex-direction: column;
}

.lp-insight-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.lp-insight-card__meta {
  margin-top: 12px;
  color: var(--lp-muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lp-insight-card__title {
  font-family: var(--ff-serif);
  font-weight: 100;
  font-size: clamp(20px, 2vw, 24px);
  margin: 6px 0 0;
  line-height: 130%;
}

.lp-insight-card__title a {
  text-decoration: none;
}

.lp-insight-card__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.lp-more {
  margin-top: 28px;
  text-align: right;
}

@media (max-width: 980px) {
  .lp-insight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .lp-insight-grid {
    grid-template-columns: 1fr;
  }
}

/* About */
.lp-about {
  padding: 96px 0;
}

.lp-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.lp-about p {
  font-size: 18px;
  color: #374151;
}

.lp-about-media {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--lp-border);
}

@media (max-width: 980px) {
  .lp-about-grid {
    grid-template-columns: 1fr;
  }
}

/* Services — strict list */
.lp-services {
  padding: 84px 0 96px;
  background: #fff;
}

.lp-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--lp-border);
}

.lp-service-list li {
  border-bottom: 1px solid var(--lp-border);
}

.lp-service-item {
  display: grid;
  grid-template-columns: 60px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  color: inherit;
}

.lp-service-index {
  font-family: var(--ff-sans);
  font-weight: 800;
  color: var(--lp-muted);
  letter-spacing: .14em;
  font-size: 11px;
  text-transform: uppercase;
}

.lp-service-title {
  font-family: var(--ff-serif);
  font-size: 22px;

}

.lp-service-title-services {
  font-size: 18px;
  line-height: 1.2;
}

.lp-service-arrow {
  color: var(--lp-accent);
  transition: transform .15s ease;
}

.lp-service-item:hover .lp-service-title {
  color: var(--lp-accent);
}

.lp-service-item:hover .lp-service-arrow {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .lp-service-item {
    grid-template-columns: 40px 1fr 18px;
  }
}

/* Footer */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  padding: 48px 0 0;
  background: #fafafa;
  margin-top: 40px;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.lp-footer-bottom {
  border-top: 1px solid var(--lp-border);
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.02);
}

.lp-footer-tag {
  margin: 6px 0 0;
  color: var(--lp-muted);
}

.lp-footer-heading {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lp-muted);
}

.lp-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  max-width: 560px;
}

.lp-footer-menu a {
  text-decoration: none;
}

.lp-footer-menu a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.lp-footer-legal {
  color: var(--lp-muted);
  text-align: center;
  margin: 0;
  font-size: 14px;
}

/* Removed: .lp-footer-grid>.lp-footer-col:last-child rule (copyright moved to bottom) */

@media (max-width: 900px) {
  .lp-footer-grid {
    grid-template-columns: 1fr;
  }

  .lp-footer-menu {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .lp-footer-legal {
    text-align: center;
  }
}

/* Utilities */
.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Vision decorative block */
.lp-vision-block {
  position: relative;
  padding: 36px 48px 36px 64px;
  background: #fff;
  overflow: visible;
}

#newsletter-title {
  margin-bottom: 0px !important;
}

.lp-footer-logo img {
  width: 140px !important;
  height: auto !important;
}



.lp-vision-block::before {
  content: "\201C";
  /* “ */
  position: absolute;
  left: 24px;
  top: -4px;
  font-family: var(--ff-serif);
  font-size: clamp(84px, 10vw, 140px);
  line-height: 1;
  color: rgba(122, 26, 26, 0.08);
  pointer-events: none;
}

.lp-vision-block::after {
  content: "\201D";
  /* ” */
  position: absolute;
  right: 24px;
  bottom: -90px;
  font-family: var(--ff-serif);
  font-size: clamp(84px, 10vw, 140px);
  line-height: 1;
  color: rgba(122, 26, 26, 0.08);
  pointer-events: none;
}

/* About enhancements */
.lp-lead {
  font-size: 19px;
  color: #30353d;
  margin: 0 0 18px;
}

.lp-lead::first-letter {
  float: left;
  font-family: var(--ff-serif);
  font-size: 52px;
  line-height: 1;
  padding-right: 4px;
  margin-top: 8px;
  color: var(--lp-accent);
}

.lp-about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.lp-about-facts li {
  position: relative;
  padding-left: 14px;
}

.lp-about-facts li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--lp-accent);
}

.lp-about-figure {
  margin: 0;
}

.lp-about-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--lp-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .lp-about-facts {
    grid-template-columns: 1fr;
  }

  .lp-hero .lp-quote {
    padding: 32vh 0px 8vh;
  }

  .lp-quote p {
    font-size: 21px;
  }
  .lp-vision-line {
    font-size: 21px;
  }
  .lp-quote cite {
    font-size: 12px;
  }
}

/* Newsletter */
.lp-newsletter {
  padding: 52px 0 52px;
  background: #fff;
  border-top: 1px solid var(--lp-border);
}

.lp-news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.lp-news-desc {
  color: #374151;
  margin: 6px 0 0;
}

.lp-news-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.lp-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--lp-border);
  outline: none;
  font-family: var(--ff-sans);
}

.lp-input:focus {
  border-color: var(--lp-accent);
}

.lp-btn {
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--lp-accent);
  color: var(--lp-accent);
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
}

.lp-btn:hover {
  background: var(--lp-accent);
  color: #fff;
}

.lp-news-note {
  margin-top: 8px;
  color: var(--lp-muted);
  font-size: 12px;

}

@media (max-width: 880px) {
  .lp-news-grid {
    grid-template-columns: 1fr;
  }

  .lp-news-form {
    grid-template-columns: 1fr;
  }
}

/* Header logo image */
.lp-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.lp-logo img {
  display: block;
  height: 54px;
  width: auto;
}

/* Who We Are page */
.lp-page-hero {
  padding-top: 48px;
}

.lp-page-hero__media {
  position: relative;
  min-height: 46vh;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
}

.lp-page-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .10) 0%, rgba(0, 0, 0, .50) 70%);
}

.lp-page-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 900px;
  padding: 38vh 24px 10vh;
}

.lp-page-title {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.1;
}

.lp-page-subtitle {
  margin: 0;
  font-size: 18px;
  color: #e5e7eb;
  max-width: 680px;
}

.lp-who-intro {
  padding: 72px 0;
  background: #fff;
}

.lp-who-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 48px;
  align-items: start;
}

.lp-experience {
  padding: 32px 0 24px;
  background: #fafafa;
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.lp-experience-text {
  color: #374151;
  max-width: 980px;
  margin: 0 0 16px;
}

.lp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--lp-border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #374151;
}

.lp-why {
  padding: 72px 0;
  background: #fff;
}

.lp-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.lp-why-grid p {
  font-size: 18px;
  color: #30353d;
  margin: 0;
}

.lp-callout {
  padding: 64px 0 96px;
}

.lp-callout-text {
  text-align: center;
  font-family: var(--ff-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.005em;
  color: #1f2937;
  margin: 0;
}

@media (max-width: 980px) {
  .lp-who-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lp-page-hero__content {
    padding: 24vh 12px 21px 12px;
  }
  .lp-page-subtitle {
    font-size: 14px!important;
  }
  .lp-why-grid {
    grid-template-columns: 1fr;
  }
  .lp-vision-block {
    padding: 18px 24px 18px 32px;
    overflow: visible;
  }
  .lp-vision-block::after {
    bottom: -70px;
  }
  .lp-vision-block::before {
    left: 12px;
    top: -21px;
  }
  
}

@media (max-width: 740px) {
  .lp-page-hero--vfo .lp-page-hero__media {
    background-position: right;
  }
}

/* Our Clients page */
.lp-clients-segments {
  padding: 48px 0 16px;
  background: #fff;
}

.lp-benefits {
  padding: 72px 0 96px;
  background: #fff;
}

.lp-benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.lp-benefit-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px 16px;
  border: 1px solid var(--lp-border);
  background: #fff;
  border-radius: var(--radius);
}

.lp-benefit-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lp-accent);
  color: var(--lp-accent);
  font-weight: 800;
  font-size: 14px;
}

.lp-benefit-title {
  margin: 0 0 4px;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 20px;
}

.lp-benefit-desc {
  margin: 0;
  color: #374151;
}

@media (max-width: 980px) {
  .lp-benefit-grid {
    grid-template-columns: 1fr;
  }
}

/* Services page */
.lp-svc {
  padding: 48px 0 72px;
  background: #fff;
}

.lp-svc-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.lp-svc-toc {
  position: sticky;
  top: 96px;
}

.lp-svc-content {
  display: grid;
  gap: 120px;
}

.lp-svc-section {
  position: relative;
  padding-top: 8px;
  scroll-margin-top: 90px;
}

.lp-svc-anchor {
  position: absolute;
  top: -90px;
  height: 1px;
}

.lp-svc-section::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--lp-accent) 0%, rgba(122, 26, 26, 0.0) 60%);
  margin-bottom: 18px;
}

.lp-svc-header {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  margin-bottom: 32px;
}

.lp-svc-title {
  margin: 0;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 34px);
  color: #111827;
  line-height: normal;
}

.lp-svc-subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.5;
}

.lp-svc-watermark {
  position: absolute;
  right: -6px;
  top: -26px;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 1;
  color: rgba(122, 26, 26, 0.06);
  pointer-events: none;
}

.lp-svc-quote {
  margin: 14px 0 18px;
}

.lp-svc-quote .lp-vision-line {
  text-align: left;
}

.lp-svc-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lp-svc-feature {
  transition: border-color .15s ease, transform .15s ease;
}

.lp-svc-feature:hover {
  border-color: var(--lp-accent);
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .lp-svc-grid {
    grid-template-columns: 240px 1fr;
  }

  .lp-svc-features {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .lp-svc-toc {
    position: static;
  }

  .lp-svc-watermark {
    top: -10px;
    right: 0;
    font-size: 72px;
  }

  .lp-svc-features {
    grid-template-columns: 1fr;
  }
}

/* VFO Advantages */
.lp-vfo {
  padding: 48px 0 12px;
  background: #fff;
}

.lp-vfo-cases {
  margin-top: 48px;
}

.lp-vfo-section {
  position: relative;
  padding: 96px 0 24px;
}

.lp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
}

.lp-compare-col {
  border: 1px solid var(--lp-border);
  background: #fff;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lp-compare-col.is-vfo {
  border-color: rgba(122, 26, 26, 0.35);
}

.lp-compare-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid var(--lp-accent);
  color: var(--lp-accent);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lp-example {
  margin-top: 14px;
  border-left: 2px solid var(--lp-accent);
  padding-left: 12px;
}

.lp-example-title {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lp-muted);
}

.lp-points {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.lp-points li span {
  color: var(--lp-accent);
  font-weight: 800;
}

@media (max-width: 980px) {
  .lp-compare {
    grid-template-columns: 1fr;
  }
}

/* Insights page */
.lp-ia {
  padding: 64px 0 96px;
  background: #fff;
}

.lp-ia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.lp-ia-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--lp-border);
  background: #fff;
}

.lp-ia-card.is-feature {
  grid-column: 1 / -1;
}

.lp-ia-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.lp-ia-body {
  padding: 20px 24px 24px;
}

.lp-ia-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-muted);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lp-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--lp-accent);
  color: var(--lp-accent);
  font-weight: 800;
  background: white;
}

.lp-page-subtitle-insights {
  color: var(--lp-text);
}

.lp-ia-title {
  margin: 12px 0 8px;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
}

.lp-ia-card.is-feature .lp-ia-title {
  font-size: 28px;
}

.lp-ia-title a { text-decoration: none; }
.lp-ia-title a:hover { text-decoration: underline; text-underline-offset: 3px; }

.lp-ia-excerpt {
  margin: 6px 0 0;
  color: #374151;
  line-height: 1.65;
}

.lp-ia-dot { opacity: .5; }

.lp-pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.lp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  margin: 0 4px;
  padding: 0 12px;
  border: 1px solid var(--lp-border);
  text-decoration: none;
}

.lp-pagination .page-numbers.current,
.lp-pagination .page-numbers:hover {
  border-color: var(--lp-accent);
}

@media (max-width: 1100px) {
  .lp-ia-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-ia-card.is-feature { grid-column: span 2; }
}

@media (max-width: 640px) {
  .lp-ia-grid { grid-template-columns: 1fr; }
  .lp-ia-card.is-feature { grid-column: span 1; }
}

/* Single article */
.lp-article-hero {
  padding-top: 48px;
}

.lp-article-hero__media {
  position: relative;
  min-height: 40vh;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
}

.lp-article-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.55) 80%);
}

.lp-article-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 920px;
  padding: 28vh 24px 10vh;
}

.lp-article-title {
  margin: 6px 0 8px;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.lp-article-subtitle {
  margin: 0;
  max-width: 760px;
  color: #e5e7eb;
  font-size: 18px;
}

.lp-article-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e5e7eb;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lp-article {
  background: #fff;
  padding: 56px 0 80px;
}

.lp-article-content {
  max-width: 940px;
  margin: 0 auto;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.85;
}

.lp-article-content > * + * { margin-top: 1.1em; }

.lp-article-content h2,
.lp-article-content h3,
.lp-article-content h4 {
  font-family: var(--ff-serif);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 1.8em;
  margin-bottom: .4em;
}

.lp-article-content h2 { font-size: 32px; }
.lp-article-content h3 { font-size: 26px; }
.lp-article-content h4 { font-size: 22px; }

.lp-article-content p { margin: .9em 0; }

.lp-article-content a { color: var(--lp-accent); text-decoration: underline; text-underline-offset: 2px; }

.lp-article-content em { font-style: italic; }

.lp-article-content blockquote {
  position: relative;
  margin: 1.4em 0;
  padding: 20px 24px 20px 64px;
  background: #fff;
  border: 1px solid var(--lp-border);
}

.lp-article-content blockquote::before {
  content: "\201C";
  position: absolute;
  left: 18px;
  top: -6px;
  font-family: var(--ff-serif);
  font-size: 84px;
  line-height: 1;
  color: rgba(122, 26, 26, 0.12);
}

.lp-article-content ul,
.lp-article-content ol { padding-left: 22px; }
.lp-article-content li + li { margin-top: .4em; }

.lp-article-content pre,
.lp-article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.lp-article-content pre {
  padding: 14px;
  background: #0b1020;
  color: #e5e7eb;
  overflow: auto;
}

.lp-article-content hr {
  border: 0;
  border-top: 1px solid var(--lp-border);
  margin: 2em 0;
}

.lp-article-pages { margin-top: 18px; }

.lp-article-footer {
  max-width: 940px;
  margin: 28px auto 0;
}

.lp-article-tags a {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--lp-border);
  margin: 0 8px 8px 0;
  text-decoration: none;
}

.lp-article-tags a:hover { border-color: var(--lp-accent); }

.lp-article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.lp-article-recs { margin-top: 56px; }

@media (max-width: 640px) {
  .lp-article-hero__content { padding: 22vh 24px 8vh; }
  .lp-article-title { font-size: 32px; }
  .lp-article-content { font-size: 17px; }
}

/* Contacts */
.lp-contacts {
  padding: 64px 0 96px;
  background: #fff;
}

.lp-contacts-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}

.lp-contact-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.lp-contact-label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lp-muted);
}

.lp-contact-note {
  color: #374151;
  margin: 0;
}

.lp-alert {
  position: relative;
  padding: 14px 44px 14px 14px;
  border: 1px solid var(--lp-border);
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
  color: #065f46;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
}

.lp-alert.is-visible { opacity: 1; transform: translateY(0); }

.lp-alert--success { border-color: #d1fae5; }

.lp-alert-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: 0;
  font-size: 18px;
  line-height: 1;
  color: #065f46;
  cursor: pointer;
}

.lp-hp { display:none; }

.lp-form { display: grid; gap: 14px; }

.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.lp-form-field { display: grid; gap: 6px; }
.lp-form-field label { font-size: 13px; color: var(--lp-muted); }

.lp-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--lp-border);
  outline: none;
  font-family: var(--ff-sans);
}

.lp-textarea:focus { border-color: var(--lp-accent); }

/* Form field errors */
.lp-form-field { position: relative; padding-bottom: 18px; }
.lp-form-field.has-error .lp-input,
.lp-form-field.has-error .lp-textarea { border-color: var(--lp-accent); }
.lp-field-error { position: absolute; left: 0; bottom: 0; color: var(--lp-accent); font-size: 12px; line-height: 1; }

/* Modal */
.lp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, .45);
  display: grid;
  place-items: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity .2s ease;
}
.lp-modal-overlay:not(.is-open) { opacity: 0; }
.lp-modal {
  background: #fff;
  border: 1px solid var(--lp-border);
  max-width: 640px;
  width: min(640px, calc(100% - 40px));
  padding: 0 28px 24px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.lp-modal::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--lp-accent);
}
.lp-modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px;
}
.lp-modal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--lp-accent);
  color: var(--lp-accent);
  font-weight: 800;
}
.lp-modal-title {
  margin: 0;
  font-family: var(--ff-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.lp-modal-text { color: #374151; margin: 0 0 16px; line-height: 1.75; }
.lp-modal-actions { display: flex; justify-content: flex-end; }
.lp-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .lp-contacts-grid { grid-template-columns: 1fr; }
  .lp-form-row { grid-template-columns: 1fr; }
}

/* Hide service arrows on Our Clients page only */
.lp-clients-segments--no-arrows .lp-service-item .lp-service-arrow {
  display: none;
}

/* Mobile adjustments for meta block on Insights listing and Single post */
@media (max-width: 432px) {
  /* Insights page cards */
  .lp-insights-page .lp-ia-meta {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .lp-insights-page .lp-ia-meta .lp-pill {
    flex-basis: 100%;
  }
  .lp-insights-page .lp-ia-meta .lp-ia-dot {
    display: none;
  }

  /* Single post hero meta */
  .lp-single-insight .lp-article-meta {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .lp-single-insight .lp-article-meta .lp-pill {
    flex-basis: 100%;
  }
  .lp-single-insight .lp-article-meta .lp-ia-dot {
    display: none;
  }
}

/* Hero hover animation effect */
.lp-hero-hover-effect {
  position: relative;
  transition: all 0.6s ease;
}

.lp-hero-hover-effect::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .45) 58%, rgba(0, 0, 0, .55) 100%),
    var(--hero-image-hover, none);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.lp-hero-hover-effect:hover::after {
  opacity: 1;
}

/* Legal document page */
.page-template-page-legal .lp-section-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 38px);
}

.page-template-page-legal .lp-article {
  padding: 56px 0 80px;
  background: #fff;
}

.page-template-page-legal .lp-article-content {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.9;
  color: #1f2937;
}

.page-template-page-legal .lp-article-content p {
  text-align: justify;
  hyphens: auto;
}

.page-template-page-legal .lp-article-content h2,
.page-template-page-legal .lp-article-content h3,
.page-template-page-legal .lp-article-content h4,
.page-template-page-legal .lp-article-content h5,
.page-template-page-legal .lp-article-content h6 {
  margin-top: 1.6em;
  margin-bottom: .5em;
  line-height: 1.3;
}

.page-template-page-legal .lp-article-content h5 { font-size: 20px; }
.page-template-page-legal .lp-article-content h6 { font-size: 18px; }

.page-template-page-legal .lp-article-content ul,
.page-template-page-legal .lp-article-content ol {
  padding-left: 24px;
  margin: .8em 0;
}

.page-template-page-legal .lp-article-content li + li { margin-top: .35em; }

.page-template-page-legal .lp-article-content hr {
  border: 0;
  border-top: 1px solid var(--lp-border);
  margin: 1.6em 0;
}

@media (max-width: 880px) {
  .page-template-page-legal .lp-article-content { max-width: 720px; }
}

@media (max-width: 640px) {
  .page-template-page-legal .lp-section-title { font-size: 26px; }
  .page-template-page-legal .lp-article-content {
    font-size: 16px;
    line-height: 1.85;
    padding-left: 2px;
    padding-right: 2px;
  }
  .page-template-page-legal .lp-article-content ul,
  .page-template-page-legal .lp-article-content ol {
    padding-left: 20px;
  }
}

/* Footer LEGAL menu tweaks */
.lp-footer-menu--legal { grid-template-columns: 1fr; max-width: none; }

@media (max-width: 900px) {
  .lp-footer-menu--legal { grid-template-columns: 1fr; }
}