/* =====================================================================
   Mountain Dispatch: style.css
   Brand colours come from the logo: navy and orange.
   ===================================================================== */
:root {
  --navy: #0B2A57;
  --navy-2: #123A73;
  --navy-deep: #07182F;
  --orange: #EE6A0A;
  --orange-ink: #B34700;
  --orange-soft: #FDEBDD;
  --paper: #F5F6F8;
  --stone: #E6E9EE;
  --line: #D9DDE4;
  --ink: #101A2B;
  --muted: #5A667A;
  --ui: Roboto, sans-serif;
  --serif: Roboto, sans-serif;
  --wrap: 1240px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
body { font-family: var(--ui); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: #fff; }
section[id] { scroll-margin-top: 88px; }
.container { max-width: var(--wrap); }
a { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--navy-deep); padding: .6rem 1rem; font-weight: 700; z-index: 2000; }
.skip-link:focus { left: 0; }

/* ---------- Type: Roboto, single-colour headings on one line ---------- */
h1, h2, h3, h4, h5, h6 { font-family: Roboto, sans-serif; font-weight: 500; color: var(--navy); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.3rem); line-height: 1.2; margin-bottom: .6rem; }
@media (min-width: 768px) { h2 { white-space: nowrap; } }
.modal-title { white-space: normal; }
.h-left { text-align: left; }
.section { padding: 4rem 0; }
.section-head { max-width: 52rem; margin: 0 auto 2.25rem; text-align: center; }
.section-intro { font-size: 1.08rem; color: var(--muted); margin: 0 auto; max-width: 44rem; }
.small-note { font-size: .88rem; color: var(--muted); }
.caption { font-size: .85rem; color: var(--muted); padding-top: .6rem; margin: 0; }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); color: #fff; }
.on-dark h2 { color: #fff; }
.on-dark .section-intro { color: #C3D3E8; }
.link-arrow { font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 1px; }
.link-arrow:hover { color: var(--orange-ink); }

/* ---------- Buttons ---------- */
.btn { font-family: var(--ui); font-weight: 700; border-radius: 3px; padding: .85rem 1.5rem; }
.btn-lg { font-size: 1.05rem; }
.btn-navy { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-orange { background: var(--orange); color: var(--navy-deep); border: 2px solid var(--orange); }
.btn-orange:hover, .btn-orange:focus { background: #FF8128; border-color: #FF8128; color: var(--navy-deep); }
.btn-line { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-line:hover, .btn-line:focus { background: var(--navy); color: #fff; }
.btn-line-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-line-light:hover, .btn-line-light:focus { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ---------- Header: top bar + transparent navbar (one Bootstrap navbar for desktop and mobile) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1050; color: #fff; }
.site-header::before, .site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity .25s; }
.site-header::before { background: linear-gradient(180deg, rgba(4,12,26,.62), rgba(4,12,26,0)); }
.site-header::after { background: rgba(7,24,47,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(0,0,0,.25); opacity: 0; }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-solid::after { opacity: 1; }
.container-xl { max-width: 1900px; padding-left: clamp(1rem, 3.2vw, 3.75rem); padding-right: clamp(1rem, 3.2vw, 3.75rem); }

.topbar { border-bottom: 1px solid rgba(255,255,255,.22); overflow: hidden; max-height: 70px; transition: max-height .25s, opacity .25s, border-color .25s; }
.site-header.is-solid .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.topbar-in { padding-top: .55rem; padding-bottom: .55rem; }
.pills { overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .95rem; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: transform .15s, filter .15s; }
.pill:hover { transform: translateY(-1px); filter: brightness(1.03); }
.pill.red   { background: #F8D9DC; color: #B01E2E; }
.pill.blue  { background: #D8E3F8; color: #1F3F9A; }
.pill.sky   { background: #D3E6F4; color: #0F5A86; }
.pill.amber { background: #F9E2CF; color: #A24A07; }
.top-link { display: inline-flex; align-items: center; gap: .45rem; background: transparent; border: 0; color: #fff; font-weight: 700; font-size: .95rem; padding: .3rem 0; cursor: pointer; }
.top-link b { font-size: .75rem; background: rgba(255,255,255,.2); border-radius: 3px; padding: 0 .4rem; }
.top-link:hover { color: #FFC08A; }
.btn-green { background: #93B83A; color: #fff; font-weight: 700; text-decoration: none; padding: .5rem 1.2rem; border-radius: 999px; font-size: .95rem; transition: filter .15s; }
.btn-green:hover { color: #fff; filter: brightness(1.08); }

.mainbar { padding: .7rem 0; }
.brand { display: inline-flex; background: rgba(255,255,255,.96); padding: .3rem .65rem; border-radius: 6px; text-decoration: none; margin-right: 1.5rem; }
.brand img { height: 52px; width: auto; display: block; }
.brand-fallback { display: none; font-family: var(--ui); font-style: italic; font-weight: 900; font-size: 1.4rem; color: var(--navy); line-height: 1.5; }
.brand-fallback span { color: var(--orange); }
.plan-badge { display: none; background: var(--orange); color: var(--navy-deep); font-size: .72rem; font-weight: 800; padding: .05rem .45rem; border-radius: 999px; margin-left: .35rem; }
.plan-badge.on { display: inline-block; }

/* Hamburger (below lg) */
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); border-radius: 8px; }
.nav-toggle:focus { box-shadow: 0 0 0 3px rgba(238,106,10,.5); }
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: #fff; }

/* Menu links (same markup on desktop and in the mobile sidebar) */
.main-menu .nav-link { color: #fff; font-weight: 700; font-size: 1.05rem; }
.main-menu .nav-link:hover, .main-menu .nav-link:focus, .main-menu .nav-link.active, .main-menu .show > .nav-link { color: #FFC08A; }
.main-menu .dropdown-toggle::after { content: ""; border: 0; width: .5rem; height: .5rem; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: .5rem; vertical-align: middle; transition: transform .2s; }
.main-menu .dropdown-toggle.show::after { transform: rotate(-135deg) translateY(-1px); }
.nav-search { display: inline-flex; align-items: center; gap: .6rem; background: transparent; border: 0; color: #fff; font-weight: 700; font-size: 1.05rem; padding: .5rem .5rem; border-radius: 50%; }
.nav-search:hover { background: rgba(255,255,255,.14); color: #FFC08A; }
.nav-cta { border: 2px solid #fff; border-radius: 999px; padding: .5rem 1.3rem; color: #fff; font-weight: 700; text-decoration: none; display: inline-block; transition: background .15s, color .15s; }
.nav-cta:hover { background: #fff; color: var(--navy); }
.dropdown-header { color: #FFB27A; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.dropdown-item { color: #fff; font-weight: 600; }
.dropdown-item:hover, .dropdown-item:focus { background: rgba(255,255,255,.14); color: #fff; }
.dropdown-divider { border-color: rgba(255,255,255,.2); }

/* Desktop (lg and up): glass dropdowns that open on hover */
@media (min-width: 992px) {
  .main-menu { gap: .25rem; }
  .main-menu .nav-link { padding: .55rem .9rem; border-radius: 6px; }
  .main-menu .nav-link:hover { background: rgba(255,255,255,.08); }
  .main-menu .nav-cta { margin-left: .6rem; }
  .main-menu .dropdown-menu { min-width: 17rem; padding: .6rem; margin-top: .7rem; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(8,22,44,.58); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
  .main-menu .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .main-menu .dropdown-menu-end { right: 0; left: auto; }
  .main-menu .dropdown:hover > .dropdown-menu, .main-menu .dropdown:focus-within > .dropdown-menu { display: block; }
  .main-menu .dropdown:hover > .dropdown-toggle::after { transform: rotate(-135deg) translateY(-1px); }
  .main-menu .dropdown:hover > .nav-link { color: #FFC08A; background: rgba(255,255,255,.08); }
  .main-menu .dropdown-item { border-radius: 8px; padding: .5rem .8rem; }
  .main-menu .dropdown-header { padding: .45rem .8rem .2rem; }
}

/* Mobile (below lg): the same menu becomes a sliding sidebar */
@media (max-width: 991.98px) {
  .nav-drawer { background: var(--navy-deep); color: #fff; width: min(86vw, 360px); border-left: 1px solid rgba(255,255,255,.12); }
  .nav-drawer .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,.12); padding: 1rem 1.25rem; }
  .nav-drawer .offcanvas-body { padding: .5rem 1.25rem 2rem; }
  .nav-drawer .logo-chip { display: inline-block; background: #fff; padding: .4rem .7rem; border-radius: 6px; }
  .nav-drawer .logo-chip img { height: 44px; width: auto; display: block; }
  .main-menu > li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-menu .nav-link { padding: .95rem .1rem; font-size: 1.1rem; display: flex; align-items: center; justify-content: space-between; }
  .main-menu .dropdown-menu { background: transparent; border: 0; border-left: 2px solid var(--orange); border-radius: 0; margin: 0 0 .8rem .1rem; padding: 0 0 0 .8rem; }
  .main-menu .dropdown-item { color: #D6E2F3; padding: .5rem .6rem; white-space: normal; }
  .main-menu .dropdown-header { padding: .6rem .6rem .1rem; }
  .main-menu li:has(> .nav-search) { border-bottom: 0; }
  .main-menu .nav-search { width: 100%; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); justify-content: center; margin-top: 1rem; padding: .7rem 1rem; }
  .main-menu .nav-cta { display: block; text-align: center; margin-top: .75rem; background: #93B83A; border-color: #93B83A; }
}
@media (max-width: 575.98px) {
  .topbar-in { padding-top: .45rem; padding-bottom: .45rem; }
  .pill { padding: .3rem .75rem; font-size: .82rem; }
  .top-link span { display: none; }
  .brand { margin-right: 0; }
  .brand img { height: 44px; }
}

/* ---------- Hero slider ---------- */
/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  max-height: 900px;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item { height: 100%; }

/* Real photo, full slide */
.slide-bg { position: absolute; inset: 0; }
.slide-bg img,
.slide-bg video,
.slide-bg svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* Text block */
.slide-inner {
  position: relative;
  isolation: isolate;            /* ::before stays above the photo, below the text */
  height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 11rem 1.5rem 12.5rem;
}
/* Soft dark glow behind the text only, so bright photos stay bright elsewhere */
.slide-inner::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 65% 48% at 50% 50%,
              rgba(4,12,26,.62) 0%, rgba(4,12,26,.38) 55%, rgba(4,12,26,0) 100%);
  pointer-events: none;
}
.slide-inner h1,
.slide-inner h2 {
  font-family: var(--ui);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  max-width: 24ch;
  white-space: normal;
  margin: 0 0 1.4rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.5), 0 4px 28px rgba(0,0,0,.45);
}
.slide-inner p {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  max-width: 60rem;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.6), 0 2px 18px rgba(0,0,0,.5);
}

/* Search bar */
.hero-search-wrap {
  position: absolute; left: 0; right: 0; bottom: 9%;
  display: flex; justify-content: center;
  padding: 0 1.25rem;
  z-index: 5;
}
.hero-search {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(100%, 1060px);
  height: 80px;
  padding: 0 2rem;
  background: rgba(235,238,240,.85);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: #4B5563;
  font-size: 1.3rem; text-align: left;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.hero-search:hover { background: rgba(247,248,250,.96); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero-search svg { flex: none; }

/* Prev / Next */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: auto;
  padding: 0 clamp(.75rem, 2vw, 2rem);
  opacity: 1;
  z-index: 4;
}
.ctl {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(7,24,47,.35);
  border: 1px solid rgba(255,255,255,.7);
  color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .15s, border-color .15s, color .15s;
}
.carousel-control-prev:hover .ctl,
.carousel-control-next:hover .ctl,
.carousel-control-prev:focus-visible .ctl,
.carousel-control-next:focus-visible .ctl {
  background: var(--orange); border-color: var(--orange); color: var(--navy-deep);
}

/* Dots */
.hero-slider .carousel-indicators { bottom: 1.4rem; margin-bottom: 0; z-index: 6; }
.hero-slider .carousel-indicators [data-bs-target] {
  width: 34px; height: 4px;
  border: 0; border-radius: 2px;
  background: #fff; opacity: .6;
  box-shadow: 0 0 4px rgba(0,0,0,.4);
  margin: 0 .25rem;
}
.hero-slider .carousel-indicators .active { opacity: 1; background: var(--orange); }

/* Mobile */
@media (max-width: 767.98px) {
  .hero-slider { min-height: 560px; }
  .slide-inner { padding: 9.5rem 3.6rem 11rem; }
  .hero-search { height: 60px; padding: 0 1.2rem; font-size: 1rem; }
  .hero-search-wrap { bottom: 12%; }
  .ctl { width: 40px; height: 40px; }
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next { padding: 0 .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ctl, .hero-search { transition: none; }
}
/* ---------- Procedural art ---------- */
.art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-deep); }
.art svg, .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.art-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-deep); }
.art-frame svg, .art-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 01 Paths ---------- */
.path-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.path-card:hover .art svg, .path-card:hover .art img { transform: scale(1.05); }
.path-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.path-tag { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: .6rem; }
.path-card h3 { font-size: 1.55rem; line-height: 1.1; margin-bottom: .6rem; }
.path-card p { color: var(--muted); font-size: 1rem; flex: 1; }
.path-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: .5rem; font-size: .95rem; }
.path-card.ask { background: var(--navy); border-color: var(--navy); color: #fff; justify-content: center; padding: 2rem 1.5rem; }
.path-card.ask h3 { color: #fff; font-size: 2rem; }
.path-card.ask p { color: #C3D3E8; flex: 0; }

/* ---------- 02 Finder ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 2rem 0 1.5rem; }
.stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: 3.4rem; line-height: 1; color: var(--navy); }
.stats span { font-size: .9rem; color: var(--muted); }
.finder-panel { background: #fff; border: 1px solid var(--line); padding: 2rem; }
.finder-panel label, .m-tools label, .ask-form label { font-weight: 700; font-size: .92rem; margin-bottom: .35rem; display: block; }
.form-select, .form-control { border-radius: 3px; font-size: 1rem; padding: .7rem .85rem; border-color: #B9C1CE; }
.results { margin-top: 1.5rem; }
.result-row { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); padding: 1.1rem 1.25rem; margin-bottom: .75rem; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; }
.result-row h4 { font-family: var(--serif); font-size: 1.4rem; margin: 0; }
.result-row p { margin: .15rem 0 0; color: var(--muted); font-size: .98rem; }
.result-row .why { color: var(--orange-ink); font-weight: 700; font-size: .9rem; margin-top: .35rem; }
.result-meta { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }
.result-meta small { display: block; font-weight: 500; color: var(--muted); }
.results-note { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
@media (max-width: 575.98px) { .result-row { grid-template-columns: 1fr; } .result-meta { text-align: left; } }

/* ---------- 03 Database ---------- */
.db-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.db-card { text-align: left; background: #fff; border: 1px solid var(--line); padding: 1.5rem; cursor: pointer; display: block; width: 100%; transition: border-color .15s; }
.db-card:hover { border-color: var(--navy); }
.db-card b { display: block; font-family: var(--serif); font-weight: 500; font-size: 3.2rem; line-height: 1; color: var(--navy); }
.db-card h3 { font-size: 1.5rem; margin: .5rem 0 .25rem; }
.db-card p { color: var(--muted); margin: 0 0 .75rem; font-size: .98rem; }
@media (max-width: 767.98px) { .db-cards { grid-template-columns: 1fr; } }
.db-tabs { border-bottom: 2px solid var(--navy); }
.db-tabs .nav-link { font-weight: 700; color: var(--muted); border: 0; border-radius: 0; padding: .8rem 1.4rem; }
.db-tabs .nav-link.active { background: var(--navy); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.chip { font-weight: 700; font-size: .92rem; background: #fff; color: var(--navy); border: 1.5px solid var(--line); border-radius: 999px; padding: .4rem 1rem; cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.m-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin-bottom: 1.25rem; }
.m-head, .m-row { display: grid; grid-template-columns: minmax(0, 2.6fr) 1fr 1.1fr 1.4fr .8fr; gap: 1rem; align-items: start; padding: 1.1rem .75rem; }
.m-head { font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--navy); padding-bottom: .6rem; }
.m-row { border-bottom: 1px solid var(--line); transition: background .3s; }
.m-row.flash { background: var(--orange-soft); }
.m-row h3 { font-size: 1.45rem; margin: 0 0 .15rem; }
.m-row p { margin: 0; color: var(--muted); font-size: .98rem; }
.m-row .elev { font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.m-row .cell { font-size: .98rem; }
.m-row .lbl { display: none; font-weight: 700; color: var(--muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.meter { display: inline-flex; gap: 3px; margin-right: .5rem; vertical-align: middle; }
.meter i { width: 9px; height: 9px; border-radius: 2px; background: var(--line); display: block; }
.meter i.on { background: var(--orange); }
@media (max-width: 767.98px) {
  .m-head { display: none; }
  .m-row { grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
  .m-row > :first-child { grid-column: 1 / -1; }
  .m-row .lbl { display: block; }
}
.library { border-bottom: 1px solid var(--line); }
.row-item { display: grid; grid-template-columns: 1fr auto; gap: .25rem 2rem; align-items: start; width: 100%; text-align: left; background: transparent; color: inherit; border: 0; border-top: 1px solid var(--line); padding: 1.35rem .75rem; cursor: pointer; transition: background .15s; }
.row-item:hover { background: var(--paper); }
.row-item h3 { font-size: 1.5rem; margin: 0 0 .2rem; line-height: 1.15; }
.row-item p { margin: 0; color: var(--muted); max-width: 44rem; }
.row-meta { text-align: right; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.row-meta strong { display: block; color: var(--orange-ink); font-weight: 800; }
@media (max-width: 575.98px) { .row-item { grid-template-columns: 1fr; } .row-meta { text-align: left; order: -1; } .row-meta strong { display: inline; margin-right: .6rem; } }

/* ---------- 05 / 06 Tools ---------- */
.tool-card { background: #fff; color: var(--ink); padding: 2rem; border: 1px solid var(--line); }
.tool-card h3 { font-size: 2rem; margin-bottom: .6rem; }
.progress { height: 10px; border-radius: 0; background: var(--stone); }
.progress-bar { background: var(--orange); }
.progress-line { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .95rem; margin: .75rem 0 .5rem; }
.check-group h4 { font-family: var(--ui); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin: 1.4rem 0 .35rem; }
.form-check { padding-top: .25rem; padding-bottom: .25rem; }
.form-check-input { width: 1.2em; height: 1.2em; margin-top: .25em; border-color: var(--navy-2); border-radius: 2px; }
.form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }
.form-check-label { margin-left: .25rem; }
.plan-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.plan-step { border-top: 3px solid var(--navy); padding-top: 1rem; }
.plan-step h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.plan-step p { color: var(--muted); margin-bottom: .6rem; }

/* ---------- 07 Field notes ---------- */
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.note-card { background: #fff; border: 1px solid var(--line); padding: 1.5rem; display: flex; flex-direction: column; }
.note-card h3 { font-size: 1.6rem; line-height: 1.1; margin-bottom: .9rem; }
.note-card dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; font-size: .92rem; margin-bottom: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .8rem 0; }
.note-card dt { color: var(--muted); font-weight: 500; }
.note-card dd { margin: 0; font-weight: 700; color: var(--navy); }
.note-card p { color: var(--muted); font-size: 1rem; }
.note-card .lesson { color: var(--ink); font-weight: 600; margin-top: auto; }
.draft-badge { align-self: flex-start; font-size: .75rem; font-weight: 800; background: var(--orange); color: var(--navy-deep); padding: .2rem .6rem; border-radius: 3px; margin-bottom: .9rem; }
@media (max-width: 991.98px) { .note-grid { grid-template-columns: 1fr; } }

/* ---------- 08 Videos ---------- */
.thumb { position: relative; width: 100%; border: 0; padding: 0; display: block; cursor: pointer; background: var(--navy-deep); overflow: hidden; color: #fff; text-align: left; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb svg.art-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ratio > .thumb, .pl-thumb > .thumb { position: absolute; inset: 0; height: 100%; }
.thumb.soon { cursor: default; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; transition: transform .15s; }
.thumb:not(.soon):hover .play { transform: translate(-50%, -50%) scale(1.08); }
.play svg { margin-left: 4px; }
.soon-tag { position: absolute; left: 1rem; bottom: 1rem; font-weight: 700; background: rgba(7,24,47,.9); padding: .25rem .7rem; font-size: .88rem; }
.video-main-title { font-size: 2rem; line-height: 1.1; margin: 1rem 0 .35rem; }
.video-main-desc { color: var(--muted); max-width: 36rem; }
.playlist { display: flex; flex-direction: column; gap: 1.1rem; }
.pl-item { display: grid; grid-template-columns: 128px 1fr; gap: 1rem; align-items: center; }
.pl-thumb { position: relative; aspect-ratio: 16 / 9; }
.pl-item h4 { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; margin: 0 0 .15rem; }
.pl-item p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.pl-item .play { width: 38px; height: 38px; }
.pl-item .play svg { width: 14px; height: 14px; margin-left: 2px; }
.pl-item .soon-tag { left: .4rem; bottom: .4rem; font-size: .7rem; padding: .1rem .45rem; }
.video-modal .modal-content { background: #000; }
.video-modal .btn-close { filter: invert(1); position: absolute; right: .6rem; top: .6rem; z-index: 3; }

/* ---------- 09 Principles, CTA ---------- */
.principle-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.principle-list li { padding: .9rem 0; border-top: 1px solid var(--line); }
.principle-list li:last-child { border-bottom: 1px solid var(--line); }
.principle-list strong { color: var(--navy); }
.cta { background: var(--navy-deep); color: #fff; padding: 4rem 0; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.cta-sub { color: #C3D3E8; margin: .5rem 0 0; }

/* ---------- FAQ, contact ---------- */
.accordion { --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(238,106,10,.4); --bs-accordion-active-bg: var(--paper); --bs-accordion-active-color: var(--navy); --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; }
.accordion-button { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--navy); }
.accordion-body { font-size: 1.05rem; max-width: 44rem; color: var(--muted); }
.contact-lines { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-lines li { padding: .6rem 0; border-top: 1px solid var(--line); display: flex; gap: 1rem; flex-wrap: wrap; }
.contact-lines .k { color: var(--muted); min-width: 6.5rem; }
.ask-form { background: #fff; border: 1px solid var(--line); padding: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C3D3E8; padding: 4.5rem 0 2rem; }
.foot-features { padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.22); }
.foot-feature { display: block; text-decoration: none; color: #A9BAD3; }
.foot-feature .ficon { display: inline-block; width: 84px; height: 84px; margin-bottom: 1rem; transition: transform .2s; }
.foot-feature .ficon svg { width: 100%; height: 100%; }
.foot-feature:hover .ficon { transform: translateY(-3px) scale(1.04); }
.foot-feature h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: .4rem; }
.foot-feature p { margin: 0 auto; max-width: 20rem; font-weight: 500; line-height: 1.45; }
.foot-feature:hover h3 { text-decoration: underline; }
.foot-main { padding-top: 3rem; }
.site-footer h5 { color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: 1.1rem; }
.site-footer li { padding: .3rem 0; }
.site-footer li a { color: #E6EEF9; font-weight: 500; text-decoration: none; }
.site-footer li a:hover { color: #FFA45E; }
@media (min-width: 1200px) { .foot-main > .col-xl-auto { margin-right: 2.5rem; } .foot-fb { max-width: 460px; margin-left: auto; } }
.fb-h { font-size: 1.6rem !important; }
.fb-box { background: #fff; border-radius: 8px; padding: .5rem; max-width: 360px; min-height: 130px; overflow: hidden; }
.fb-box iframe { display: block; max-width: 100%; }
.fb-empty { padding: 1.1rem 1.25rem; color: var(--ink); }
.fb-empty strong { display: block; color: var(--navy); font-size: 1.05rem; }
.fb-empty div span { color: var(--muted); font-size: .95rem; }
.fb-logo { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #1877F2; color: #fff; display: flex; align-items: center; justify-content: center; }
.fb-logo svg { width: 28px; height: 28px; }
.fb-btn { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; background: #1877F2; color: #fff; padding: .65rem 1.25rem; border-radius: 6px; font-weight: 700; text-decoration: none; }
.fb-btn:hover { background: #3b8bff; color: #fff; }
.site-footer .fine { border-top: 1px solid rgba(255,255,255,.22); margin-top: 3rem; padding-top: 1.75rem; }
.site-footer .logo-chip { display: inline-block; background: #fff; padding: .45rem .75rem; border-radius: 6px; }
.site-footer .logo-chip img { height: 46px; width: auto; display: block; }
.site-footer .logo-chip strong { color: var(--navy); }
.fine-text { font-size: .9rem; color: #A9BAD3; line-height: 1.55; max-width: 62rem; }
.fine-text .copy { color: #E6EEF9; font-weight: 500; margin-bottom: .25rem; }
.to-top { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .15s; }
.to-top:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); }
@media (max-width: 575.98px) { .site-footer { padding-top: 3rem; } .foot-feature .ficon { width: 72px; height: 72px; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; background: var(--navy-deep); color: #fff; padding: 10.5rem 0 3.75rem; overflow: hidden; }
.page-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,12,26,.7) 0%, rgba(4,12,26,.5) 55%, rgba(4,12,26,.8) 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.1; margin: 0 0 .8rem; }
.page-lede { max-width: 46rem; font-size: 1.15rem; color: #E3EBF7; margin: 0; }
.page-lede:empty { display: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .92rem; margin-bottom: 1rem; color: #C3D3E8; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs a + span::before, .crumbs span + span::before { content: "/"; margin-right: .5rem; opacity: .6; }
.crumbs a + a::before { content: "/"; margin-right: .5rem; opacity: .6; }

/* Mountain cards: carousel (home) and grid (list) */
.mcar { position: relative; padding: 0 clamp(0px, 4.6vw, 90px); }
.mcar-track { display: flex; gap: 25px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px 0 6px; }
.mcar-track::-webkit-scrollbar { display: none; }
.mcar .mcard { flex: 0 0 calc((100% - 100px) / 5); scroll-snap-align: start; }
.mcar-btn { position: absolute; top: 135px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #F4F4F4; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; transition: background .15s, border-color .15s; }
.mcar-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.mcar-btn[disabled] { opacity: .35; cursor: default; pointer-events: none; }
.mcar-prev { left: 0; } .mcar-next { right: 0; }
@media (max-width: 1399.98px) { .mcar .mcard { flex-basis: calc((100% - 75px) / 4); } }
@media (max-width: 1099.98px) { .mcar .mcard { flex-basis: calc((100% - 50px) / 3); } .mcar-btn { top: 110px; } }
@media (max-width: 767.98px) { .mcar { padding: 0; } .mcar .mcard { flex-basis: 74%; } .mcar-btn { top: 95px; width: 42px; height: 42px; background: rgba(255,255,255,.9); } .mcar-prev { left: 6px; } .mcar-next { right: 6px; } }
.mcard { display: block; color: var(--ink); text-decoration: none; }
.mc-art { position: relative; aspect-ratio: 1.2 / 1; border-radius: 16px; overflow: hidden; background: var(--navy-deep); }
.mc-art svg, .mc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mcard:hover .mc-art svg, .mcard:hover .mc-art img { transform: scale(1.05); }
.mc-lv { position: absolute; left: .7rem; bottom: .7rem; background: rgba(7,24,47,.78); color: #fff; font-size: .78rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; }
.mcard h3 { font-size: 1.2rem; font-weight: 500; color: var(--ink); margin: .85rem 0 .2rem; }
.mcard:hover h3 { text-decoration: underline; }
.mcard p { font-size: .93rem; margin: 0 0 .2rem; color: #2B3548; }
.mcard .peak { font-size: .95rem; color: #6B7C4B; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem 1.5rem; }
.list-tools { display: grid; grid-template-columns: 1fr 220px 220px; gap: 1rem; margin-bottom: 1rem; }
.list-count { color: var(--muted); font-size: .95rem; margin: .5rem 0 1.5rem; }
@media (max-width: 767.98px) { .list-tools { grid-template-columns: 1fr; } }
.empty-note { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 2rem 0; }

/* Mountain plan page */
.pd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 767.98px) { .pd-stats { grid-template-columns: repeat(2, 1fr); } }
.pd-stat { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.25rem; }
.pd-stat > span { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; }
.pd-stat b { display: block; font-size: 1.55rem; font-weight: 500; color: var(--navy); line-height: 1.25; margin-top: .15rem; }
.pd-note { font-size: 1.1rem; }
.pd-air { background: var(--orange-soft); border-radius: 12px; padding: 1rem 1.25rem; margin-top: 1rem; }
.pd-time { font-size: 1.8rem; font-weight: 500; color: var(--navy); margin: 0 0 .25rem; line-height: 1.2; }
.tick-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.tick-list li { position: relative; padding: .5rem 0 .5rem 1.9rem; border-top: 1px solid var(--line); }
.tick-list li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: 12px; height: 7px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.tick-list.light li { border-color: rgba(255,255,255,.18); color: #E3EBF7; }
.plan-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.pstep { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; display: flex; flex-direction: column; }
.pstep .n { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: .8rem; }
.pstep h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.pstep p { color: var(--muted); font-size: .98rem; flex: 1; }

/* About */
.about-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.6rem; height: 100%; }
.about-card h3 { font-size: 1.35rem; }
.about-card p { color: var(--muted); }
.about-card.dark { background: var(--navy); border-color: var(--navy); }
.about-card.dark h3 { color: #fff; }

/* Videos */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem 1.5rem; }
.vcard { display: block; color: var(--ink); text-decoration: none; }
.vcard .vthumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--navy-deep); }
.vcard .vthumb img, .vcard .vthumb svg.art-svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard h3 { font-size: 1.2rem; margin: .8rem 0 .25rem; color: var(--ink); }
.vcard:hover h3 { text-decoration: underline; }
.vcard p { color: var(--muted); font-size: .95rem; margin: 0; }
.vd-player { background: var(--navy-deep); border-radius: 14px; overflow: hidden; }
.vd-player iframe, .vd-player video { border: 0; width: 100%; height: 100%; }
.vd-soon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vd-soon span { position: relative; z-index: 1; background: rgba(7,24,47,.8); color: #fff; font-weight: 700; padding: .6rem 1.2rem; border-radius: 999px; }
.vd-desc { font-size: 1.1rem; color: var(--muted); }
.side-h { font-size: 1.15rem; margin-bottom: 1rem; }
.pl-item { text-decoration: none; color: inherit; }
.pl-item:hover h4 { text-decoration: underline; }
.thumb { text-decoration: none; }
.db-card { text-decoration: none; color: inherit; }
.thumb.soon { cursor: pointer; }
.m-row h3 a { color: inherit; text-decoration: none; }
.m-row h3 a:hover { text-decoration: underline; }
