:root {
  --scai-bg: #f3f5f7;
  --scai-surface: #ffffff;
  --scai-surface-soft: #eef2f5;
  --scai-surface-ribbon: #dfe8ef;
  --scai-text: #121417;
  --scai-text-soft: #5e6973;
  --scai-blue: #245a78;
  --scai-blue-dark: #173447;
  --scai-blue-deeper: #112b3a;
  --scai-border: #d7dee4;
  --scai-border-strong: #c7d0d8;
  --scai-max: 1220px;
  --scai-narrow: 760px;
  --scai-radius: 18px;
  --scai-shadow-soft: 0 12px 30px rgba(18, 20, 23, 0.06);
  --scai-shadow-card: 0 14px 30px rgba(18, 20, 23, 0.07);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--scai-bg);
  color: var(--scai-text);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.wrap {
  width: min(100% - 48px, var(--scai-max));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 48px, var(--scai-narrow));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 84px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading--centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading--compact {
  margin-bottom: 24px;
}

.section-heading > *:first-child {
  margin-top: 0;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--scai-border);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-branding {
  flex: 0 0 auto;
}

.site-branding__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.site-branding__link::before {
  content: "";
  width: 18px;
  height: 28px;
  border: 4px solid var(--scai-blue);
  border-right-width: 3px;
  border-radius: 18px 18px 12px 12px;
  transform: skewX(-8deg);
  display: inline-block;
}

.site-nav {
  position: relative;
}

.menu,
.menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu > li {
  position: relative;
}

.menu a {
  display: block;
  text-decoration: none;
}

.menu > li > a {
  padding: 10px 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--scai-text);
}

.menu > li > a:hover,
.menu > li > a:focus-visible {
  color: var(--scai-blue);
}

.current-menu-item > a,
.current_page_item > a,
.current-menu-ancestor > a {
  font-weight: 700;
}

.menu .sub-menu {
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% + 8px);
  min-width: 240px;
  display: none;
  background: #fff;
  border: 1px solid var(--scai-border);
  box-shadow: 0 18px 40px rgba(18, 20, 23, 0.08);
  border-radius: 14px;
  padding: 10px 0;
}

.menu .sub-menu li a {
  padding: 10px 14px;
  font-weight: 500;
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
  display: block;
}

.menu .sub-menu li a:hover,
.menu .sub-menu li a:focus-visible {
  background: var(--scai-surface-soft);
}

.site-main {
  min-height: 60vh;
  overflow: hidden;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--scai-blue);
}

h1,
h2,
h3,
.section h1,
.section h2,
.prose h1,
.prose h2,
.prose h3 {
  margin-top: 0;
  color: var(--scai-text);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  max-width: 10.5ch;
  margin-bottom: 22px;
}

.section h2 {
  font-size: clamp(2rem, 2.6vw, 2.85rem);
  margin-bottom: 10px;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.02;
}

p,
li,
input,
textarea,
select {
  color: var(--scai-text-soft);
}

.lead {
  max-width: 38rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--scai-text-soft);
}

.button-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--scai-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(36, 90, 120, 0.16);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--scai-blue-dark);
  color: #fff;
}

.button--secondary {
  background: #fff;
  color: var(--scai-blue-dark);
  border-color: var(--scai-border-strong);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--scai-blue);
  color: var(--scai-blue);
}

.button--primary-light {
  background: #fff;
  color: var(--scai-blue-dark);
}

.button--primary-light:hover,
.button--primary-light:focus-visible {
  background: #f4f7fa;
  color: var(--scai-blue-deeper);
}

.button--secondary-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.button--secondary-light:hover,
.button--secondary-light:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.text-link {
  color: var(--scai-blue);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--scai-blue-dark);
  text-decoration: underline;
}

/* Hero */
.section--hero-home {
  background: #fff;
  padding: 72px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 38rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px -26px -18px -18px;
  background-image:
    linear-gradient(rgba(36, 90, 120, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 90, 120, 0.12) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

.hero-visual__frame {
  position: relative;
  max-width: 520px;
  margin-left: auto;
}

.hero-visual__frame::before,
.hero-visual__frame::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(36, 90, 120, 0.18);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

.hero-visual__frame::before {
  width: 82px;
  height: 54px;
  left: -34px;
  top: 36px;
}

.hero-visual__frame::after {
  width: 74px;
  height: 44px;
  right: -22px;
  top: 54px;
}

.hero-visual__image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(18, 20, 23, 0.12);
  background: #dfe8ef;
}

.hero-visual__image img {
  width: 100%;
  aspect-ratio: 1.08 / 0.82;
  object-fit: cover;
}

/* Services band */
.section--services-band {
  background: var(--scai-surface-soft);
  border-top: 1px solid rgba(36, 90, 120, 0.06);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--scai-border);
  border-radius: 14px;
  padding: 24px 24px 20px;
  box-shadow: var(--scai-shadow-soft);
  min-height: 100%;
}

.service-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(180deg, #edf3f7 0%, #f7fafc 100%);
  border: 1px solid var(--scai-border);
  margin-bottom: 16px;
  position: relative;
}

.service-card__icon::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid var(--scai-blue);
  border-radius: 50%;
  opacity: 0.85;
}

.service-card--data .service-card__icon::before {
  inset: 8px 10px;
  border-radius: 3px;
}

.service-card--team .service-card__icon::before {
  inset: 10px 8px;
  border-radius: 10px;
}

