:root {
  --paper: #faf9f6;
  --paper-2: #f1f0ec;
  --white: #fffefd;
  --ink: #181b19;
  --ink-soft: #3f4746;
  --muted: #68706f;
  --line: rgba(24, 27, 25, 0.14);
  --line-strong: rgba(24, 27, 25, 0.28);
  --teal: #2f6f6b;
  --teal-soft: #d9eeeb;
  --clay: #b96b5b;
  --clay-soft: #f3ddd7;
  --amber: #bc8a3b;
  --amber-soft: #f5ead3;
  --blue: #526d86;
  --blue-soft: #dfe8ef;
  --glass: rgba(255, 254, 253, 0.72);
  --max: 1180px;
}

/* Owned lead capture shared by the contact page and forms service. */
.lead-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(18, 53, 78, 0.16);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(18, 53, 78, 0.1);
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field label span {
  color: var(--muted);
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(18, 53, 78, 0.24);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(33, 120, 158, 0.14);
  outline: 0;
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

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

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

.form-status {
  margin: 0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.pending {
  background: #eef7fb;
  color: #155e75;
}

.form-status.success {
  background: #ecfdf3;
  color: #166534;
}

.form-status.error {
  background: #fff1f2;
  color: #9f1239;
}

.form-status a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    linear-gradient(rgba(24, 27, 25, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 27, 25, 0.026) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px;
  color: var(--ink);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.section,
.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand img {
  width: 30px;
  height: 30px;
  filter: grayscale(1) contrast(1.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0 20px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 170ms ease, color 170ms ease, transform 170ms ease;
}

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

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

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

.button.secondary:hover,
.button.ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-cta {
  min-height: 40px;
  padding-inline: 16px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  place-items: center;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.mobile-toggle {
  gap: 5px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-menu a {
  display: block;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #173a58;
  color: var(--paper);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: url("../images/hero-practice-workflow.jpg") center right / cover no-repeat;
  opacity: 0.58;
  filter: saturate(0.94) contrast(0.9) brightness(1.08);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(18, 53, 78, 0.9) 0%, rgba(20, 63, 93, 0.82) 30%, rgba(28, 83, 118, 0.6) 50%, rgba(45, 111, 145, 0.18) 74%, rgba(45, 111, 145, 0.02) 100%),
    linear-gradient(0deg, rgba(12, 48, 74, 0.12), rgba(12, 48, 74, 0));
}

.hero .section {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 68px);
  padding: clamp(76px, 10vh, 126px) 0 clamp(44px, 8vh, 92px);
}

.hero .section > *,
.service-hero .section > *,
.section-head > *,
.system-split > *,
.solution-panel > * {
  min-width: 0;
}

.service-hero {
  border-bottom: 1px solid var(--line);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(24, 27, 25, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 27, 25, 0.026) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px;
}

.service-hero .section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.8fr);
  gap: 54px;
  align-items: center;
  min-height: 620px;
  padding: 70px 0;
}

.page-hero .section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.68fr);
  gap: 58px;
  align-items: end;
  min-height: 520px;
  padding: 72px 0;
}

.page-hero h1,
.article-hero h1 {
  max-width: 820px;
  font-size: clamp(2.75rem, 5.2vw, 5.3rem);
  line-height: 0.98;
}

.article-hero h1 {
  max-width: 940px;
  font-size: clamp(2.65rem, 4.45vw, 4.75rem);
}

.eyebrow,
.kicker,
.map-label,
.meta,
.number {
  font-size: 0.74rem;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--teal);
}

.eyebrow::before {
  content: none;
}

h1,
h2,
h3,
.serif {
  margin: 0;
  color: var(--ink);
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2.15rem, 4.1vw, 4.45rem);
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.05;
}

p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.66;
}

