:root {
  color-scheme: light;
  --ink: #08111c;
  --navy: #07111f;
  --navy-soft: #0c1b2e;
  --muted: #647083;
  --line: #e5e9ef;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --green: #22c55e;
  --green-dark: #16a34a;
  --shadow: 0 18px 60px rgba(8, 17, 28, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 31, 0.9);
  backdrop-filter: blur(16px);
}

.nav,
.hero-inner,
.section-inner,
.footer-inner,
.footer-bottom {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 34px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--green);
  font-size: 18px;
  letter-spacing: 0;
}

.brand-logo {
  width: 48px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: #06120c;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.small {
  min-height: 38px;
  padding: 0 16px;
}

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

.button:hover,
.service-card:hover {
  transform: translateY(-4px);
}

.hero {
  min-height: 690px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 64% 24%, rgba(34, 197, 94, 0.18), transparent 28%),
    linear-gradient(135deg, #050b13 0%, #081525 62%, #03120b 100%);
}

.hero-inner {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  align-items: center;
  gap: 44px;
  padding: 62px 0;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow,
.section-label,
.article-meta {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.identity {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 999px;
  color: #dffdea;
  background: rgba(34, 197, 94, 0.08);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 72px);
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  font-size: 21px;
}

.lead {
  margin-top: 22px;
  max-width: 590px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.signature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.68);
}

.signature {
  color: var(--green);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 42px;
  line-height: 1;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.portrait {
  position: absolute;
  left: -8%;
  bottom: -80px;
  width: min(600px, 100%);
  border-radius: 0;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.45));
}

.analytics-panel {
  position: absolute;
  right: 0;
  top: 58px;
  width: min(430px, 92%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(8, 17, 28, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.panel-head {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.panel-head strong {
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.panel-head em {
  color: var(--green);
  font-size: 15px;
  font-style: normal;
}

.trend-chart {
  width: 100%;
  height: auto;
  margin: 18px 0 14px;
}

.chart-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

.chart-area {
  fill: url("#chartFill");
}

.chart-line {
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5));
}

.chart-dot {
  fill: #8bf5b0;
  stroke: var(--green);
  stroke-width: 3;
}

.chart-months text {
  fill: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-metrics span {
  padding: 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.mini-metrics strong {
  display: block;
  color: #fff;
  font-size: 20px;
}

.section {
  padding: 86px 0;
  background: var(--paper);
}

.section.alt {
  background: #fff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 720px;
  font-size: clamp(30px, 3.2vw, 42px);
}

.section-head h2.one-line-title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(30px, 2.9vw, 40px);
}

.section-head.centered {
  display: block;
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
}

.section-head.centered p {
  margin: 12px auto 0;
}

.problems {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.problems .section-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.problems .section-head h2 {
  font-size: clamp(38px, 5vw, 56px);
}

.problems .section-head p {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.problem-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 156px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(255, 255, 255, 0) 42%),
    #fff;
  box-shadow: 0 18px 48px rgba(8, 17, 28, 0.08);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.problem-item::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 110px;
  height: 42px;
  opacity: 0.18;
  border-bottom: 3px solid var(--green);
  border-right: 3px solid var(--green);
  transform: skewX(-18deg);
}

.problem-item:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 197, 94, 0.34);
  box-shadow: 0 26px 70px rgba(8, 17, 28, 0.12);
}

.icon,
.service-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #05200f;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.86), transparent 32%),
    rgba(34, 197, 94, 0.16);
  font-size: 22px;
  font-weight: 900;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon {
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.25);
  font-size: 18px;
  position: relative;
}

.service-icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 42%);
  pointer-events: none;
}

.service-icon svg {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-item p {
  margin-top: 8px;
  max-width: 430px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.problem-item h3 {
  color: var(--ink);
  font-size: 23px;
}

.problems .icon {
  width: 56px;
  height: 56px;
  border-color: rgba(34, 197, 94, 0.28);
  color: #062012;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), transparent 32%),
    linear-gradient(135deg, #dcfce7, #86efac);
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.16);
  font-size: 25px;
}

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

.service-card,
.case-card,
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(8, 17, 28, 0.03);
}

.service-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-body {
  padding: 22px;
}

.service-body h3 {
  margin-top: 16px;
}

.service-body p,
.case-card p,
.article-card p,
.content p,
.content li {
  margin-top: 10px;
  color: var(--muted);
}

.service-body a,
.article-link,
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 900;
}

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

.case-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
}

.case-type {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.case-card h3 {
  margin-top: 8px;
  font-size: 25px;
}

.before-after {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink);
  font-weight: 900;
}

.before-after strong,
.metric {
  color: var(--green-dark);
}

.metric {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 900;
}

.case-sparkline {
  width: 100%;
  height: 70px;
  margin-top: 16px;
  padding: 8px 0 0;
}

.case-sparkline path {
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-width: 5;
  filter: drop-shadow(0 8px 12px rgba(34, 197, 94, 0.18));
}

.article-card {
  min-height: 320px;
  padding: 24px;
  display: grid;
  align-content: start;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  border: 1px solid #cfe8d7;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--green-dark);
  background: #f0fdf4;
  font-size: 12px;
  font-weight: 900;
}

