/* ============================================================
   Index Clinic. Unified site nav (Circadian v1.7).
   Use on every public page that isn't the main landing.
   The landing keeps its own bespoke nav for the hero/scroll
   interactions. This file expects /join/css/join.css to be
   loaded first for the --charcoal / --bone / --font-* tokens,
   or the constants below fall back to literal values.
   ============================================================ */

@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/fonts/Outfit-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/fonts/Outfit-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeion Mono';
  src: url('/fonts/aeion-mono-regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

.ic-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 230, 213, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 42, 40, 0.12);
}
.ic-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ic-nav__logo {
  display: inline-block;
  height: 32px;
  overflow: hidden;
  vertical-align: middle;
  line-height: 0;
}
.ic-nav__logo img {
  height: 92px;
  width: auto;
  margin-top: -30px;
  display: block;
}
@media (max-width: 760px) {
  .ic-nav__logo { height: 26px; }
  .ic-nav__logo img { height: 76px; margin-top: -25px; }
  .ic-nav__inner { padding: 12px 18px; }
}

.ic-nav__links {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
}
.ic-nav__link {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2C2A28;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 120ms ease;
}
.ic-nav__link.is-active,
.ic-nav__link:hover { opacity: 1; }

.ic-nav__cta {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F0E6D5;
  background: #2C2A28;
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: opacity 120ms ease;
}
.ic-nav__cta:hover { opacity: 0.92; }

@media (max-width: 760px) {
  .ic-nav__links { display: none; }
}

/* ─── Unified footer ──────────────────────────────────────── */

.ic-footer {
  background: #2C2A28;
  color: #F0E6D5;
  padding: 64px 24px 36px;
  margin-top: 0;
}
.ic-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .ic-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .ic-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

.ic-footer__brand { display: block; }
.ic-footer__logo {
  display: inline-block;
  height: 36px;
  overflow: hidden;
  vertical-align: middle;
  line-height: 0;
}
.ic-footer__logo img {
  height: 104px;
  width: auto;
  margin-top: -34px;
  display: block;
  filter: invert(95%) brightness(1.05);
}
.ic-footer__tagline {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: #F0E6D5;
  opacity: 0.7;
  margin: 14px 0 0;
  max-width: 28ch;
}

.ic-footer__col-title {
  font-family: 'Aeion Mono', 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F0E6D5;
  opacity: 0.55;
  margin: 0 0 14px;
  display: block;
}
.ic-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.ic-footer__links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #F0E6D5;
  opacity: 0.78;
  text-decoration: none;
  transition: opacity 120ms ease;
}
.ic-footer__links a:hover { opacity: 1; }

.ic-footer__bottom {
  max-width: 1100px;
  margin: 44px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(240, 230, 213, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ic-footer__legal,
.ic-footer__disclaimer {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.6;
  color: #F0E6D5;
  opacity: 0.55;
  margin: 0;
  max-width: 70ch;
}
.ic-footer__legal { flex: 0 0 auto; }
.ic-footer__disclaimer { flex: 1 1 auto; }
