/* Moehnke Industries — public path hub (balanced launch layout) */

body.path-hub-page {
  overflow-x: hidden;
  background: #06101f;
  color: #e8edf4;
  --gold: #FFBF00;
  --navy: #0A192F;
  --cream: #f7f4ef;
  --copper: #B16330;
  --vanguard: #b33b48;
  --aegis: #4e9a6a;
  --sentinel: #5d82b0;
  --bastion: #d4a04a;
  --radius-btn: 0.18rem;
  --radius-card: 0.28rem;
}

.path-hub {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: none;
}
.path-hub.is-visible { opacity: 1; transform: none; }
.path-hub[hidden] { display: none !important; }

.path-hub-header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}
.path-hub-lead-soft {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: #c5d0de;
  max-width: 38rem;
}

.path-hub-funnel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0 0 2.4rem;
}
@media (min-width: 780px) {
  .path-hub-funnel { grid-template-columns: 1fr 1fr; }
}
.funnel-card {
  padding: 1.3rem 1.25rem 1.4rem;
  border-radius: var(--radius-card);
  border: 1px solid rgba(232, 237, 244, 0.12);
  background: rgba(10, 25, 47, 0.72);
}
.funnel-card.is-first {
  border-color: rgba(255, 191, 0, 0.5);
  background: linear-gradient(180deg, rgba(255, 191, 0, 0.12), rgba(10, 25, 47, 0.82));
}
.funnel-step {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFBF00;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.funnel-num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #0A192F;
  background: #FFBF00;
  padding: 0.12rem 0.4rem;
  border-radius: 0.12rem;
  font-size: 0.62rem;
}
.funnel-card h2 {
  margin: 0 0 0.45rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.55rem;
  color: #fff;
}
.funnel-card p {
  margin: 0 0 1rem;
  color: #d8e0ea;
  font-size: 0.95rem;
  line-height: 1.55;
}
.funnel-sub {
  display: inline-block;
  margin-left: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffe08a;
}
.funnel-sub:hover { color: #fff; }

.path-hub-pledge {
  margin: 0 0 2.4rem;
  padding: 1.45rem 1.3rem 1.55rem;
  border-radius: var(--radius-card);
  border: 1px solid rgba(155, 35, 53, 0.45);
  border-left: 3px solid var(--vanguard);
  background:
    linear-gradient(180deg, rgba(155, 35, 53, 0.18), rgba(10, 25, 47, 0.92));
  width: 100%;
  max-width: 46rem;
  box-sizing: border-box;
}
.path-hub-pledge h2 {
  margin: 0.35rem 0 0.7rem;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
  color: #fff;
  max-width: 22ch;
}

/* Full-width pledge on tablet landscape and desktop */
@media (min-width: 768px) and (orientation: landscape),
       (min-width: 1024px) {
  .path-hub-pledge {
    max-width: none;
    width: 100%;
    padding: 1.7rem 1.75rem 1.85rem;
  }
  .path-hub-pledge h2 {
    max-width: none;
  }
  .pledge-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}
.path-hub-pledge > p {
  margin: 0 0 0.85rem;
  color: #e8edf4;
  font-size: 0.98rem;
  line-height: 1.65;
}
.pledge-list {
  margin: 0 0 0.9rem;
  padding: 0 0 0 1.1rem;
  color: #d8e0ea;
  font-size: 0.92rem;
  line-height: 1.55;
}
.pledge-list li { margin: 0.4rem 0; }
.pledge-list strong { color: #fff; }
.pledge-close {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem !important;
  font-weight: 500;
  color: #fde8e8 !important;
}

.path-hub-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 42% at 6% -8%, rgba(255, 191, 0, 0.11), transparent 52%),
    radial-gradient(ellipse 40% 30% at 100% 100%, rgba(47, 107, 79, 0.08), transparent 50%),
    repeating-linear-gradient(-45deg, rgba(255, 191, 0, 0.028) 0 1px, transparent 1px 12px),
    #06101f;
  pointer-events: none;
}

