:root {
  --blue: #0063b3;
  --blue-deep: #004f8f;
  --blue-ink: #003a6b;
  --amber: #ffb300;
  --amber-soft: #ffc933;
  --amber-deep: #d99700;
  --cyan: #26bdf7;
  --ink: #1c2430;
  --muted: #5a6573;
  --line: #e2e8f0;
  --wash: #f3f7fb;
  --paper: #ffffff;
  --footer: #0b1726;
  --shadow: 0 18px 50px rgba(11, 39, 74, .12);
  --shadow-soft: 0 10px 28px rgba(11, 39, 74, .08);
  --radius: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(38, 189, 247, .08), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(255, 179, 0, .08), transparent 55%),
    var(--paper);
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-size: 1.04rem;
  line-height: 1.75;
}
img, svg { max-width: 100%; height: auto; display: block; }
html, body { max-width: 100%; overflow-x: clip; }
a { color: var(--blue); transition: color .2s ease; }
a:hover { color: var(--blue-ink); }
h1, h2, h3, h4 {
  font-family: "Dosis", "Open Sans", sans-serif;
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: .02em;
}
p { margin: 0 0 1rem; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--amber); color: #111; padding: .65rem 1rem; z-index: 2000;
  border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: .75rem; }

/* ========== Banner / Nav ========== */
.site-banner {
  position: sticky;
  top: 0;
  z-index: 1100;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(0, 99, 179, .97), rgba(0, 58, 107, .94) 58%, rgba(11, 23, 38, .96)),
    linear-gradient(160deg, #0a3d6e, #062848);
  box-shadow: 0 1px 0 rgba(255, 179, 0, .28);
}
.site-banner.is-stuck {
  box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
}
.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: 78px;
  padding: .85rem 0;
  position: relative;
}
.navbar-brand {
  display: inline-flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
  line-height: 1.05;
  flex: 0 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1205;
}
.navbar-brand:hover { color: var(--amber); }
.navbar-brand .mark-row {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: "Dosis", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: .04em;
}
.navbar-brand .brand-logo,
.footer-brand .brand-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(0, 40, 80, .28);
  background: #0063b3;
}
.footer-brand .brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.navbar-brand .tag {
  margin-top: .22rem;
  font-family: "Roboto", sans-serif;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(215, 233, 255, .88);
}
.navbar-toggler {
  border: 0;
  min-width: 52px; min-height: 44px;
  border-radius: 999px;
  padding: .5rem 1.05rem;
  color: #111;
  background: linear-gradient(145deg, var(--amber-soft), var(--amber));
  box-shadow: 0 8px 20px rgba(255, 179, 0, .3);
  z-index: 1205;
  position: relative;
  display: none;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(255,179,0,.35); }
.navbar-toggler[aria-expanded="true"] {
  background: #fff;
  color: var(--blue-ink);
}
.navbar-toggler-label {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .85rem;
}
.site-banner .navbar-toggler-icon { display: none; }

