:root {
  --ink: #081817;
  --ink-2: #102523;
  --paper: #f6f2ea;
  --paper-2: #fffaf0;
  --white: #ffffff;
  --muted: #66736e;
  --line: rgba(8, 24, 23, 0.14);
  --teal: #22786f;
  --aqua: #77c7bf;
  --gold: #c99745;
  --copper: #9f5b3d;
  --steel: #d8e4e1;
  --shadow: 0 24px 70px rgba(8, 24, 23, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 44px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(246, 242, 234, 0.94);
  box-shadow: 0 12px 38px rgba(8, 24, 23, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  max-width: 260px;
  overflow: hidden;
  color: currentColor;
  font-size: 12px;
  opacity: 0.74;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .site-nav,
.site-header.is-open .site-nav {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.site-nav a {
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:focus-visible {
  background: rgba(8, 24, 23, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.quick-bridge {
  position: fixed;
  bottom: 18px;
  left: 50%;
  z-index: 18;
  display: flex;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 16px;
  padding: 7px;
  background: rgba(8, 24, 23, 0.78);
  box-shadow: 0 18px 48px rgba(8, 24, 23, 0.2);
  backdrop-filter: blur(18px);
  opacity: 1;
  transform: translateX(-50%);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
  visibility: visible;
}

.quick-bridge.is-footer-visible {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
  visibility: hidden;
}

.quick-bridge a {
  display: grid;
  min-width: 86px;
  min-height: 44px;
  align-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 8px 10px;
  color: var(--white);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.quick-bridge a span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.quick-bridge a:hover,
.quick-bridge a:focus-visible,
.quick-bridge a.is-active {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--paper-2);
  outline: none;
}

.mobile-dock {
  display: none;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
  visibility: visible;
}

.mobile-dock.is-footer-visible {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  visibility: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.08);
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 24, 23, 0.94) 0%, rgba(8, 24, 23, 0.72) 42%, rgba(8, 24, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 24, 23, 0.78) 0%, rgba(8, 24, 23, 0) 44%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100svh - 126px);
  margin: 0 auto;
  padding: clamp(104px, 13vh, 138px) 0 28px;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.92fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
  padding: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 680px;
  font-size: clamp(40px, 5vw, 60px);
}

h2 {
  font-size: clamp(34px, 4.8vw, 58px);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.14;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-map-card {
  position: relative;
  z-index: 2;
  scroll-margin-top: 96px;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(119, 199, 191, 0.18), rgba(255, 250, 240, 0.94) 42%),
    rgba(255, 250, 240, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.map-card-head {
  max-width: 520px;
}

.map-card-head h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 36px);
}

.map-card-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  color: var(--ink);
  background: var(--white);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary {
  border-color: rgba(8, 24, 23, 0.16);
  color: var(--ink);
  background: var(--paper-2);
}

.button.quiet {
  border-color: transparent;
  color: var(--teal);
  background: rgba(119, 199, 191, 0.14);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(8, 24, 23, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  min-width: 0;
  padding: 20px;
}

.hero-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-stats strong {
  overflow-wrap: anywhere;
  font-size: clamp(15px, 1.8vw, 22px);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 86px) 0;
  scroll-margin-top: 96px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head.compact {
  max-width: 840px;
  text-align: center;
}

.section-head p:not(.eyebrow),
.delivery-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.bridge-visual {
  position: relative;
  min-height: 78px;
  margin: 8px 0 0;
}

.deck,
.arch,
.pier {
  position: absolute;
  display: block;
}

.deck {
  right: 3%;
  bottom: 20px;
  left: 3%;
  height: 10px;
  border-radius: 999px;
  background: var(--ink);
}

.arch {
  right: 8%;
  bottom: 14px;
  left: 8%;
  height: 62px;
  border: 9px solid var(--teal);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.pier {
  bottom: 0;
  width: 12px;
  height: 34px;
  border-radius: 999px 999px 0 0;
  background: var(--gold);
}

.pier-left {
  left: 22%;
}

.pier-right {
  right: 22%;
}

.map-nodes {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: -12px;
}

.map-node {
  display: block;
  min-height: 50px;
  border: 1px solid rgba(8, 24, 23, 0.12);
  border-radius: 12px;
  padding: 8px 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(8, 24, 23, 0.1);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.map-node span {
  display: block;
  margin-bottom: 3px;
  color: var(--teal);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.map-node:hover,
.map-node:focus-visible,
.map-node.is-active {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-3px);
  outline: none;
}

.map-node:hover span,
.map-node:focus-visible span,
.map-node.is-active span {
  color: var(--gold);
}

.map-panels {
  position: relative;
  min-height: 150px;
  padding: 12px 0 0;
}

.map-panel {
  display: none;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
}

.map-panel h3 {
  font-size: clamp(19px, 2vw, 23px);
}

.map-panel.is-active {
  display: block;
}

.map-panel p {
  color: var(--muted);
}

.map-panel a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.panel-label {
  margin-bottom: 8px;
  color: var(--gold) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-grid,
.proof-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 360px);
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--teal) rgba(8, 24, 23, 0.08);
}

.service-card,
.proof-card,
.steps article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(8, 24, 23, 0.06);
}

.service-card {
  display: grid;
  min-height: 238px;
  padding: 24px;
  align-content: start;
  scroll-snap-align: start;
}

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: 12px;
  font-weight: 950;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(5) .service-icon {
  background: var(--ink);
}

.service-card:nth-child(3) .service-icon {
  background: var(--copper);
}

.service-card:nth-child(4) .service-icon {
  background: var(--gold);
}

.scope-builder {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(119, 199, 191, 0.15), transparent 42%),
    var(--white);
  box-shadow: 0 16px 44px rgba(8, 24, 23, 0.06);
}

.scope-copy h3,
.scope-copy p {
  margin-bottom: 0;
}

.scope-copy p:not(.panel-label) {
  color: var(--muted);
  font-size: 14px;
}

.scope-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scope-options button,
.scope-clear {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.scope-options button:hover,
.scope-options button:focus-visible,
.scope-options button.is-active,
.scope-clear:hover,
.scope-clear:focus-visible {
  border-color: var(--teal);
  outline: none;
}

.scope-options button.is-active {
  color: var(--white);
  background: var(--teal);
}

.scope-actions {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.scope-apply {
  min-height: 44px;
  color: var(--white) !important;
  background: var(--ink) !important;
}

.scope-clear {
  width: fit-content;
  color: var(--muted);
}

.service-card p,
.proof-card p,
.steps p {
  color: var(--muted);
}

.service-link {
  width: fit-content;
  margin-top: 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-link:hover,
.service-link:focus-visible {
  color: var(--ink);
  outline: none;
}

.proof {
  border-top: 1px solid var(--line);
}

.proof-card {
  min-height: 226px;
  padding: 24px;
  scroll-snap-align: start;
}

.proof-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bridge-card {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(201, 151, 69, 0.25), transparent 54%),
    var(--ink);
}

.bridge-card p,
.bridge-card span {
  color: rgba(255, 255, 255, 0.78);
}

.trust {
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.trust-panel {
  display: grid;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  color: var(--white);
}

.trust-panel h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
}

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

.trust-grid article {
  min-height: 172px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-grid strong {
  display: block;
  font-size: 15px;
  line-height: 1.38;
}

.case-studies {
  border-top: 1px solid var(--line);
}

.case-studies .section-head {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.62fr);
  gap: clamp(16px, 4vw, 42px);
  align-items: end;
  margin-bottom: 18px;
}

.case-studies .section-head h2 {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.04;
}

.case-studies .section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.case-studies .section-head p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin-bottom: 2px;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.case-filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.case-filter:hover,
.case-filter:focus-visible,
.case-filter.is-active {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.case-console {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.58fr);
  gap: 18px;
  align-items: start;
}

.case-feature,
.case-index {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(8, 24, 23, 0.08);
}

.case-feature {
  display: grid;
  min-height: 500px;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 0.9fr);
}

.case-feature-media {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.case-feature-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 24, 23, 0), rgba(8, 24, 23, 0.28)),
    linear-gradient(135deg, rgba(201, 151, 69, 0.18), transparent 38%);
  content: "";
  pointer-events: none;
}

.case-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-feature-copy {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 22px;
}

.case-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 2px;
}

.case-status span,
.case-status strong {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-status strong {
  color: var(--teal);
}

.case-feature h3 {
  margin-bottom: 0;
  font-size: clamp(25px, 3vw, 36px);
}

.case-feature p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
}

.case-index {
  position: sticky;
  top: 98px;
  display: grid;
  max-height: min(500px, calc(100svh - 118px));
  grid-template-rows: auto minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(119, 199, 191, 0.12), transparent 44%),
    var(--white);
}