.path-hub-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 3vw, 2.25rem);
  border-bottom: 1px solid rgba(255, 191, 0, 0.22);
  background: rgba(6, 16, 31, 0.94);
  backdrop-filter: blur(12px);
}
.house-ribbon {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  height: 4px;
  z-index: 2;
  position: relative;
}
.house-ribbon i { display: block; }
.house-ribbon .is-bastion { background: var(--bastion); }
.house-ribbon .is-aegis { background: var(--aegis); }
.house-ribbon .is-sentinel { background: var(--sentinel); }
.house-ribbon .is-vanguard { background: var(--vanguard); }
.path-hub-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; overflow: hidden; }
.path-hub-brand .brand-text { min-width: 0; overflow: hidden; }
.path-hub-brand .brand-crest {
  width: 2.65rem; height: 2.55rem;
  object-fit: contain; flex-shrink: 0;
  display: block;
}
.path-hub-brand .brand-text strong {
  display: block; font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em; font-size: 1.05rem; color: #fff;
}
.path-hub-brand .brand-text span {
  display: block; font-size: 0.75rem; color: #d5dde8; margin-top: 0.12rem;
}
.path-hub-motto {
  margin: 0; max-width: 18rem; text-align: right;
  font-size: 0.75rem; line-height: 1.45; color: #FFBF00;
}
@media (max-width: 720px) {
  .path-hub-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .path-hub-header-nav {
    width: 100%;
    justify-content: flex-start;
  }
  .path-hub-motto { text-align: left; max-width: none; width: 100%; }
}

.path-hub-main {
  position: relative;
  z-index: 2;
  flex: 1;
  width: min(100% - 1.5rem, 72rem);
  margin: 0 auto;
  padding: 1.75rem 0 3rem;
}
@media (min-width: 768px) and (orientation: landscape),
       (min-width: 1024px) {
  .path-hub-main {
    width: min(100% - 3rem, 118rem);
    padding-top: 2.25rem;
  }
}