.hero-copy > p,
.service-hero p,
.page-hero p {
  max-width: 650px;
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hero-copy {
  width: min(100%, 720px);
}

.hero h1,
.hero .eyebrow {
  color: var(--paper);
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(3.1rem, 5.8vw, 5.95rem);
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.hero-copy > p {
  color: rgba(250, 249, 246, 0.84);
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.hero .button.primary {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.hero .button.secondary {
  border-color: rgba(250, 249, 246, 0.54);
  background: rgba(250, 249, 246, 0.08);
  color: var(--paper);
  backdrop-filter: blur(12px);
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 720px;
  margin-top: 42px;
  border: 1px solid rgba(250, 249, 246, 0.22);
  background: rgba(250, 249, 246, 0.16);
  backdrop-filter: blur(16px);
}

.hero-proof div {
  min-height: 96px;
  padding: 16px;
  background: rgba(18, 53, 78, 0.28);
}

.hero-proof strong {
  display: block;
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-proof span {
  display: block;
  color: rgba(250, 249, 246, 0.75);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ribbon {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 253, 0.58);
}

.ribbon .section {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}

.ribbon span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: var(--paper);
  color: var(--ink-soft);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.band {
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}

.band.white {
  background: rgba(255, 254, 253, 0.56);
}

.band.paper {
  background: rgba(250, 249, 246, 0.86);
}

.band.dark {
  background: var(--ink);
  color: var(--paper);
}

.band.dark h2,
.band.dark h3,
.band.dark p,
.band.dark .eyebrow {
  color: var(--paper);
}

.band.dark p {
  color: rgba(250, 249, 246, 0.72);
}

.band.dark .card {
  background: rgba(250, 249, 246, 0.055);
}

.band.dark .phase {
  background: rgba(250, 249, 246, 0.055);
}

.band.dark .number {
  color: var(--teal-soft);
}

.band.dark .phase strong {
  color: var(--teal-soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 46px;
}

.section-head p {
  max-width: 560px;
}

.thesis {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.thesis h2 {
  font-style: italic;
}

.thesis p {
  max-width: 650px;
  margin: 24px auto 0;
}

.rule {
  width: 70px;
  height: 1px;
  margin: 34px auto 0;
  background: var(--line-strong);
}

.card-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.card,
.service-card,
.phase,
.system-card {
  min-height: 240px;
  padding: 28px;
  background: rgba(255, 254, 253, 0.72);
}

.card h3,
.service-card h3,
.phase h3,
.system-card h3 {
  margin-top: 18px;
}

.card p,
.service-card p,
.phase p,
.system-card p {
  margin-top: 14px;
}

.number {
  color: var(--teal);
}

.page-aside {
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(24, 27, 25, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 27, 25, 0.036) 1px, transparent 1px),
    rgba(255, 254, 253, 0.68);
  background-size: 28px 28px;
  padding: 26px;
}

.page-aside h2,
.page-aside h3 {
  font-size: 1.5rem;
}

.page-aside p {
  margin-top: 12px;
  font-size: 0.96rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 840;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb span + span::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}

.copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(420px, 1fr);
  gap: 58px;
  align-items: start;
}

.copy-block p + p {
  margin-top: 18px;
}

.answer-box {
  border: 1px solid var(--line);
  background: rgba(255, 254, 253, 0.72);
  padding: clamp(24px, 3vw, 34px);
}

.answer-box strong {
  display: block;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.answer-box p {
  margin-top: 12px;
}

.deep-grid,
.resource-grid,
.article-grid,
.mini-grid {
  display: grid;
  gap: 14px;
}

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

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

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

.deep-card,
.resource-card,
.article-card,
.mini-card {
  border: 1px solid var(--line);
  background: rgba(255, 254, 253, 0.72);
  padding: 24px;
}

.resource-card,
.article-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 170ms ease, transform 170ms ease, background 170ms ease;
}

a.resource-card:hover,
a.article-card:hover {
  border-color: var(--teal);
  background: var(--white);
  transform: translateY(-2px);
}

.deep-card strong,
.resource-card strong,
.article-card strong,
.mini-card strong {
  display: block;
  color: var(--ink);
  font-weight: 840;
}

.deep-card span,
.resource-card span,
.article-card span,
.mini-card span {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.article-card em,
.resource-card em {
  display: block;
  margin-top: 22px;
  color: var(--teal);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-hero {
  border-bottom: 1px solid var(--line);
  padding: 70px 0;
  background: var(--paper);
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 0;
}

.article-body h2 {
  margin-top: 46px;
  font-size: clamp(1.85rem, 3vw, 3rem);
}

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

.article-body p {
  margin-top: 16px;
}

.article-body ul {
  margin-top: 18px;
}

.article-body .mini-grid,
.article-body .faq {
  margin-top: 20px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  background: rgba(255, 254, 253, 0.72);
  padding: 24px;
}

.faq-item h3 {
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 840;
  line-height: 1.3;
}

.faq-item p {
  margin-top: 10px;
  font-size: 0.98rem;
}

.contact-panel {
  border: 1px solid var(--line);
  background: rgba(255, 254, 253, 0.78);
  padding: clamp(28px, 4vw, 46px);
}

.contact-panel .button {
  margin-top: 24px;
}

.site-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.visual-band {
  background:
    linear-gradient(rgba(24, 27, 25, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 27, 25, 0.024) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px;
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.76fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.visual-copy h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 4.25rem);
}

.visual-copy p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 480px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.visual-frame {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(24, 27, 25, 0.08);
}

.visual-frame img {
  width: 100%;
  height: auto;
}

.book-cover-frame {
  width: min(100%, 520px);
  justify-self: center;
}

.visual-frame figcaption {
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.system-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.78fr);
  gap: 1px;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--line);
}

.system-panel {
  background: rgba(255, 254, 253, 0.7);
  padding: clamp(30px, 4vw, 54px);
}

.system-panel h2 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 3.5vw, 4rem);
}

.system-panel > p:not(.eyebrow) {
  max-width: 640px;
}

.system-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.system-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: transparent;
}

.system-row strong {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 840;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.system-row p {
  font-size: 0.94rem;
}

.operating-visual-panel {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  background: #173a58;
  color: var(--paper);
}

.operating-visual-panel::before,
.operating-visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.operating-visual-panel::before {
  background: url("../images/hero-practice-workflow.jpg") center right / cover no-repeat;
  opacity: 0.5;
  filter: saturate(0.86) contrast(0.88) brightness(1.06);
}

.operating-visual-panel::after {
  background:
    linear-gradient(90deg, rgba(18, 53, 78, 0.84), rgba(30, 83, 116, 0.56)),
    linear-gradient(rgba(250, 249, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 249, 246, 0.06) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.console-topline,
.console-main,
.console-stack {
  position: relative;
  z-index: 1;
}

.console-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(250, 249, 246, 0.2);
  background: rgba(250, 249, 246, 0.1);
  padding: 14px 16px;
  color: rgba(250, 249, 246, 0.8);
  font-size: 0.7rem;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.console-metric {
  min-height: 184px;
  border: 1px solid rgba(250, 249, 246, 0.18);
  background: rgba(250, 249, 246, 0.12);
  padding: 20px;
  backdrop-filter: blur(12px);
}

.console-metric strong {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(250, 249, 246, 0.24);
  color: var(--teal-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.console-metric span {
  display: block;
  margin-top: 28px;
  color: var(--paper);
  font-size: 1.06rem;
  font-weight: 840;
  line-height: 1.25;
}

.console-metric p {
  margin-top: 10px;
  color: rgba(250, 249, 246, 0.72);
  font-size: 0.9rem;
  line-height: 1.42;
}

.console-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.console-stack div {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(250, 249, 246, 0.16);
  background: rgba(250, 249, 246, 0.1);
  padding: 16px 18px;
  backdrop-filter: blur(12px);
}

.console-stack span {
  color: var(--teal-soft);
  font-size: 0.74rem;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-stack strong {
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.solution-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1fr);
  gap: 36px;
  align-items: start;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 38px 0;
}

.solution-panel > div {
  min-height: 100%;
  background: transparent;
  padding: 0;
}

.solution-panel h2 {
  font-size: clamp(2.55rem, 4vw, 4.35rem);
}

.solution-panel > div > p {
  max-width: 620px;
}

.solution-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
  border: 0;
  background: transparent;
}

.solution-options article {
  min-height: 176px;
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(255, 254, 253, 0.72);
}

.solution-options article:nth-child(2) {
  background: var(--blue-soft);
}

.solution-options article:nth-child(3) {
  background: var(--amber-soft);
}

.solution-options article:nth-child(4) {
  background: var(--teal-soft);
}

.solution-options span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 840;
  letter-spacing: 0.12em;
}

.solution-options strong {
  display: block;
  color: var(--ink);
  font-weight: 840;
}

.solution-options p {
  margin-top: 8px;
  font-size: 0.94rem;
  line-height: 1.5;
}

ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.55;
}

li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 1px solid var(--teal);
  background: var(--paper);
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border: 0;
  background: transparent;
}

.phase {
  position: relative;
  min-height: 270px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 253, 0.72);
}

.phase::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--teal);
}

