:root {
  --ink: #16262e;
  --muted: #4f5f67;
  --paper: #f6f8f9;
  --surface: #ffffff;
  --soft: #e9f0f2;
  --line: #dbe3e6;
  --teal: #0e6f7c;
  --teal-dark: #0b4d58;
  --green: #0e6f7c;
  --coral: #0e6f7c;
  --gold: #4f5f67;
  --blue: #0b4d58;
  --shadow: 0 24px 70px rgba(21, 27, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

main {
  display: flex;
  flex-direction: column;
}

.hero {
  order: 10;
}

#featured-study {
  order: 65;
}

#about {
  order: 15;
}

.trust-strip {
  order: 20;
}

.intro-band {
  order: 30;
}

#services {
  order: 40;
}

#packages {
  order: 50;
}

#work {
  order: 60;
}

#report {
  order: 70;
}

#results {
  order: 80;
}

#builder {
  order: 90;
}

#explorer {
  order: 100;
}

#workflow {
  order: 110;
}

#standards {
  order: 120;
}

#specs {
  order: 130;
}

#stack {
  order: 140;
}

#handoff {
  order: 150;
}

#faq {
  order: 160;
}

.notice {
  order: 170;
}

#contact {
  order: 180;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(18, 40, 58, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 34px);
  width: min(100%, 1280px);
  min-height: 72px;
  margin: 0 auto;
}

main,
section,
.site-header,
.site-footer {
  max-width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 780;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
}

.menu-toggle > span:not(.menu-label):not(.sr-only) {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-label {
  display: none;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

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

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

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

.nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 760;
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-trigger {
  min-height: 44px;
  padding: 0 12px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.nav-trigger::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
}

.nav-group:hover .nav-trigger,
.nav-group:focus-within .nav-trigger,
.nav-group.open .nav-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(320px, calc(100vw - 36px));
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(219, 228, 222, 0.95);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(12, 27, 37, 0.2);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu,
.nav-group.open .nav-menu {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-menu a {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--teal-dark);
  background: var(--soft);
  outline: none;
}

.nav-menu strong {
  font-size: 0.93rem;
  line-height: 1.25;
}

.nav-menu span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 540;
  line-height: 1.35;
  white-space: normal;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 780;
  text-decoration: none;
}

.header-link:hover {
  color: #fff;
}

.button.header-cta {
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  min-height: calc(100svh - 70px);
  padding: clamp(48px, 7vw, 90px) clamp(18px, 5vw, 72px) clamp(40px, 5vw, 70px);
  background: linear-gradient(180deg, #f8fbfb 0%, #f3f7f6 100%);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: 700;
}

h1,
h2,
h3,
p,
dt,
dd {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.45rem, 5.6vw, 5.3rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h1 span {
  display: inline;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #315d7f;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.4;
}

.hero-actions,
.contact-actions,
.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 740;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.55);
}

.button.primary {
  color: #fff;
  background: #e95658;
  border-color: #e95658;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
}

a.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hero-lines {
  display: grid;
  max-width: 820px;
  margin: 34px 0 0;
  padding: 0;
  color: #4f6e86;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.45;
  list-style: none;
}

.hero-lines li {
  padding: 17px 0;
  border-top: 1px solid rgba(49, 93, 127, 0.22);
}

.hero-lines li:last-child {
  border-bottom: 1px solid rgba(49, 93, 127, 0.22);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats dt {
  color: var(--ink);
  font-weight: 820;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.analysis-console {
  width: min(100%, 620px);
  justify-self: end;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.preview-top,
.console-top,
.console-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  color: var(--muted);
  font-size: 0.84rem;
}

.preview-top,
.console-top {
  border-bottom: 1px solid var(--line);
  background: #fbfcfa;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 740;
}

.status-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(124, 166, 79, 0.16);
}

.hero-result {
  margin: 0;
  padding: 18px;
}

.hero-result img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-result-featured img {
  aspect-ratio: 1.28;
  padding: 14px;
  background: #f8faf9;
}

.hero-result .result-image-button,
.hero-mini-gallery .result-image-button {
  border: 0;
  border-radius: 8px;
}

.hero-result .result-image-button img {
  transition: filter 160ms ease;
}

.hero-result figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-result figcaption strong {
  color: var(--ink);
}

.hero-result figcaption span {
  text-align: right;
}

.hero-result .figure-source {
  margin: 0;
  padding-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.preview-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 18px;
}

.preview-deliverables span {
  padding: 6px 9px;
  color: var(--teal-dark);
  background: #f2f7f5;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
}

.hero-mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 18px 16px;
}

.hero-mini-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-mini-gallery .result-image-button {
  min-width: 0;
}

.portfolio-source {
  padding-top: 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(48px, 6vw, 72px);
}

.trust-strip article {
  min-height: 180px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.trust-strip article:first-child {
  border-radius: 8px 0 0 8px;
}

.trust-strip article:last-child {
  border-radius: 0 8px 8px 0;
}

.trust-strip span {
  display: block;
  margin-bottom: 22px;
  color: var(--teal);
  font-weight: 820;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
}

.console-body {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 18px;
  padding: 20px;
}

.code-lines {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px 12px;
  align-content: start;
  color: rgba(255, 255, 255, 0.72);
}

.code-lines span {
  color: rgba(159, 231, 216, 0.58);
  font-size: 0.78rem;
}

.code-lines code {
  color: #e9f3ee;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.86rem;
}

.plot-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.05fr 0.95fr;
  gap: 12px;
  min-height: 250px;
}

.mini-volcano,
.mini-pca,
.mini-heatmap {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.mini-volcano {
  grid-column: span 2;
}

.mini-volcano::before,
.mini-volcano::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.18);
}

