/* Mobilize site nav + footer for app.mobilizeandscale.com/demo (handover from the website session, refreshed 2026-11-18 evening).
   From Ookkee/outputs/website/styles.css (nav, drawer, dropdowns, buttons) and site-footer.css (footer). Montserrat 400-800. */
:root {
  --royal-green: #1A3E32;
  --gold: #C9974A;
  --gold-light: #DEB067;
  --beige: #F4F2DD;
  --white: #FAFAFA;
}
html { -webkit-tap-highlight-color: transparent; }
.nav *, .nav-drawer *, .site-footer * { box-sizing: border-box; }
.nav a, .nav-drawer a, .site-footer a { color: inherit; text-decoration: none; }
.nav p, .site-footer p { margin: 0; }

/* ── Navigation ─────────────────────────────────────────────────────────── */

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0px 36px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, transform 0.3s ease;
}

/* Hides on deliberate scroll-down past the hero; reappears on scroll-up. */
.nav.is-hidden {
  transform: translateY(-100%);
}

/* Relaunch nav (2026-11-18, js/nav-condense.js, loaded by site-nav-new.html):
   - is-condensed: once the page is scrolled, the bar slims from 96px to 56px (logo shrinks, its built-in
     canvas padding trimmed with negative margin) so a revealed nav covers as little as possible.
   - is-tucked: inside a pinned scroll section ([data-nav-hide]) the nav stays out of the way, even on
     scroll-up, since scrolling there moves the section's content rather than the page. */
.nav-logo { transition: height 0.3s ease, margin 0.3s ease; }
@media (min-width: 721px) {
  .nav.is-condensed .nav-logo { height: 76px; margin: -10px 0; }
}
.nav.is-tucked { transform: translateY(-100%); }

.nav-logo {
  height: 96px;
  width: auto;
  justify-self: start;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: rgba(244, 242, 221, 0.65);
  justify-self: center;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav .btn-outline {
  justify-self: end;
}

/* ── Hamburger & drawer ──────────────────────────────────────────────────── */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  justify-self: end;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--beige);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Animate to X when open */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--royal-green);
  background-image:
    linear-gradient(rgba(244, 242, 221, 0.05) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(244, 242, 221, 0.05) 0.5px, transparent 0.5px),
    linear-gradient(rgba(244, 242, 221, 0.07) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(244, 242, 221, 0.07) 0.5px, transparent 0.5px);
  background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
  background-attachment: fixed;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 40px 40px;
  gap: 0;
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.nav-drawer-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(244, 242, 221, 0.65);
  padding: 20px 0;
  width: 100%;
  max-width: 280px;
  text-align: center;
  transition: color 0.2s, letter-spacing 0.25s;
}

.nav-drawer-link:hover {
  color: var(--gold-light);
  letter-spacing: 3px;
}