.case-index-head {
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.case-index-head h3 {
  margin-bottom: 8px;
  font-size: clamp(21px, 2.2vw, 27px);
}

.case-index-head p:not(.panel-label) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.case-selectors {
  display: grid;
  gap: 8px;
  overflow: auto;
  padding: 14px;
  scrollbar-color: var(--teal) rgba(8, 24, 23, 0.08);
}

.case-selector {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.case-selector[hidden] {
  display: none !important;
}

.case-selector:hover,
.case-selector:focus-visible,
.case-selector.is-active {
  border-color: rgba(34, 120, 111, 0.42);
  background: var(--paper-2);
  outline: none;
  transform: translateY(-1px);
}

.case-selector.is-active {
  color: var(--white);
  background: var(--ink);
}

.case-selector span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal);
  background: rgba(119, 199, 191, 0.14);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.case-selector.is-active span {
  color: var(--ink);
  background: var(--gold);
}

.case-selector strong,
.case-selector small {
  display: block;
}

.case-selector strong {
  font-size: 13px;
  line-height: 1.18;
}

.case-selector small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-selector.is-active small {
  color: rgba(255, 255, 255, 0.72);
}

.case-study-grid[hidden] {
  display: none !important;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.case-meta span {
  border: 1px solid rgba(34, 120, 111, 0.18);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--teal);
  background: rgba(119, 199, 191, 0.12);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-points {
  display: grid;
  gap: 7px;
  margin: 2px 0 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 14px;
}

.case-points li::marker {
  color: var(--gold);
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.case-actions .button,
.dialog-enquiry {
  min-height: 44px;
  padding: 11px 16px;
  font-size: 14px;
}

.case-dialog {
  width: min(980px, calc(100% - 32px));
  max-height: min(820px, calc(100svh - 32px));
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 40px 100px rgba(8, 24, 23, 0.34);
}

.case-dialog::backdrop {
  background: rgba(8, 24, 23, 0.62);
  backdrop-filter: blur(6px);
}

.case-dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 0.9fr);
  max-height: min(820px, calc(100svh - 32px));
  overflow: auto;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(8, 24, 23, 0.72);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.case-dialog-media {
  min-height: 520px;
  margin: 0;
  background: var(--ink);
}

.case-dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-dialog-copy {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: clamp(22px, 4vw, 36px);
}

.case-dialog-copy h3,
.case-dialog-copy p {
  margin-bottom: 0;
}

.case-dialog-copy h3 {
  font-size: clamp(28px, 3vw, 40px);
}

.delivery {
  display: grid;
  grid-template-columns: minmax(320px, 0.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
}

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

.delivery-copy h2 {
  font-size: clamp(30px, 3.3vw, 44px);
}

.delivery-copy p:not(.eyebrow) {
  font-size: clamp(16px, 1.7vw, 18px);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scrollbar-color: var(--teal) rgba(8, 24, 23, 0.08);
}

.steps::before {
  position: absolute;
  top: 34px;
  right: 20px;
  left: 20px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
  content: "";
}

.step-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 180px;
  padding: 18px;
}

.step-card::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--teal);
  content: "";
}