.cta-band {
  padding: 68px 0;
  color: #fff;
  background: linear-gradient(135deg, #07111f 0%, #06140d 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  gap: 24px;
}

.qr-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.qr-card img {
  width: 108px;
  height: 108px;
  border-radius: 6px;
  background: #fff;
}

.qr-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.cta-band p {
  max-width: 650px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #050b13;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0 34px;
}

.footer-brand {
  color: #fff;
}

.footer-bio p {
  max-width: 300px;
  margin-top: 16px;
}

.footer-column {
  display: grid;
  gap: 9px;
}

.footer-column h3 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
}

.footer-column a:hover {
  color: var(--green);
}

.footer-qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}

.footer-qr img {
  width: 76px;
  height: 76px;
  border-radius: 6px;
  background: #fff;
}

.footer-qr p {
  max-width: 150px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.page-hero {
  padding: 92px 0 74px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  background:
    radial-gradient(circle at 74% 20%, rgba(34, 197, 94, 0.2), transparent 26%),
    linear-gradient(135deg, #050b13 0%, #081525 64%, #06140d 100%);
}

.page-hero p {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 64px);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 44px;
}

.page-data-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(8, 17, 28, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.archive-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.archive-tabs span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 900;
}

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

.case-library-card {
  min-height: 340px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(8, 17, 28, 0.03);
}

.case-library-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(255, 255, 255, 0) 46%),
    #fff;
  box-shadow: var(--shadow);
}

.case-library-card.placeholder,
.content-row.draft {
  border-style: dashed;
  background: #fbfdfc;
}

.case-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.status-pill {
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--green-dark);
  background: #f0fdf4;
  font-size: 12px;
  font-weight: 900;
}

.case-library-card h3 {
  font-size: 27px;
}

.case-library-card p {
  margin-top: 10px;
  color: var(--muted);
}

.case-facts {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.case-facts span {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.case-facts strong {
  min-width: 64px;
  color: var(--ink);
}

.content-list {
  display: grid;
  gap: 16px;
}

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

.cluster-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(8, 17, 28, 0.03);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.cluster-card:hover {
  border-color: rgba(34, 197, 94, 0.22);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.cluster-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cluster-card-body {
  padding: 20px 20px 22px;
}

.cluster-card strong {
  display: block;
  color: var(--green-dark);
  font-size: 13px;
}

.cluster-card h3 {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.cluster-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-kicker a {
  color: var(--green-dark);
  font-weight: 900;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.article-nav a,
.related-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.related-box {
  margin-top: 36px;
}

.related-box h3 {
  margin: 0 0 12px;
}

.related-box a {
  display: block;
  margin-top: 8px;
}

.content-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(8, 17, 28, 0.03);
}

.content-row.featured {
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(255, 255, 255, 0) 42%),
    #fff;
  box-shadow: var(--shadow);
}

.content-row h3 {
  font-size: 26px;
}

.content-row p:not(.article-meta) {
  margin-top: 10px;
  max-width: 720px;
  color: var(--muted);
}

.page-data-card span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.page-data-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
}

.page-data-card p {
  font-size: 15px;
}

.mini-line {
  width: 100%;
  height: 82px;
  margin-top: 14px;
}

.mini-line path {
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-width: 5;
  filter: drop-shadow(0 8px 14px rgba(34, 197, 94, 0.28));
}

.content {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.content h2 {
  margin-top: 42px;
  font-size: 30px;
}

.content h3 {
  margin-top: 28px;
}

.content p,
.content ul,
.content ol {
  margin-top: 16px;
}

.article-content ul {
  margin-bottom: 24px;
  padding: 22px 24px 22px 44px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #f8fafc;
}

.article-content li {
  margin: 9px 0;
  color: #334155;
  line-height: 1.85;
}

.content a {
  color: var(--green-dark);
  font-weight: 900;
}

.article-hero .tag-list {
  margin-top: 22px;
}

.article-content {
  font-size: 18px;
}

.article-lead {
  padding: 22px 24px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(8, 17, 28, 0.03);
}

.article-cta {
  margin-top: 46px;
  padding: 28px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #07111f 0%, #06140d 100%);
}

.article-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.article-cta .button {
  margin-top: 20px;
}

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

.deliverable-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(8, 17, 28, 0.03);
}

.deliverable-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  font-weight: 900;
}

.deliverable-grid span svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deliverable-grid h3 {
  margin-top: 16px;
}

.deliverable-grid p {
  margin-top: 10px;
  color: var(--muted);
}

.table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table th,
.table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  background: #eef4ef;
}

@media (max-width: 1040px) {
  .hero-inner,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-library-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cluster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .deliverable-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    min-height: 500px;
  }
}

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-inner,
  .page-hero-grid,
  .problem-grid,
  .service-grid,
  .case-grid,
  .article-grid,
  .case-library-grid,
  .cluster-grid,
  .article-nav,
  .deliverable-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .content-row {
    grid-template-columns: 1fr;
  }

  .problem-item.wide {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 48px 0 30px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .portrait {
    left: 50%;
    bottom: -54px;
    width: min(520px, 114%);
    transform: translateX(-50%);
  }

  .analytics-panel {
    right: 50%;
    top: 0;
    transform: translateX(50%);
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 62px 0 52px;
  }

  .section-head,
  .cta-inner,
  .cta-contact,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-contact {
    display: grid;
    grid-template-columns: 1fr;
  }
}
