:root {
  --brand-ink: #07110f;
  --brand-teal: #22c7a9;
  --brand-gold: #f2b94b;
  --brand-blue: #65d7ff;
  --brand-paper: #fbfcfd;
  --brand-line: #dfe7e3;
}

.subpage {
  color: #14201d;
  background: var(--brand-paper);
}

.subpage .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(7, 17, 15, 0.08);
}

.subpage .nav {
  color: var(--brand-ink);
}

.subpage .brand-text small,
.subpage .nav-menu a {
  color: #65736f;
}

.subpage .nav-menu a:hover,
.subpage .nav-menu a[aria-current="page"] {
  color: #087e6c;
}

.subpage .nav-cta {
  color: #ffffff;
  background: var(--brand-ink);
}

.subpage .nav-toggle {
  border-color: rgba(7, 17, 15, 0.14);
  background: #f5f8f7;
}

.subpage .nav-toggle span {
  background: var(--brand-ink);
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--brand-line);
  background:
    linear-gradient(rgba(7, 17, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 15, 0.035) 1px, transparent 1px),
    #f8fbff;
  background-size: 48px 48px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(248, 251, 255, 0.98) 5%, rgba(248, 251, 255, 0.7) 48%, rgba(101, 215, 255, 0.1));
  pointer-events: none;
}

.lead-hero-inner,
.case-library-hero-inner,
.detail-hero-inner,
.about-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 620px;
  padding: 90px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 78px;
  align-items: center;
}

.hero-badge,
.page-kicker,
.case-tag,
.detail-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  color: #087e6c;
  font-size: 13px;
  font-weight: 900;
}

.hero-badge {
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid rgba(34, 199, 169, 0.24);
  border-radius: 999px;
  background: rgba(34, 199, 169, 0.08);
}

.page-hero h1 {
  margin: 0;
  color: #101828;
  font-size: 58px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-emphasis {
  display: block;
  margin-top: 10px;
  color: transparent;
  background: linear-gradient(96deg, #18947d, #398bd8 56%, #3656cc);
  -webkit-background-clip: text;
  background-clip: text;
}

.page-hero-copy > p:not(.hero-badge) {
  max-width: 680px;
  margin: 26px 0 0;
  color: #5d6a67;
  font-size: 18px;
  line-height: 1.8;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.page-button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  font-weight: 900;
}

.page-button.primary {
  color: #ffffff;
  background: var(--brand-ink);
  box-shadow: 0 16px 34px rgba(7, 17, 15, 0.18);
}

.page-button.secondary {
  color: var(--brand-ink);
  border: 1px solid var(--brand-line);
  background: #ffffff;
}

.lead-hero-visual,
.case-stats-panel,
.detail-result-panel {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(31, 76, 120, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(40, 76, 110, 0.14);
}

.lead-hero-visual::before,
.case-stats-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue), var(--brand-gold));
}

.audit-head,
.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brand-line);
}

.audit-head strong,
.result-head strong {
  color: #10201d;
  font-size: 16px;
}

.live-state {
  color: #087e6c;
  font-size: 12px;
  font-weight: 900;
}

.audit-query {
  margin: 20px 0;
  padding: 14px;
  color: #5d6a67;
  border-radius: 6px;
  background: #f4f7f6;
  font-size: 13px;
}

.audit-list {
  display: grid;
  gap: 12px;
}

.audit-item {
  padding: 14px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--brand-line);
  border-radius: 7px;
}

.audit-item img {
  width: 34px;
  height: 34px;
}

.audit-item strong,
.audit-item small {
  display: block;
}

.audit-item small {
  color: #7a8682;
}

.audit-item > b {
  color: #087e6c;
  font-size: 22px;
}

.platform-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-pills span,
.detail-tags span,
.filter-button {
  padding: 7px 11px;
  color: #52615d;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.page-section {
  padding: 104px 0;
}

.page-section.alt {
  background: #f5f8f7;
  border-block: 1px solid var(--brand-line);
}

.section-intro {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-intro.center {
  margin-inline: auto;
  text-align: center;
}

.page-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
}

.section-intro h2,
.content-heading {
  margin: 0;
  color: #10201d;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-intro > p:not(.page-kicker) {
  margin: 18px 0 0;
  color: #687570;
  font-size: 17px;
  line-height: 1.8;
}

.comparison-grid,
.trend-panels,
.about-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.comparison-column {
  padding: 32px;
  border-left: 3px solid #cdd8d4;
  background: #ffffff;
}

.comparison-column.geo {
  border-left-color: var(--brand-teal);
  background: #f0fbf8;
}

.comparison-column h3 {
  margin: 0;
  font-size: 26px;
}

.comparison-column > p {
  color: #687570;
}

