:root {
  --charcoal: #071512;
  --navy: #0b1820;
  --panel: #10251f;
  --green: #0f7a4c;
  --emerald: #19b978;
  --lime: #b7f34a;
  --mint: #dff9e8;
  --white: #ffffff;
  --off-white: #f6f8f3;
  --soft-gray: #d9e2dc;
  --muted: #6a7670;
  --shadow: 0 24px 80px rgba(7, 21, 18, 0.16);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--off-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 243, 0.9);
  border-bottom: 1px solid rgba(217, 226, 220, 0.8);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--lime), var(--emerald));
  border-radius: 13px;
  box-shadow: 0 12px 34px rgba(25, 185, 120, 0.3);
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #34413b;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--white) !important;
  background: var(--charcoal);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--soft-gray);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--charcoal);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section-band {
  background:
    radial-gradient(circle at 15% 10%, rgba(183, 243, 74, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(25, 185, 120, 0.2), transparent 24%),
    linear-gradient(135deg, var(--charcoal), var(--navy));
}

.hero {
  color: var(--white);
}

.hero-inner {
  width: var(--container);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 64px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.sticky-copy h2,
.contact-copy h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 740px;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow {
  color: var(--lime);
}

.hero-text {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--lime), var(--emerald));
  box-shadow: 0 18px 44px rgba(25, 185, 120, 0.28);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 760px;
  margin-top: 30px;
}

.hero-proof div,
.hero-visual,
.card,
.case-card,
.compliance-card,
.reason-stack article,
.timeline article,
.industry-grid article,
.faq-list details,
.calendly-card {
  border: 1px solid rgba(217, 226, 220, 0.7);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-proof div {
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.hero-proof strong {
  display: block;
  color: var(--lime);
  font-size: 1.55rem;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.hero-visual {
  padding: 22px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.dashboard-top,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-top {
  font-weight: 900;
}

.chart-card {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 24px;
  min-height: 230px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    rgba(7, 21, 18, 0.56);
  background-size: 48px 48px;
}

.chart-line {
  position: absolute;
  inset: 32px 26px 26px;
  display: flex;
  align-items: end;
  gap: 14px;
}

.chart-line span {
  flex: 1;
  min-width: 20px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--lime), var(--emerald));
  animation: rise 900ms ease both;
}

.chart-line span:nth-child(2) {
  animation-delay: 80ms;
}

.chart-line span:nth-child(3) {
  animation-delay: 160ms;
}

.chart-line span:nth-child(4) {
  animation-delay: 240ms;
}

.chart-line span:nth-child(5) {
  animation-delay: 320ms;
}

.chart-line span:nth-child(6) {
  animation-delay: 400ms;
}

.chart-line span:nth-child(7) {
  animation-delay: 480ms;
}

.sr-image {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.dashboard-grid div {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.dashboard-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--lime);
  line-height: 1.1;
}

.audience-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--soft-gray);
}

.audience-strip span {
  padding: 9px 14px;
  border-radius: 999px;
  color: #24332e;
  background: var(--mint);
  font-weight: 800;
  font-size: 0.9rem;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 96px 0;
  scroll-margin-top: 90px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.sticky-copy h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.section-heading h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  line-height: 1.04;
}

.sticky-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.faq-section .eyebrow {
  font-size: 1.08rem;
  letter-spacing: 0.1em;
}

.faq-section .section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.08;
}

.section-heading p,
.sticky-copy p,
.reason-stack p,
.card p,
.case-card p,
.industry-grid p,
.faq-list p,
.contact-copy p,
.timeline p {
  color: var(--muted);
}

.cards,
.case-grid,
.industry-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.case-card,
.industry-grid article {
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover,
.case-card:hover,
.industry-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 185, 120, 0.4);
  box-shadow: 0 24px 64px rgba(7, 21, 18, 0.18);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--lime), var(--emerald));
  font-weight: 900;
}

.card h3,
.case-card h3,
.reason-stack h3,
.timeline h3,
.industry-grid h3,
.compliance-card h3 {
  margin: 20px 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 112px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
}