.service-card--automation .service-card__icon::before {
  inset: 10px 9px;
  border-radius: 4px;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.service-card p {
  margin: 0 0 14px;
}

/* Why editorial */
.section--why-editorial {
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: start;
}

.why-copy p {
  max-width: 36rem;
}

.why-principles {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.principle {
  background: #fff;
  border-left: 3px solid var(--scai-blue);
  padding: 10px 0 10px 18px;
}

.principle h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.principle p {
  margin: 0;
  max-width: 28rem;
}

/* Results ribbon */
.section--results-ribbon {
  background: var(--scai-surface-ribbon);
  padding-top: 54px;
  padding-bottom: 54px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 12px;
}

.result-item {
  text-align: center;
}

.result-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid var(--scai-blue);
  position: relative;
}

.result-item__icon::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid var(--scai-blue);
  border-radius: 3px;
}

.result-item:nth-child(2) .result-item__icon::before {
  inset: 11px;
  border-radius: 50%;
}

.result-item:nth-child(3) .result-item__icon::before {
  inset: 10px;
  border-radius: 50%;
  border-width: 3px;
}

.result-item h3 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.result-item p {
  margin: 0 auto;
  max-width: 18rem;
}

/* Local band */
.section--local-band {
  background: var(--scai-blue);
  padding-top: 34px;
  padding-bottom: 34px;
}

.local-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.local-band__copy .eyebrow,
.local-band__copy h2,
.local-band__copy p {
  color: #fff;
}

.local-band__copy .eyebrow {
  opacity: 0.82;
}

.local-band__copy h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  max-width: 34rem;
  margin-bottom: 0;
}

.local-band__map {
  display: flex;
  justify-content: flex-end;
}

.map-box {
  width: min(100%, 360px);
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

/* Insights */
.section--insights {
  background: #fff;
}

.insights-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.insights-head__link {
  margin: 0 0 12px;
  white-space: nowrap;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insight-card {
  background: #fff;
  border: 1px solid var(--scai-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--scai-shadow-soft);
}

.insight-card__image img {
  width: 100%;
  aspect-ratio: 1.3 / 0.78;
  object-fit: cover;
}

.insight-card__body {
  padding: 16px 16px 18px;
}

.insight-card__meta {
  margin: 0 0 8px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7b8791;
}

.insight-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.insight-card h3 a {
  text-decoration: none;
}

.insight-card h3 a:hover,
.insight-card h3 a:focus-visible {
  color: var(--scai-blue);
}

.insight-card p:last-child {
  margin-bottom: 0;
}

/* CTA band */
.section--cta-band {
  background: linear-gradient(180deg, var(--scai-blue-dark) 0%, var(--scai-blue-deeper) 100%);
  padding-top: 76px;
  padding-bottom: 76px;
  overflow: hidden;
}

.section--cta-band::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border: 22px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band {
  position: relative;
  z-index: 1;
}

.cta-band__copy {
  max-width: 44rem;
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band h2 {
  color: #fff;
  max-width: 12ch;
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 40rem;
}

/* Prose */
.prose {
  max-width: 75ch;
}

.prose h1,
.prose h2,
.prose h3 {
  line-height: 1.05;
}

.prose h2 {
  margin-top: 40px;
  margin-bottom: 14px;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 0;
  margin-bottom: 18px;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 8px;
}

.prose > *:first-child {
  margin-top: 0;
}

/* Footer */
.site-footer {
  background: var(--scai-surface-soft);
  border-top: 1px solid var(--scai-border);
  padding: 48px 0 24px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: start;
}

.site-footer__brand p,
.site-footer__nav p,
.site-footer__meta p {
  margin: 0 0 12px;
}

.site-footer__nav a {
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--scai-blue);
}

.site-footer__meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--scai-border);
}

.site-footer__brand p:not(.eyebrow),
.site-footer__nav p,
.site-footer__meta p {
  color: var(--scai-text-soft);
}

/* Contact Form 7 */
.wpcf7 {
  margin-top: 24px;
}

.wpcf7 form p {
  margin: 0 0 18px;
}

.wpcf7 label {
  display: block;
  font-weight: 600;
  color: var(--scai-text);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--scai-border);
  border-radius: 10px;
  background: #fff;
  color: var(--scai-text);
  font: inherit;
  box-sizing: border-box;
}

.wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--scai-blue);
  box-shadow: 0 0 0 3px rgba(36, 90, 120, 0.08);
}

.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 0;
  background: var(--scai-blue);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.wpcf7 .wpcf7-spinner {
  vertical-align: middle;
}

.wpcf7 .screen-reader-response,
.wpcf7 .wpcf7-response-output:empty {
  display: none;
}