.step-card:nth-child(2n)::after {
  background: var(--gold);
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 14px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(8, 24, 23, 0.18);
  font-size: 12px;
  font-weight: 950;
}

.step-card:nth-child(2n) .step-number {
  background: var(--teal);
}

.step-card h3 {
  margin-bottom: 8px;
}

.step-kicker {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

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

.contact-channel {
  display: grid;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  border-left: 4px solid var(--teal);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 34px rgba(8, 24, 23, 0.06);
}

.contact-channel span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-channel strong {
  color: var(--ink);
  font-size: clamp(16px, 2vw, 20px);
  overflow-wrap: anywhere;
}

.contact-channel:hover,
.contact-channel:focus-visible {
  border-left-color: var(--gold);
  outline: none;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(8, 24, 23, 0.18);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(34, 120, 111, 0.16);
  outline: none;
}

.form-hidden {
  position: absolute;
  left: -9999px;
}

.form-submit {
  width: fit-content;
  color: var(--white);
  background: var(--teal);
}

.form-submit:hover,
.form-submit:focus-visible {
  background: var(--ink);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status.is-success {
  color: var(--teal);
}

.form-status.is-error {
  color: var(--copper);
}

.legal-page {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 76px;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 34px;
}

.legal-hero h1 {
  margin-bottom: 12px;
  color: var(--ink);
}

.legal-hero p:not(.eyebrow) {
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 34px rgba(8, 24, 23, 0.06);
}

.legal-toc a {
  border-radius: 10px;
  padding: 9px 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--white);
  background: var(--ink);
  outline: none;
}

.legal-card,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(8, 24, 23, 0.06);
}