.nav-panel {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.nav-panel-top { display: none; }
.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .2rem;
  margin: 0;
  padding: .28rem;
  list-style: none;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.navbar-nav .nav-item { margin: 0; }
.navbar-nav .nav-link {
  font-family: "Roboto", sans-serif;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  letter-spacing: .04em;
  padding: .55rem 1rem;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s var(--ease);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #111;
  background: rgba(255, 255, 255, .92);
}
.navbar-nav .nav-link.active {
  color: #111;
  background: linear-gradient(145deg, var(--amber-soft), var(--amber));
  box-shadow: 0 6px 16px rgba(255, 179, 0, .28);
}
.menu-close {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  width: 48px; height: 48px;
  font-size: 1.6rem;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .navbar-toggler,
  .menu-close,
  .nav-panel-top { display: none !important; }
  .nav-panel {
    display: flex !important;
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    overflow: visible !important;
  }
}

/* Full-screen mobile menu + scroll lock */
@media (max-width: 991.98px) {
  .navbar-toggler { display: inline-flex !important; align-items: center; justify-content: center; }
  .nav-panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    background:
      radial-gradient(ellipse at 85% 8%, rgba(255,179,0,.22), transparent 42%),
      linear-gradient(165deg, #0063b3 0%, #004f8f 36%, #003a6b 68%, #0b1726 100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    overflow: hidden;
  }
  .nav-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
    flex: 0 0 auto;
  }
  .nav-panel-title {
    font-family: "Dosis", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
  }
  .menu-close { display: inline-flex; }
  .navbar-nav {
    flex: 1 1 auto;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: .45rem;
    margin: 0;
    padding: 1.4rem 1.25rem 2rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .navbar-nav .nav-item { width: 100%; }
  .navbar-nav .nav-link {
    justify-content: center;
    font-size: clamp(1.45rem, 6vw, 1.85rem);
    font-family: "Dosis", sans-serif;
    font-weight: 700;
    letter-spacing: .08em;
    min-height: 58px;
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    color: var(--amber);
    background: rgba(255,179,0,.14);
    border-color: rgba(255,179,0,.28);
  }
  .navbar-nav .nav-link.active {
    color: #111;
    background: linear-gradient(145deg, var(--amber-soft), var(--amber));
    border-color: transparent;
  }
  html.menu-open,
  body.menu-open {
    overflow: hidden !important;
    overscroll-behavior: none;
    touch-action: none;
    height: 100%;
  }
  body.menu-open {
    position: fixed;
    left: 0; right: 0;
    width: 100%;
  }
}

/* ========== Hero ========== */
.hero-slider {
  position: relative;
  display: grid;
  min-height: min(88vh, 860px);
  color: #fff;
  overflow: hidden;
  outline: none;
}
.slide {
  grid-area: 1 / 1;
  display: flex;
  min-height: min(88vh, 860px);
  align-items: center;
  position: relative;
  background-color: #003a6b;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  pointer-events: none;
  transform: scale(1.05);
}
.hero-slider.is-live .slide {
  transition: opacity .9s ease, transform 1.2s var(--ease), visibility .9s;
}
.slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; transform: scale(1); }
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; pointer-events: auto; transform: scale(1); }
.slide .veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 24, 48, .78) 0%, rgba(0, 63, 120, .42) 48%, rgba(6, 24, 48, .55) 100%),
    linear-gradient(0deg, rgba(6, 24, 48, .45), transparent 40%);
}
.slide .container {
  position: relative; z-index: 1;
  padding-top: 4rem; padding-bottom: 6rem;
  opacity: 0; transform: translateY(18px);
}
.hero-slider.is-live .slide .container { transition: opacity .45s ease, transform .45s ease; }
.slide.is-active .container { opacity: 1; transform: none; }
.hero-slider.is-live .slide.is-active .container { transition: opacity .75s ease .28s, transform .75s ease .28s; }
.hero-kicker {
  font-family: "Dosis", sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: lowercase;
  color: #fff;
  margin: 0 0 .55rem;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.hero-lead {
  max-width: 36rem;
  color: #eef6ff;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.btn-amber, .btn-line, .btn-fill, .btn-ghost-dark {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.45rem;
  font-family: "Roboto", sans-serif;
  font-weight: 600; letter-spacing: .06em;
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s var(--ease), background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-amber {
  color: #111; background: linear-gradient(145deg, var(--amber-soft), var(--amber));
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(255, 179, 0, .28);
}
.btn-amber:hover { color: #111; transform: translateY(-2px); background: #ffd04a; }
.btn-line { color: #fff; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); }
.btn-line:hover { color: #111; background: var(--amber); border-color: var(--amber); }
.btn-fill {
  color: #fff; background: linear-gradient(145deg, #1877c9, var(--blue));
  box-shadow: 0 12px 28px rgba(0, 99, 179, .25);
}
.btn-fill:hover { color: #fff; background: var(--blue-deep); transform: translateY(-2px); }
.btn-ghost-dark {
  color: var(--ink); border-color: rgba(28,36,48,.35); background: transparent;
}
.btn-ghost-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); background: rgba(11,23,38,.35);
  color: #fff; backdrop-filter: blur(6px);
}
.slider-prev { left: 1.1rem; }
.slider-next { right: 1.1rem; }
.slider-prev:hover, .slider-next:hover { background: var(--amber); color: #111; border-color: var(--amber); }
.slider-dots {
  position: absolute; left: 0; right: 0; bottom: 1.5rem;
  display: flex; justify-content: center; gap: .5rem; z-index: 4;
}
.slider-dots button {
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid #fff; background: transparent; padding: 0;
  transition: transform .2s ease, background .2s ease;
}
.slider-dots button.is-active {
  background: var(--amber); border-color: var(--amber); transform: scale(1.15);
}

.hero-wind { background-image: url("../images/heroes/wind.jpg"); }
.hero-mantle { background-image: url("../images/heroes/mantle.jpg"); }
.hero-scarp { background-image: url("../images/heroes/scarp.jpg"); }
.hero-archive { background-image: url("../images/heroes/archive.jpg"); }
.hero-desk { background-image: linear-gradient(100deg, rgba(0,58,107,.72), rgba(0,99,179,.35)), url("../images/pages/desk.jpg"); background-size: cover; background-position: center; }

/* ========== Cards / sections ========== */
.route-strip { margin-top: -3.4rem; position: relative; z-index: 5; }
.route-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(226,232,240,.9);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.15rem 1.35rem;
  height: 100%;
  color: inherit;
  text-decoration: none;
  display: block;
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.route-card:hover {
  color: inherit;
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(11, 39, 74, .16);
}
.route-card span {
  display: block; color: var(--blue); font-family: "Roboto", sans-serif;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; margin-bottom: .4rem;
}
.route-card strong { display: block; font-family: "Dosis", sans-serif; font-size: 1.45rem; }

.section-pad, .agile-section { padding: 4.6rem 0; }
.title-block { text-align: center; margin-bottom: 2.2rem; }
.title-block .eyebrow {
  font-family: "Roboto", sans-serif;
  letter-spacing: .2em; text-transform: uppercase; color: var(--blue);
  font-size: .76rem; font-weight: 700; margin-bottom: .45rem;
}
.title-block h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  text-transform: lowercase;
  margin-bottom: .4rem;
}
.title-block .sub {
  color: var(--muted); font-size: 1.05rem; margin: 0 auto .8rem; max-width: 40rem;
}
.amber-rule {
  width: 78px; height: 3px; background: linear-gradient(90deg, var(--amber), #ffd666);
  margin: .7rem auto 0; border: 0; position: relative; border-radius: 99px;
}
.amber-rule::after {
  content: ""; position: absolute; left: 50%; top: -4px; transform: translateX(-50%);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,99,179,.15);
}

.about-list { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.about-list li {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.about-list .ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(145deg, #e8f3ff, #d7ebff);
  color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Dosis", sans-serif; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0,99,179,.08);
}
.about-side {
  min-height: 320px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(0,99,179,.12), rgba(11,23,38,.15)),
    url("../images/pages/about.jpg") center/cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.services-band {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 460px;
  border-radius: 0;
  overflow: hidden;
}
.services-left {
  background:
    linear-gradient(160deg, rgba(0,99,179,.92), rgba(0,58,107,.88)),
    url("../images/heroes/mantle.jpg") center/cover;
  color: #fff;
  padding: 3.6rem clamp(1.5rem, 6vw, 5rem);
  display: flex; flex-direction: column; justify-content: center;
}
.services-left h2 {
  color: #fff; font-size: clamp(2.3rem, 5vw, 3.5rem);
  text-transform: lowercase; margin-bottom: .35rem;
}
.services-left > span {
  display: block; width: 68px; height: 3px; background: var(--amber); margin: .55rem 0 1.1rem; border-radius: 99px;
}
.services-left p { color: #d7e9ff; max-width: 30rem; }
.services-right {
  background: linear-gradient(180deg, #fff, var(--wash));
  padding: 2.2rem clamp(1.4rem, 5vw, 4rem);
}
.service-block {
  position: relative;
  padding: 1.15rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: 0; }
.service-block h3 {
  font-size: 1.4rem; margin-bottom: .4rem;
  padding-left: .85rem; border-left: 4px solid var(--amber);
}
.service-block p { margin: 0 0 .2rem; color: var(--muted); font-size: .98rem; }
.service-block a {
  display: inline-flex; margin-top: .45rem; font-weight: 700; text-decoration: none;
}

.stats-band {
  background:
    linear-gradient(120deg, rgba(243,247,251,.96), rgba(238,245,251,.9)),
    url("../images/heroes/archive.jpg") center/cover;
}
.stat-big {
  background: linear-gradient(160deg, #1877c9, var(--blue-ink));
  color: #fff;
  text-align: center;
  padding: 2.4rem 1rem;
  height: 100%;
  border-radius: 18px;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: var(--shadow);
}
.stat-big b {
  font-family: "Dosis", sans-serif;
  font-size: clamp(3.6rem, 8vw, 5.6rem);
  line-height: 1; color: var(--amber);
}
.stat-big span { letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; opacity: .92; }
.stat-grid .n {
  font-family: "Dosis", sans-serif;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  color: var(--blue); font-weight: 700; line-height: 1;
}
.stat-grid .l { color: var(--muted); font-size: .92rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-card {
  position: relative;
  display: block;
  min-height: 230px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.gallery-card .cap {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.15rem;
  background: linear-gradient(transparent 28%, rgba(11,23,38,.88));
  transform: translateY(8px);
  transition: transform .3s var(--ease);
}
.gallery-card:hover .cap { transform: none; color: #fff; }
.gallery-card:hover { transform: translateY(-3px); }
.gallery-card { transition: transform .25s var(--ease); }
.gallery-card h3 { color: #fff; font-size: 1.25rem; margin: 0 0 .2rem; }
.gallery-card p { color: #d7e9ff; margin: 0; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.g-plume { background-image: url("../images/gallery/plume.jpg"); }
.g-front { background-image: url("../images/gallery/front.jpg"); }
.g-drape { background-image: url("../images/gallery/drape.jpg"); }
.g-roots { background-image: url("../images/gallery/roots.jpg"); }
.g-freeze { background-image: url("../images/gallery/freeze.jpg"); }
.g-cut { background-image: url("../images/gallery/cut.jpg"); }
.g-grain { background-image: url("../images/gallery/grain.jpg"); }
.g-ash { background-image: url("../images/gallery/ash.jpg"); }

/* All profiles — field sample tickets */
.atlas-deck {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(243, 247, 251, .96), rgba(232, 241, 249, .98)),
    repeating-linear-gradient(
      -18deg,
      rgba(0, 99, 179, .035) 0 2px,
      transparent 2px 11px
    );
}
.atlas-deck::before {
  content: "";
  position: absolute;
  inset: auto -8% -18% 35%;
  height: 55%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255, 179, 0, .14), transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(0, 99, 179, .1), transparent 50%);
  pointer-events: none;
}
.atlas-deck .container { position: relative; z-index: 1; }
.atlas-controls {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem 1.5rem;
  align-items: end;
  margin-bottom: 1.1rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 99, 179, .14);
  border-left: 4px solid var(--amber);
  box-shadow: 0 12px 30px rgba(11, 39, 74, .06);
}
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip, .chip:hover {
  border: 1px solid rgba(0, 99, 179, .28);
  background: #fff;
  color: var(--blue-deep);
  border-radius: 2px;
  min-height: 40px;
  padding: .35rem .95rem;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .04em;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  box-shadow: none;
}
.chip.is-active, .chip.is-active:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue-ink);
}
.atlas-search { width: 100%; }
.filter-input {
  min-height: 44px;
  border: 1px solid rgba(0, 99, 179, .22);
  border-radius: 2px;
  padding: .45rem 1rem;
  width: 100%;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.filter-input:focus {
  outline: 2px solid rgba(255, 179, 0, .55);
  outline-offset: 1px;
  border-color: var(--amber-deep);
}
.atlas-count {
  margin: 0 0 1.15rem;
  font-family: "Roboto", sans-serif;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 600;
}
.atlas-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .95rem 1.05rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.atlas-list .atlas-item {
  --route: var(--blue);
  --route-soft: rgba(0, 99, 179, .1);
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  gap: .55rem;
  min-height: 11.5rem;
  padding: 1.15rem 1.2rem 1rem 1.35rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(165deg, #fff 0%, #f7fbff 58%, #eef5fb 100%);
  border: 1px solid rgba(0, 58, 107, .12);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  box-shadow: 0 10px 26px rgba(11, 39, 74, .07);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .2s ease;
}
.atlas-list .atlas-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--amber), var(--route));
  z-index: 2;
}
.atlas-list .atlas-item::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 22px; height: 22px;
  background:
    linear-gradient(225deg, transparent 49%, rgba(0, 99, 179, .12) 50%),
    linear-gradient(225deg, var(--amber) 0 2px, transparent 2px);
  z-index: 2;
  pointer-events: none;
}
.atlas-list .atlas-item[data-route="wind"] {
  --route: #1a7fd4;
  --route-soft: rgba(26, 127, 212, .12);
}
.atlas-list .atlas-item[data-route="mantle"] {
  --route: #0a8f6c;
  --route-soft: rgba(10, 143, 108, .12);
}
.atlas-list .atlas-item[data-route="scarp"] {
  --route: #c46b12;
  --route-soft: rgba(196, 107, 18, .12);
}
.atlas-list .atlas-item[data-route="archive"] {
  --route: #3d5a73;
  --route-soft: rgba(61, 90, 115, .14);
}
.atlas-list .atlas-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 99, 179, .35);
  box-shadow: 0 18px 36px rgba(11, 39, 74, .14);
  color: inherit;
}
.atlas-list .atlas-item:hover .open { color: var(--blue-ink); gap: .55rem; }
.atlas-list .atlas-item:hover .open::after { transform: translateX(3px); }
.atlas-list .atlas-item.is-hidden { display: none; }
.atlas-list .idx {
  position: absolute;
  right: .55rem;
  bottom: -.35rem;
  z-index: 0;
  font-family: "Dosis", sans-serif;
  font-size: clamp(3.6rem, 7vw, 4.8rem);
  line-height: .85;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--route-soft);
  pointer-events: none;
  user-select: none;
}
.atlas-list .atlas-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .35rem;
  padding-right: 2.5rem;
}
.atlas-list small {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: .18rem .55rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--route);
  font-size: .64rem;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
}
.atlas-list strong {
  display: block;
  font-family: "Dosis", sans-serif;
  font-size: clamp(1.12rem, 2.2vw, 1.32rem);
  line-height: 1.22;
  color: var(--blue-ink);
  max-width: 28ch;
}
.atlas-list em {
  font-style: normal;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
  max-width: 34ch;
}
.atlas-list .open {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .35rem;
  width: fit-content;
  color: var(--amber-deep);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .72rem;
  font-family: "Roboto", sans-serif;
  padding: 0;
  border-radius: 0;
  background: none;
  border-bottom: 2px solid rgba(255, 179, 0, .55);
  padding-bottom: .15rem;
  transition: color .2s ease, gap .2s ease;
}
.atlas-list .open::after {
  content: "→";
  font-size: .95rem;
  line-height: 1;
  transition: transform .2s var(--ease);
}
.atlas-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}
.atlas-more {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  padding: .65rem 1.35rem;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  color: #fff;
  background: linear-gradient(145deg, #1877c9, var(--blue));
  border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  box-shadow: 0 12px 28px rgba(0, 99, 179, .22);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s ease;
}
.atlas-more::after { content: "→"; font-size: 1rem; }
.atlas-more:hover {
  color: #fff;
  transform: translateY(-2px);
  background: linear-gradient(145deg, var(--blue), var(--blue-ink));
  box-shadow: 0 16px 34px rgba(0, 99, 179, .28);
}

/* Inner pages */
.page-hero {
  color: #fff;
  padding: 3.8rem 0 3rem;
  position: relative;
  background-color: var(--blue-ink);
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,24,48,.78), rgba(0,63,120,.38));
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow {
  letter-spacing: .2em; text-transform: uppercase; color: var(--amber);
  font-size: .75rem; font-weight: 700; font-family: "Roboto", sans-serif;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3.1rem); max-width: 100%; }
