:root {
  color-scheme: light;
  --canvas: #f6f8f7;
  --surface: #ffffff;
  --ink: #17312d;
  --muted: #5e706c;
  --primary: #0b625a;
  --primary-dark: #074b45;
  --primary-soft: #dcece6;
  --divider: #d8e3df;
  --pass: #176b47;
  --pass-soft: #e5f3ea;
  --caution: #8c5b10;
  --caution-soft: #fbf1dc;
  --fail: #a63d35;
  --fail-soft: #fae9e7;
  --info: #285e8a;
  --shadow: 0 12px 34px rgba(22, 49, 45, 0.07);
  --shadow-small: 0 4px 14px rgba(22, 49, 45, 0.06);
  --radius: 10px;
  --radius-small: 7px;
  --page: min(1440px, calc(100vw - 48px));
  font-family: Inter, "IBM Plex Sans", "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button, input, select { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.62; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid #317dba;
  outline-offset: 3px;
}

.page-shell {
  width: var(--page);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 10px;
  left: 10px;
  transform: translateY(-180%);
  border-radius: var(--radius-small);
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.research-banner {
  border-bottom: 1px solid #dae4e1;
  background: #edf4f1;
  color: #35514c;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.015em;
}

.research-banner .page-shell {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 35px;
}

.banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--primary);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(216, 227, 223, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 42px;
}

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

.brand strong, .brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  color: var(--primary-dark);
  font-size: 1.09rem;
  letter-spacing: -0.03em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-symbol {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #8cb9af;
  border-radius: 50%;
  background: #e4f0ec;
}

.brand-symbol span {
  position: absolute;
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--primary);
  transform: rotate(36deg);
}

.brand-symbol span:nth-child(1) {
  height: 19px;
  transform: translateX(-7px) rotate(36deg);
}

.brand-symbol span:nth-child(2) { height: 26px; }
.brand-symbol span:nth-child(3) {
  height: 17px;
  transform: translateX(7px) rotate(36deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #3e5954;
  font-size: 0.91rem;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 7px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--primary);
  content: "";
  transition: transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.header-link { margin-left: auto; }

.text-link {
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 750;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  font-size: 1.2rem;
  line-height: 0;
  transition: transform 160ms ease;
}

.text-link:hover span { transform: translateX(3px); }

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--divider);
  background: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(370px, 0.83fr);
  align-items: center;
  gap: clamp(48px, 7vw, 126px);
  min-height: 590px;
  padding-top: 82px;
  padding-bottom: 82px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--primary);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.workspace-intro h2,
.results-context h2,
.methodology-grid h2 {
  max-width: 950px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  font-weight: 650;
  letter-spacing: -0.057em;
  line-height: 1.025;
}

.hero-intro {
  max-width: 740px;
  margin: 27px 0 0;
  color: #4d625d;
  font-size: clamp(1.04rem, 1.32vw, 1.22rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  padding: 11px 18px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

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

.button-primary {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 7px 18px rgba(11, 98, 90, 0.17);
  color: #fff;
}

.button-primary:hover:not(:disabled) {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  box-shadow: 0 9px 22px rgba(11, 98, 90, 0.22);
}

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

.button-secondary:hover:not(:disabled) {
  border-color: var(--primary);
  background: #f2f8f6;
}

.hero-facts {
  display: flex;
  margin: 46px 0 0;
  border-top: 1px solid var(--divider);
  padding: 22px 0 0;
}

.hero-facts div {
  min-width: 117px;
  padding-right: 25px;
}

.hero-facts div + div {
  border-left: 1px solid var(--divider);
  padding-left: 25px;
}

.hero-facts dt {
  color: var(--primary-dark);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1.68rem;
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-facts dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 650;
  line-height: 1.35;
}

.hero-evidence {
  position: relative;
  overflow: hidden;
  border: 1px solid #c9dcd6;
  border-radius: 12px;
  background: #f9fcfb;
  box-shadow: var(--shadow);
  padding: 25px;
}

.evidence-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.status-chip {
  border: 1px solid #a8c7bd;
  border-radius: 999px;
  padding: 5px 8px;
  background: #edf7f3;
  color: var(--pass);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

.construct-orbit {
  position: relative;
  height: 220px;
  margin: 8px 0 16px;
}

.orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid #b4d2c8;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-21deg);
}

.orbit-one {
  width: 310px;
  height: 120px;
}

.orbit-two {
  width: 226px;
  height: 226px;
  border-color: #d0e2dc;
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
  border: 13px solid #337e73;
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px #d6ebe4, 0 0 0 9px #e5f2ed;
}

.orbit-point {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 3px solid #e8f4f0;
  border-radius: 50%;
  background: var(--primary-dark);
  box-shadow: 0 2px 5px rgba(8, 74, 68, 0.2);
}

.point-one { top: 42px; left: 15%; }
.point-two { right: 16%; bottom: 47px; background: #2c6b94; }
.point-three { top: 95px; right: 5%; background: #9b6513; }

.evidence-steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--divider);
  padding-top: 8px;
}

.evidence-steps div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid #e7eeeb;
}

.evidence-steps span {
  color: var(--primary);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.evidence-steps p,
.evidence-note {
  margin: 0;
  color: #4d625d;
  font-size: 0.82rem;
  line-height: 1.47;
}

.evidence-note {
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.74rem;
}
.section {
  padding: clamp(68px, 8vw, 128px) 0;
}

.section-soft { background: var(--canvas); }

.section-heading { max-width: 860px; }

.section-heading h2,
.workspace-intro h2,
.results-context h2,
.methodology-grid h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.25rem);
  line-height: 1.08;
}

.section-heading > p:not(.eyebrow) {
  max-width: 770px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.6fr);
  gap: 70px;
  align-items: end;
}

.split-heading > p { margin-bottom: 3px !important; }

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 48px;
}

.principle-card {
  min-height: 225px;
  border: 1px solid var(--divider);
  border-top: 3px solid #5d9589;
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 20px;
}

.card-index {
  color: #579084;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.principle-card h3 {
  margin: 21px 0 8px;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.2;
}

.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.58;
}

.product-section {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: #fff;
}

.reference-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  margin-top: 47px;
}

.reference-card {
  overflow: hidden;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--surface);
}

.reference-image {
  display: grid;
  height: 210px;
  place-items: center;
  overflow: hidden;
  background: #f2f6f4;
}

.reference-card-wide .reference-image {
  height: 262px;
  background: #e7eeeb;
}

