/* ============================================================
   odNOVA V2 footer — one shared owner for review candidates.
   A compact editorial colophon, not another content chapter.
   No JavaScript, no scroll ownership, no motion dependency.
   ============================================================ */

.odv2-footer {
  --odv2f-ground: var(--navy-near-black, #05070b);
  --odv2f-ink: var(--text-hi, #fbf9f4);
  --odv2f-body: var(--text-body-2, #bcc6d2);
  --odv2f-muted: #93a0b0;
  --odv2f-gold: var(--gold-soft, #c9b79a);
  --odv2f-line: rgba(237, 232, 223, 0.14);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 12% 24%, rgba(21, 54, 48, 0.22), transparent 66%),
    linear-gradient(115deg, #050a0a 0%, var(--odv2f-ground) 46%, #08111b 100%);
  color: var(--odv2f-body);
  border-top: 1px solid rgba(201, 183, 154, 0.22);
  font-family: var(--font-sans, 'Archivo', sans-serif);
  font-weight: 300;
}

.odv2-footer,
.odv2-footer * { box-sizing: border-box; }

.odv2-footer.odv2-footer a {
  min-inline-size: 44px;
  color: inherit;
  text-decoration: none;
}

.odv2-footer__ghost {
  position: absolute;
  z-index: -1;
  right: clamp(-150px, -8vw, -70px);
  bottom: -52px;
  width: clamp(360px, 44vw, 650px);
  opacity: 0.36;
  pointer-events: none;
}

.odv2-footer__ghost.odn-logo { height: auto; }

.odv2-footer__inner {
  width: min(100%, 1320px);
  margin-inline: auto;
  padding: clamp(42px, 4vw, 56px) clamp(24px, 4.6vw, 60px) 24px;
}

.odv2-footer__stage {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: start;
}

.odv2-footer__brand {
  max-width: 520px;
  padding-right: clamp(0px, 3vw, 40px);
}

.odv2-footer__logo {
  display: inline-block;
  --odn-h: 29px;
  min-height: 44px;
  margin-bottom: 20px;
  background-position: left center;
}

.odv2-footer__kicker,
.odv2-footer__group-title,
.odv2-footer__contact-label {
  margin: 0;
  color: var(--odv2f-gold);
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.odv2-footer__kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.odv2-footer__kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.72;
}

.odv2-footer .odv2-footer__statement {
  max-width: 13ch;
  margin: 0;
  color: var(--odv2f-ink);
  font-family: var(--font-serif, 'Newsreader', serif);
  font-size: clamp(40px, 4.1vw, 58px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.odv2-footer .odv2-footer__statement em {
  color: #e0c79e;
  font-weight: inherit;
}

.odv2-footer .odv2-footer__qualification {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--odv2f-muted);
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.055em;
}

.odv2-footer__routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 54px);
}

.odv2-footer__group-title { margin-bottom: 10px; }

.odv2-footer .odv2-footer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  border-top: 1px solid var(--odv2f-line);
  color: #b8c3cf;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.odv2-footer .odv2-footer__link:last-child { border-bottom: 1px solid var(--odv2f-line); }

.odv2-footer .odv2-footer__link::after {
  content: "\2197";
  flex: none;
  color: var(--odv2f-gold);
  font-family: var(--font-sans, 'Archivo', sans-serif);
  font-size: 13px;
  line-height: 1;
}

.odv2-footer .odv2-footer__link:hover { color: var(--odv2f-ink); }

.odv2-footer__contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(270px, 1.08fr) auto;
  gap: 28px 46px;
  align-items: center;
  margin-top: clamp(28px, 3vw, 40px);
  padding: 18px 0;
  border-top: 1px solid var(--odv2f-line);
  border-bottom: 1px solid var(--odv2f-line);
  font-style: normal;
}

.odv2-footer__contact-item {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.odv2-footer .odv2-footer__contact a,
.odv2-footer .odv2-footer__contact-value {
  color: #c2ccd6;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.odv2-footer .odv2-footer__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
}

.odv2-footer .odv2-footer__contact a:hover { color: var(--odv2f-ink); }

.odv2-footer__registration {
  justify-self: end;
  color: var(--odv2f-muted);
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.odv2-footer__legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px;
  align-items: center;
  padding-top: 15px;
  color: #8795a5;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.055em;
}

.odv2-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 18px;
}

.odv2-footer .odv2-footer__legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #9ca9b8;
  border-bottom: 1px solid transparent;
}

.odv2-footer .odv2-footer__legal-links a:hover {
  color: var(--odv2f-ink);
  border-bottom-color: rgba(201, 183, 154, 0.42);
}

.odv2-footer a:focus-visible {
  outline: 2px solid var(--odv2f-gold);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .odv2-footer__inner { padding-inline: 24px; }
  .odv2-footer__stage {
    grid-template-columns: minmax(0, 0.78fr) minmax(380px, 1.22fr);
    gap: 42px;
  }
  .odv2-footer .odv2-footer__statement { font-size: clamp(36px, 5.2vw, 46px); }
  .odv2-footer__contact {
    grid-template-columns: minmax(190px, 0.86fr) minmax(240px, 1.14fr);
  }
  .odv2-footer__registration {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .odv2-footer__inner { padding: 26px 20px 12px; }
  .odv2-footer__stage { display: block; }
  .odv2-footer__brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0 18px;
    max-width: none;
    padding: 0;
  }
  .odv2-footer__logo { --odn-h: 25px; margin: 0; }
  .odv2-footer__kicker { margin: 0; }
  .odv2-footer .odv2-footer__statement {
    grid-column: 1 / -1;
    max-width: none;
    margin-top: 8px;
    font-size: clamp(33px, 9.4vw, 38px);
    line-height: 1;
  }
  .odv2-footer .odv2-footer__qualification {
    grid-column: 1 / -1;
    max-width: 56ch;
    margin-top: 12px;
    font-size: 8.4px;
    line-height: 1.5;
  }
  .odv2-footer__routes {
    display: block;
    margin-top: 20px;
  }
  .odv2-footer__group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 12px;
  }
  .odv2-footer__group + .odv2-footer__group { margin-top: 12px; }
  .odv2-footer__group-title { grid-column: 1 / -1; margin-bottom: 5px; }
  .odv2-footer .odv2-footer__link {
    font-size: 9px;
    letter-spacing: 0.035em;
  }
  .odv2-footer .odv2-footer__link::after { display: none; }
  .odv2-footer__contact {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr) auto;
    gap: 8px 12px;
    margin-top: 18px;
    padding: 9px 0;
  }
  .odv2-footer .odv2-footer__contact a,
  .odv2-footer .odv2-footer__contact-value { font-size: 9px; }
  .odv2-footer__contact-label { font-size: 8.7px; letter-spacing: 0.12em; }
  .odv2-footer__registration {
    grid-column: auto;
    justify-self: end;
    font-size: 8.5px;
    letter-spacing: 0.08em;
    text-align: right;
  }
  .odv2-footer__legal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    padding-top: 5px;
    font-size: 8.5px;
  }
  .odv2-footer__legal-links {
    justify-content: flex-end;
    gap: 0 10px;
  }
  .odv2-footer__ghost {
    right: -180px;
    bottom: 2px;
    width: 460px;
    opacity: 0.29;
  }
}