.band.dark .phase {
  border-color: rgba(250, 249, 246, 0.11);
  background: rgba(250, 249, 246, 0.055);
}

.band.dark .phase::before {
  background: var(--teal-soft);
}

.phase strong {
  display: block;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta {
  padding: 90px 0;
  text-align: center;
}

.cta .section {
  max-width: 850px;
}

.cta p {
  max-width: 660px;
  margin: 22px auto 0;
}

.cta .actions {
  justify-content: center;
}

.network-strip {
  border-top: 1px solid rgba(24, 27, 25, 0.06);
  background:
    linear-gradient(rgba(24, 27, 25, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 27, 25, 0.018) 1px, transparent 1px),
    #fbfaf7;
  background-size: 40px 40px;
  color: var(--ink);
  padding: 68px 0 70px;
}

.network-strip h2 {
  margin: 0 0 36px;
  text-align: center;
  color: rgba(63, 71, 70, 0.72);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 34px;
}

.network-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px 14px;
  align-content: start;
  min-height: 0;
  color: var(--muted);
  transition: color 170ms ease, transform 170ms ease;
}

.network-card:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.network-icon {
  grid-row: span 2;
  padding-top: 1px;
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.82;
}

.network-card strong {
  color: rgba(63, 71, 70, 0.44);
  font-size: 0.96rem;
  line-height: 1.2;
  transition: color 170ms ease;
}