.path-hub-hero {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  align-items: start;
}
.path-hub-intro {
  margin-bottom: 0;
  max-width: 42rem;
}
.path-hub-now { display: none; }
@media (min-width: 960px) {
  .path-hub-hero {
    grid-template-columns: minmax(0, 42rem) minmax(20rem, 1fr);
    gap: 2rem;
    align-items: stretch;
  }
  .path-hub-now {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding: 1.45rem 1.45rem 1.5rem;
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 191, 0, 0.38);
    background: linear-gradient(180deg, rgba(255, 191, 0, 0.1), rgba(10, 25, 47, 0.88));
  }
  .now-mark {
    position: absolute;
    right: 0.45rem;
    bottom: -0.35rem;
    width: 8rem;
    height: 8rem;
    background: url("../media/images/moehnke-mark-gold.png") center / contain no-repeat;
    opacity: 0.13;
    pointer-events: none;
  }
  .now-list {
    list-style: none;
    margin: 0.75rem 0 1.1rem;
    padding: 0;
  }
  .now-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 0.7rem 0;
    color: #d8e0ea;
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .now-list .hub-status { margin-top: 0.12rem; }
  .path-hub-now .path-hub-family-btn { align-self: flex-start; }
}
.path-hub-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3.15rem);
  letter-spacing: 0.01em;
  font-weight: 600;
  color: #fff;
  margin: 0.4rem 0 0.45rem;
  line-height: 1.05;
  max-width: 16ch;
}
.path-hub-motto-line {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.4;
  color: #FFBF00;
  margin: 0 0 0.85rem;
  max-width: 34rem;
}
.path-hub-lead {
  margin: 0;
  color: #d8e0ea;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 38rem;
}
.path-hub-family {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.path-hub-family-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.5rem 1.05rem; border-radius: var(--radius-btn);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.03em;
  border: 1px solid rgba(232, 237, 244, 0.22);
  color: #f4f7fb; background: rgba(10, 25, 47, 0.55);
}
.path-hub-family-btn.primary { background: #FFBF00; color: #0A192F; border-color: #FFBF00; }
.path-hub-family-btn:hover { filter: brightness(1.07); }
.path-hub-family-btn:focus-visible,
.hub-cta:focus-visible,
.funnel-sub:focus-visible {
  outline: 2px solid #FFBF00;
  outline-offset: 2px;
}

.path-hub-aside {
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 191, 0, 0.22);
  background: rgba(12, 22, 34, 0.75);
}
.path-hub-aside p { margin: 0; color: #d8e0ea; font-size: 0.9rem; line-height: 1.55; }
.path-hub-aside strong { color: #fff; }
.path-hub-status {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
  color: #c5d0de;
}

/* Sections */
#path-grid { display: flex; flex-direction: column; gap: 2.35rem; }
.hub-band-head { margin-bottom: 0.9rem; }
.hub-band-title {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.hub-band-intro {
  margin: 0.35rem 0 0;
  color: #cfd8e4;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 42rem;
}

.hub-band-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}
.hub-band-grid.is-pair {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .hub-band-grid.is-pair { grid-template-columns: 1fr 1fr; }
  .hub-band-grid.is-family { grid-template-columns: 1fr 1fr; }
  .hub-band-grid.is-life { grid-template-columns: 1fr 1fr; }
  .hub-band-grid.is-campus { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .hub-band-grid.is-life { grid-template-columns: repeat(3, 1fr); }
  .hub-band-grid.is-family { grid-template-columns: repeat(3, 1fr); }
}

.hub-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 16.25rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(232, 237, 244, 0.12);
  background: #0A192F;
  transition: border-color 0.25s ease;
}
.hub-card:hover { border-color: rgba(255, 191, 0, 0.55); }
.hub-card.is-wide { min-height: 18.5rem; }
.hub-band-grid.is-family .hub-card,
.hub-band-grid.is-life .hub-card { min-height: 14.25rem; }
.hub-card.is-open { border-color: rgba(47, 107, 79, 0.7); }
.hub-card.is-building { border-color: rgba(255, 191, 0, 0.42); }
.hub-card.is-opening .hub-card-bg { filter: saturate(0.68) brightness(0.9); }
.hub-card.is-help {
  background:
    linear-gradient(180deg, rgba(255, 191, 0, 0.14), rgba(10, 25, 47, 0.96));
  border-color: rgba(255, 191, 0, 0.42);
}
.hub-card.is-help .hub-card-bg,
.hub-card.is-help .hub-card-scrim { display: none; }
.hub-card-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.03);
  transition: transform 0.55s ease;
}
.hub-card:hover .hub-card-bg { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) {
  .hub-card:hover .hub-card-bg { transform: scale(1.03); }
}
.hub-card-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,16,24,0.25) 0%, rgba(7,16,24,0.78) 48%, rgba(7,16,24,0.96) 100%);
}
.hub-card-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.2rem 1.2rem 1.15rem;
  width: 100%;
}
.hub-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin: 0 0 0.4rem;
}
.hub-kicker {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #FFBF00;
}
.hub-status {
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 0.12rem;
  border: 1px solid transparent;
  line-height: 1.2;
}
.hub-status.is-open {
  color: #e8f5ee;
  background: var(--aegis);
  border-color: var(--aegis);
}
.hub-status.is-building {
  color: #0A192F;
  background: #FFBF00;
  border-color: #FFBF00;
}
.hub-status.is-opening {
  color: #f7f4ef;
  background: rgba(247, 244, 239, 0.08);
  border-color: rgba(247, 244, 239, 0.32);
}
.hub-status.is-guide {
  color: #0A192F;
  background: #f7f4ef;
  border-color: #f7f4ef;
}
.hub-card-title {
  margin: 0 0 0.4rem;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.15; color: #fff;
}
.hub-card.is-wide .hub-card-title { font-size: clamp(1.5rem, 2.8vw, 2.05rem); max-width: 22ch; }
.hub-card-desc {
  margin: 0 0 0.95rem;
  font-size: 0.92rem; line-height: 1.55;
  color: #d8e0ea; max-width: 40rem;
}
.hub-band-grid.is-family .hub-card-desc { font-size: 0.82rem; }