.page-hero p { color: #e8f2ff; max-width: 100%; margin-bottom: 0; }

.route-band { padding: 2.3rem 0; }
.route-band:nth-child(even) { background: rgba(243,247,251,.8); }
.route-band .num {
  font-family: "Dosis", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.1rem);
  color: var(--amber-deep); font-weight: 700; line-height: 1;
}

/* Route hubs — sample-ticket deck (matches home atlas) */
.route-deck {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(243, 247, 251, .97), rgba(232, 241, 249, .98)),
    repeating-linear-gradient(-18deg, rgba(0, 99, 179, .03) 0 2px, transparent 2px 11px);
}
.route-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.5rem 2rem;
  margin-bottom: 2.2rem;
  align-items: start;
}
.route-intro h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  margin-bottom: .75rem;
  max-width: 18ch;
}
.route-intro .lede {
  font-size: 1.08rem;
  color: var(--ink);
  max-width: 42rem;
}
.route-aside {
  background: #fff;
  border: 1px solid rgba(0, 99, 179, .14);
  border-left: 4px solid var(--amber);
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 12px 28px rgba(11, 39, 74, .06);
}
.route-aside h3 {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  font-family: "Roboto", sans-serif;
  margin-bottom: .65rem;
}
.route-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}
.route-aside li {
  position: relative;
  padding-left: .95rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}