.comparison-flow {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.comparison-flow span {
  padding: 13px 15px;
  color: #41504c;
  border: 1px solid var(--brand-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.metric-band > div {
  min-height: 150px;
  padding: 26px;
  display: grid;
  align-content: center;
  border-right: 1px solid var(--brand-line);
}

.metric-band > div:last-child {
  border-right: 0;
}

.metric-band strong {
  color: #087e6c;
  font-size: 36px;
  line-height: 1;
}

.metric-band span {
  margin-top: 9px;
  color: #697671;
}

.method-card-grid,
.industry-card-grid,
.resource-card-grid,
.case-grid,
.about-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.method-card,
.industry-card,
.resource-card,
.case-card,
.value-card {
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(21, 50, 43, 0.05);
}

.method-card,
.industry-card,
.value-card {
  padding: 28px;
}

.method-icon,
.value-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf8f5;
}

.method-icon img,
.value-icon img {
  width: 34px;
  height: 34px;
}

.method-card h3,
.industry-card h3,
.resource-card h3,
.case-card h3,
.value-card h3 {
  margin: 20px 0 10px;
  color: #17231f;
  font-size: 21px;
  line-height: 1.35;
}

.method-card p,
.industry-card p,
.resource-card p,
.case-card p,
.value-card p {
  margin: 0;
  color: #697671;
}

.industry-card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.industry-index {
  color: #b3c2bd;
  font-size: 12px;
  font-weight: 900;
}

.industry-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: #4f5f5a;
}

.case-preview-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}

.case-preview,
.case-card {
  overflow: hidden;
}

.case-visual {
  min-height: 210px;
  padding: 24px;
  position: relative;
  display: grid;
  align-content: end;
  color: #ffffff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    #0c2520;
  background-size: 34px 34px;
}