@media (max-width: 380px) {
  .odv2-footer__group { gap-inline: 8px; }
  .odv2-footer .odv2-footer__link { font-size: 8.5px; }
  .odv2-footer__contact { gap-inline: 8px; }
  .odv2-footer .odv2-footer__contact a,
  .odv2-footer .odv2-footer__contact-value { font-size: 8.5px; }
  .odv2-footer__legal { gap-inline: 9px; }
  .odv2-footer__legal-links { gap: 0 7px; }
}

/* Treatments V2 is a non-treatment directory. Its terminal colophon uses
   odNOVA navy; green remains reserved for individual treatment pages. */
body.treatments-v2-page .odv2-footer {
  background:
    radial-gradient(ellipse 70% 90% at 12% 24%, rgba(73, 104, 117, 0.18), transparent 66%),
    linear-gradient(115deg, #050a10 0%, var(--odv2f-ground) 46%, #08111b 100%);
}

body.treatments-v2-page .odv2-footer .odv2-footer__qualification {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 10px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.75;
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 680px) {
  body.treatments-v2-page .odv2-footer__inner {
    padding: 32px 20px 18px;
  }

  body.treatments-v2-page .odv2-footer .odv2-footer__qualification {
    max-width: 100%;
    margin-top: 16px;
    font-size: 9.5px;
    line-height: 1.7;
    letter-spacing: 0.04em;
  }

  body.treatments-v2-page .odv2-footer__routes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
    margin-top: 28px;
  }

  body.treatments-v2-page .odv2-footer__group {
    display: block;
  }

  body.treatments-v2-page .odv2-footer__group + .odv2-footer__group {
    margin-top: 0;
  }

  body.treatments-v2-page .odv2-footer__group-title {
    margin-bottom: 8px;
  }

  body.treatments-v2-page .odv2-footer .odv2-footer__link {
    min-width: 0;
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: 0.055em;
  }

  body.treatments-v2-page .odv2-footer .odv2-footer__link::after {
    content: "→";
    display: block;
    font-size: 11px;
    opacity: 0.72;
  }

  body.treatments-v2-page .odv2-footer__contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 24px;
    padding: 0;
  }

  body.treatments-v2-page .odv2-footer__contact-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid var(--odv2f-line);
  }

  body.treatments-v2-page .odv2-footer .odv2-footer__contact a,
  body.treatments-v2-page .odv2-footer .odv2-footer__contact-value {
    min-width: 0;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.045em;
  }

  body.treatments-v2-page .odv2-footer__registration {
    grid-column: auto;
    justify-self: stretch;
    display: flex;
    align-items: center;
    min-height: 50px;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-align: left;
  }

  body.treatments-v2-page .odv2-footer__legal {
    display: block;
    padding-top: 14px;
    font-size: 9px;
    line-height: 1.55;
  }

  body.treatments-v2-page .odv2-footer__legal-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 12px;
    justify-content: stretch;
    margin-top: 8px;
  }

  body.treatments-v2-page .odv2-footer .odv2-footer__legal-links a {
    justify-content: flex-start;
    min-width: 0;
  }

  body.treatments-v2-page .odv2-footer__ghost {
    display: none;
  }
}