.network-card:hover strong {
  color: var(--teal);
}

.network-card span {
  color: rgba(63, 71, 70, 0.52);
  font-size: 0.9rem;
  line-height: 1.55;
  transition: color 170ms ease;
}

.network-card:hover span {
  color: var(--ink-soft);
}

.footer {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(rgba(24, 27, 25, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 27, 25, 0.03) 1px, transparent 1px),
    #f2f0ea;
  background-size: 34px 34px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 34px;
  padding: 42px 0 30px;
}

.footer-brand-block {
  max-width: 520px;
}

.footer-kicker,
.footer-links span {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-brand-block strong {
  display: block;
  max-width: 450px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.footer-brand-block p:last-child {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  min-width: 220px;
  flex-direction: column;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links a {
  width: fit-content;
  color: var(--ink-soft);
  transition: color 170ms ease;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom span:nth-child(2) {
  text-align: center;
}

.footer-bottom a:hover {
  color: var(--ink);
}

.service-card {
  min-height: 430px;
}

.service-card h3 {
  max-width: 330px;
}

.service-list li {
  font-size: 0.94rem;
}

.price-note {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.5;
}

.service-map {
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(rgba(24, 27, 25, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 27, 25, 0.032) 1px, transparent 1px),
    rgba(255, 254, 253, 0.72);
  background-size: 28px 28px;
}

.service-map .map-stage {
  min-height: 430px;
}

.service-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 22px;
  background: rgba(250, 249, 246, 0.82);
}

.service-step > div {
  min-width: 0;
}

.service-step:last-child {
  border-bottom: 0;
}

.service-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 840;
}

.service-step h3 {
  font-size: 1.45rem;
}

.service-step p {
  margin-top: 8px;
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: grid;
  }

  .mobile-menu.open {
    display: block;
  }

  .hero,
  .service-hero {
    min-height: 0;
  }

  .hero .section,
  .service-hero .section,
  .page-hero .section,
  .visual-split,
  .section-head,
  .system-split,
  .solution-panel,
  .copy-grid {
    grid-template-columns: 1fr;
  }

  .hero .section,
  .service-hero .section,
  .page-hero .section {
    gap: 34px;
    padding: 56px 0;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .ribbon .section,
  .card-grid,
  .service-grid,
  .phase-grid,
  .deep-grid,
  .resource-grid,
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .solution-options {
    grid-template-columns: 1fr 1fr;
  }

  .visual-frame {
    box-shadow: none;
  }

  .console-main {
    grid-template-columns: 1fr;
  }

  .console-stack div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

}

@media (max-width: 680px) {
  .section,
  .nav-shell {
    width: min(100% - 28px, var(--max));
  }

  .brand span {
    font-size: 0.72rem;
  }

  .hero .section,
  .service-hero .section {
    padding: 52px 0;
  }

  .hero::before {
    background-position: 64% center;
    opacity: 0.34;
    filter: saturate(0.88) contrast(0.82) brightness(1.12);
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(18, 53, 78, 0.9) 0%, rgba(20, 63, 93, 0.78) 58%, rgba(28, 83, 118, 0.52) 100%),
      linear-gradient(0deg, rgba(12, 48, 74, 0.12), rgba(12, 48, 74, 0));
  }

  .hero-copy,
  .service-hero .section > div:first-child,
  .page-hero .section > div:first-child {
    width: min(100%, 430px);
  }

  h1 {
    max-width: 420px;
    font-size: clamp(2.55rem, 11.5vw, 3.4rem);
    font-family: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
    line-height: 0.98;
  }

  .hero h1 {
    max-width: 390px;
    font-size: clamp(2.35rem, 10.5vw, 3.15rem);
    font-weight: 900;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
    font-family: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
    line-height: 1.02;
  }

  h3 {
    font-family: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
    line-height: 1.1;
  }

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

  .network-strip {
    padding: 42px 0 46px;
  }

  .network-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main {
    gap: 28px;
    padding-top: 34px;
  }

  .footer-brand-block strong {
    max-width: 320px;
  }

  .footer-links {
    min-width: 0;
  }

  .network-card {
    min-height: 0;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
  }

  .footer-bottom span:nth-child(2) {
    text-align: left;
  }

  .button {
    width: 100%;
  }

  .hero-proof,
  .ribbon .section,
  .card-grid,
  .service-grid,
  .phase-grid,
  .solution-options,
  .deep-grid,
  .resource-grid,
  .article-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 68px 0;
  }

  .card,
  .service-card,
  .phase,
  .system-card,
  .system-panel,
  .deep-card,
  .resource-card,
  .article-card,
  .mini-card,
  .page-aside {
    padding: 22px;
  }

}