.case-visual.blue { background-color: #162b52; }
.case-visual.green { background-color: #0d3b32; }
.case-visual.graphite { background-color: #242b30; }

.case-visual strong {
  font-size: 30px;
  line-height: 1.15;
}

.case-visual small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.case-preview-content,
.case-card-content,
.resource-card-content {
  padding: 24px;
}

.case-preview-content h3 {
  margin: 10px 0;
  font-size: 22px;
}

.case-preview-content p {
  color: #697671;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: #087e6c;
  font-weight: 900;
}

.resource-card {
  overflow: hidden;
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #82908b;
  font-size: 12px;
}

.consult-band {
  padding: 90px 0;
  color: #ffffff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--brand-ink);
  background-size: 44px 44px;
}

.consult-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 70px;
  align-items: center;
}

.consult-copy h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.2;
}

.consult-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

.subpage .contact-form {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.case-library-hero-inner {
  min-height: 520px;
}

.case-stats-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  overflow: hidden;
}

.case-stats-panel div {
  min-height: 140px;
  padding: 28px;
  display: grid;
  align-content: center;
  border-right: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
}

.case-stats-panel div:nth-child(2n) { border-right: 0; }
.case-stats-panel div:nth-last-child(-n + 2) { border-bottom: 0; }

.case-stats-panel strong {
  color: #087e6c;
  font-size: 34px;
}

.case-stats-panel span {
  color: #697671;
}

.case-filter-bar {
  position: sticky;
  top: 72px;
  z-index: 8;
  padding: 14px 0;
  border-bottom: 1px solid var(--brand-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-button {
  cursor: pointer;
}

.filter-button.active {
  color: #ffffff;
  border-color: var(--brand-ink);
  background: var(--brand-ink);
}

.case-card[hidden] {
  display: none;
}

.case-card .case-visual {
  min-height: 180px;
}

.case-card h3 {
  margin-top: 12px;
}

.case-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.case-card-meta span {
  padding: 5px 8px;
  color: #60706b;
  border-radius: 5px;
  background: #f1f5f3;
  font-size: 11px;
}

.detail-hero-inner {
  min-height: 580px;
}

.detail-label {
  margin-bottom: 20px;
}

.detail-hero h1 {
  font-size: 54px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.detail-result-panel {
  color: #ffffff;
  background: #0b211c;
  border-color: rgba(255, 255, 255, 0.1);
}

.detail-result-panel .result-head {
  border-color: rgba(255, 255, 255, 0.12);
}

.detail-result-panel .result-head strong {
  color: #ffffff;
}

.result-row {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-row:last-child { border-bottom: 0; }
.result-row span { color: rgba(255, 255, 255, 0.64); }
.result-row strong { color: #7cebd8; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 70px;
  align-items: start;
}

.article-body {
  max-width: 780px;
}

.article-body h2 {
  margin: 70px 0 18px;
  color: #10201d;
  font-size: 34px;
}

.article-body h2:first-child { margin-top: 0; }

.article-body p,
.article-body li {
  color: #5f6d68;
  font-size: 17px;
  line-height: 1.9;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  color: #184f46;
  border-left: 4px solid var(--brand-teal);
  background: #effaf7;
  font-weight: 800;
}

.article-aside {
  position: sticky;
  top: 112px;
  padding: 24px;
  border-left: 1px solid var(--brand-line);
}

.article-aside strong {
  display: block;
  margin-bottom: 14px;
}

.article-aside a {
  display: block;
  padding: 10px 0;
  color: #687570;
  border-bottom: 1px solid var(--brand-line);
}

.solution-timeline {
  display: grid;
  gap: 0;
  margin: 30px 0;
}

.timeline-step {
  padding: 22px 0 22px 54px;
  position: relative;
  border-left: 1px solid #b8d8d1;
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: -20px;
  top: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: #087e6c;
  font-size: 12px;
  font-weight: 900;
}

.timeline-step h3 {
  margin: 0 0 7px;
}

.evidence-board {
  margin-top: 30px;
  padding: 28px;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #f6f9f8;
}

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

.evidence-grid div {
  padding: 18px;
  border-radius: 6px;
  background: #ffffff;
}

.evidence-grid strong,
.evidence-grid span {
  display: block;
}

.evidence-grid strong { color: #087e6c; }
.evidence-grid span { margin-top: 5px; color: #73807c; font-size: 13px; }

.about-hero-inner {
  min-height: 560px;
}

.about-brand-display {
  padding: 34px;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(12, 45, 38, 0.1);
}

.about-brand-display img {
  width: 100%;
}

.name-story {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 70px;
}

.name-seal {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--brand-line);
  background: #f3f8f6;
}

.name-seal img {
  width: 72%;
  height: 72%;
}

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

.name-meaning div {
  padding: 20px;
  border-top: 2px solid var(--brand-teal);
  background: #f6f9f8;
}

.name-meaning strong {
  display: block;
  color: #087e6c;
  font-size: 28px;
}

.name-meaning span {
  display: block;
  margin-top: 8px;
  color: #697671;
}

@media (max-width: 1040px) {
  .subpage .nav-menu,
  .subpage .nav-cta { display: none; }

  .subpage .nav-toggle { display: block; }

  .subpage .nav-menu.open {
    display: flex;
  }

  .lead-hero-inner,
  .case-library-hero-inner,
  .detail-hero-inner,
  .about-hero-inner,
  .consult-layout,
  .article-layout,
  .name-story {
    grid-template-columns: 1fr;
  }

  .article-aside { display: none; }
  .method-card-grid,
  .industry-card-grid,
  .resource-card-grid,
  .case-grid,
  .about-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .case-preview-grid { grid-template-columns: 1fr 1fr; }
  .case-preview:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .page-shell { width: min(100% - 28px, 1180px); }

  .lead-hero-inner,
  .case-library-hero-inner,
  .detail-hero-inner,
  .about-hero-inner {
    min-height: 0;
    padding: 58px 0 42px;
    gap: 42px;
  }

  .lead-hero-inner,
  .case-library-hero-inner,
  .detail-hero-inner,
  .about-hero-inner {
    padding: 42px 0 24px;
    gap: 24px;
  }

  .page-hero h1,
  .detail-hero h1 { font-size: 40px; }
  .page-hero-copy > p:not(.hero-badge) { font-size: 16px; }
  .page-actions { flex-direction: column; }
  .page-button { width: 100%; }

  .lead-hero .page-actions,
  .case-library-hero .page-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-hero .page-button,
  .case-library-hero .page-button {
    width: auto;
    padding-inline: 10px;
    font-size: 14px;
  }

  .lead-hero-visual {
    height: 180px;
    padding: 18px;
    overflow: hidden;
  }

  .lead-hero-visual .audit-list {
    display: none;
  }

  .lead-hero-visual .audit-query {
    margin: 14px 0;
    padding: 10px;
  }

  .lead-hero-visual .platform-pills {
    margin-top: 12px;
  }

  .case-library-hero .case-stats-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .case-library-hero .case-stats-panel div {
    min-height: 96px;
    padding: 12px 8px;
    border-bottom: 0;
  }

  .case-library-hero .case-stats-panel strong {
    font-size: 26px;
  }

  .case-library-hero .case-stats-panel span {
    font-size: 11px;
  }

  .detail-result-panel {
    padding: 18px;
  }

  .detail-result-panel .result-row {
    padding: 10px 0;
    font-size: 13px;
  }

  .about-brand-display {
    height: 170px;
    padding: 20px;
    display: grid;
    place-items: center;
    overflow: hidden;
  }

  .page-section { padding: 72px 0; }
  .section-intro h2,
  .content-heading,
  .consult-copy h2 { font-size: 32px; }

  .comparison-grid,
  .trend-panels,
  .about-principles,
  .method-card-grid,
  .industry-card-grid,
  .resource-card-grid,
  .case-grid,
  .about-value-grid,
  .case-preview-grid,
  .metric-band,
  .name-meaning,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .case-preview:first-child { grid-column: auto; }

  .metric-band > div {
    min-height: 110px;
    border-right: 0;
    border-bottom: 1px solid var(--brand-line);
  }

  .metric-band > div:last-child { border-bottom: 0; }
  .case-filter-bar { top: 72px; overflow-x: auto; }
  .filter-list { width: max-content; flex-wrap: nowrap; }
  .consult-band { padding: 72px 0; }
  .consult-layout { gap: 38px; }
  .name-seal { width: min(280px, 100%); }
  .article-body h2 { font-size: 28px; }
  .article-body p,
  .article-body li { font-size: 16px; }
}
