:root {
  --ll-color-primary: #1a3a6b;
  --ll-color-secondary: #00897b;
  --ll-color-accent: #d84315;
  --ll-color-gold: #c8922a;
  --ll-color-background: #ffffff;
  --ll-color-text-primary: #1c1c24;
  --ll-color-text-secondary: #5c5c6f;
  --ll-font-heading: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --ll-font-body: "Source Sans 3", "Segoe UI", sans-serif;

  --brand-color: var(--ll-color-primary);
  --brand-dark: #122847;
  --accent-coral: var(--ll-color-accent);
  --accent-teal: var(--ll-color-secondary);
  --accent-gold: var(--ll-color-gold);
  --charcoal: #232330;
  --light-grey: #f0f2f6;
  --warm-bg: #faf6f1;
  --medium-grey: #6b7280;
  --wrap: 77.5rem;
  --narrow-wrap: 57.625rem;
  --spacing-section: clamp(3.5rem, calc(0.79rem + 5.65vw), 5.875rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ll-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ll-color-text-primary);
  background: var(--ll-color-background);
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text;
}

body.devtools-blocked .site-container {
  filter: blur(12px);
  pointer-events: none;
}

body.devtools-blocked::after {
  content: "Content protected";
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: var(--charcoal);
  color: #fff;
  font-family: var(--ll-font-heading);
  font-size: 1.5rem;
}

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

a {
  color: var(--brand-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-coral);
}

h1,
h2,
h3,
h4,
p,
ul {
  margin-top: 0;
}

ul {
  padding-left: 1.2rem;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.narrow-wrap {
  width: min(100% - 2rem, var(--narrow-wrap));
  margin-inline: auto;
}

.has-text-align-center {
  text-align: center;
}

.has-brand-color {
  color: var(--accent-coral);
}

.eyebrow {
  font-family: var(--ll-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--accent-gold);
}

.wp-block-heading {
  font-family: var(--ll-font-heading);
  font-weight: 700;
  line-height: 1.35;
}

h1.wp-block-heading {
  font-size: clamp(1.875rem, calc(1.354rem + 2.603vw), 2.75rem);
}

h2.wp-block-heading {
  font-size: clamp(1.75rem, calc(1.3rem + 2.2vw), 2.375rem);
  margin-bottom: 1rem;
}

h3.wp-block-heading {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.has-small-font-size {
  font-size: 1.05rem !important;
  font-weight: 700;
}

.spacing-section {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

.section-block--alt {
  background: var(--light-grey);
}

.section-block--warm {
  background: var(--warm-bg);
}

.section-intro {
  max-width: 42rem;
  margin-bottom: clamp(1.5rem, calc(0.59rem + 4.56vw), 2.8125rem);
}

.section-intro p {
  color: var(--ll-color-text-secondary);
}

.alignfull {
  width: 100%;
}

.text-link {
  font-weight: 600;
}

/* Buttons */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, calc(0.59rem + 4.56vw), 2.8125rem);
}

.is-content-justification-center {
  justify-content: center;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 3px;
  background: var(--accent-coral);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  border: 2px solid var(--accent-coral);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.wp-block-button__link:hover {
  background: #bf360c;
  border-color: #bf360c;
  color: #fff !important;
}

.wp-block-button__link--outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.75);
}

.wp-block-button__link--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff !important;
}

.wp-block-button__link--light {
  background: #fff;
  color: var(--brand-color) !important;
  border-color: #fff;
}

.wp-block-button__link--light:hover {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: var(--accent-coral) !important;
}

/* Columns */
.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.wp-block-column {
  flex: 1;
  min-width: 0;
}

.is-layout-flex {
  align-items: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 3px solid var(--accent-teal);
  box-shadow: 0 2px 12px rgba(26, 58, 107, 0.06);
}

.site-header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.site-logo-text {
  font-family: var(--ll-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-color);
}

.site-logo-text span {
  color: var(--accent-coral);
}

.nav-primary .menu,
.nav-secondary .menu,
.nav-tertiary .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-primary a,
.nav-secondary a,
.nav-tertiary a {
  color: var(--ll-color-text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.nav-primary a:hover,
.nav-secondary a:hover {
  color: var(--accent-coral);
}

.header-cta .wp-block-button__link {
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
  background: var(--brand-color);
  border-color: var(--brand-color);
}

.header-cta .wp-block-button__link:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-color);
}

/* Hero */
.hero-section {
  background:
    linear-gradient(135deg, rgba(26, 58, 107, 0.97) 0%, rgba(0, 137, 123, 0.88) 55%, rgba(216, 67, 21, 0.82) 100%),
    url("https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
  color: #fff;
}

.hero-wrap {
  padding-top: clamp(3.75rem, 6vw, 6.875rem);
  padding-bottom: clamp(3.75rem, 6vw, 6.875rem);
}

.hero-columns {
  align-items: center;
}

.hero-content p,
.hero-lead {
  color: rgba(255, 255, 255, 0.94);
  max-width: 38rem;
}

.hero-content .eyebrow {
  color: #ffe082;
}

.hero-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

/* Media + text blocks */
.media-text-columns .media-col {
  flex-basis: 50%;
}

.media-text-columns .content-col {
  flex-basis: 50%;
}

.media-text-columns.is-reversed {
  flex-direction: row-reverse;
}

.wp-block-image img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
}