.reference-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.reference-card:hover img { transform: scale(1.025); }

.reference-card figcaption {
  min-height: 168px;
  padding: 19px 20px 20px;
}

.reference-card figcaption > span {
  display: block;
  color: var(--primary);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

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

.reference-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.52;
}

.reference-card small {
  display: block;
  margin-top: 12px;
  color: #778884;
  font-size: 0.71rem;
  line-height: 1.5;
}

.reference-card small a {
  color: var(--primary);
  font-weight: 760;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.assessment-section { background: #f3f7f5; }

.workspace-intro,
.results-context {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 30px;
}

.workspace-intro > p,
.results-context > p {
  max-width: 535px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.service-status {
  display: flex;
  align-items: center;
  min-height: 46px;
  margin-bottom: 18px;
  border: 1px solid #c7d9d3;
  border-radius: var(--radius-small);
  background: #edf5f2;
  padding: 10px 13px;
  color: #41635c;
  font-size: 0.84rem;
}

.service-status.is-ready {
  border-color: #b4d7c6;
  background: #e9f6ef;
  color: var(--pass);
}

.service-status.is-error {
  border-color: #e5bcb6;
  background: var(--fail-soft);
  color: var(--fail);
}

.workspace-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cbdcd6;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.workflow-rail {
  border-right: 1px solid var(--divider);
  background: #f8fbfa;
  padding: 30px 22px;
}

.workflow-rail ol,
.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-rail li {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding-bottom: 27px;
}

.workflow-rail li:not(:last-child)::after {
  position: absolute;
  top: 30px;
  bottom: 7px;
  left: 13px;
  width: 1px;
  background: #cedcd7;
  content: "";
}

.workflow-rail li > span,
.method-list > li > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #b6cbc4;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
}

.workflow-rail li.is-active > span {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.workflow-rail strong,
.workflow-rail small { display: block; }

.workflow-rail strong {
  color: #34504a;
  font-size: 0.84rem;
}

.workflow-rail small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.rail-note {
  margin-top: 19px;
  border-top: 1px solid var(--divider);
  padding-top: 21px;
}

.rail-note strong {
  font-size: 0.77rem;
  letter-spacing: 0.03em;
}

.rail-note p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.52;
}

.planner-panel { padding: 34px 38px 0; }

.planner-step {
  border-bottom: 1px solid var(--divider);
  padding: 0 0 34px;
}

.planner-step + .planner-step { padding-top: 34px; }
.planner-step:last-child { border-bottom: 0; }

.step-heading {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 13px;
  align-items: start;
  margin-bottom: 19px;
}

.step-heading > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.step-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.step-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.tissue-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.tissue-option {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--divider);
  border-radius: var(--radius-small);
  background: #fff;
  padding: 13px 14px;
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.tissue-option:hover {
  border-color: #8db8ad;
  background: #f8fcfa;
}

.tissue-option.is-selected {
  border-color: var(--primary);
  background: #e9f4f0;
  box-shadow: inset 0 0 0 1px var(--primary);
}

.tissue-option strong {
  color: #244940;
  font-size: 0.88rem;
  line-height: 1.2;
}

.tissue-option span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.3;
}
.locator-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.06fr) minmax(230px, 0.65fr);
  gap: 17px;
}

.anatomy-panel,
.site-directory {
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: #fff;
}

.anatomy-panel { overflow: hidden; }

.view-switcher {
  display: flex;
  gap: 3px;
  border-bottom: 1px solid var(--divider);
  background: #f7faf8;
  padding: 7px;
}

.view-button {
  flex: 1;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  padding: 8px 7px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.view-button:hover {
  background: #ecf4f1;
  color: var(--primary-dark);
}

.view-button.is-selected {
  border-color: #c3d8d1;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 1px 3px rgba(23, 49, 45, 0.06);
}

.canvas-wrap { padding: 16px 17px 11px; }

#anatomy-canvas {
  display: block;
  width: 100%;
  max-height: 450px;
  cursor: pointer;
  touch-action: manipulation;
}

.canvas-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.71rem;
}

.map-key {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 8px;
  border: 1px solid #2e8378;
  border-radius: 50%;
  background: #81bdb4;
}

.map-key-selected {
  margin-left: 0;
  border-color: #b65031;
  background: #e8754d;
}

.site-directory {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 19px;
}

.field label,
.site-directory > label,
.severity-field legend {
  display: block;
  margin-bottom: 8px;
  color: #36534c;
  font-size: 0.77rem;
  font-weight: 780;
  letter-spacing: 0.015em;
}

select,
input[type="number"] {
  width: 100%;
  min-height: 43px;
  border: 1px solid #b8ccc5;
  border-radius: 6px;
  background: #fff;
  padding: 9px 11px;
  color: var(--ink);
  font-size: 0.88rem;
}

select:hover,
input[type="number"]:hover { border-color: #79a99c; }

.site-context {
  margin-top: 16px;
  border-left: 3px solid #69a99b;
  background: #f5faf8;
  padding: 12px 13px;
}

.site-context strong {
  display: block;
  color: #2a4c45;
  font-size: 0.83rem;
}

.site-context p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.52;
}

.field-help {
  margin: 12px 0 0;
  color: #71837e;
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 20px;
  align-items: start;
}

.field,
.severity-field {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.size-field { grid-column: 1 / -1; }

.segmented-control {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 4px;
  border: 1px solid #c8d8d3;
  border-radius: 8px;
  background: #f2f6f4;
}

.severity-choice {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  padding: 6px 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 720;
  white-space: nowrap;
}

.severity-choice:hover { color: var(--primary-dark); }

.severity-choice.is-selected {
  border-color: #bcd4cc;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 1px 2px rgba(23, 49, 45, 0.07);
}

.check-row {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  cursor: pointer;
  color: #36534c !important;
  font-size: 0.83rem !important;
}

.check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

#size-input-wrap {
  max-width: 310px;
  margin-top: 13px;
}

#size-input-wrap label { margin-bottom: 6px; }