@media (max-width: 380px) {
  body.treatments-v2-page .odv2-footer .odv2-footer__link {
    font-size: 9.5px;
  }
}

/* Compact colophon shared by HOME and every Group 2 page. The modifier is
   deliberately placed after page-specific footer rules so all eight pages
   render the same component at every viewport. */
body .odv2-footer.odv2-footer--compact {
  --odv2f-body: #87929e;
  --odv2f-muted: #707b87;
  --odv2f-gold: rgba(201, 183, 154, 0.58);
  --odv2f-line: rgba(237, 232, 223, 0.075);
  background:
    radial-gradient(ellipse 70% 90% at 12% 24%, rgba(21, 54, 48, 0.07), transparent 66%),
    linear-gradient(115deg, #04080b 0%, #05090e 48%, #071019 100%);
  border-top-color: rgba(201, 183, 154, 0.11);
}

body .odv2-footer--compact .odv2-footer__ghost { opacity: 0.1; }

body .odv2-footer--compact .odv2-footer__inner {
  padding-top: clamp(30px, 3vw, 42px);
  padding-bottom: 14px;
}

body .odv2-footer--compact .odv2-footer__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(42px, 7vw, 94px);
  align-items: start;
}

body .odv2-footer--compact .odv2-footer__brand {
  display: block;
  max-width: none;
  padding: 0;
}

body .odv2-footer--compact .odv2-footer__logo {
  --odn-h: 24px;
  min-height: 44px;
  margin: 0;
  opacity: 0.68;
}

body .odv2-footer--compact .odv2-footer__routes { display: block; }

body .odv2-footer--compact .odv2-footer__group {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 18px;
}

body .odv2-footer--compact .odv2-footer__group-title {
  grid-column: 1 / -1;
  margin-bottom: 5px;
  color: var(--odv2f-gold);
}

body .odv2-footer--compact .odv2-footer__link {
  min-height: 44px;
  color: rgba(184, 195, 207, 0.62);
  border-color: var(--odv2f-line);
  font-size: 9.5px;
}

body .odv2-footer--compact .odv2-footer__link::after {
  content: "\2197";
  display: block;
  color: rgba(201, 183, 154, 0.48);
}

body .odv2-footer--compact .odv2-footer__legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px;
  margin-top: 18px;
  padding-top: 9px;
  color: rgba(135, 149, 165, 0.7);
  border-top: 1px solid var(--odv2f-line);
}

body .odv2-footer--compact .odv2-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 18px;
}

body .odv2-footer--compact .odv2-footer__legal-links a {
  color: rgba(156, 169, 184, 0.68);
}

@media (min-width: 601px) and (max-width: 900px) {
  body .odv2-footer--compact .odv2-footer__group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body .odv2-footer--compact .odv2-footer__inner { padding: 22px 20px 10px; }
  body .odv2-footer--compact .odv2-footer__stage { display: block; }
  body .odv2-footer--compact .odv2-footer__logo {
    --odn-h: 21px;
    margin-bottom: 10px;
    opacity: 0.62;
  }
  body .odv2-footer--compact .odv2-footer__routes { margin-top: 4px; }
  body .odv2-footer--compact .odv2-footer__group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }
  body .odv2-footer--compact .odv2-footer__link,
  body .odv2-footer--compact .odv2-footer__legal,
  body .odv2-footer--compact .odv2-footer__legal-links a {
    font-size: 10.5px;
    line-height: 1.55;
  }
  body .odv2-footer--compact .odv2-footer__link {
    letter-spacing: 0.045em;
  }
  body .odv2-footer--compact .odv2-footer__legal {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-top: 13px;
    padding-top: 8px;
  }
  body .odv2-footer--compact .odv2-footer__legal-links {
    justify-content: flex-start;
    gap: 0 12px;
  }
  body .odv2-footer--compact .odv2-footer__ghost {
    display: block;
    right: -180px;
    bottom: 2px;
    width: 460px;
    opacity: 0.055;
  }
}

@media (prefers-reduced-motion: reduce) {
  .odv2-footer *,
  .odv2-footer *::before,
  .odv2-footer *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
