/* V3 — Monks-inspired chrome: minimal nav, clean footer, flat buttons */

/* ───────────────── NAV ───────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--pad-page);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  transition: color .3s, background .3s, border-color .3s, transform .3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav--hidden {
  transform: translateY(-100%);
}
.nav.solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--rule);
}
.nav.on-dark { color: white; background: transparent; border-color: transparent; }
.nav.on-dark .nav__logo { filter: brightness(0) invert(1); }
.nav.on-dark .nav__links a:hover { opacity: .7; }
.nav.on-dark .nav__links a.active { opacity: 1; border-color: white; }
.nav.on-dark .nav__cta { background: white; color: var(--ink); }

.nav__brand { display: flex; align-items: center; }
.nav__logo {
  height: 28px;
  width: auto;
  display: block;
  transition: filter .25s;
}

.nav__links {
  display: flex; gap: 2px;
  font-size: 14px;
  font-weight: 400;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: 0;
  transition: opacity .2s;
  position: relative;
  color: inherit;
}
.nav__links a:hover { opacity: .6; }
.nav__links a.active {
  font-weight: 500;
}

.nav__cta {
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav__cta:hover { opacity: .8; }
.nav__cta svg { width: 14px; height: 14px; }

/* ───────── SERVICES DROPDOWN ───────── */
.nav__dd {
  position: relative;
  display: inline-flex;
}
.nav__dd-trigger {
  padding: 8px 14px;
  transition: opacity .2s;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
}
.nav__dd-trigger:hover,
.nav__dd:hover .nav__dd-trigger { opacity: .6; }
.nav__dd-trigger.active { font-weight: 500; }
.nav__dd-caret {
  font-size: 10px;
  transition: transform .3s var(--ease-out);
}
.nav__dd:hover .nav__dd-caret { transform: rotate(180deg); }

.nav__dd-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 320px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 16px 48px -12px rgba(0,0,0,.1);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  display: flex; flex-direction: column; gap: 2px;
  z-index: 200;
}
.nav__dd:hover .nav__dd-panel,
.nav__dd:focus-within .nav__dd-panel {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dd::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: 100%; height: 14px;
}
.nav__dd-panel a {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink) !important;
  background: none !important;
  transition: background .15s;
}
.nav__dd-panel a:hover { background: var(--paper-subtle) !important; }
.nav__dd-panel a.active { background: var(--paper-subtle) !important; }
.nav__dd-num {
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  text-align: center;
}
.nav__dd-name { font-weight: 500; font-size: 14px; }
.nav__dd-desc { font-size: 12px; color: var(--ink-soft); margin-top: 1px; }

.nav.on-dark .nav__dd-panel {
  background: var(--mash-dusk-blue); border-color: rgba(255,255,255,.12);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.nav.on-dark .nav__dd-panel a { color: white !important; }
.nav.on-dark .nav__dd-panel a:hover { background: rgba(255,255,255,.1) !important; }
.nav.on-dark .nav__dd-panel a.active { background: rgba(255,255,255,.15) !important; }
.nav.on-dark .nav__dd-panel a.active .nav__dd-name,
.nav.on-dark .nav__dd-panel a.active .nav__dd-num,
.nav.on-dark .nav__dd-panel a.active .nav__dd-desc { color: white !important; }
.nav.on-dark .nav__dd-num { color: rgba(255,255,255,.4); }
.nav.on-dark .nav__dd-desc { color: rgba(255,255,255,.5); }

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

/* ───────────────── BUTTONS ───────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: transform .3s var(--ease-out), opacity .3s;
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: white; }
.btn--primary:hover { opacity: .85; }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--rule);
}
.btn--ghost:hover { background: var(--ink); color: white; border-color: var(--ink); }
.btn--dark { background: var(--mash-dusk-blue); color: white; }
.btn--dark:hover { opacity: .85; }
.btn__arrow {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: transform .3s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(2px); }

/* ───────────────── FOOTER ───────────────── */
.footer {
  background: var(--mash-dusk-blue);
  color: rgba(255,255,255,.85);
  padding: 80px var(--pad-page) 40px;
  position: relative;
  overflow: hidden;
}
.footer__ticker {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 140px);
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
  display: flex; gap: 48px;
  line-height: 1;
  animation: ticker 36s linear infinite;
  margin-bottom: 64px;
  color: rgba(255,255,255,.08);
}
.footer__ticker span { display: inline-flex; align-items: center; gap: 48px; }
.footer__ticker .dot {
  width: 0.4em; height: 0.55em;
  border-radius: 50%;
  background: var(--mash-orange);
  opacity: .4;
  transform: rotate(-18deg);
  flex-shrink: 0;
}
@keyframes ticker { to { transform: translateX(-50%); } }

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 500;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 15px;
  padding: 5px 0;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer__col a:hover { color: white; }
.footer__lead {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 340px;
  color: rgba(255,255,255,.85);
}
.footer__mail {
  margin-top: 16px;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 3px;
  display: inline-block;
  color: rgba(255,255,255,.85);
}
.footer__mail:hover { border-color: var(--mash-orange); color: white; }

.footer__base {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__base { flex-direction: column; gap: 12px; text-align: center; }
}

/* ───────────────── MARQUEE ───────────────── */
.marquee {
  overflow: hidden;
  display: flex;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 48px;
  animation: ticker 28s linear infinite;
}

/* ───────────────── SHAPES ───────────────── */
.shape {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}