.assessment-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.assessment-summary {
  max-width: 620px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.assessment-summary strong { color: #31524a; }

.results-section {
  border-top: 1px solid var(--divider);
  background: #fff;
}

.results-context { margin-bottom: 25px; }

.eligibility-card {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: #f7faf8;
  padding: 18px 20px;
}

.eligibility-bar {
  align-self: stretch;
  border-radius: 99px;
  background: var(--info);
}

.eligibility-card.is-pass {
  border-color: #b9ddca;
  background: var(--pass-soft);
}

.eligibility-card.is-pass .eligibility-bar { background: var(--pass); }

.eligibility-card.is-stop {
  border-color: #e4bcb6;
  background: var(--fail-soft);
}

.eligibility-card.is-stop .eligibility-bar { background: var(--fail); }

.eligibility-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.eligibility-card p {
  margin: 4px 0 0;
  color: #50635f;
  font-size: 0.86rem;
}

.eligibility-route {
  border: 1px solid #b5cec5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  padding: 6px 10px;
  color: #33594f;
  font-size: 0.72rem;
  font-weight: 750;
  text-align: center;
}

.recommendation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(285px, 0.55fr);
  gap: 35px;
  margin-top: 18px;
  border: 1px solid #b8d2c9;
  border-radius: 12px;
  background: #f7fbf9;
  padding: 32px;
}

.recommendation-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--primary);
  font-size: 0.71rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.recommendation-label::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.recommendation-card h3 {
  margin: 12px 0 6px;
  color: var(--primary-dark);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  letter-spacing: -0.043em;
  line-height: 1.08;
}

.recommendation-material {
  margin: 0;
  color: #536b65;
  font-size: 0.92rem;
}

.recommendation-summary,
.recommendation-provenance {
  max-width: 760px;
  color: #46625b;
  font-size: 0.8rem;
  line-height: 1.55;
}

.recommendation-summary { margin: 11px 0 0; }

.recommendation-provenance {
  margin: 9px 0 0;
  border-left: 2px solid #d9a66c;
  padding-left: 10px;
}

.recommendation-reason {
  max-width: 750px;
  margin: 18px 0 0;
  color: #38534d;
  font-size: 0.91rem;
  line-height: 1.62;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  align-content: center;
}

.score-tile {
  border: 1px solid #cfe0d9;
  border-radius: 8px;
  background: #fff;
  padding: 12px 13px;
}

.score-tile strong,
.score-tile span { display: block; }

.score-tile strong {
  color: var(--primary-dark);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.score-tile span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
}
.result-tabs {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--divider);
  border-radius: 11px;
  background: #fff;
}

.tab-list {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--divider);
  background: #f8fbfa;
  padding: 0 15px;
}

.result-tab {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 16px 15px 14px;
  color: var(--muted);
  font-size: 0.81rem;
  font-weight: 750;
}

.result-tab::after {
  position: absolute;
  right: 15px;
  bottom: -1px;
  left: 15px;
  height: 3px;
  transform: scaleX(0);
  background: var(--primary);
  content: "";
  transition: transform 150ms ease;
}

.result-tab.is-selected { color: var(--primary-dark); }
.result-tab.is-selected::after { transform: scaleX(1); }

.result-panel { padding: 32px; }

.detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.55fr);
  gap: 45px;
}

.detail-columns h3,
.integration-header h3,
.robustness-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.48rem;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.layer-stack {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.layer-row {
  display: grid;
  grid-template-columns: 36px minmax(140px, 0.55fr) 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--divider);
  border-radius: 8px;
  background: #fbfdfc;
  padding: 13px 14px;
}

.layer-row > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #dcece6;
  color: var(--primary-dark);
  font-size: 0.71rem;
  font-weight: 800;
}

.layer-row strong {
  color: #2e5048;
  font-size: 0.84rem;
}

.layer-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.45;
}

.fact-sheet,
.alternatives-panel {
  align-self: start;
  border-left: 3px solid #72a99d;
  background: #f5faf8;
  padding: 18px;
}

.fact-sheet h4,
.alternatives-panel h4 {
  margin: 0 0 11px;
  color: #2b5148;
  font-size: 0.84rem;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.fact-list div {
  border-bottom: 1px solid #d7e6e0;
  padding-bottom: 10px;
}

.fact-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fact-list dt {
  color: #73857f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 3px 0 0;
  color: #36534c;
  font-size: 0.81rem;
  line-height: 1.42;
}

.integration-header,
.robustness-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
}

.integration-header > p {
  max-width: 425px;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.integration-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin-top: 27px;
}

.integration-detail {
  border: 1px solid var(--divider);
  border-radius: 8px;
  background: #fbfdfc;
  padding: 18px;
}

.integration-detail h4 {
  margin: 0;
  color: #2f544b;
  font-size: 0.94rem;
}

.integration-detail .detail-score {
  display: inline-block;
  margin: 8px 0 10px;
  border-radius: 99px;
  background: #e7f2ee;
  padding: 4px 8px;
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 780;
}

.integration-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.parameter-table-wrap {
  overflow-x: auto;
  margin-top: 21px;
  border: 1px solid var(--divider);
  border-radius: 8px;
}

.parameter-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.parameter-table th,
.parameter-table td {
  border-bottom: 1px solid #e1ebe7;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.parameter-table th {
  background: #f5f9f7;
  color: #3f6258;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.parameter-table td {
  color: #4a615b;
  line-height: 1.45;
}

.parameter-table tr:last-child td { border-bottom: 0; }

.alternative-row {
  border-bottom: 1px solid #d8e6e1;
  padding: 12px 0;
}

.alternative-row:last-child { border-bottom: 0; }

.alternative-row strong {
  display: block;
  color: #36534c;
  font-size: 0.81rem;
}

.alternative-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.gate-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.gate-chip {
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 0.67rem;
  font-weight: 750;
}

.gate-chip.is-pass {
  background: #e2f2e9;
  color: var(--pass);
}

.gate-chip.is-fail {
  background: #f9e5e2;
  color: var(--fail);
}

.robustness-header { align-items: center; }
.robustness-results { margin-top: 24px; }

.robustness-results > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.robustness-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 19px;
}

.robustness-stat {
  border: 1px solid var(--divider);
  border-radius: 8px;
  background: #f8fbfa;
  padding: 13px;
}

.robustness-stat strong,
.robustness-stat span { display: block; }

.robustness-stat strong {
  color: var(--primary-dark);
  font-size: 1.28rem;
  line-height: 1.15;
}

.robustness-stat span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 700;
}

.robustness-intro,
.robustness-note {
  margin: 15px 0;
  border-left: 3px solid #6e9e94;
  background: #f3f8f6;
  padding: 12px 14px;
  color: #49645d;
  font-size: 0.79rem;
  line-height: 1.56;
}

.robustness-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--divider);
  border-radius: 8px;
}

.methodology-section {
  border-top: 1px solid var(--divider);
  background: var(--canvas);
}