/* ── Partnerships dropdown (desktop) ── */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-toggle { background: none; border: 0; margin: 0; padding: 0; font: inherit; cursor: pointer; color: rgba(244,242,221,0.65); display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s ease; }
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle { color: var(--gold-light); }
.nav-caret { font-size: 8px; line-height: 1; transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown.is-open .nav-caret { transform: rotate(180deg); }
.nav-dropdown::after { content: ""; position: absolute; top: 100%; left: -14px; right: -14px; height: 14px; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-6px); display: flex; flex-direction: column; min-width: 160px; background: #14271e; border: 0.5px solid rgba(244,242,221,0.16); border-radius: 9px; padding: 6px; box-shadow: 0 14px 30px rgba(0,0,0,0.4); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease; z-index: 300; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a { padding: 9px 14px; border-radius: 6px; font-size: 13px; color: rgba(244,242,221,0.72); white-space: nowrap; transition: background 0.15s ease, color 0.15s ease; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.nav-active { background: rgba(244,242,221,0.08); color: var(--gold-light); }

/* ── Partnerships accordion (mobile drawer) ── */
.nav-drawer-group { display: flex; flex-direction: column; align-items: center; width: 100%; }
.nav-drawer-toggle { background: none; border: 0; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(244,242,221,0.65); padding: 20px 0; display: inline-flex; align-items: center; gap: 10px; transition: color 0.2s; }
.nav-drawer-toggle:hover { color: var(--gold-light); }
.nav-drawer-sub { display: none; flex-direction: column; align-items: center; gap: 18px; padding: 2px 0 14px; }
.nav-drawer-group.is-open .nav-drawer-sub { display: flex; }
.nav-drawer-group.is-open .nav-caret { transform: rotate(180deg); }
.nav-drawer-sublink { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(244,242,221,0.5); transition: color 0.2s, letter-spacing 0.25s; }
.nav-drawer-sublink:hover { color: var(--gold-light); letter-spacing: 2.5px; }

.nav-drawer-cta {
  margin-top: 40px;
  width: auto;
  padding: 13px 44px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  display: inline-block;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

/* Buttons that also use .reveal need their hover transitions restated so the
   reveal transition declaration doesn't silently override them. */
.btn.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

/* All buttons share the same hover language: lift + glassy dark fill.
   Cards intentionally do NOT get this treatment — this visual language
   exclusively signals "clickable" to the user. */
a.btn:hover {
  transform: translateY(-3px);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-light);
}

.btn-outline {
  border-color: rgba(244, 242, 221, 0.35);
}

.btn-primary {
  background: var(--gold);
  color: var(--royal-green);
}

.btn-large {
  padding: 14px 28px;
  font-size: 14px;
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-hamburger { display: flex; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
  .nav-drawer { display: flex; }
  .nav { display: flex; justify-content: center; padding: 0; }
  .nav-logo { height: 56px; }
}
.nav-links a, .nav-dropdown-toggle, .nav-cta-desktop { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1320px) { .nav { padding: 0 20px; } .nav-links { gap: 18px; font-size: 12px; } }
@media (max-width: 1180px) {
  .nav-links { display: none; } .nav-cta-desktop { display: none; }
  .nav-hamburger { display: flex; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
  .nav-drawer { display: flex; } .nav { display: flex; justify-content: center; padding: 0; }
}

/* footer (site-footer.css) */
/* Shared sitemap footer, loaded on every page (including JobTread/Acumatica,
   which carry their own themes), so colours are hard-coded brand values. */
/* Solid dark green = the scrolled nav bar's colour (black at 50% over royal green), no top rule (2026-11-18) */
.site-footer {
  position: relative; z-index: 1;
  background: #0D1F19;
  padding: 30px clamp(24px, 5vw, 48px) 16px;
  font-size: 13px; color: rgba(244, 242, 221, 0.6);
  font-family: "Montserrat", -apple-system, "Helvetica Neue", Arial, sans-serif; text-align: left;
}
.site-footer-inner {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px;
}
.site-footer-logo { height: 84px; width: auto; display: block; margin: -22px 0 -8px -51px; } /* the wordmark SVG carries built-in padding */
.site-footer-tagline { color: #DEB067; font-weight: 600; margin: 0 0 6px; }
.site-footer-email { color: rgba(244, 242, 221, 0.6); }
.site-footer-col { display: flex; flex-direction: column; gap: 6px; }
.site-footer-heading {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #F4F2DD; margin: 0 0 2px;
}
.site-footer a { color: rgba(244, 242, 221, 0.6); text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: #DEB067; }
.site-footer-legal {
  max-width: 1040px; margin: 20px auto 0; padding-top: 12px;
  border-top: 0.5px solid rgba(244, 242, 221, 0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: rgba(244, 242, 221, 0.4);
}
.site-footer-legal p { margin: 0; }
.site-footer-legal a { color: rgba(244, 242, 221, 0.4); }
@media (max-width: 900px) {
  .site-footer-inner { grid-template-columns: repeat(2, 1fr); }
  .site-footer-brand { grid-column: 1 / -1; }
}