.wpcf7 label br {
  display: none;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.wpcf7 form p:last-of-type {
  margin-bottom: 0;
}

.wpcf7 select {
  appearance: none;
}

.wpcf7 .wpcf7-submit {
  margin-top: 6px;
}

.wpcf7 .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #cfe8d5;
  background: #f4fbf6;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border: 1px solid #ead2d2;
  background: #fff7f7;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid,
  .why-grid,
  .local-band {
    grid-template-columns: 1fr;
  }

  .hero-visual__frame {
    margin-left: 0;
    max-width: 100%;
  }

  .results-grid,
  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .menu {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 8px 0 0 14px;
    background: transparent;
  }

  .section {
    padding: 68px 0;
  }

  .section--hero-home {
    padding-top: 48px;
  }

  .service-grid,
  .results-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insights-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-box {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .wrap,
  .narrow {
    width: min(100% - 28px, var(--scai-max));
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .section h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .button-row {
    align-items: stretch;
  }

  .button,
  .wpcf7 .wpcf7-submit {
    width: 100%;
  }

  .hero-visual::before,
  .section--cta-band::after,
  .hero-visual__frame::before,
  .hero-visual__frame::after {
    display: none;
  }
}

/* Header + hero polish pass */
.site-header {
  background: rgba(255, 255, 255, 0.97);
}

.site-header__inner {
  min-height: 84px;
  gap: 40px;
}

.site-branding__link {
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.site-branding__mark {
  width: 16px;
  height: 26px;
  display: inline-block;
  border: 2.5px solid var(--scai-blue);
  border-right-width: 2px;
  border-radius: 16px 16px 10px 10px;
  transform: skewX(-8deg);
  position: relative;
}

.site-branding__mark::after {
  content: "";
  position: absolute;
  inset: 5px 3px 5px 4px;
  border-radius: 10px;
  background: #fff;
}

.site-branding__wordmark {
  display: inline-block;
  transform: translateY(-0.5px);
}

.menu {
  gap: 24px;
}

.menu > li > a {
  font-size: 0.88rem;
  font-weight: 500;
}

.section--hero-home {
  padding-top: 82px;
  padding-bottom: 54px;
}

.hero-grid {
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
}

.hero-copy {
  max-width: 42rem;
}

.hero h1 {
  font-size: clamp(3.05rem, 5.1vw, 5rem);
  max-width: 11ch;
  margin-bottom: 18px;
}

.lead {
  max-width: 40rem;
  font-size: 1.14rem;
  line-height: 1.6;
}

.hero-visual__frame {
  max-width: 500px;
}

.hero-visual__image {
  border-radius: 14px;
}

.hero-visual__image img {
  aspect-ratio: 1.12 / 0.8;
}

.hero-visual__frame::before {
  width: 74px;
  height: 48px;
  left: -26px;
  top: 40px;
}

.hero-visual__frame::after {
  width: 66px;
  height: 40px;
  right: -16px;
  top: 58px;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual__frame {
    max-width: 100%;
  }
}


/* Hero video pass */
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1.12 / 0.8;
  object-fit: cover;
  background: #dfe8ef;
}

.hero-visual__image {
  overflow: hidden;
}


/* Homepage polish pass */
.hero-visual__frame {
  max-width: 540px;
}

.hero-visual__image {
  box-shadow: 0 22px 44px rgba(18, 20, 23, 0.14);
}

.hero-video {
  aspect-ratio: 1.16 / 0.82;
}

.service-card {
  padding: 24px 24px 20px;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(18, 20, 23, 0.06);
}

.service-card h3 {
  font-size: 1.62rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.97rem;
  line-height: 1.62;
}

.why-grid {
  gap: 64px;
}

.why-principles {
  gap: 18px;
}

.principle {
  padding: 14px 0 14px 20px;
  border-left-width: 4px;
}

.principle h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.principle p {
  font-size: 0.97rem;
  line-height: 1.62;
}

.section--local-band {
  padding-top: 40px;
  padding-bottom: 40px;
}

.local-band {
  gap: 40px;
}

.local-band__copy h2 {
  max-width: 30rem;
  line-height: 1.04;
}

.map-box {
  min-height: 132px;
  border-radius: 16px;
}

.insights-head {
  margin-bottom: 30px;
}

.insight-card {
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(18, 20, 23, 0.06);
}

.insight-card__image img {
  aspect-ratio: 1.28 / 0.8;
}

.insight-card__body {
  padding: 18px 18px 20px;
}

.insight-card h3 {
  font-size: 1.42rem;
  margin-bottom: 8px;
}

.insight-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.section--cta-band {
  padding-top: 86px;
  padding-bottom: 86px;
}

.cta-band__copy {
  max-width: 48rem;
}

.cta-band h2 {
  max-width: 12ch;
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 1.03rem;
  line-height: 1.68;
}

.section--cta-band .button-row {
  margin-top: 32px;
}

.site-footer {
  padding-top: 56px;
}

.site-footer__grid {
  gap: 52px;
}

@media (max-width: 1100px) {
  .why-grid,
  .local-band {
    gap: 32px;
  }

  .hero-visual__frame {
    max-width: 100%;
  }
}


/* =========================================================
   Static cinematic hero mockup pass
   Matches the approved static-hero mockup direction
   ========================================================= */

.scai-front-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: none;
  box-shadow: none;
}

.scai-front-page .site-header__inner {
  min-height: 86px;
}

.scai-front-page .site-branding__link,
.scai-front-page .menu > li > a {
  color: #ffffff;
}

.scai-front-page .menu > li > a:hover,
.scai-front-page .menu > li > a:focus-visible,
.scai-front-page .site-branding__link:hover,
.scai-front-page .site-branding__link:focus-visible {
  color: #ffffff;
  opacity: 0.92;
}

.scai-front-page .site-branding__mark {
  border-color: #4fb1e2;
}

.scai-front-page .menu .sub-menu {
  background: rgba(18, 33, 45, 0.96);
  border-color: rgba(255,255,255,0.12);
}

.scai-front-page .menu .sub-menu li a {
  color: #ffffff;
}

.scai-front-page .menu .sub-menu li a:hover,
.scai-front-page .menu .sub-menu li a:focus-visible {
  background: rgba(255,255,255,0.08);
}

.section--hero-home.section--hero-cinematic {
  min-height: 620px;
  padding-top: 150px;
  padding-bottom: 78px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(8,18,27,0.82) 0%, rgba(8,18,27,0.66) 32%, rgba(8,18,27,0.42) 58%, rgba(8,18,27,0.60) 100%),
    linear-gradient(180deg, rgba(5,10,16,0.18) 0%, rgba(5,10,16,0.10) 100%),
    url('/wp-content/themes/sixthcityai/assets/images/hero-homepage.png') center center / cover no-repeat;
  overflow: hidden;
}

.section--hero-home.section--hero-cinematic::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 18%);
  pointer-events: none;
}