.legal-card {
  padding: clamp(22px, 4vw, 38px);
}

.legal-card h2 {
  margin: 30px 0 10px;
  font-size: clamp(25px, 3vw, 34px);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li,
.policy-card p {
  color: var(--muted);
}

.legal-card a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
}

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

.policy-card {
  min-height: 260px;
  padding: 24px;
}

.policy-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-card h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.service-page {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 76px;
}

.service-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.52fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: end;
  margin-bottom: 28px;
}

.service-detail-hero h1 {
  margin-bottom: 14px;
}

.service-detail-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.service-facts {
  display: grid;
  gap: 10px;
}

.service-facts div {
  border-left: 4px solid var(--teal);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 34px rgba(8, 24, 23, 0.06);
}

.service-facts span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-facts strong {
  display: block;
  color: var(--ink);
}

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

.service-detail-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(8, 24, 23, 0.06);
}

.service-detail-card h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.service-detail-card p,
.service-detail-card li {
  color: var(--muted);
}

.service-detail-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.service-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  color: var(--white);
  background: var(--ink);
}

.service-cta p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.service-cta .button.primary {
  color: var(--ink);
  background: var(--white);
}

.service-hero-actions {
  margin-top: 24px;
}

.service-hero-actions .button.primary {
  color: var(--white);
  background: var(--ink);
}

.service-hero-actions .button.ghost {
  border-color: rgba(8, 24, 23, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
}

.funding-intake,
.funding-flow {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(119, 199, 191, 0.16), transparent 40%),
    var(--white);
  box-shadow: 0 16px 44px rgba(8, 24, 23, 0.06);
}

.funding-intake p,
.funding-flow li,
.service-note p {
  color: var(--muted);
}

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

.intake-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.intake-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: 11px;
  font-weight: 950;
}

.intake-grid h3 {
  font-size: clamp(18px, 2vw, 22px);
}

.intake-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.funding-flow ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.funding-flow strong {
  color: var(--ink);
}

.platform-page {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 126px 0 76px;
}

.platform-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(20px, 4vw, 48px);
  align-items: end;
  margin-bottom: 18px;
}

.platform-hero p:not(.eyebrow) {
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.platform-score-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(47, 143, 134, 0.36), transparent 48%),
    var(--ink);
  box-shadow: var(--shadow);
}

.platform-score-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-score-card strong {
  display: block;
  font-size: clamp(52px, 7vw, 86px);
  line-height: 0.92;
}

.platform-score-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.platform-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.44fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.platform-form,
.platform-workbench,
.platform-disclaimer {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(8, 24, 23, 0.06);
}

.platform-form {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  max-height: calc(100svh - 116px);
  overflow: auto;
  padding: 18px;
  scrollbar-color: var(--teal) rgba(8, 24, 23, 0.08);
}

.platform-form-head h2,
.platform-panel-head h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 38px);
}

.platform-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.platform-form label span,
.platform-checks legend {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.platform-form input,
.platform-form select,
.platform-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 12px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.platform-form textarea {
  resize: vertical;
}

.platform-form input:focus,
.platform-form select:focus,
.platform-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(47, 143, 134, 0.18);
}

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