.mini-volcano::before {
  left: 50%;
  top: 12%;
  bottom: 12%;
  width: 1px;
}

.mini-volcano::after {
  left: 8%;
  right: 8%;
  bottom: 28%;
  height: 1px;
}

.mini-volcano span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.mini-pca span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.mini-pca span:nth-child(1) { left: 22%; top: 28%; }
.mini-pca span:nth-child(2) { left: 31%; top: 42%; }
.mini-pca span:nth-child(3) { left: 40%; top: 34%; }
.mini-pca span:nth-child(4) { right: 24%; bottom: 26%; background: #9fe7d8; }
.mini-pca span:nth-child(5) { right: 34%; bottom: 42%; background: #9fe7d8; }
.mini-pca span:nth-child(6) { right: 18%; bottom: 46%; background: #9fe7d8; }

.mini-heatmap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 8px;
}

.mini-heatmap span {
  min-height: 20px;
  border-radius: 4px;
  background: rgba(159, 231, 216, 0.64);
}

.mini-heatmap span:nth-child(3n) {
  background: rgba(216, 110, 80, 0.72);
}

.mini-heatmap span:nth-child(4n) {
  background: rgba(189, 135, 39, 0.78);
}

.console-metrics {
  align-items: stretch;
  padding-top: 0;
}

.console-metrics span {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.console-metrics strong {
  display: block;
  color: #fff;
  line-height: 1.15;
}

.section,
.workflow,
.contact,
.notice {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section > *,
.workflow > *,
.contact > *,
.notice > *,
.trust-strip {
  max-width: 1280px;
  margin-inline: auto;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}

.featured-study {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  background: linear-gradient(135deg, #eaf3f1, #f7faf8 72%);
  border-block: 1px solid var(--line);
}

.featured-study-copy h2 {
  max-width: 660px;
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.4vw, 3.7rem);
  line-height: 1.14;
}

.featured-study-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: #315450;
}

.featured-study-copy .featured-study-note {
  font-size: 0.91rem;
  font-weight: 700;
}

.featured-study-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.featured-study-visual {
  display: block;
  overflow: hidden;
  padding: 14px;
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid #cedfdb;
  border-radius: 12px;
  box-shadow: 0 22px 55px rgba(26, 63, 58, 0.12);
  text-decoration: none;
}

.featured-study-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.featured-study-visual span {
  display: block;
  padding: 8px 4px 2px;
  font-size: 0.81rem;
  font-weight: 740;
}

.intro-band {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: end;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.report {
  background: #f8fbf8;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.report-layout > div:first-child p:not(.eyebrow) {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.07rem;
}

.report-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.report-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: var(--teal);
  color: #fff;
}

.report-card-top span {
  font-weight: 820;
}

.report-card-top strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.analysis-includes {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.analysis-includes li {
  position: relative;
  padding: 18px 22px 18px 52px;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.analysis-includes li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(124, 166, 79, 0.14);
}

.service-grid,
.work-grid,
.results-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.service-extra,
.package-pricing {
  margin: 18px 0 0;
  color: var(--muted);
}

.service-card,
.package-card,
.work-card,
.steps li {
  position: relative;
  min-height: 205px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(21, 27, 26, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::before,
.package-card::before,
.work-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), rgba(66, 103, 166, 0.72), transparent);
  opacity: 0.78;
}

.service-card:hover,
.package-card:hover,
.work-card:hover,
.result-card:hover,
.handoff-grid article:hover,
.faq-list details:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 18px 44px rgba(21, 27, 26, 0.085);
}

.packages {
  background: #f8fbf8;
}

.package-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.package-card.highlighted {
  border-color: rgba(15, 118, 110, 0.34);
  background: linear-gradient(180deg, #ffffff, #eef7f4);
}

.package-card p {
  margin: 0;
  color: var(--muted);
}

.package-card .package-time {
  margin-top: 0;
  color: var(--teal-dark);
  font-weight: 740;
}

.package-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.builder {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(237, 243, 239, 0.9)),
    var(--soft);
}

.builder-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.builder-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

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

.scope-option {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  min-height: 112px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(21, 27, 26, 0.045);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.scope-option input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
}

.scope-option strong,
.scope-option small {
  display: block;
}

.scope-option strong {
  color: var(--ink);
  line-height: 1.25;
}

.scope-option small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.scope-option:has(input:checked) {
  border-color: rgba(15, 118, 110, 0.42);
  background: linear-gradient(180deg, #ffffff, #f0f8f5);
}

.scope-option:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.25);
  box-shadow: 0 16px 38px rgba(21, 27, 26, 0.07);
}

.brief-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  box-shadow: var(--shadow);
}