.hero-cinematic__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.section--hero-cinematic .eyebrow {
  color: #56b5e3;
  margin-bottom: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.section--hero-cinematic h1 {
  color: #ffffff;
  font-size: clamp(3.3rem, 6vw, 5.6rem);
  line-height: 0.93;
  letter-spacing: -0.028em;
  max-width: 10ch;
  margin-bottom: 20px;
}

.section--hero-cinematic h1 .accent,
.section--hero-cinematic .accent {
  color: #56b5e3;
}

.section--hero-cinematic .lead {
  color: rgba(255,255,255,0.90);
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.62;
  margin-bottom: 2px;
}

.section--hero-cinematic .button-row {
  margin-top: 26px;
}

.section--hero-cinematic .button--primary {
  background: #2d8fc6;
  color: #ffffff;
  box-shadow: none;
}

.section--hero-cinematic .button--primary:hover,
.section--hero-cinematic .button--primary:focus-visible {
  background: #2278a7;
}

.section--hero-cinematic .button--secondary-light {
  color: #ffffff;
  border-color: rgba(255,255,255,0.60);
  background: rgba(255,255,255,0.02);
}

.section--hero-cinematic .button--secondary-light:hover,
.section--hero-cinematic .button--secondary-light:focus-visible {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.78);
}

/* soften the original split-hero leftovers if any */
.hero-grid,
.hero-copy,
.hero-visual,
.hero-video {
  all: unset;
}

/* Section rhythm under the hero to match mockup */
.section--services-band {
  background: #eaf1f5;
  padding-top: 72px;
  padding-bottom: 72px;
}

.section--services-band .section-heading {
  margin-bottom: 28px;
}

.section--services-band .section-heading--centered {
  max-width: 760px;
}

.section--services-band .eyebrow {
  color: #2c6d92;
}

.section--services-band h2 {
  font-size: clamp(2.3rem, 3vw, 3rem);
  margin-bottom: 8px;
}

.section--services-band .section-heading p {
  font-size: 1.02rem;
}

.service-grid {
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border: 1px solid #d7e0e7;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(18, 20, 23, 0.06);
  padding: 22px 24px 20px;
}

.service-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #edf3f7;
  border: none;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.72rem;
  margin-bottom: 8px;
  color: #132536;
}

.service-card p {
  color: #5f6c76;
  font-size: 0.97rem;
  line-height: 1.58;
}

.service-card .text-link {
  color: #2a6f95;
}

.section--why-editorial {
  background: #ffffff;
  padding-top: 76px;
  padding-bottom: 70px;
}

.why-grid {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.why-copy .eyebrow {
  color: #2c6d92;
}

.why-copy h2 {
  font-size: clamp(2.2rem, 2.8vw, 3rem);
  margin-bottom: 12px;
  color: #132536;
}

.why-copy p {
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.68;
}

.why-principles {
  gap: 12px;
}

.principle {
  border-left: 3px solid #2a6f95;
  padding: 4px 0 6px 16px;
  background: transparent;
}

.principle h3 {
  font-size: 1.34rem;
  margin-bottom: 4px;
  color: #132536;
}

.principle p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.section--results-ribbon {
  background: #dde8ef;
  padding-top: 56px;
  padding-bottom: 56px;
}

.section--results-ribbon .eyebrow {
  color: #2c6d92;
}

.section--results-ribbon h2 {
  font-size: clamp(2.1rem, 2.7vw, 2.85rem);
  color: #132536;
}

.results-grid {
  gap: 26px;
  max-width: 1060px;
  margin: 18px auto 0;
}

.result-item__icon {
  width: 54px;
  height: 54px;
  border-color: #5d95b5;
  background: rgba(255,255,255,0.28);
}

.result-item__icon::before {
  border-color: #2c6d92;
}

.result-item h3 {
  color: #132536;
}

.section--local-band {
  background: #2a6d92;
  padding-top: 26px;
  padding-bottom: 26px;
}

.local-band {
  grid-template-columns: 1.2fr auto 1fr;
  gap: 28px;
  align-items: center;
}

.local-band__copy h2 {
  color: #ffffff;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1.04;
  max-width: 27rem;
  margin-bottom: 0;
}

.local-band .button-row {
  margin: 0;
}

.local-band .button {
  min-width: 190px;
}

.local-band .button--secondary-light {
  color: #ffffff;
  border-color: rgba(255,255,255,0.62);
  background: transparent;
}

.local-band .button--secondary-light:hover,
.local-band .button--secondary-light:focus-visible {
  background: rgba(255,255,255,0.08);
}

.local-band__map {
  justify-content: flex-end;
}

.map-box {
  min-height: 74px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.05);
  font-size: 0.78rem;
}

.section--insights {
  background: #ffffff;
  padding-top: 72px;
  padding-bottom: 60px;
}

.section--insights .eyebrow {
  color: #2c6d92;
}

.section--insights h2 {
  color: #132536;
}

.insights-head {
  max-width: 1040px;
  margin: 0 auto 22px;
}

.insights-grid {
  max-width: 1040px;
  margin: 0 auto;
}

.insight-card {
  border-radius: 10px;
  border: 1px solid #d7e0e7;
  box-shadow: 0 4px 14px rgba(18, 20, 23, 0.05);
}

.insight-card__image img {
  aspect-ratio: 1.34 / 0.82;
}

.insight-card__body {
  padding: 14px 14px 16px;
}

.insight-card h3 {
  font-size: 1.28rem;
  color: #132536;
}