.review-button {
  margin-top: 18px;
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.reason-stack {
  display: grid;
  gap: 18px;
}

.reason-stack article {
  padding: 28px;
  box-shadow: none;
}

.compliance-section {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--charcoal);
  color: var(--white);
}

.compliance-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

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

.compliance-card {
  padding: 30px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.compliance-card.good {
  background: linear-gradient(135deg, rgba(25, 185, 120, 0.2), rgba(255, 255, 255, 0.06));
}

.compliance-card.risk {
  background: linear-gradient(135deg, rgba(183, 243, 74, 0.15), rgba(255, 255, 255, 0.05));
}

.compliance-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.ai-search-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.ai-search-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.78fr);
  gap: 36px;
  align-items: start;
  padding: 34px;
  border: 1px solid rgba(217, 226, 220, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(183, 243, 74, 0.18), rgba(255, 255, 255, 0.72) 42%),
    var(--white);
  box-shadow: var(--shadow);
}

.ai-search-copy .eyebrow,
.ai-search-copy h2,
.ai-search-copy p,
.ai-search-list h3 {
  margin: 0;
}

.ai-search-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.05;
}

.ai-search-copy p {
  margin-top: 18px;
  color: var(--muted);
}

.ai-search-list {
  padding: 24px;
  border-radius: 18px;
  background: var(--charcoal);
  color: var(--white);
}

.ai-search-list h3 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.ai-search-list ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ai-search-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.76);
}

.ai-search-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline article {
  position: relative;
  padding: 28px;
  box-shadow: none;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--charcoal);
  background: var(--lime);
  font-weight: 900;
}

.results-section {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: #edf3ea;
}

.case-grid {
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
}

.case-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.case-grid-single .case-card.featured {
  grid-column: auto;
}

.client-case-section {
  margin-top: 52px;
}

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

.case-summary-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border: 1px solid rgba(217, 226, 220, 0.82);
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 243, 74, 0.2), transparent 30%),
    linear-gradient(135deg, var(--charcoal), #123629);
  box-shadow: var(--shadow);
}

.case-summary-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1.08;
}

.case-summary-card p {
  margin: 14px 0 22px;
  color: rgba(255, 255, 255, 0.74);
}

.case-summary-card .case-stats {
  margin-top: auto;
}

.case-detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--lime), var(--emerald));
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(25, 185, 120, 0.2);
}

.case-detail-button:hover {
  transform: translateY(-2px);
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.case-card.featured {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0%, rgba(183, 243, 74, 0.28), transparent 32%),
    linear-gradient(135deg, var(--charcoal), #123629);
  border-color: transparent;
}

.case-study-card-intro {
  max-width: 820px;
  margin-bottom: 26px;
}

.case-study-card-intro .eyebrow,
.case-study-card-intro h2,
.case-study-card-intro p {
  margin: 0;
}

.case-study-card-intro .eyebrow {
  color: var(--lime);
}

.case-study-card-intro h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.case-study-card-intro p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
}

.case-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.case-label {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--green);
  background: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
}

.featured .case-label {
  color: var(--charcoal);
  background: var(--lime);
}

.case-stats {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.case-stats span {
  display: block;
  padding: 12px;
  border-radius: 14px;
  color: #31413b;
  background: #f5f8f2;
  font-size: 0.92rem;
}

.featured .case-stats span {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
}

.case-stats strong {
  color: var(--green);
}

.featured .case-stats strong {
  color: var(--lime);
}

.portfolio-gallery {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(217, 226, 220, 0.85);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(7, 21, 18, 0.1);
  scroll-margin-top: 96px;
}

.portfolio-intro {
  margin-bottom: 20px;
  text-align: center;
}

.portfolio-intro .eyebrow,
.portfolio-intro h3,
.portfolio-intro p {
  margin: 0;
}

.portfolio-intro h3 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.08;
}

.portfolio-intro p {
  color: var(--muted);
}

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

.portfolio-client {
  overflow: hidden;
  border: 1px solid rgba(217, 226, 220, 0.9);
  border-radius: 18px;
  background: var(--white);
}

.portfolio-client-featured {
  grid-column: 1 / -1;
}