/* Stats */
.stats-columns {
  margin-top: 2rem;
  align-items: stretch;
}

.stat-card {
  text-align: left;
  background: #fff;
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  border-top: 4px solid var(--brand-color);
  box-shadow: 0 4px 20px rgba(26, 58, 107, 0.08);
}

.stat-card--navy {
  border-top-color: var(--brand-color);
}

.stat-card--coral {
  border-top-color: var(--accent-coral);
}

.stat-card--teal {
  border-top-color: var(--accent-teal);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
}

.stat-card p {
  color: var(--ll-color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Services */
.services-columns {
  align-items: stretch;
}

.service-card {
  flex: 1 1 calc(33.333% - 1.5rem);
  min-width: 220px;
  background: #fff;
  border: 1px solid #dde1e8;
  border-radius: 4px;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border-left-width: 4px;
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(26, 58, 107, 0.1);
}

.service-card--1 { border-left-color: var(--brand-color); }
.service-card--2 { border-left-color: var(--accent-coral); }
.service-card--3 { border-left-color: var(--accent-teal); }
.service-card--4 { border-left-color: var(--accent-gold); }
.service-card--5 { border-left-color: #5e35b1; }
.service-card--6 { border-left-color: #0277bd; }

.service-card p {
  color: var(--ll-color-text-secondary);
  margin-bottom: 0;
  font-size: 0.975rem;
}

/* Case studies */
.case-columns {
  align-items: stretch;
}

.case-card {
  flex: 1 1 calc(33.333% - 1.5rem);
  min-width: 240px;
  background: #fff;
  border: 1px solid #dde1e8;
  border-radius: 4px;
  overflow: hidden;
}

.case-image {
  margin-bottom: 0;
}

.case-image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-card .case-tag,
.case-card h3,
.case-card p,
.case-card a {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.case-card h3 {
  margin-top: 1rem;
}

.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-teal);
  background: rgba(0, 137, 123, 0.1);
  padding: 0.25rem 0.6rem;
  margin-top: 1.25rem;
  border-radius: 2px;
}

.case-card p {
  color: var(--ll-color-text-secondary);
  margin-bottom: 1.25rem;
  font-size: 0.975rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--brand-color) 0%, #2e5a8c 50%, var(--accent-teal) 100%);
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 42rem;
  margin: 0 auto 0.5rem;
}

/* Partners / industries */
.partners-columns {
  margin-top: 2rem;
  justify-content: center;
  text-align: center;
}

.partner-logo {
  flex: 0 1 auto;
  min-width: 140px;
  font-weight: 600;
  color: var(--brand-color);
  font-size: 0.9375rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #dde1e8;
  border-radius: 4px;
}

/* Contact */
.contact-columns {
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.contact-list li {
  margin-bottom: 1.25rem;
  color: var(--ll-color-text-secondary);
  line-height: 1.6;
}

.contact-list strong {
  display: block;
  color: var(--brand-color);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.contact-list a {
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--warm-bg);
  padding: 1.75rem;
  border-radius: 4px;
  border: 1px solid #e8dfd4;
  border-top: 4px solid var(--accent-coral);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ll-color-text-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #c9cdd6;
  border-radius: 3px;
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent-teal);
  outline-offset: 1px;
  border-color: var(--accent-teal);
}

.contact-form button {
  width: 100%;
  border: none;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #fff;
  padding: 3rem 0;
  border-top: 4px solid var(--accent-coral);
}

.site-footer-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
}

.site-logo-text--footer {
  color: #fff;
}

.site-logo-text--footer span {
  color: #ffab91;
}

.footer-main {
  display: grid;
  gap: 1rem;
}

.site-description {
  font-family: var(--ll-font-heading);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  margin: 0;
  color: #b0bec5;
}

.site-footer-meta p {
  color: #b0bec5;
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

.site-footer-meta a {
  color: #fff;
  font-weight: 600;
}

.site-footer-meta a:hover {
  color: #ffab91;
}

.nav-secondary a {
  color: #eceff1;
}

.nav-secondary a:hover {
  color: #ffab91;
}

/* After footer */
.site-after-footer {
  background: #181820;
  color: #78909c;
  padding: 1rem 0;
  font-size: 0.875rem;
}

.site-after-footer-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-tertiary a {
  color: #78909c;
}

.nav-tertiary a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-columns .service-card,
  .case-columns .case-card {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (max-width: 781px) {
  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .nav-primary {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
    display: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .site-header.nav-open .nav-primary {
    display: block;
  }

  .nav-primary .menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-primary a {
    display: block;
    padding: 0.65rem 0;
  }

  .site-header {
    position: relative;
  }

  .media-text-columns,
  .media-text-columns.is-reversed {
    flex-direction: column;
  }

  .media-text-columns .media-col,
  .media-text-columns .content-col,
  .hero-columns .wp-block-column,
  .contact-columns .wp-block-column {
    flex-basis: 100%;
  }

  .hero-media {
    order: -1;
  }

  .stats-columns,
  .services-columns,
  .case-columns,
  .partners-columns {
    flex-direction: column;
  }

  .services-columns .service-card,
  .case-columns .case-card {
    flex: 1 1 100%;
  }

  .site-footer-layout {
    grid-template-columns: 1fr;
  }

  .site-after-footer-layout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .wp-block-buttons {
    flex-direction: column;
  }

  .wp-block-button,
  .wp-block-button__link {
    width: 100%;
  }
}