.section--cta-band {
  background: linear-gradient(180deg, #15384d 0%, #112f42 100%);
  padding-top: 84px;
  padding-bottom: 84px;
}

.cta-band__copy {
  max-width: 760px;
}

.cta-band h2 {
  color: #ffffff;
  font-size: clamp(2.7rem, 4vw, 4.2rem);
  max-width: 10ch;
  line-height: 0.95;
}

.cta-band p {
  color: rgba(255,255,255,0.82);
  max-width: 42rem;
}

.site-footer {
  background: #eef3f6;
}

@media (max-width: 1100px) {
  .local-band {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .local-band .button-row {
    margin-top: 4px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .scai-front-page .site-header {
    position: relative;
    background: #102533;
    border-bottom-color: rgba(255,255,255,0.14);
  }

  .section--hero-home.section--hero-cinematic {
    min-height: 520px;
    padding-top: 94px;
    padding-bottom: 54px;
    background-position: center center;
  }

  .section--hero-cinematic h1 {
    font-size: clamp(2.5rem, 10vw, 4.1rem);
    max-width: none;
  }

  .service-grid,
  .results-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }
}


/* Hero text left-justify adjustment */
.hero-cinematic__inner {
  max-width: 700px;
  margin-left: 0;
  margin-right: auto;
  padding-left: 8px;
}

.section--hero-home.section--hero-cinematic .wrap.hero-cinematic__inner {
  margin-left: 0;
  margin-right: auto;
}

.section--hero-cinematic .eyebrow,
.section--hero-cinematic h1,
.section--hero-cinematic .lead,
.section--hero-cinematic .button-row {
  text-align: left;
}

.section--hero-cinematic h1 {
  max-width: 9ch;
}

.section--hero-cinematic .lead {
  max-width: 34rem;
}

@media (min-width: 1200px) {
  .hero-cinematic__inner {
    padding-left: 0;
    transform: translateX(-6px);
  }
}

@media (max-width: 900px) {
  .hero-cinematic__inner {
    max-width: 100%;
    padding-left: 0;
    transform: none;
  }
}


/* Hero align-to-logo correction */
.hero-cinematic__inner {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  transform: none;
}

.section--hero-home.section--hero-cinematic .wrap.hero-cinematic__inner {
  width: min(100% - 48px, var(--scai-max));
  margin-left: auto;
  margin-right: auto;
}

.section--hero-cinematic h1 {
  max-width: 8.6ch;
}

.section--hero-cinematic .lead {
  max-width: 33rem;
}

@media (min-width: 1200px) {
  .hero-cinematic__inner {
    transform: none;
    padding-left: 0;
  }
}


/* Small hero text left nudge */
@media (min-width: 1200px) {
  .hero-cinematic__inner {
    transform: translateX(-48px);
  }
}

@media (min-width: 1000px) and (max-width: 1199px) {
  .hero-cinematic__inner {
    transform: translateX(-24px);
  }
}

@media (max-width: 999px) {
  .hero-cinematic__inner {
    transform: none;
  }
}


/* Hero align to visual reference line */
.section--hero-home.section--hero-cinematic {
  position: relative;
}

.hero-cinematic__inner {
  width: min(100% - 48px, var(--scai-max));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 180px;
  padding-right: 0;
  transform: none !important;
}

.section--hero-cinematic .eyebrow,
.section--hero-cinematic h1,
.section--hero-cinematic .lead,
.section--hero-cinematic .button-row {
  max-width: 34rem;
}

.section--hero-cinematic h1 {
  max-width: 8.4ch;
}

@media (max-width: 1400px) {
  .hero-cinematic__inner {
    padding-left: 150px;
  }
}

@media (max-width: 1200px) {
  .hero-cinematic__inner {
    padding-left: 120px;
  }
}

@media (max-width: 900px) {
  .hero-cinematic__inner {
    width: min(100% - 28px, var(--scai-max));
    padding-left: 0;
  }

  .section--hero-cinematic .eyebrow,
  .section--hero-cinematic h1,
  .section--hero-cinematic .lead,
  .section--hero-cinematic .button-row {
    max-width: none;
  }
}


/* Mockup-match hero text positioning */
.section--hero-home.section--hero-cinematic {
  position: relative;
  min-height: 640px;
}

.section--hero-home.section--hero-cinematic .wrap.hero-cinematic__inner,
.hero-cinematic__inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: none !important;
}

.section--hero-cinematic .eyebrow,
.section--hero-cinematic h1,
.section--hero-cinematic .lead,
.section--hero-cinematic .button-row {
  margin-left: 72px;
  text-align: left;
}

.section--hero-cinematic .eyebrow {
  max-width: 560px;
}

.section--hero-cinematic h1 {
  max-width: 580px;
  font-size: clamp(3.4rem, 5.8vw, 5.6rem);
  line-height: 0.92;
  margin-bottom: 18px;
}

.section--hero-cinematic .lead {
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.6;
}

.section--hero-cinematic .button-row {
  max-width: 560px;
}

@media (min-width: 1600px) {
  .section--hero-cinematic .eyebrow,
  .section--hero-cinematic h1,
  .section--hero-cinematic .lead,
  .section--hero-cinematic .button-row {
    margin-left: 84px;
  }
}

@media (max-width: 1200px) {
  .section--hero-cinematic .eyebrow,
  .section--hero-cinematic h1,
  .section--hero-cinematic .lead,
  .section--hero-cinematic .button-row {
    margin-left: 56px;
  }

  .section--hero-cinematic h1,
  .section--hero-cinematic .lead,
  .section--hero-cinematic .button-row {
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .section--hero-home.section--hero-cinematic {
    min-height: 520px;
  }

  .section--hero-cinematic .eyebrow,
  .section--hero-cinematic h1,
  .section--hero-cinematic .lead,
  .section--hero-cinematic .button-row {
    margin-left: 28px;
    max-width: calc(100% - 56px);
  }

  .section--hero-cinematic h1 {
    font-size: clamp(2.5rem, 10vw, 4.1rem);
  }
}


/* Hard override: align hero copy to red-line reference */
.section--hero-home.section--hero-cinematic > .wrap.hero-cinematic__inner,
.section--hero-home.section--hero-cinematic .hero-cinematic__inner.wrap,
.section--hero-home.section--hero-cinematic .hero-cinematic__inner {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 96px !important;
  padding-right: 96px !important;
  transform: none !important;
}

.section--hero-cinematic .eyebrow,
.section--hero-cinematic h1,
.section--hero-cinematic .lead,
.section--hero-cinematic .button-row {
  margin-left: 0 !important;
  text-align: left !important;
}

.section--hero-cinematic h1 {
  max-width: 540px !important;
}

.section--hero-cinematic .lead,
.section--hero-cinematic .button-row {
  max-width: 520px !important;
}

@media (max-width: 1400px) {
  .section--hero-home.section--hero-cinematic > .wrap.hero-cinematic__inner,
  .section--hero-home.section--hero-cinematic .hero-cinematic__inner.wrap,
  .section--hero-home.section--hero-cinematic .hero-cinematic__inner {
    padding-left: 72px !important;
    padding-right: 72px !important;
  }
}

@media (max-width: 900px) {
  .section--hero-home.section--hero-cinematic > .wrap.hero-cinematic__inner,
  .section--hero-home.section--hero-cinematic .hero-cinematic__inner.wrap,
  .section--hero-home.section--hero-cinematic .hero-cinematic__inner {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .section--hero-cinematic h1,
  .section--hero-cinematic .lead,
  .section--hero-cinematic .button-row {
    max-width: none !important;
  }
}


/* Fix hero copy to purple reference line */
.section--hero-home.section--hero-cinematic > .wrap.hero-cinematic__inner,
.section--hero-home.section--hero-cinematic .hero-cinematic__inner.wrap,
.section--hero-home.section--hero-cinematic .hero-cinematic__inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: none !important;
}

.section--hero-cinematic .eyebrow,
.section--hero-cinematic h1,
.section--hero-cinematic .lead,
.section--hero-cinematic .button-row {
  margin-left: 220px !important;
  text-align: left !important;
}

.section--hero-cinematic h1 {
  max-width: 560px !important;
}

.section--hero-cinematic .lead,
.section--hero-cinematic .button-row {
  max-width: 540px !important;
}

@media (max-width: 1400px) {
  .section--hero-cinematic .eyebrow,
  .section--hero-cinematic h1,
  .section--hero-cinematic .lead,
  .section--hero-cinematic .button-row {
    margin-left: 180px !important;
  }
}

@media (max-width: 1200px) {
  .section--hero-cinematic .eyebrow,
  .section--hero-cinematic h1,
  .section--hero-cinematic .lead,
  .section--hero-cinematic .button-row {
    margin-left: 120px !important;
  }
}

@media (max-width: 900px) {
  .section--hero-cinematic .eyebrow,
  .section--hero-cinematic h1,
  .section--hero-cinematic .lead,
  .section--hero-cinematic .button-row {
    margin-left: 28px !important;
    max-width: calc(100% - 56px) !important;
  }
}


/* =========================================================
   Services hub visual system
   ========================================================= */

.wrap--services {
  width: min(100% - 48px, 1080px);
}

.section--services-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
  padding-top: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(36, 90, 120, 0.08);
}

.section--services-hero .eyebrow {
  color: #2c6d92;
  margin-bottom: 14px;
}

.section--services-hero h1 {
  font-size: clamp(2.7rem, 4.2vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.024em;
  margin-bottom: 16px;
  color: #132536;
  max-width: 12ch;
}

.section--services-hero .wrap--services > p:last-child,
.section--services-hero .wrap--services .prose p:last-child {
  max-width: 46rem;
  font-size: 1.06rem;
  line-height: 1.68;
  color: #5f6c76;
}

.section--services-lanes {
  background: #eaf1f5;
  padding-top: 72px;
  padding-bottom: 72px;
}

.section--services-lanes .section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section--services-lanes .section-heading h2 {
  color: #132536;
  font-size: clamp(2.15rem, 2.9vw, 3rem);
  margin-bottom: 10px;
}

.section--services-lanes .section-heading p {
  color: #5f6c76;
  font-size: 1rem;
  line-height: 1.66;
}

.services-lanes-grid {
  gap: 18px;
}

.service-lane-card {
  background: #ffffff;
  border: 1px solid #d7e0e7;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(18, 20, 23, 0.05);
  padding: 22px 22px 18px;
}

.service-lane-card .eyebrow {
  color: #2c6d92;
  margin-bottom: 10px;
}

.service-lane-card h3 {
  font-size: 1.6rem;
  line-height: 1.02;
  margin-bottom: 8px;
  color: #132536;
}

.service-lane-card h3 a {
  text-decoration: none;
}

.service-lane-card h3 a:hover,
.service-lane-card h3 a:focus-visible {
  color: #2a6f95;
  text-decoration: underline;
}

.service-lane-card p {
  color: #5f6c76;
  font-size: 0.96rem;
  line-height: 1.6;
}

.section--services-starting-point {
  background: #ffffff;
  padding-top: 76px;
  padding-bottom: 72px;
}

.section--services-starting-point .section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section--services-starting-point .eyebrow {
  color: #2c6d92;
}

.section--services-starting-point h2 {
  color: #132536;
  font-size: clamp(2.1rem, 2.8vw, 2.9rem);
  margin-bottom: 10px;
}

.section--services-starting-point .section-heading p {
  color: #5f6c76;
  line-height: 1.66;
}

.services-start-grid {
  gap: 18px;
}

.start-point-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid #d7e0e7;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(18, 20, 23, 0.04);
  padding: 22px 22px 18px;
}

.start-point-card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
  color: #132536;
}