.portfolio-client-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(217, 226, 220, 0.75);
}

.portfolio-client-head span {
  font-weight: 900;
}

.portfolio-client-head strong {
  color: var(--green);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.portfolio-figure {
  margin: 0;
}

.portfolio-image-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.portfolio-image-button:focus-visible {
  outline: 4px solid rgba(183, 243, 74, 0.55);
  outline-offset: -4px;
}

.portfolio-image-button img {
  transition: transform 180ms ease, filter 180ms ease;
}

.portfolio-image-button:hover img {
  filter: brightness(0.96);
  transform: scale(1.01);
}

.portfolio-feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.9fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(183, 243, 74, 0.24), transparent 28%),
    linear-gradient(135deg, #10251f, #071512);
}

.portfolio-feature-copy {
  color: var(--white);
  padding: 12px 8px;
}

.portfolio-feature-copy .eyebrow,
.portfolio-feature-copy h4,
.portfolio-feature-copy p {
  margin: 0;
}

.portfolio-feature-copy h4 {
  max-width: 620px;
  font-size: clamp(1.55rem, 2.45vw, 2.45rem);
  line-height: 1.04;
}

.portfolio-feature-copy p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.74);
}

.portfolio-feature-figure {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.portfolio-feature-figure img {
  width: 100%;
  max-height: none;
}

.portfolio-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 16px;
  background: #f5f8f2;
}

.portfolio-proof-grid .portfolio-figure {
  overflow: hidden;
  border: 1px solid rgba(217, 226, 220, 0.86);
  border-radius: 16px;
  background: var(--white);
}

.portfolio-figure img,
.portfolio-image-placeholder {
  display: block;
  width: 100%;
}

.portfolio-figure img {
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #eef5ed;
}

.portfolio-image-placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 22px;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #10251f, #071512);
  background-size: 34px 34px, 34px 34px, auto;
  text-align: center;
  font-weight: 900;
}

.portfolio-image-placeholder span {
  max-width: 190px;
}

.portfolio-figure figcaption {
  min-height: 96px;
  padding: 16px;
  color: #44514c;
  background: #fbfdf9;
  border-top: 1px solid rgba(217, 226, 220, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.portfolio-proof-grid .portfolio-figure figcaption {
  min-height: 82px;
}

.portfolio-proof-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-optimization-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(380px, 0.65fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(217, 226, 220, 0.9);
  border-radius: 18px;
  background: var(--white);
}

.content-optimization-card .eyebrow,
.content-optimization-card h3,
.content-optimization-card h4,
.content-optimization-card p {
  margin: 0;
}

.content-optimization-card h3 {
  margin-top: 10px;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  line-height: 1.1;
}

.content-optimization-card p {
  margin-top: 16px;
  color: var(--muted);
}

.blog-post-list {
  padding: 22px;
  border-radius: 16px;
  background: #f5f8f2;
}

.blog-post-list h4 {
  font-size: 1.12rem;
}

.blog-post-list ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: #33423d;
}

.blog-post-list li::marker {
  color: var(--green);
}

.blog-post-list a {
  color: #123629;
  font-weight: 800;
  text-decoration: none;
}

.blog-post-list a:hover {
  color: var(--green);
}

.upcoming-client-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.industry-grid {
  grid-template-columns: repeat(4, 1fr);
}

.why-kratomleader-section {
  padding-top: 72px;
}

.why-kl-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 46px;
  padding: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 95% 0%, rgba(183, 243, 74, 0.22), transparent 28%),
    linear-gradient(135deg, var(--charcoal), #123629);
  box-shadow: var(--shadow);
}

.why-kl-heading {
  position: sticky;
  top: 112px;
  align-self: start;
}

.why-kl-heading .eyebrow,
.why-kl-heading h2,
.why-kl-heading p {
  margin: 0;
}

.why-kl-heading .eyebrow {
  color: var(--lime);
}

.why-kl-heading h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
}

.why-kl-heading p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.why-kl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.why-kl-grid article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.why-kl-grid article:first-child {
  padding-top: 0;
}