.brief-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.brief-top .card-tag {
  color: #9fe7d8;
}

.brief-top strong {
  text-align: right;
}

.brief-card p,
.brief-card li,
.copy-status {
  color: rgba(255, 255, 255, 0.75);
}

.brief-card p,
.copy-status {
  margin: 0;
}

.brief-card h3 {
  margin-bottom: 12px;
  color: #fff;
}

.brief-card ul {
  display: grid;
  gap: 9px;
  padding-left: 18px;
  margin: 0;
}

.brief-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.brief-meta span {
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.brief-meta strong {
  display: block;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.2;
}

.brief-copy {
  width: fit-content;
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.explorer {
  background: var(--surface);
}

.explorer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.explorer-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.explorer-shell {
  overflow: hidden;
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.explorer-tabs {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
  background: #eef3ed;
  border-bottom: 1px solid var(--line);
}

.explorer-tab {
  min-height: 38px;
  padding: 9px 13px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 780;
  cursor: pointer;
  white-space: nowrap;
}

.explorer-tab.active {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.explorer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 18px;
  padding: 22px;
}

.explorer-main {
  min-height: 320px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.explorer-main p {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
}

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

.artifact-item {
  display: grid;
  gap: 5px;
  padding: 13px;
  background: #f8fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.artifact-item strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.artifact-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.quality-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
}

.quality-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.service-card.featured {
  background: linear-gradient(180deg, #ffffff, #eef7f4);
  border-color: rgba(15, 118, 110, 0.28);
}

.card-tag {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
}

.service-card p,
.work-card p,
.steps p,
.contact p,
.notice p {
  margin: 0;
  color: var(--muted);
}

.work {
  background: var(--soft);
}

.work-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.work-card.wide {
  grid-column: span 2;
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.92), rgba(66, 103, 166, 0.86)),
    var(--teal);
  color: #fff;
}

.work-card.wide p,
.work-card.wide .card-tag {
  color: rgba(255, 255, 255, 0.82);
}

.deliverable-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.deliverable-tags span {
  padding: 7px 9px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 760;
}

.work-card:not(.wide) .deliverable-tags span {
  color: var(--teal-dark);
  background: #eef7f4;
  border-color: rgba(15, 118, 110, 0.18);
}

.work-card a {
  width: fit-content;
  color: var(--teal-dark);
  font-weight: 780;
  text-decoration: none;
}

.work-card.wide a {
  color: #fff;
}

.results {
  background: var(--surface);
}

.result-card {
  position: relative;
  overflow: hidden;
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(21, 27, 26, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.result-image-button {
  display: block;
  width: 100%;
  padding: 0;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: zoom-in;
}

.result-image-button:hover img {
  filter: saturate(1.08) contrast(1.03);
}

.result-image-button:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
}

.result-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: #fff;
  transition: filter 160ms ease;
}

.result-card div {
  padding: 22px;
}

.result-card p,
.results-note {
  margin: 0;
  color: var(--muted);
}

.result-card .figure-source {
  margin-top: 12px;
  font-size: 0.78rem;
}

.main-result {
  grid-column: span 2;
}

.main-result img {
  aspect-ratio: 1.95;
}

.results-note {
  max-width: 860px;
  margin-top: 18px;
  font-size: 0.95rem;
}

.standards {
  background: #101817;
  color: #fff;
}

.standards-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.standards-heading .eyebrow {
  color: #9fe7d8;
}

.standards-heading p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.03rem;
}

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

.standards-grid article {
  min-height: 220px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.standards-grid span {
  display: block;
  margin-bottom: 24px;
  color: #9fe7d8;
  font-weight: 820;
}

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

.specs {
  background: var(--surface);
}

.spec-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(21, 27, 26, 0.055);
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.spec-table div:first-child {
  border-top: 0;
}

.spec-table strong,
.spec-table span {
  padding: 17px 20px;
}

.spec-table strong {
  color: var(--teal-dark);
  background: #eef7f4;
}

.spec-table span {
  color: var(--muted);
  background: #fbfcfa;
}

.workflow {
  background: #f8fbf8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--coral);
  font-weight: 820;
}

.stack {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-cloud span {
  padding: 10px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.handoff {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

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

.handoff-grid article {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  padding: 24px;
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.handoff-grid ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.faq {
  background: #f8fbf8;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 960px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(21, 27, 26, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 780;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list p {
  margin: 0;
  padding: 16px 20px 20px;
  color: var(--muted);
}

.notice {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
  align-items: start;
  background: var(--ink);
  color: #fff;
}

.notice p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  background:
    linear-gradient(120deg, rgba(18, 40, 58, 0.96), rgba(15, 118, 110, 0.86)),
    var(--teal-dark);
  color: #fff;
}

.contact div:first-child {
  max-width: 820px;
}

.contact .eyebrow {
  color: #9fe7d8;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact #contact-email {
  color: #fff;
  font-weight: 740;
  text-underline-offset: 3px;
}

.contact-actions {
  align-content: end;
  justify-content: flex-end;
  margin-top: 0;
}

.contact .button {
  white-space: nowrap;
}

.contact .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.image-modal[hidden] {
  display: none;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 17, 0.72);
}

.image-modal-panel {
  position: relative;
  width: min(1100px, 100%);
  max-height: min(86vh, 860px);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}

.image-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.image-modal-top h2 {
  font-size: 1rem;
}

.modal-close {
  min-height: 36px;
  padding: 8px 12px;
  color: var(--teal-dark);
  background: #eef7f4;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  font-weight: 760;
  cursor: pointer;
}

.image-modal-panel img {
  display: block;
  width: 100%;
  max-height: calc(86vh - 66px);
  object-fit: contain;
  background: #fff;
}

@media (max-width: 680px) {
  .image-modal {
    padding: 12px;
  }

  .image-modal-panel {
    overflow: auto;
  }

  .image-modal-top {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 1;
    background: var(--surface);
  }

  .image-modal-panel img {
    width: max(100%, 680px);
    max-height: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .featured-study,
  .builder-heading,
  .builder-shell,
  .explorer-heading,
  .explorer-panel,
  .standards-heading,
  .report-layout,
  .intro-band,
  .notice,
  .contact,
  .stack {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .analysis-console {
    justify-self: stretch;
  }

  .service-grid,
  .work-grid,
  .results-grid,
  .package-grid,
  .builder-options,
  .artifact-list,
  .standards-grid,
  .trust-strip,
  .handoff-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .work-card.wide {
    grid-column: span 2;
  }

  .main-result {
    grid-column: span 2;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero-stats,
  .trust-strip,
  .service-grid,
  .work-grid,
  .results-grid,
  .package-grid,
  .builder-options,
  .brief-meta,
  .standards-grid,
  .handoff-grid,
  .steps,
  .console-body,
  .console-metrics {
    grid-template-columns: 1fr;
  }

  .console-metrics {
    display: grid;
  }

  .work-card.wide {
    grid-column: span 1;
  }

  .main-result {
    grid-column: span 1;
  }

  .plot-board {
    grid-template-columns: 1fr;
  }

  .mini-volcano {
    grid-column: span 1;
    min-height: 118px;
  }

  .contact .button,
  .hero-actions .button,
  .report-actions .button {
    width: 100%;
    white-space: normal;
  }

  .spec-table div {
    grid-template-columns: 1fr;
  }

  .trust-strip article,
  .trust-strip article:first-child,
  .trust-strip article:last-child {
    border-radius: 8px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    padding: 0 18px;
  }

  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
  }

  .brand {
    order: 1;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
    min-width: 68px;
    min-height: 44px;
    padding: 0 13px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 820;
    cursor: pointer;
    margin-left: auto;
  }

  .mobile-menu-button:hover,
  .mobile-menu-button:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    outline: none;
  }

  .header-actions {
    order: 3;
    margin-left: auto;
  }

  .nav {
    display: none;
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    padding: 0 0 16px;
    color: var(--ink);
  }

  .site-header.nav-open .nav {
    display: grid;
    gap: 8px;
  }

  .nav-group {
    display: grid;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(219, 228, 222, 0.95);
    border-radius: 8px;
  }

  .nav-trigger {
    justify-content: space-between;
    width: 100%;
    color: var(--ink);
    text-align: left;
  }

  .nav-group:hover .nav-trigger,
  .nav-group:focus-within .nav-trigger,
  .nav-group.open .nav-trigger {
    color: var(--teal-dark);
    background: var(--soft);
  }

  .nav-menu {
    position: static;
    display: none;
    width: 100%;
    padding: 0 8px 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-group.open .nav-menu {
    display: grid;
  }

  .nav-group:hover .nav-menu,
  .nav-group:focus-within .nav-menu {
    transform: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: stretch;
    padding: 0 14px;
  }

  .brand {
    max-width: calc(100% - 58px);
    min-height: 58px;
  }

  .brand span:last-child {
    line-height: 1.15;
  }

  .header-actions {
    order: 3;
    width: 100%;
    margin-left: 0;
    display: none;
    padding: 0 0 14px;
  }

  .header-link,
  .button.header-cta {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    white-space: normal;
  }

  .button.header-cta {
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .site-header.nav-open .header-actions {
    display: flex;
    padding-bottom: 0;
  }

  .site-header.nav-open .nav {
    padding-top: 4px;
  }

  .hero {
    padding-inline: 24px;
    overflow: hidden;
  }

  .hero-copy,
  .lead,
  .hero-lines {
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    max-width: calc(100vw - 48px);
    font-size: clamp(2rem, 9.2vw, 2.28rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .hero-mini-gallery {
    grid-template-columns: 1fr;
  }
}

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

  .mobile-menu-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    order: 2;
    position: fixed;
    top: 12px;
    left: min(300px, calc(100vw - 82px));
    z-index: 30;
    min-width: 68px;
    min-height: 44px;
    padding: 0 13px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 820;
    cursor: pointer;
  }

  .mobile-menu-button:hover,
  .mobile-menu-button:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    outline: none;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 68px;
  }

  .brand {
    grid-column: 1;
    min-width: 0;
    max-width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    grid-column: 2;
    justify-self: end;
    width: auto;
    min-width: 68px;
    padding: 0 12px;
    color: #fff;
    opacity: 1;
    visibility: visible;
    margin-left: 0;
  }

  .menu-toggle .menu-label {
    position: static;
    display: inline;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    clip: auto;
    overflow: visible;
    white-space: nowrap;
    background: transparent;
    font-size: 0.76rem;
    font-weight: 820;
    line-height: 1;
  }

  .menu-toggle > span:not(.menu-label):not(.sr-only) {
    display: none;
  }

  .header-actions,
  .nav {
    grid-column: 1 / -1;
  }

  .nav {
    order: 3;
  }

  .header-actions {
    order: 4;
  }

  .hero {
    display: block;
    width: 100%;
    padding: 48px 24px 42px;
  }

  .hero-copy,
  .lead,
  .hero-lines,
  .analysis-console {
    width: 100%;
    max-width: 100%;
  }

  .lead,
  .hero-lines li {
    overflow-wrap: break-word;
  }

  h1 {
    max-width: 20rem;
    font-size: 2rem;
    line-height: 1.08;
  }

  h1 span {
    display: block;
  }

  .lead,
  .hero-lines {
    max-width: 21rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 21rem;
  }

  .menu-toggle {
    display: none !important;
  }
}

/* Headings align with the content below them. */
.section-heading {
  max-width: none;
}

.intro-band > * {
  margin-inline: 0;
}

button {
  font: inherit;
}

.button.primary {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  box-shadow: none;
}

.button.primary:hover,
.button.header-cta:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.brief-card .button.secondary {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.stack > * {
  margin-inline: 0;
}

/* Refinements: flat surfaces, full rows, one margin. */
.service-card::before,
.package-card::before,
.work-card::before {
  display: none;
}

.service-card,
.package-card,
.work-card,
.steps li,
.result-card {
  box-shadow: none;
}

.service-card.featured,
.package-card.highlighted,
.scope-option,
.featured-study,
.builder,
.result-card,
.section,
.explorer-tab.active + .explorer-tab {
  background-image: none;
}

.featured-study {
  background: var(--soft);
}

.featured-study-note {
  margin-top: 16px;
}

.featured-study .analysis-includes {
  margin: 16px 0 0;
  padding: 0;
}

.featured-study .analysis-includes li {
  padding-block: 8px;
}

.work-card {
  justify-content: flex-start;
  gap: 10px;
}

.work-card > a {
  margin-top: auto;
  padding-top: 10px;
}

.work-card > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-card.wide {
  background: var(--teal-dark);
}

.work-card.wide h3 {
  color: #fff;
}

.work-card.wide .deliverable-tags span {
  background: rgba(255, 255, 255, 0.14);
  border-color: transparent;
  color: #fff;
}

.work-card.span-two {
  grid-column: span 2;
}

.results-grid .result-card {
  align-self: stretch;
}

.scope-option {
  min-height: 0;
}

.builder-options {
  align-content: start;
}

.scope-option:last-child {
  grid-column: 1 / -1;
}

.intro-band {
  align-items: start;
}

.trust-strip {
  width: calc(100% - 2 * clamp(18px, 5vw, 72px));
  padding-inline: 0;
  gap: 12px;
}

.trust-strip article,
.trust-strip article:first-child,
.trust-strip article:last-child {
  min-height: 0;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .work-card.span-two {
    grid-column: auto;
  }
}

/* Example results: choose one figure at a time. */
.results-viewer {
  display: grid;
  grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr);
  gap: 20px;
  align-items: start;
}

.figure-picker {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 96px;
}

.figure-picker button {
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.figure-picker button:hover {
  background: var(--soft);
}

.figure-picker button[aria-pressed="true"] {
  background: var(--teal-dark);
  color: #fff;
}

.results-viewer .result-card,
.results-viewer .result-card.main-result {
  grid-column: 2;
  grid-row: 1;
  display: block;
}

.results-viewer .result-card[hidden] {
  display: none;
}

.results-viewer .result-image-button {
  width: 100%;
}

.results-viewer .result-image-button img {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: contain;
  background: #fff;
}

@media (max-width: 760px) {
  .results-viewer {
    grid-template-columns: minmax(0, 1fr);
  }

  .figure-picker {
    position: static;
  }

  .results-viewer .result-card,
  .results-viewer .result-card.main-result {
    grid-column: 1;
    grid-row: auto;
  }

  .results-viewer .result-image-button img {
    height: auto;
    max-height: 60vh;
  }
}

/* Published results directly under the hero. */
.proof-row {
  order: 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: calc(100% - 2 * clamp(18px, 5vw, 72px));
  max-width: 1280px;
  margin: clamp(28px, 4vw, 44px) auto;
}

.proof-row a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 140ms ease;
}

.proof-row a:hover {
  background: var(--line);
  color: var(--ink);
}

.proof-row strong {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--teal-dark);
}

.proof-row span {
  color: var(--muted);
  font-size: 0.95rem;
}

.standards {
  background: var(--ink);
}

@media (max-width: 760px) {
  .proof-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Multi-page navigation and page titles. */
.nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.nav > a:hover,
.nav > a:focus-visible,
.nav > a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.page-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 3.15rem);
  line-height: 1.08;
}

.section-more {
  margin-top: 24px;
  font-weight: 700;
}

.section-more a {
  color: var(--teal-dark);
}

#home-services {
  order: 40;
}

#home-work {
  order: 60;
}


.contact .button.primary {
  background: #fff;
  border-color: #fff;
  color: var(--teal-dark);
}

.contact .button.primary:hover {
  background: var(--soft);
  color: var(--teal-dark);
}

.faq-list {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

@media (max-width: 1100px) {
  .site-header.nav-open .nav > a {
    width: 100%;
  }
}