.platform-checks {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.platform-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.platform-checks input {
  width: 16px;
  height: 16px;
}

.platform-workbench {
  overflow: hidden;
  min-height: 720px;
}

.platform-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.platform-tabs button {
  min-height: 54px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 950;
}

.platform-tabs button:last-child {
  border-right: 0;
}

.platform-tabs button:hover,
.platform-tabs button:focus-visible,
.platform-tabs button.is-active {
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.platform-panel {
  display: none;
  padding: clamp(18px, 3vw, 28px);
}

.platform-panel.is-active {
  display: block;
}

.platform-panel-head {
  max-width: 820px;
  margin-bottom: 18px;
}

.platform-panel-head p:not(.panel-label) {
  color: var(--muted);
}

.readiness-meter {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(8, 24, 23, 0.08);
}

.readiness-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--copper), var(--gold), var(--teal));
  transition: width 220ms ease;
}

.platform-output-grid,
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

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

.platform-output-grid section,
.pack-grid section {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--paper);
}

.platform-output-grid h3,
.pack-grid h3 {
  font-size: clamp(19px, 2vw, 24px);
}

.platform-output-grid ul,
.pack-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.idea-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.idea-filter,
.platform-card-action {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.idea-filter:hover,
.idea-filter:focus-visible,
.idea-filter.is-active,
.platform-card-action:hover,
.platform-card-action:focus-visible,
.platform-card-action.is-active {
  border-color: var(--teal);
  outline: none;
}

.idea-filter.is-active,
.platform-card-action.is-active {
  color: var(--white);
  background: var(--teal);
}

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

.idea-card,
.supplier-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(119, 199, 191, 0.1), transparent 42%),
    var(--paper);
}

.idea-card h3,
.supplier-card h3 {
  margin-bottom: 0;
  font-size: clamp(20px, 2.2vw, 26px);
}

.idea-card p,
.supplier-card p,
.idea-card strong {
  margin: 0;
  color: var(--muted);
}

.idea-card strong {
  font-size: 14px;
}

.platform-chip {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink);
  background: rgba(201, 151, 69, 0.2);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-card-action {
  width: fit-content;
  margin-top: 4px;
}

.platform-disclaimer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  padding: 18px;
  background: var(--ink);
}

.platform-disclaimer strong {
  color: var(--gold);
}

.platform-disclaimer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.case-library-page,
.case-detail-page,
.statement-page {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 76px;
}

.case-library-hero,
.case-detail-hero,
.statement-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.52fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: end;
  margin-bottom: 28px;
}

.case-library-hero p:not(.eyebrow),
.case-detail-hero p:not(.eyebrow),
.statement-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.case-detail-media,
.statement-card,
.case-library-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(8, 24, 23, 0.06);
}

.case-detail-media {
  min-height: 360px;
  margin: 0;
}

.case-detail-media img,
.case-library-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-detail-grid,
.case-library-grid,
.statement-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-library-card a {
  display: grid;
  min-height: 100%;
  color: inherit;
}

.case-library-card img {
  aspect-ratio: 4 / 3;
}

.case-library-card span,
.statement-band span {
  display: block;
  margin: 18px 18px 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-library-card h2,
.case-library-card p {
  margin-right: 18px;
  margin-left: 18px;
}

.case-library-card h2 {
  font-size: clamp(21px, 2.2vw, 27px);
}

.case-library-card p {
  color: var(--muted);
}

.statement-card {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 24px;
}

.statement-card img {
  width: 64px;
  height: 64px;
}

.statement-card strong {
  font-size: 24px;
}

.statement-card span,
.statement-card a {
  color: var(--muted);
  font-weight: 850;
}

.statement-band article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(8, 24, 23, 0.06);
}

.statement-band span {
  margin: 0 0 18px;
}

.statement-band h2 {
  font-size: clamp(22px, 2.5vw, 30px);
}

.statement-band p {
  color: var(--muted);
}

.statement-proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

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