.start-point-card p {
  color: #5f6c76;
  font-size: 0.96rem;
  line-height: 1.58;
}

.section--services-cta {
  background: linear-gradient(180deg, #15384d 0%, #112f42 100%);
  padding-top: 76px;
  padding-bottom: 76px;
}

.section--services-cta .section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section--services-cta .eyebrow {
  color: rgba(255,255,255,0.76);
}

.section--services-cta h2 {
  color: #ffffff;
  font-size: clamp(2.35rem, 3.4vw, 3.6rem);
  line-height: 0.96;
  margin-bottom: 12px;
  max-width: 11ch;
}

.section--services-cta .section-heading p {
  color: rgba(255,255,255,0.82);
  max-width: 40rem;
  line-height: 1.66;
}

.section--services-cta .button--primary {
  background: #ffffff;
  color: #15384d;
}

.section--services-cta .button--primary:hover,
.section--services-cta .button--primary:focus-visible {
  background: #f2f6f9;
  color: #112f42;
}

.section--services-cta .button--secondary {
  color: #ffffff;
  border-color: rgba(255,255,255,0.34);
  background: transparent;
}

.section--services-cta .button--secondary:hover,
.section--services-cta .button--secondary:focus-visible {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.54);
}

@media (max-width: 900px) {
  .wrap--services {
    width: min(100% - 28px, 1080px);
  }

  .section--services-hero {
    padding-top: 60px;
    padding-bottom: 44px;
  }

  .section--services-lanes,
  .section--services-starting-point,
  .section--services-cta {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .services-lanes-grid,
  .services-start-grid {
    grid-template-columns: 1fr;
  }
}


/* Services quadrant grid refinement */
.services-lanes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-lane-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 22px 18px;
}