.route-aside li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: .4rem; height: .4rem;
  background: var(--amber);
}
.route-cues {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-bottom: 2rem;
}
.route-cue {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(0, 58, 107, .1);
  padding: 1rem 1.05rem 1.1rem;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.route-cue strong {
  display: block;
  font-family: "Dosis", sans-serif;
  font-size: 1.12rem;
  color: var(--blue-ink);
  margin-bottom: .35rem;
}
.route-cue p { margin: 0; color: var(--muted); font-size: .92rem; }
.route-deck .atlas-count { margin-bottom: 1rem; }
.route-deck .atlas-list { margin-bottom: 2rem; }
.route-close {
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(0, 99, 179, .12);
  border-top: 3px solid var(--blue);
}
.route-close p { margin: 0; color: var(--muted); font-size: .95rem; }
.route-close a { font-weight: 700; }

.layout-wind .route-deck .atlas-item { --route: #1a7fd4; --route-soft: rgba(26, 127, 212, .12); }
.layout-mantle .route-deck .atlas-item { --route: #0a8f6c; --route-soft: rgba(10, 143, 108, .12); }
.layout-scarp .route-deck .atlas-item { --route: #c46b12; --route-soft: rgba(196, 107, 18, .12); }
.layout-archive .route-deck .atlas-item { --route: #3d5a73; --route-soft: rgba(61, 90, 115, .14); }

.mag-lead { font-size: clamp(2rem, 4vw, 3rem); max-width: min(16ch, 100%); }
.drop-note { font-size: 1.12rem; border-top: 4px solid var(--amber); padding-top: 1rem; }
.mag-card {
  border-top: 1px solid var(--line); padding: 1.2rem 0 0; height: 100%;
  display: block; text-decoration: none; color: inherit;
  transition: color .2s ease;
}
.mag-card:hover { color: var(--blue-deep); }
.mag-card b { display: block; color: var(--amber-deep); font-size: 1.4rem; font-family: "Dosis", sans-serif; }

.spine { position: relative; margin-left: .4rem; padding-left: 2rem; }
.spine:before {
  content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--blue), rgba(0,99,179,.2));
  border-radius: 99px;
}
.spine-item { position: relative; padding: 0 0 2rem; }
.spine-item:before {
  content: ""; position: absolute; left: -2rem; top: .35rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--amber); border: 3px solid var(--blue-deep);
  box-shadow: 0 0 0 4px rgba(255,179,0,.15);
}
.spine-item h2 { font-size: 1.5rem; }
.spine-item a { text-decoration: none; }

.ledger { background: var(--footer); color: #f4f4f2; }
.ledger a { color: var(--amber); }
.ledger-row {
  display: grid; grid-template-columns: 6rem 1.4fr .8fr auto;
  gap: 1rem; align-items: center;
  padding: 1.15rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
  text-decoration: none; color: #fff;
}
.ledger-row:hover { color: var(--amber); }
.ledger-row span { color: var(--amber); font-weight: 700; }
.ledger-row em { font-style: normal; color: #c8c8c4; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 72vh; }
.about-panel {
  color: #fff;
  padding: 5rem 8vw 3rem;
  position: relative;
  isolation: isolate;
  background-color: var(--blue-deep);
  background-image:
    linear-gradient(115deg, rgba(6, 24, 48, .78) 0%, rgba(0, 63, 120, .48) 55%, rgba(6, 24, 48, .62) 100%),
    url("../images/pages/about-panel.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.about-panel > * { position: relative; z-index: 1; }
.about-panel h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); text-shadow: 0 8px 28px rgba(0,0,0,.35); }
.about-copy { padding: 5rem 8vw 3rem; background: var(--wash); }
.creed { font-size: 1.2rem; color: #e8f2ff; text-shadow: 0 2px 16px rgba(0,0,0,.25); }

.criterion {
  display: grid; grid-template-columns: 88px 1fr; gap: 1rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line);
}
.criterion .n {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(145deg, #1877c9, var(--blue));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Dosis", sans-serif; font-size: 1.4rem; font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,99,179,.22);
}

.contact-card {
  background: #fff; margin-top: -3.2rem; position: relative; z-index: 2;
  box-shadow: var(--shadow); border-top: 5px solid var(--amber);
  padding: 1.55rem 1.35rem; border-radius: 0 0 16px 16px;
}
label { font-weight: 700; display: block; margin-bottom: .3rem; }
.form-control, .form-select {
  min-height: 48px; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(11,39,74,.04);
}
textarea.form-control { min-height: 150px; }
.field-error { color: #8d1d1d; font-size: .92rem; min-height: 1.2rem; }
.form-note { background: var(--wash); padding: .85rem 1rem; border-radius: 12px; }
/* Keep .privacy-wrap on .container — do not override Bootstrap container max-width */
.jump-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.jump-list a { font-weight: 700; }

.prose { font-size: 1.1rem; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .7rem; }

/* Article detail body uses the same container width/edges as page-hero */
.layout-outline .section-pad > .container > .row {
  display: flex;
  flex-direction: column;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}
.layout-outline .section-pad > .container > .row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
  padding-left: 0;
  padding-right: 0;
}
.layout-outline .outline {
  position: static;
  top: auto;
  margin: 0 0 1.5rem;
}
.layout-outline .outline ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.15rem;
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.diagram {
  background: var(--wash); padding: 1rem; margin: 0 0 1.2rem;
  border-radius: 14px; border: 1px solid var(--line);
}
.profile-photo { padding: .55rem; }
.profile-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}
.diagram figcaption, .quiet { color: var(--muted); font-size: .96rem; }
.limit-note {
  border-left: 6px solid var(--amber); background: #fffaf0;
  padding: 1rem 1.15rem; margin: 1.5rem 0; border-radius: 0 12px 12px 0;
}
.limit-note h2 { margin-top: 0; font-size: 1.25rem; }
.terms dt { color: var(--blue-deep); font-weight: 700; margin-top: .7rem; }
.sources { padding-left: 1.1rem; }
.sources li { margin: .4rem 0; }
.outline {
  position: sticky; top: 96px; background: var(--wash); padding: 1rem;
  border-radius: 14px; border: 1px solid var(--line);
}
.outline ol { margin: 0; padding-left: 1.1rem; }
.outline a { text-decoration: none; font-weight: 700; }
.wrong, .right-col { padding: 1.15rem; height: 100%; border-radius: 14px; }
.wrong { background: var(--footer); color: #f4f4f2; }
.wrong h2, .wrong p { color: #fff; }
.right-col {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
}
.right-col h2 { font-size: 1.15rem; color: var(--blue-ink); }
.right-col p { margin: 0; color: var(--muted); }
.claim-panel {
  background: linear-gradient(145deg, var(--amber-soft), var(--amber));
  color: #111; padding: 1.5rem 1.3rem; height: 100%; border-radius: 14px;
}
.claim-panel h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.station {
  display: grid; grid-template-columns: 72px 1fr; gap: 1rem; margin: 0 0 1.4rem;
}
.station .n {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(145deg, #1877c9, var(--blue));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Dosis", sans-serif; font-weight: 700; font-size: 1.2rem;
}

.site-footer { background: var(--footer); color: #d9d9d6; }
.footer-brand {
  color: #fff; text-decoration: none; font-size: 1.7rem; font-weight: 700;
  font-family: "Dosis", sans-serif;
  display: inline-flex; align-items: center; gap: .45rem;
}
.footer-brand:hover { color: var(--amber); }
.footer-lead { max-width: 36rem; margin: 1rem auto; color: #c8c8c4; }
.footer-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1rem; }
.footer-links a, .footer-mail a { color: #eee; text-decoration: none; font-weight: 600; }
.footer-links a:hover, .footer-mail a:hover { color: var(--amber); }
.footer-copy { color: #c8c8c4; font-size: .92rem; max-width: 46rem; margin: 1rem auto 0; }
.footer-cols h2 {
  color: #fff; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase;
}
.footer-cols ul { list-style: none; padding: 0; }
.footer-cols li { margin: .35rem 0; }
.footer-cols a { color: #c8c8c4; text-decoration: none; }
.footer-cols a:hover { color: var(--amber); }

#toTop {
  position: fixed; right: 1rem; bottom: 1rem;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: linear-gradient(145deg, #1877c9, var(--blue));
  color: #fff; font-size: 1.3rem;
  opacity: 0; pointer-events: none; z-index: 40;
  box-shadow: 0 10px 24px rgba(0,99,179,.3);
}
#toTop.is-on { opacity: 1; pointer-events: auto; }
#toTop:hover { background: var(--amber); color: #111; }
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1400; background: transparent;
}
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), #ffd666); }

.layout-privacy .page-hero { padding-top: 2.4rem; }
.layout-contact .page-hero { padding-bottom: 5.5rem; }
.row > [class*="col-"] { min-width: 0; }

@media (max-width: 991.98px) {
  .services-band { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .ledger-row { grid-template-columns: 3rem 1fr; }
  .ledger-row em, .ledger-row .open { grid-column: 2; }
  .slider-prev, .slider-next { display: none; }
  .route-strip { margin-top: -1.5rem; }
  .outline { position: static; margin-bottom: 1rem; }
  .atlas-controls { grid-template-columns: 1fr; }
  .atlas-list { grid-template-columns: 1fr; }
  .route-intro { grid-template-columns: 1fr; }
  .route-cues { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .criterion, .station { grid-template-columns: 1fr; }
  .hero-slider, .slide { min-height: 74vh; }
  .hero-kicker { font-size: 2.45rem; }
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .atlas-list .atlas-item {
    min-height: 0;
    padding: 1rem 1rem .9rem 1.15rem;
  }
  .atlas-list .idx { font-size: 3.2rem; right: .35rem; }
  .atlas-list strong { max-width: none; }
}
@media (min-width: 1200px) {
  .atlas-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-card, .gallery-card, .gallery-card .cap, .btn-amber, .btn-fill,
  .atlas-list .atlas-item, .atlas-list .open, .atlas-list .open::after { transition: none; }
  .atlas-list .atlas-item:hover { transform: none; }
  .hero-slider .slide, .hero-slider .slide .container { transition: none; transform: none; }
  .site-banner .navbar-collapse { transition: none; }
}