.statement-proof-grid a {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.statement-proof-grid a:hover,
.statement-proof-grid a:focus-visible {
  color: var(--white);
  background: var(--ink);
  outline: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 28px clamp(18px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
  outline: none;
}

@media (max-width: 920px) {
  body {
    padding-bottom: 78px;
  }

  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-color: var(--line);
    border-radius: 14px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-header.is-scrolled .site-nav,
  .site-header.is-open .site-nav {
    background: var(--paper);
  }

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

  .site-nav.legal-nav {
    position: absolute;
    top: 74px;
    right: 18px;
    left: 18px;
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
  }

  .legal-nav a {
    flex: 1 0 auto;
    text-align: center;
  }

  .quick-bridge {
    display: none;
  }

  .mobile-dock {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 16px;
    padding: 8px;
    background: rgba(8, 24, 23, 0.9);
    box-shadow: 0 18px 48px rgba(8, 24, 23, 0.24);
    backdrop-filter: blur(18px);
  }

  .mobile-dock a {
    display: grid;
    min-height: 42px;
    place-items: center;
    border-radius: 11px;
    color: var(--white);
    font-size: 12px;
    font-weight: 950;
  }

  .mobile-dock a.is-active,
  .mobile-dock a:hover,
  .mobile-dock a:focus-visible {
    color: var(--ink);
    background: var(--gold);
    outline: none;
  }

  .hero-layout {
    min-height: auto;
    padding-top: 108px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-inner {
    width: 100%;
  }

  .hero-stats,
  .case-console,
  .delivery,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .proof-grid {
    grid-auto-columns: minmax(238px, 78vw);
  }

  .scope-builder,
  .trust-panel,
  .case-dialog-shell,
  .legal-layout,
  .policy-grid,
  .service-detail-hero,
  .service-detail-grid,
  .funding-intake,
  .funding-flow,
  .platform-hero,
  .platform-shell,
  .platform-output-grid,
  .pack-grid,
  .case-library-hero,
  .case-library-grid,
  .case-detail-hero,
  .case-detail-grid,
  .statement-hero,
  .statement-band,
  .statement-proof,
  .statement-proof-grid {
    grid-template-columns: 1fr;
  }

  .scope-builder {
    align-items: start;
  }

  .scope-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .intake-grid {
    grid-template-columns: 1fr;
  }

  .platform-form {
    position: static;
    max-height: none;
  }

  .idea-grid,
  .supplier-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(238px, 78vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--gold) rgba(255, 255, 255, 0.12);
  }

  .trust-grid article {
    min-height: auto;
    scroll-snap-align: start;
  }

  .case-dialog-media {
    min-height: 280px;
  }

  .legal-page {
    padding-top: 154px;
  }

  .service-page {
    padding-top: 154px;
  }

  .case-library-page,
  .case-detail-page,
  .statement-page,
  .platform-page {
    padding-top: 154px;
  }

  .legal-toc {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, max-content);
    grid-template-columns: none;
    overflow-x: auto;
  }

  .case-feature {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, auto) auto;
  }

  .case-feature-copy {
    align-content: start;
  }

  .case-index {
    order: -1;
    position: static;
    max-height: none;
  }

  .hero-stats div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

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

  .bridge-visual {
    min-height: 118px;
  }

  .arch {
    height: 88px;
  }

  .map-panels {
    min-height: 0;
  }

  .case-selectors {
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 260px);
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .hero-inner {
    width: 100%;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-stats {
    right: 12px;
    left: 12px;
  }

  .hero-stats div {
    padding: 14px;
  }

  .hero-map-card {
    padding: 16px;
    border-radius: 14px;
  }

  .map-nodes,
  .form-grid,
  .platform-field-grid,
  .platform-tabs,
  .platform-disclaimer {
    grid-template-columns: 1fr;
  }

  .platform-tabs button {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .platform-tabs button:last-child {
    border-bottom: 0;
  }

  .platform-page {
    width: min(100% - 24px, var(--max));
  }

  .platform-form,
  .platform-panel {
    padding: 16px;
  }

  .scope-options {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-color: var(--teal) rgba(8, 24, 23, 0.08);
  }

  .scope-options button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .trust-panel h2 {
    font-size: 30px;
  }

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

  .case-filter {
    width: 100%;
    border-radius: 12px;
    white-space: normal;
  }

  .case-studies .section-head {
    display: block;
  }

  .case-feature {
    grid-template-rows: minmax(180px, auto) auto;
  }

  .case-feature-copy {
    gap: 9px;
    padding: 18px;
  }

  .case-feature h3 {
    font-size: 24px;
  }

  .case-feature p,
  .case-points {
    font-size: 14px;
  }

  .case-points {
    gap: 5px;
  }

  .steps::before {
    right: 18px;
    left: 18px;
  }

  .step-card {
    min-width: 220px;
    padding: 18px;
  }

  .service-card,
  .proof-card {
    min-height: auto;
  }

  .contact {
    width: min(100% - 24px, var(--max));
  }
}