.service-lane-card h3 {
  min-height: 3.3rem;
}

.service-lane-card p {
  margin-bottom: 12px;
}

.service-lane-card p:last-child {
  margin-top: auto;
  margin-bottom: 0;
}

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

  .service-lane-card h3 {
    min-height: 0;
  }
}


/* Header logo hard size fix */
.site-branding__logo {
  display: block !important;
  width: 28px !important;
  max-width: 28px !important;
  height: auto !important;
  flex: 0 0 28px !important;
  object-fit: contain !important;
}

.site-branding__link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.site-branding__wordmark {
  display: inline-block !important;
}

@media (max-width: 900px) {
  .site-branding__logo {
    width: 24px !important;
    max-width: 24px !important;
    flex-basis: 24px !important;
  }
}


/* Disable old CSS-drawn header mark now that real logo image is used */
.site-branding__link::before {
  content: none !important;
  display: none !important;
}



/* Local uploaded hero images */
.section--services-hero {
  position: relative;
  min-height: 420px;
  padding-top: 132px;
  padding-bottom: 56px;
  background:
    linear-gradient(90deg, rgba(8,18,27,0.68) 0%, rgba(8,18,27,0.42) 28%, rgba(8,18,27,0.12) 52%, rgba(8,18,27,0.06) 100%),
    url('/wp-content/themes/sixthcityai/assets/images/hero-services.png') center center / cover no-repeat;
  overflow: hidden;
}

.section--services-hero .eyebrow,
.section--services-hero h1,
.section--services-hero p {
  position: relative;
  z-index: 2;
}

.section--services-hero .eyebrow {
  color: #56b5e3;
}

.section--services-hero h1 {
  color: #ffffff;
  max-width: 10ch;
}

.section--services-hero .wrap--services > p:last-child,
.section--services-hero .wrap--services .prose p:last-child,
.section--services-hero .wrap--services p {
  color: rgba(255,255,255,0.90);
  max-width: 42rem;
}

@media (max-width: 900px) {
  .section--services-hero {
    min-height: 340px;
    padding-top: 108px;
    padding-bottom: 42px;
    background-position: center center;
  }
}

/* Page hero images: about + contact */
.section--page-hero {
  position: relative;
  min-height: 360px;
  padding-top: 136px;
  padding-bottom: 56px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.section--page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

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

.section--page-hero .eyebrow {
  color: #56b5e3;
  margin-bottom: 14px;
}

.section--page-hero h1 {
  color: #ffffff;
  font-size: clamp(2.8rem, 4.2vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.024em;
  max-width: 12ch;
  margin-bottom: 0;
}

.section--page-hero-about {
  background:
    linear-gradient(90deg, rgba(8,18,27,0.64) 0%, rgba(8,18,27,0.36) 30%, rgba(8,18,27,0.10) 56%, rgba(8,18,27,0.04) 100%),
    url('/wp-content/themes/sixthcityai/assets/images/hero-about.png') center center / cover no-repeat;
}

.section--page-hero-contact {
  background:
    linear-gradient(90deg, rgba(8,18,27,0.48) 0%, rgba(8,18,27,0.22) 28%, rgba(8,18,27,0.06) 56%, rgba(8,18,27,0.03) 100%),
    url('/wp-content/themes/sixthcityai/assets/images/hero-contact.png') center center / cover no-repeat;
}

@media (max-width: 900px) {
  .section--page-hero {
    min-height: 300px;
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .section--page-hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.6rem);
    max-width: none;
  }
}


/* Mobile hamburger menu */
.menu-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px;
  margin: 0;
  cursor: pointer;
}

.menu-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .site-header__inner {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .site-branding {
    grid-column: 1;
  }

  .menu-toggle {
    display: inline-block;
    grid-column: 2;
    justify-self: end;
    color: inherit;
    z-index: 90;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 8px;
  }

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

  .site-nav .menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--scai-border);
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 12px 30px rgba(18, 20, 23, 0.08);
  }

  .site-nav .menu > li > a {
    padding: 12px 16px;
  }

  .scai-front-page .site-nav .menu {
    background: rgba(16, 37, 51, 0.96);
    border-color: rgba(255,255,255,0.14);
  }

  .scai-front-page .site-nav .menu > li > a {
    color: #fff;
  }

  .scai-front-page .menu-toggle {
    color: #fff;
  }
}


/* =========================================================
   Service detail page redesign
   ========================================================= */

.section--service-detail-hero {
  position: relative;
  min-height: 340px;
  padding-top: 132px;
  padding-bottom: 54px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(8,18,27,0.64) 0%, rgba(8,18,27,0.34) 30%, rgba(8,18,27,0.08) 56%, rgba(8,18,27,0.03) 100%),
    url('/wp-content/themes/sixthcityai/assets/images/hero-services.png') center center / cover no-repeat;
}