.methodology-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(370px, 0.82fr);
  gap: clamp(50px, 8vw, 140px);
}

.methodology-grid > div > p:not(.eyebrow) {
  max-width: 660px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.67;
}

.method-list {
  display: grid;
  gap: 8px;
}

.method-list > li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 13px;
  border-bottom: 1px solid var(--divider);
  padding: 0 0 18px;
}

.method-list > li:last-child { border-bottom: 0; }
.method-list > li > span { margin-top: 2px; }

.method-list strong {
  color: #34534b;
  font-size: 0.91rem;
}

.method-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.52;
}

.site-footer {
  border-top: 1px solid #2d5951;
  background: #193c36;
  color: #d9ebe5;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 95px;
  gap: 20px;
}

.footer-shell strong,
.footer-shell span { display: block; }

.footer-shell strong {
  color: #fff;
  font-size: 1rem;
}

.footer-shell span {
  margin-top: 4px;
  color: #b4d0c8;
  font-size: 0.76rem;
}

.footer-shell a {
  color: #d7ebe4;
  font-size: 0.8rem;
  font-weight: 700;
}

.toast {
  position: fixed;
  z-index: 70;
  right: 20px;
  bottom: 20px;
  max-width: min(410px, calc(100vw - 40px));
  border: 1px solid #e6bbb6;
  border-radius: 8px;
  background: #fff7f6;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  color: var(--fail);
  font-size: 0.83rem;
}
@media (max-width: 1100px) {
  .hero-grid,
  .methodology-grid { grid-template-columns: 1fr; }

  .hero-grid {
    padding-top: 65px;
    padding-bottom: 65px;
  }

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

  .split-heading,
  .recommendation-card {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .reference-grid { grid-template-columns: 1.2fr 1fr; }
  .reference-card-wide { grid-row: span 2; }
  .locator-grid { grid-template-columns: 1fr; }
  .site-directory { min-height: auto; }
}

@media (max-width: 820px) {
  :root { --page: min(100% - 32px, 1440px); }

  .nav-shell {
    min-height: 67px;
    gap: 14px;
  }

  .main-nav { display: none; }
  .brand { min-width: 0; }
  .header-link { font-size: 0.79rem; }
  .header-link span { display: none; }

  .workspace-intro,
  .results-context,
  .integration-header,
  .robustness-header { display: block; }

  .workspace-intro > p,
  .integration-header > p { margin-top: 16px; }

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

  .workflow-rail {
    border-right: 0;
    border-bottom: 1px solid var(--divider);
    padding: 17px 19px;
  }

  .workflow-rail ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
  }

  .workflow-rail li {
    grid-template-columns: 25px 1fr;
    padding: 0;
  }

  .workflow-rail li:not(:last-child)::after,
  .rail-note { display: none; }

  .planner-panel { padding: 25px 20px 0; }

  .form-grid,
  .detail-columns,
  .integration-details { grid-template-columns: 1fr; }

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

  .assessment-action .button { width: 100%; }
  .results-context .button { margin-top: 17px; }

  .result-panel,
  .recommendation-card { padding: 21px; }

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

@media (max-width: 580px) {
  .research-banner .page-shell {
    min-height: 42px;
    font-size: 0.69rem;
    line-height: 1.35;
  }

  .brand small { display: none; }

  .hero-grid {
    min-height: 0;
    padding-top: 53px;
    padding-bottom: 53px;
  }

  .hero h1 { font-size: clamp(2.18rem, 11vw, 3.25rem); }

  .hero-facts { justify-content: space-between; }

  .hero-facts div {
    min-width: 0;
    padding-right: 13px;
  }

  .hero-facts div + div { padding-left: 13px; }
  .hero-evidence { padding: 19px; }
  .construct-orbit { height: 178px; }
  .orbit-one { width: 252px; height: 98px; }
  .orbit-two { width: 184px; height: 184px; }

  .principle-grid,
  .reference-grid { grid-template-columns: 1fr; }

  .reference-card-wide { grid-row: auto; }

  .reference-card-wide .reference-image,
  .reference-image { height: 220px; }

  .tissue-options { grid-template-columns: repeat(2, 1fr); }
  .view-switcher { overflow-x: auto; }
  .view-button { min-width: 92px; }
  .form-grid { gap: 17px; }
  .segmented-control { grid-template-columns: repeat(2, 1fr); }

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

  .eligibility-card { grid-template-columns: 7px minmax(0, 1fr); }

  .eligibility-route {
    grid-column: 2;
    justify-self: start;
  }

  .layer-row { grid-template-columns: 33px 1fr; }
  .layer-row p { grid-column: 2; }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.target-details,
.robustness-method,
.robustness-detail {
  margin-top: 16px;
  border-top: 1px solid #d4e3dd;
  padding-top: 12px;
}

.target-details summary,
.robustness-method summary,
.robustness-detail summary {
  cursor: pointer;
  color: #31564d;
  font-size: 0.78rem;
  font-weight: 780;
}

.target-details details {
  margin-top: 10px;
  border-top: 1px solid #d8e6e1;
  padding-top: 9px;
}

.target-details details summary {
  color: #526c65;
  font-size: 0.75rem;
}

.target-details p,
.robustness-detail p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.term-definition-list {
  display: grid;
  gap: 9px;
  margin: 10px 0 0;
}

.term-definition-list div {
  border-left: 2px solid #d9a66c;
  padding-left: 9px;
}

.term-definition-list dt {
  color: #31564d;
  font-size: 0.74rem;
  font-weight: 800;
}

.term-definition-list dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.robustness-method ul {
  margin: 11px 0 0;
  padding-left: 19px;
  color: var(--muted);
  font-size: 0.78rem;
}

.robustness-method li + li { margin-top: 6px; }

.robustness-subheading {
  margin: 26px 0 11px;
  color: #2f544b;
  font-size: 0.94rem;
}

.robustness-detail-list {
  display: grid;
  gap: 0;
  margin-top: 10px;
}

.robustness-detail {
  margin-top: 0;
  background: #fbfdfc;
  padding: 12px 14px;
}

.robustness-detail + .robustness-detail { border-top-color: #dce8e3; }
/* Maroon and orange editorial theme. */
:root {
  --canvas: #fbf1ea;
  --surface: #fffdfa;
  --ink: #461625;
  --muted: #735b60;
  --primary: #7e2037;
  --primary-dark: #4f1023;
  --primary-soft: #f6ded2;
  --divider: #e7d1ca;
  --pass: #6e3429;
  --pass-soft: #f8eadf;
  --caution: #a84d22;
  --caution-soft: #fff0df;
  --fail: #982739;
  --fail-soft: #fbe8e7;
  --info: #6f2f43;
  --shadow: 0 14px 34px rgba(76, 16, 35, 0.10);
  --shadow-small: 0 5px 16px rgba(76, 16, 35, 0.08);
  font-family: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

html,
body { background: var(--canvas); }

body {
  color: var(--ink);
  font-family: inherit;
}

:focus-visible {
  outline-color: #c95a28;
}

.skip-link {
  background: var(--primary-dark);
}

.site-header {
  border-bottom-color: rgba(231, 209, 202, 0.92);
  background: rgba(255, 253, 250, 0.96);
}

.brand-symbol {
  border-color: #d48a67;
  background: #f9e6d9;
}

.brand strong,
.text-link,
.hero-facts dt {
  color: var(--primary-dark);
}

.main-nav { color: #68424d; }
.hero { background: #fffdfa; }
.hero-intro,
.evidence-steps p { color: #684f54; }

.hero h1,
.section-heading h2,
.workspace-intro h2,
.results-context h2,
.methodology-grid h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.button-primary {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 8px 18px rgba(126, 32, 55, 0.20);
}

.button-primary:hover:not(:disabled) {
  border-color: #a64a29;
  background: #a64a29;
  box-shadow: 0 10px 22px rgba(166, 74, 41, 0.22);
}

.button-secondary {
  border-color: #d9bdb3;
  background: #fffdfa;
  color: var(--primary-dark);
}

.button-secondary:hover:not(:disabled) {
  border-color: #c45a2d;
  background: #fff1e8;
}

.hero-evidence {
  border-color: #e3c9c1;
  background: #fff8f3;
}

.status-chip {
  border-color: #e4b5a1;
  background: #fff0e4;
  color: #803620;
}

.orbit { border-color: #dcaea1; }
.orbit-two { border-color: #ecd4cc; }
.orbit-core {
  border-color: #8d2d42;
  box-shadow: inset 0 0 0 8px #f2d5c8, 0 0 0 9px #f9e8df;
}
.orbit-point {
  border-color: #fdeee6;
  background: #7e2037;
  box-shadow: 0 2px 5px rgba(79, 16, 35, 0.2);
}
.point-two { background: #bd5429; }
.point-three { background: #9b5a24; }
.evidence-steps div { border-bottom-color: #efe0d9; }

.section-soft,
.assessment-section { background: #fbf1ea; }

.principle-grid {
  grid-template-columns: repeat(5, 1fr);
}

.principle-card {
  border-top-color: #c95a2c;
}

.card-index { color: #b74a2a; }

.reference-image { background: #fff3ea; }
.reference-card-wide .reference-image { background: #f7e3d7; }

.service-status {
  border-color: #e6cfc6;
  background: #fff4ed;
  color: #704d55;
}

.service-status.is-ready {
  border-color: #e0bba8;
  background: #fff0e5;
  color: #743126;
}

.workspace-grid {
  border-color: #e5cec7;
}

.workflow-rail {
  border-right-color: var(--divider);
  background: #fff7f1;
}

.workflow-rail li:not(:last-child)::after {
  background: #e4cec7;
}

.workflow-rail li > span,
.method-list > li > span {
  border-color: #d9bdb2;
  background: #fffdfa;
}

.workflow-rail strong { color: #5b2a37; }

.tissue-option {
  border-color: #e2cac2;
  background: #fffdfa;
}

.tissue-option:hover {
  border-color: #cf8b72;
  background: #fff4ed;
}

.tissue-option.is-selected {
  border-color: #a34238;
  background: #fae5d8;
  box-shadow: inset 0 0 0 1px #a34238;
}

.tissue-option strong { color: #5b2131; }

.anatomy-panel,
.site-directory {
  border-color: #e4cec7;
  background: #fffdfa;
}

.view-switcher {
  border-bottom-color: #e5d0c9;
  background: #fff4ed;
}

.view-button:hover {
  background: #fae5da;
  color: var(--primary-dark);
}

.view-button.is-selected {
  border-color: #dfb5a6;
  background: #fffdfa;
  color: var(--primary-dark);
  box-shadow: 0 1px 3px rgba(79, 16, 35, 0.08);
}

.canvas-wrap { padding: 17px 18px 14px; }

.anatomy-stage {
  position: relative;
  width: min(100%, 405px);
  aspect-ratio: 520 / 620;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #ead7d0;
  border-radius: 8px;
  background: #fffaf6;
}

.anatomy-atlas-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.96;
  filter: sepia(0.14) saturate(0.75) contrast(0.98);
}

.anatomy-atlas-image.is-back {
  filter: sepia(0.18) saturate(0.7) contrast(0.96);
}

.anatomy-atlas-image.is-head {
  object-fit: cover;
  object-position: 50% 4%;
  transform: scale(1.42);
  transform-origin: 50% 7%;
}

#anatomy-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  cursor: crosshair;
}

.canvas-caption { color: #745b60; }
.map-key {
  border-color: #7e2037;
  background: #bd6747;
}
.map-key-selected {
  border-color: #a64722;
  background: #d66a2f;
}
.atlas-credit {
  margin: 9px 0 0;
  color: #896f72;
  font-size: 0.68rem;
  line-height: 1.45;
}

.site-context {
  border-left-color: #c65b31;
  background: #fff3eb;
}
.site-context strong { color: #5e2837; }

select,
input[type="number"] {
  border-color: #d8bfb7;
  background: #fffdfa;
}

select:hover,
input[type="number"]:hover { border-color: #c77554; }

.segmented-control {
  border-color: #dec9c0;
  background: #fff1e9;
}

.severity-choice.is-selected {
  border-color: #dfc0b4;
  background: #fffdfa;
  color: var(--primary-dark);
  box-shadow: 0 1px 2px rgba(79, 16, 35, 0.08);
}

.tissue-gallery-section {
  border-top: 1px solid #6a1830;
  border-bottom: 1px solid #6a1830;
  background: #5d1429;
  color: #fff5ed;
}

.tissue-gallery-section .section-heading h2,
.tissue-gallery-section .section-heading > p:not(.eyebrow) {
  color: #fff5ed;
}

.tissue-gallery-section .eyebrow { color: #f4a16e; }

.tissue-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 45px;
}

.tissue-reference-card {
  overflow: hidden;
  border: 1px solid rgba(255, 216, 194, 0.30);
  border-radius: 10px;
  background: #fffaf6;
  box-shadow: 0 10px 24px rgba(35, 5, 14, 0.22);
}

.tissue-reference-card button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: inherit;
}

.tissue-reference-card button:focus-visible {
  outline-offset: -4px;
}

.tissue-reference-card.is-selected {
  border-color: #f4a16e;
  box-shadow: 0 0 0 2px rgba(244, 161, 110, 0.52), 0 10px 24px rgba(35, 5, 14, 0.28);
}

.tissue-reference-image {
  display: block;
  height: 210px;
  overflow: hidden;
  background: #e5cfc3;
}

.tissue-reference-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.tissue-reference-card button:hover .tissue-reference-image img {
  transform: scale(1.035);
}

.tissue-reference-copy {
  display: grid;
  gap: 6px;
  padding: 18px 19px 17px;
}

.tissue-reference-label {
  color: #a6472c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tissue-reference-copy strong {
  color: #521529;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.08;
}

.tissue-reference-copy > span:last-child {
  color: #715b60;
  font-size: 0.8rem;
  line-height: 1.55;
}

.tissue-reference-card > a {
  display: block;
  border-top: 1px solid #eedbd3;
  padding: 10px 19px 12px;
  color: #834028;
  font-size: 0.68rem;
  font-weight: 700;
}

.tissue-reference-card > a:hover { color: #5f1429; }

.result-case-brief {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 18px;
  border: 1px solid #e5c9c0;
  border-left: 4px solid #c85a2c;
  background: #fff7f1;
  padding: 11px 14px;
  color: #694b52;
  font-size: 0.76rem;
}

.result-case-brief > span:first-child {
  color: #9c4729;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.result-case-brief strong { color: #59172a; }

.construct-placement {
  margin-top: 22px;
}

.placement-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e5cfc8;
  border-radius: 9px;
  background: #fffaf6;
}

.placement-image {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-right: 1px solid #ecd9d1;
  background: #fff5ef;
}

.placement-image img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: contain;
  filter: sepia(0.13) saturate(0.72);
}

.placement-image.placement-is-head img {
  object-fit: cover;
  object-position: 50% 4%;
  transform: scale(1.3);
  transform-origin: top center;
}

.placement-ring,
.placement-marker {
  position: absolute;
  left: var(--site-left);
  top: var(--site-top);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.placement-ring {
  width: 34px;
  height: 34px;
  border: 2px solid #7e2037;
  background: rgba(255, 245, 237, 0.56);
  box-shadow: 0 0 0 6px rgba(213, 102, 48, 0.18);
}

.placement-marker {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  background: #d66a2f;
}

.placement-path {
  position: absolute;
  left: calc(var(--site-left) - 5px);
  top: calc(var(--site-top) - 68px);
  width: 2px;
  height: 64px;
  border-left: 2px dashed #a7472a;
  transform: rotate(17deg);
  transform-origin: bottom;
}

.placement-copy {
  padding: 22px;
}

.placement-copy h4 {
  margin: 2px 0 9px;
  color: #56172a;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 400;
}

.placement-copy p:not(.eyebrow) {
  margin: 0;
  color: #70595e;
  font-size: 0.82rem;
  line-height: 1.58;
}

.placement-copy ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #60414a;
  font-size: 0.74rem;
}

.placement-copy li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.placement-copy li span {
  display: inline-block;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.legend-host { border: 1px solid #b6a08f; background: #f5ded2; }
.legend-interface { border: 1px solid #7e2037; background: #fff3ea; }
.legend-construct { border: 1px solid #b04b24; background: #d66a2f; }

.integration-details { grid-template-columns: repeat(2, 1fr); }
.integration-detail {
  border-color: #e6d1c8;
  background: #fffaf6;
}
.integration-detail h4,
.fact-sheet h4,
.alternatives-panel h4 { color: #5c1e31; }

.integration-detail .detail-score {
  background: #fae5d8;
  color: #7e2037;
}

.fact-sheet,
.alternatives-panel {
  border-left-color: #c45a2e;
  background: #fff4ed;
}

.fact-list div { border-bottom-color: #ead7cf; }
.fact-list dd { color: #66444e; }

.target-details {
  border-color: #e5cfc8;
  background: #fffaf6;
}

.limitation-list {
  margin: 10px 0;
  padding-left: 18px;
}

.limitation-list li + li { margin-top: 5px; }

.integration-pathway {
  grid-column: 1 / -1;
  margin-top: 10px;
  border-top: 1px solid #e7d4cc;
  padding-top: 28px;
}

.pathway-heading h4 {
  margin: 0;
  color: #59172a;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.delivery-step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.delivery-step {
  min-height: 145px;
  border: 1px solid #e6d1c9;
  border-top: 3px solid #c95a2c;
  border-radius: 7px;
  background: #fffaf6;
  padding: 14px;
}

.delivery-step > span {
  color: #b04b27;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.delivery-step h4 {
  margin: 13px 0 7px;
  color: #5c1f31;
  font-size: 0.82rem;
}

.delivery-step p {
  margin: 0;
  color: #705a5f;
  font-size: 0.72rem;
  line-height: 1.52;
}

.research-banner {
  border-top: 1px solid rgba(255, 222, 204, 0.2);
  border-bottom: 0;
  background: #3f0d1d;
  color: #fff0e5;
}

.research-banner .page-shell { min-height: 42px; }
.banner-dot { background: #ef8b51; }

.site-footer {
  background: #531126;
  color: #fff3eb;
}

.site-footer a { color: #f4a16e; }

.brand {
  gap: 12px;
  min-width: 252px;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark__field {
  fill: #f9e6d9;
  stroke: #7e2037;
  stroke-width: 1.35;
}

.brand-mark__host {
  fill: none;
  stroke: #65152d;
  stroke-linecap: round;
  stroke-width: 4.5;
}

.brand-mark__bridge {
  fill: #d66a2f;
  stroke: #fff4eb;
  stroke-width: 1.15;
}

.brand-copy { display: block; }

.brand .brand-wordmark {
  color: #65152d;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.36rem;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.brand-wordmark span { color: #65152d; }

.brand-wordmark em {
  color: #d66a2f;
  font-style: normal;
}

.brand .brand-copy small {
  margin-top: 3px;
  color: #7b5660;
  font-size: 0.63rem;
  letter-spacing: 0.105em;
}

.anatomy-focus {
  width: min(100%, 330px);
  margin-top: 18px;
  border-top: 1px solid #ead9d2;
  padding-top: 16px;
}

.focus-card {
  overflow: hidden;
  border: 1px solid #e3c6bc;
  border-radius: 8px;
  background: #fffaf6;
  box-shadow: 0 8px 22px rgba(92, 22, 42, 0.07);
}

.focus-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px 11px;
}

.focus-card-header .eyebrow {
  margin: 0 0 3px;
  color: #aa4d2a;
  font-size: 0.61rem;
  letter-spacing: 0.11em;
}

.focus-card-header h4 {
  margin: 0;
  color: #5b1830;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.05;
}

.focus-view-tag {
  flex: 0 0 auto;
  border: 1px solid #e6c8ba;
  border-radius: 999px;
  background: #fff1e8;
  color: #7c3145;
  padding: 4px 7px;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.focus-viewport {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 520 / 620;
  border-top: 1px solid #ecd9d1;
  border-bottom: 1px solid #ecd9d1;
  background: #fffdfa;
}

.focus-atlas-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  will-change: transform;
}

.focus-atlas-layer .anatomy-atlas-image {
  width: 100%;
  height: 100%;
}

.focus-target {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 31px;
  height: 31px;
  border: 2px solid #d66a2f;
  border-radius: 50%;
  background: rgba(255, 249, 244, 0.54);
  box-shadow: 0 0 0 5px rgba(214, 106, 47, 0.16), 0 5px 14px rgba(93, 22, 43, 0.18);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.focus-target::before,
.focus-target::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: #7e2037;
  transform: translate(-50%, -50%);
}

.focus-target::before {
  width: 15px;
  height: 1px;
}

.focus-target::after {
  width: 1px;
  height: 15px;
}

.focus-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 10px 12px 7px;
  color: #76535d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.focus-control {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #d5a08e;
  border-radius: 50%;
  background: #fffdfa;
  color: #781f39;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
}

.focus-control:hover {
  border-color: #a4472a;
  background: #f9e5db;
}

.focus-note {
  margin: 0;
  padding: 0 13px 13px;
  color: #82666c;
  font-size: 0.67rem;
  line-height: 1.48;
}

.layer-row {
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border-color: #e5cdc5;
  background: #fffdfa;
  padding: 14px;
}

.layer-row > span {
  width: 29px;
  height: 29px;
  background: #f7e1d6;
  color: #751d35;
}

.layer-copy { min-width: 0; }

.layer-row strong {
  display: block;
  color: #5d1930;
  font-size: 0.88rem;
}

.layer-row .layer-value {
  margin: 4px 0 0;
  color: #6d4550;
  font-size: 0.79rem;
  font-weight: 700;
}

.layer-row .layer-explanation {
  margin: 8px 0 0;
  border-top: 1px solid #eedbd3;
  padding-top: 8px;
  color: #80646a;
  font-size: 0.73rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .principle-grid { grid-template-columns: repeat(3, 1fr); }
  .delivery-step-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .principle-grid,
  .tissue-reference-grid,
  .delivery-step-grid { grid-template-columns: 1fr; }

  .placement-card { grid-template-columns: 1fr; }
  .placement-image {
    min-height: 245px;
    border-right: 0;
    border-bottom: 1px solid #ecd9d1;
  }
  .placement-image img { min-height: 245px; }
}
@media (max-width: 1280px) {
  .nav-shell { gap: 24px; }
  .brand { min-width: 210px; }
  .main-nav { gap: 20px; }
  .header-link {
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

@media (max-width: 1040px) {
  .nav-shell { gap: 18px; }
  .brand { min-width: 190px; }
  .main-nav { gap: 16px; }
  .header-link { display: none; }
}
/* Phase 2: smart construct communication potential */
.smart-materials-section {
  border-top: 1px solid #ecd8d0;
  border-bottom: 1px solid #ecd8d0;
  background:
    radial-gradient(circle at 9% 4%, rgba(230, 138, 73, 0.13), transparent 29rem),
    linear-gradient(135deg, #fffaf5 0%, #fffdfb 52%, #fff5ee 100%);
}

.smart-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.smart-system-step {
  position: relative;
  min-height: 208px;
  overflow: hidden;
  border: 1px solid #e8cfc4;
  border-radius: 12px;
  background: rgba(255, 253, 250, 0.88);
  padding: 22px 19px 20px;
  box-shadow: 0 10px 28px rgba(103, 32, 52, 0.055);
}

.smart-system-step::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #8b2440, #de7738);
  content: "";
}

.smart-system-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  border-radius: 999px;
  background: #f7e3d7;
  color: #86243d;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.smart-system-step h3,
.smart-catalogue-heading h3,
.smart-result-header h3 {
  margin: 16px 0 8px;
  color: #5d1830;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.23rem;
  font-weight: 400;
  line-height: 1.18;
}

.smart-system-step p,
.smart-catalogue-heading > p,
.smart-result-header > p {
  margin: 0;
  color: #76545c;
  font-size: 0.84rem;
  line-height: 1.58;
}

.smart-research-boundary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  border: 1px solid #e6c8b9;
  border-left: 4px solid #c85c32;
  border-radius: 10px;
  background: #fff3e9;
  padding: 17px 19px;
}

.smart-research-boundary strong {
  color: #7a2139;
  font-size: 0.78rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.smart-research-boundary p {
  margin: 0;
  color: #714952;
  font-size: 0.83rem;
  line-height: 1.58;
}

.smart-catalogue-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.7fr);
  gap: 38px;
  align-items: end;
  margin-top: 51px;
}

.smart-catalogue-heading .eyebrow,
.smart-result-header .eyebrow {
  margin-bottom: 4px;
  color: #a84e2d;
}

.smart-catalogue-heading h3,
.smart-result-header h3 { margin-top: 0; font-size: 1.58rem; }

.smart-tissue-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 21px;
}

.smart-filter-button {
  border: 1px solid #e4c5b9;
  border-radius: 999px;
  background: #fffdfa;
  padding: 8px 12px;
  color: #754657;
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 760;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.smart-filter-button:hover,
.smart-filter-button:focus-visible {
  border-color: #c65c35;
  background: #fff0e6;
  color: #751c35;
}

.smart-filter-button.is-selected {
  border-color: #7e2038;
  background: #7e2038;
  color: #fffaf7;
}

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

.smart-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #e8cec3;
  border-radius: 11px;
  background: #fffdfa;
  padding: 19px;
  box-shadow: 0 8px 20px rgba(94, 25, 45, 0.045);
}

.smart-card-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.smart-card-tissue {
  color: #9a4b31;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.smart-card h4 {
  margin: 9px 0 0;
  color: #5b1830;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
}

.smart-readiness {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: right;
}

.smart-readiness--prototype { background: #f1e0d4; color: #8a3c25; }
.smart-readiness--precedent { background: #f6e8d8; color: #8b5730; }
.smart-readiness--concept { background: #f4e5e8; color: #852942; }

.smart-verdict {
  margin: 15px 0 0;
  color: #623342;
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.5;
}

.smart-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.smart-signals li {
  border: 1px solid #e7d1c8;
  border-radius: 999px;
  background: #fff6f0;
  padding: 4px 7px;
  color: #7b4a57;
  font-size: 0.67rem;
  font-weight: 720;
}

.smart-card-copy {
  margin: 15px 0 0;
  color: #72535b;
  font-size: 0.79rem;
  line-height: 1.55;
}

.smart-card-copy strong,
.smart-verdict strong,
.smart-detail strong { color: #6b1f36; }
.smart-host-context {
  margin: 12px 0 0;
  border-left: 2px solid #d46b3c;
  padding-left: 9px;
  color: #75535c;
  font-size: 0.77rem;
  line-height: 1.55;
}

.smart-host-context strong,
.smart-host-copy strong { color: #6b1f36; }

.smart-card details {
  margin-top: 16px;
  border-top: 1px solid #eedbd4;
  padding-top: 11px;
}

.smart-card summary {
  cursor: pointer;
  color: #7b243e;
  font-size: 0.75rem;
  font-weight: 800;
}

.smart-card details p {
  margin: 10px 0 0;
  color: #76575f;
  font-size: 0.76rem;
  line-height: 1.55;
}

.smart-evidence-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: #8a2b40;
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.smart-evidence-link:hover,
.smart-evidence-link:focus-visible { color: #c45a31; }

.smart-empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed #dfc3b7;
  border-radius: 10px;
  background: #fffaf5;
  padding: 20px;
  color: #78545d;
}

.smart-result-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
}

.smart-result-header > p { max-width: 425px; }

.smart-result-details { margin-top: 26px; }

.smart-result-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  border: 1px solid #e6cbbf;
  border-radius: 10px;
  background: linear-gradient(120deg, #fff7f1, #fffdfa);
  padding: 20px;
}

.smart-result-summary h4 {
  margin: 0;
  color: #5b1830;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.32rem;
  font-weight: 400;
}

.smart-result-summary p {
  margin: 9px 0 0;
  color: #704b56;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.55;
}

.smart-result-chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.smart-chain-step {
  position: relative;
  border: 1px solid #ead5cc;
  border-radius: 8px;
  background: #fffdfa;
  padding: 13px;
}

.smart-chain-step:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -8px;
  z-index: 1;
  width: 16px;
  border-top: 1px solid #c27b62;
  content: "";
}

.smart-chain-step span {
  display: block;
  color: #a64b2d;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.smart-chain-step p {
  margin: 6px 0 0;
  color: #76545d;
  font-size: 0.75rem;
  line-height: 1.45;
}

.smart-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 15px;
}

.smart-detail {
  border: 1px solid #ecd8d0;
  border-radius: 8px;
  background: #fffdfa;
  padding: 16px;
}

.smart-detail h5 {
  margin: 0;
  color: #6c1f37;
  font-size: 0.83rem;
}

.smart-detail p {
  margin: 7px 0 0;
  color: #74555d;
  font-size: 0.79rem;
  line-height: 1.55;
}

.smart-detail--boundary {
  grid-column: 1 / -1;
  border-left: 3px solid #c75c36;
  background: #fff6f0;
}
.smart-host-placement {
  display: grid;
  grid-template-columns: minmax(190px, 0.68fr) minmax(0, 1fr);
  overflow: hidden;
  margin-top: 15px;
  border: 1px solid #e8d1c7;
  border-radius: 9px;
  background: #fffaf6;
}

.smart-host-map {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-right: 1px solid #ecd9d1;
  background: #fff5ef;
}

.smart-host-map img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: contain;
  filter: sepia(0.13) saturate(0.72);
}

.smart-host-map.placement-is-head img {
  object-fit: cover;
  object-position: 50% 4%;
  transform: scale(1.3);
  transform-origin: top center;
}

.smart-host-copy {
  padding: 20px;
}

.smart-host-copy .eyebrow {
  margin: 0 0 3px;
  color: #a64b2d;
}

.smart-host-copy h5 {
  margin: 0 0 9px;
  color: #5b1830;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.23rem;
  font-weight: 400;
  line-height: 1.2;
}

.smart-host-copy p:not(.eyebrow) {
  margin: 9px 0 0;
  color: #70545d;
  font-size: 0.79rem;
  line-height: 1.55;
}

.smart-host-copy .smart-host-caption {
  color: #8a6770;
  font-size: 0.73rem;
}

@media (max-width: 1100px) {
  .smart-system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smart-catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smart-result-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smart-chain-step:not(:last-child)::after { display: none; }
}

@media (max-width: 760px) {
  .smart-system-grid,
  .smart-catalogue,
  .smart-detail-grid,
  .smart-result-chain,
  .smart-host-placement { grid-template-columns: 1fr; }

  .smart-research-boundary,
  .smart-catalogue-heading,
  .smart-result-header,
  .smart-result-summary { grid-template-columns: 1fr; display: grid; }

  .smart-research-boundary { gap: 7px; }
  .smart-host-map {
    min-height: 215px;
    border-right: 0;
    border-bottom: 1px solid #ecd9d1;
  }
  .smart-host-map img { min-height: 215px; }
  .smart-system-step { min-height: 0; }
  .smart-readiness { max-width: 150px; }
}
:root .makam-brand { display:flex; flex-direction:column; align-items:center; gap:14px; padding:32px 20px; background:#102c3b; border-top:1px solid rgba(128,128,128,.18); text-decoration:none; }
:root .makam-brand span { color:#ffe5a3; font-size:18px; font-weight:700; letter-spacing:.2em; }
:root .makam-brand img { display:block; width:92px; height:92px; object-fit:contain; border-radius:50%; box-shadow:0 4px 18px rgba(0,0,0,.1); }
:root .makam-brand:focus-visible { outline:3px solid #168b8d; outline-offset:-4px; }