.why-kl-grid article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.why-kl-grid span {
  display: grid;
  place-items: center;
  align-self: start;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--charcoal);
  background: var(--lime);
  font-weight: 900;
}

.why-kl-grid article > div {
  min-width: 0;
}

.why-kl-grid h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1.2;
}

.why-kl-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.testimonial-section {
  position: relative;
  overflow: hidden;
  padding: 96px 20px;
  background: var(--white);
}

.testimonial-section::before,
.testimonial-section::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  opacity: 0.28;
  background-image: radial-gradient(circle, rgba(15, 122, 76, 0.34) 2px, transparent 2px);
  background-size: 18px 18px;
  pointer-events: none;
}

.testimonial-section::before {
  left: -90px;
  bottom: 20px;
}

.testimonial-section::after {
  right: -80px;
  top: 110px;
}

.testimonial-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.testimonial-brand-mark {
  display: flex;
  justify-content: center;
}

.testimonial-brand-mark img {
  width: min(330px, 100%);
}

.testimonial-copy .eyebrow,
.testimonial-copy h2,
.testimonial-copy blockquote {
  margin: 0;
}

.testimonial-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.06;
}

.testimonial-copy blockquote {
  margin-top: 24px;
  color: #66716d;
  font-size: 1.03rem;
  line-height: 1.55;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.testimonial-author img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong,
.testimonial-author span {
  display: block;
}

.testimonial-author strong {
  color: var(--charcoal);
  font-size: 1.05rem;
}

.testimonial-author span {
  color: var(--muted);
}

.faq-section {
  max-width: 940px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  overflow: hidden;
  box-shadow: none;
}

.faq-list summary {
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--green);
  font-size: 1.25rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
}

.contact-section {
  padding: 96px 20px;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 15%, rgba(183, 243, 74, 0.2), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--charcoal));
}

.contact-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-methods a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.contact-methods a:hover {
  color: var(--lime);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--lime), var(--emerald));
  box-shadow: 0 14px 34px rgba(25, 185, 120, 0.28);
}

.calendly-card {
  overflow: hidden;
  padding: 0;
  background: var(--white);
}

.calendly-inline-widget {
  width: 100%;
}

.footer {
  width: var(--container);
  margin: 0 auto;
  padding: 30px 0 42px;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 28px;
  background: rgba(7, 21, 18, 0.86);
  backdrop-filter: blur(8px);
}

.image-lightbox.is-open {
  display: flex;
}

.lightbox-frame {
  width: fit-content;
  max-width: min(1120px, 100%);
  max-height: 100%;
  text-align: center;
}

.lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.lightbox-caption {
  width: 100%;
  max-width: 100%;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

@keyframes rise {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0.4;
  }
  to {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }
}

@media (max-width: 1020px) {
  .hero-inner,
  .split-section,
  .contact-inner,
  .ai-search-shell {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .sticky-copy {
    position: static;
  }

  .service-grid,
  .timeline,
  .case-grid,
  .case-summary-grid,
  .industry-grid,
  .why-kl-shell,
  .testimonial-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-kl-shell {
    grid-template-columns: 1fr;
  }

  .why-kl-heading {
    position: static;
  }

  .case-card.featured {
    grid-column: span 2;
  }

  .portfolio-intro,
  .portfolio-client-grid,
  .portfolio-feature-story,
  .portfolio-proof-grid,
  .portfolio-proof-grid-three,
  .content-optimization-card,
  .upcoming-client-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 68px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--soft-gray);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: var(--mint);
  }

  .hero-inner {
    padding: 44px 0 48px;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-proof,
  .dashboard-grid,
  .service-grid,
  .timeline,
  .case-grid,
  .case-summary-grid,
  .industry-grid,
  .compliance-grid,
  .why-kl-shell,
  .testimonial-inner {
    grid-template-columns: 1fr;
  }

  .why-kl-shell {
    padding: 28px;
  }

  .testimonial-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .testimonial-inner {
    gap: 34px;
  }

  .case-card.featured {
    grid-column: auto;
  }

  .hero-actions,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section,
  .contact-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .portfolio-gallery {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