.section--service-detail-hero .eyebrow {
  color: #56b5e3;
}

.section--service-detail-hero h1 {
  color: #ffffff;
  font-size: clamp(2.7rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.024em;
  max-width: 10ch;
  margin-bottom: 14px;
}

.service-detail-hero__lead {
  color: rgba(255,255,255,0.90);
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.66;
  margin: 0;
}

.section--service-detail-body {
  background: #ffffff;
  padding-top: 72px;
  padding-bottom: 64px;
}

.service-detail-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.service-detail-body__main.prose {
  max-width: none;
}

.service-detail-body__main.prose h2 {
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  margin-top: 40px;
  margin-bottom: 14px;
  color: #132536;
}

.service-detail-body__main.prose h3 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  margin-top: 28px;
  margin-bottom: 10px;
  color: #132536;
}

.service-detail-body__main.prose p,
.service-detail-body__main.prose li {
  color: #5f6c76;
  line-height: 1.72;
}

.service-detail-body__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-detail-sidecard {
  background: #f7fafc;
  border: 1px solid #d7e0e7;
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 6px 18px rgba(18, 20, 23, 0.04);
}

.service-detail-sidecard .eyebrow {
  color: #2c6d92;
  margin-bottom: 10px;
}

.service-detail-sidecard h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #132536;
}

.service-detail-sidecard p {
  margin: 0;
  color: #5f6c76;
  line-height: 1.6;
}

.section--service-detail-value {
  background: #eaf1f5;
  padding-top: 68px;
  padding-bottom: 68px;
}

.service-detail-value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-value-card {
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(18, 20, 23, 0.05);
}

.service-detail-value-card h3 {
  font-size: 1.4rem;
  color: #132536;
  margin-bottom: 8px;
}

.service-detail-value-card p {
  color: #5f6c76;
  line-height: 1.58;
}

.section--service-detail-cta {
  background: linear-gradient(180deg, #15384d 0%, #112f42 100%);
  padding-top: 72px;
  padding-bottom: 72px;
}

.section--service-detail-cta .eyebrow {
  color: rgba(255,255,255,0.76);
}

.section--service-detail-cta h2 {
  color: #ffffff;
  font-size: clamp(2.2rem, 3vw, 3.3rem);
  line-height: 0.96;
  max-width: 12ch;
  margin-bottom: 12px;
}

.section--service-detail-cta .section-heading p {
  color: rgba(255,255,255,0.82);
  max-width: 42rem;
  line-height: 1.66;
}

.section--service-detail-cta .button--primary {
  background: #ffffff;
  color: #15384d;
}

.section--service-detail-cta .button--primary:hover,
.section--service-detail-cta .button--primary:focus-visible {
  background: #f2f6f9;
  color: #112f42;
}

.section--service-detail-cta .button--secondary {
  color: #ffffff;
  border-color: rgba(255,255,255,0.34);
  background: transparent;
}

.section--service-detail-cta .button--secondary:hover,
.section--service-detail-cta .button--secondary:focus-visible {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.54);
}

@media (max-width: 900px) {
  .section--service-detail-hero {
    min-height: 280px;
    padding-top: 108px;
    padding-bottom: 40px;
  }

  .service-detail-body__grid,
  .service-detail-value-grid {
    grid-template-columns: 1fr;
  }

  .section--service-detail-body,
  .section--service-detail-value,
  .section--service-detail-cta {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}


/* Services hero readability fix */
.services-hero__lead {
  color: rgba(255,255,255,0.92);
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}

.section--services-intro-copy {
  background: #ffffff;
  padding-top: 34px;
  padding-bottom: 20px;
}

.section--services-intro-copy .prose {
  max-width: 760px;
}

@media (max-width: 900px) {
  .section--services-hero {
    min-height: 260px;
    padding-top: 108px;
    padding-bottom: 28px;
    background:
      linear-gradient(90deg, rgba(8,18,27,0.76) 0%, rgba(8,18,27,0.48) 34%, rgba(8,18,27,0.18) 60%, rgba(8,18,27,0.10) 100%),
      url('/wp-content/themes/sixthcityai/assets/images/hero-services.png') center center / cover no-repeat;
  }

  .section--services-hero h1 {
    max-width: none;
    margin-bottom: 10px;
  }

  .services-hero__lead {
    max-width: 22rem;
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .section--services-intro-copy {
    padding-top: 24px;
    padding-bottom: 8px;
  }
}


/* Match service detail eyebrow to services page blue */
.section--service-detail-hero .eyebrow {
  color: #56b5e3 !important;
}


/* Match service detail eyebrow to services page blue */
.section--service-detail-hero .eyebrow {
  color: #56b5e3 !important;
}


/* Force service detail eyebrow to match services-page blue */
.section.section--service-detail-hero .wrap.wrap--services .eyebrow,
.section--service-detail-hero .wrap .eyebrow,
body .section--service-detail-hero .eyebrow {
  color: #56b5e3 !important;
}



/* Match individual service hero eyebrow to services page */
.section--service-detail-hero .wrap.wrap--services > .eyebrow,
.section--service-detail-hero .eyebrow {
  color: #56b5e3 !important;
  opacity: 1 !important;
}


/* Match service-detail hero eyebrow to services page formatting */
.services-hero__eyebrow {
  color: #56b5e3 !important;
  margin-bottom: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 1 !important;
}

/* Homepage service grid: five-card layout */
@media (min-width: 641px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card--homepage-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 48px minmax(190px, 0.45fr) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 18px;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .service-card--homepage-wide .service-card__icon,
  .service-card--homepage-wide h3,
  .service-card--homepage-wide p {
    margin: 0;
  }

  .service-card--homepage-wide p:last-child {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .service-card--homepage-wide {
    grid-column: auto;
  }
}