.hub-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.85rem; }
.hub-chip {
  font-size: 0.72rem; font-weight: 700;
  padding: 0.26rem 0.55rem; border-radius: 0.15rem;
  background: rgba(255,191,0,0.12); color: #ffe08a;
  border: 1px solid rgba(255,191,0,0.28);
}
a.hub-chip:hover { background: rgba(255,191,0,0.22); color: #fff; }

.hub-card-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.hub-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0.4rem 0.9rem; border-radius: var(--radius-btn);
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.03em;
}
.hub-cta.is-primary { background: #FFBF00; color: #0A192F; }
.hub-cta.is-ghost {
  background: rgba(255,255,255,0.06);
  color: #f4f7fb;
  border: 1px solid rgba(244,247,251,0.28);
}
.hub-cta.is-portal {
  background: transparent;
  color: #FFBF00;
  border: 1px solid rgba(255, 191, 0, 0.55);
}
.hub-cta:hover { filter: brightness(1.06); }

.campus-dir { margin: 0 0 0.25rem; }
.campus-dir-title {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
}
.campus-dir-intro {
  margin: 0.45rem 0 0;
  color: #cfd8e4;
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 44rem;
}
.campus-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.95rem 0 1.35rem;
}
.campus-fallback {
  margin: 0;
  color: #cfd8e4;
  font-size: 0.95rem;
  line-height: 1.7;
}
.campus-fallback a {
  color: #FFBF00;
  font-weight: 700;
}
.campus-fallback a:hover { color: #fff; }

.hub-coming {
  padding: 1.4rem 1.35rem;
  border-radius: 1rem;
  border: 1px dashed rgba(255, 191, 0, 0.35);
  background: rgba(16, 27, 40, 0.8);
}
.hub-coming-title {
  margin: 0.25rem 0 0.4rem;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  color: #fff;
}
.hub-coming-desc { margin: 0 0 0.9rem; color: #d8e0ea; max-width: 40rem; line-height: 1.55; }

.path-hub-footnote {
  margin: 2rem 0 0;
  font-size: 0.8rem; line-height: 1.5; color: #c5d0de;
}
.path-hub-footer {
  position: relative; z-index: 2;
  padding: 1.15rem clamp(1rem, 3vw, 2.25rem) 1.25rem;
  border-top: 1px solid rgba(255, 191, 0, 0.22);
  font-size: 0.8rem; color: #c5d0de;
  background: rgba(6, 16, 31, 0.96);
}
.footer-motto {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #FFBF00;
  margin: 0 0 0.7rem;
}
.footer-row {
  display: flex; flex-wrap: wrap; gap: 0.65rem 1.15rem;
  justify-content: space-between; align-items: center;
}
.path-hub-footer a { color: #f0f4f8; font-weight: 600; }
.path-hub-footer a:hover { color: #FFBF00; }

.academy-frame {
  position: relative;
}
.academy-frame::before,
.academy-frame::after {
  content: "";
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  pointer-events: none;
  z-index: 3;
  border-color: #FFBF00;
}
.academy-frame::before {
  top: 0.4rem; left: 0.4rem;
  border-top: 1px solid; border-left: 1px solid;
}
.academy-frame::after {
  bottom: 0.4rem; right: 0.4rem;
  border-bottom: 1px solid; border-right: 1px solid;
}

.path-hub-page .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.hub-coming { border-radius: var(--radius-card); }
