/* ===============================================================
   MT GROUP — BASE
   Tokens, reset, nav, buttons and footer shared by every page.
   Ported verbatim from site-upload/index.html (approved design).
   Section styles live with their blocks in blocks/<name>/style.css.
   =============================================================== */

:root {
  --blue-900: #002250;
  --blue-800: #00306b;
  --blue-700: #003c84;
  --blue-600: #004894;
  --blue-500: #1a5aa6;
  --amber-500: #f8b62b;
  --amber-600: #d9991a;
  --steel-400: #98b0bf;
  --steel-500: #7e98aa;
  --ink-900: #0a0e14;
  --ink-800: #1c1f23;
  --ink-500: #767a7f;
  --ink-400: #9aa0a6;
  --ink-100: #f0f2f4;
  --ink-50:  #f7f8f9;
  --white: #ffffff;
  --teal-400: #5eead4;
  --teal-500: #14b8a6;
  --coral-400: #fb7185;
  --font-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font-sans: 'Barlow', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --container: 1360px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-500);
}
h1 .line, h2 .line { display: block; white-space: nowrap; }
.rule-accent { display: block; width: 56px; height: 3px; background: var(--amber-500); margin: 20px 0; border: 0; }
.c-amber { color: var(--amber-500); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--amber-500); color: var(--blue-900); font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 10px 16px; }
.skip-link:focus { left: 8px; }

/* --- NAV --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 34, 80, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-img { height: 40px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber-500); }
.nav-toggle { display: none; flex: 0 0 auto; width: 42px; height: 42px; position: relative; background: transparent;
  border: 1px solid rgba(255,255,255,.4); border-radius: 2px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; content: ""; transition: transform .2s, opacity .2s; }
.nav-toggle span { top: 19px; }
.nav-toggle span::before { left: 0; right: 0; top: -6px; }
.nav-toggle span::after  { left: 0; right: 0; top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* nav: About dropdown */
.nav-links .has-sub { position: relative; }
.nav-links .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-links .sub { display: none; position: absolute; top: 100%; left: -18px; min-width: 210px; margin: 0; padding: 18px 0 8px; list-style: none; }
.nav-links .sub::before { content: ""; position: absolute; inset: 10px 0 0 0; background: rgba(0,26,61,.98); border: 1px solid rgba(255,255,255,.1); border-top: 2px solid #f8b62b; z-index: -1; }
.nav-links .sub a { display: block; padding: 10px 18px; font-size: 12px; white-space: nowrap; }
.nav-links .has-sub:hover .sub, .nav-links .has-sub:focus-within .sub { display: block; }
.nav-links .has-sub:has([aria-current]) > a { color: #f8b62b; }

/* --- BUTTONS --- */
.btn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter 0.2s, transform 0.12s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn:hover { filter: brightness(0.92); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber-500); color: var(--blue-900); border-color: var(--amber-500); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-navy { background: transparent; color: var(--blue-600); border-color: var(--blue-600); border-width: 1.5px; }
.btn-large { padding: 17px 32px; font-size: 15px; }
.btn-arrow::after { content: "→"; font-size: 15px; margin-left: 2px; }

/* --- SECTION SHELL --- */
.section { padding: 120px 0; }
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink-900);
}
.section-head--dark h2 { color: var(--white); }
.section-head p {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-500);
  margin-top: 24px;
}
.section-head--dark p { color: rgba(255,255,255,0.7); }

/* --- FOOTER --- */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 6px 0; }
.footer-col a:hover { color: var(--amber-500); }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-img { height: 35px; width: auto; display: block; }
.footer-tagline { max-width: 320px; line-height: 1.55; color: rgba(255,255,255,0.55); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* --- RESPONSIVE --- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-inner { gap: 16px; }
  .nav-inner .nav-cta { margin-left: auto; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(0,26,61,.98); padding: 8px 32px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.open .nav-links a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.open .nav-links .sub { display: block; position: static; padding: 0 0 0 18px; min-width: 0; }
  .nav.open .nav-links .sub::before { display: none; }
  .nav.open .nav-links .sub a { font-size: 12.5px; padding: 13px 0; }
  .nav-links .has-sub > a::after { display: none; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .container { padding: 0 24px; }
}
