/* UNITE FMS holding page */
:root {
  --blue: #0066FF;      /* Unite Electric Blue */
  --sky: #00B7FF;       /* Globe / Sky Blue */
  --navy: #001E60;      /* Deep Navy */
  --gold: #FFC400;      /* Unite Gold */
  --white: #FFFFFF;
  --graphite: #2B2B2B;
  --muted: #55607a;
  --wrap: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.5;
}
main { flex: 1; display: flex; flex-direction: column; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 6px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid #e8edf6; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 72px; height: 72px; object-fit: contain; }
.lockup { display: flex; flex-direction: column; line-height: 1.15; }
.lockup-name { white-space: nowrap; font-weight: 800; font-size: 1.35rem; letter-spacing: .06em; color: var(--navy); }
.lockup-sub { font-size: .78rem; color: var(--muted); }

/* Buttons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 6px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.btn-outline { background: var(--white); color: var(--navy); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero {
  position: relative;
  background: var(--white);
  padding: 56px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1.45fr .55fr; align-items: center; gap: 40px; padding-bottom: 24px; }
.eyebrow { margin: 0 0 14px; font-weight: 700; letter-spacing: .22em; font-size: .85rem; color: var(--blue); }
h1 {
  margin: 0; color: var(--navy); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.75rem, 3.3vw, 2.75rem); line-height: 1.08; letter-spacing: .01em;
}
h1 span { display: block; }
h1 em { font-style: normal; color: var(--blue); }
.gold-rule { display: block; width: 72px; height: 4px; background: var(--gold); border-radius: 2px; margin: 26px 0 20px; }
.services { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--blue); font-weight: 500; }
.services i { font-style: normal; color: var(--gold); font-size: 1.2em; line-height: 1; }

.notice {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 34px 0 0; padding: 12px 18px;
  background: #f1f6ff; border-left: 4px solid var(--blue); border-radius: 4px;
  color: var(--navy); font-weight: 500;
}
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--sky); flex: none; box-shadow: 0 0 0 0 rgba(0, 183, 255, .6); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 183, 255, .55); }
  70% { box-shadow: 0 0 0 10px rgba(0, 183, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 183, 255, 0); }
}
.contact-lead { margin: 26px 0 12px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-mark { display: flex; justify-content: center; }
.hero-mark img { width: min(100%, 400px); }
/* Multiply lets the logo's own white backdrop melt into the page without altering the artwork. */
.brand img, .hero-mark img { mix-blend-mode: multiply; }

.wave { display: block; width: 100%; height: 110px; margin-bottom: -1px; }
.wave-fill { fill: var(--navy); }
.wave-blue { fill: none; stroke: var(--blue); stroke-width: 14; vector-effect: non-scaling-stroke; }
.wave-gold { fill: none; stroke: var(--gold); stroke-width: 3; vector-effect: non-scaling-stroke; }

/* Divisions */
.divisions { flex: 1; margin-top: -2px; position: relative; background: var(--navy); color: var(--white); padding: 34px 0 44px; }
.division-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.division-list li {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 14px 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .92rem; line-height: 1.3;
}
.division-list li + li { border-left: 1px solid rgba(255, 255, 255, .18); }
.division-list svg { width: 40px; height: 40px; stroke: var(--sky); stroke-width: 1.5; }
.values {
  margin: 34px 0 0; text-align: center; font-size: 1.15rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.values b { color: var(--gold); margin-right: .45em; }

/* Footer */
.site-footer { background: #00143f; color: rgba(255, 255, 255, .78); font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 18px; padding-bottom: 18px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.legal > * + *::before, .footer-links > * + *::before { content: "|"; color: rgba(255, 255, 255, .35); margin: 0 .6em; }
.footer-links > * + *::before { display: inline-block; text-decoration: none; }

/* Gentle entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-mark { animation: rise .7s ease-out both; }
  .hero-mark { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
  .btn { transition: none; }
}

/* Tablet */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .hero-mark { order: -1; }
  .hero-mark img { width: min(62vw, 300px); }
  .gold-rule { margin-left: auto; margin-right: auto; }
  .services, .actions { justify-content: center; }
  .division-list { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .division-list li:nth-child(3) { border-left: 0; }
}

/* Mobile */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .header-inner { min-height: 72px; }
  .brand img { width: 52px; height: 52px; }
  .lockup-name { font-size: 1.1rem; }
  .lockup-sub { display: none; }
  .header-cta { min-height: 42px; padding: 8px 14px; font-size: .9rem; }
  .header-cta svg { display: none; }
  .hero { padding-top: 28px; }
  .notice { text-align: left; }
  .actions .btn { width: 100%; }
  .wave { height: 70px; }
  .division-list { grid-template-columns: 1fr 1fr; }
  .division-list li { flex-direction: column; text-align: center; gap: 10px; font-size: .82rem; }
  .division-list li:nth-child(odd) { border-left: 0; }
  .values { font-size: 1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .legal, .footer-links { display: flex; flex-direction: column; gap: 2px; }
  .legal > * + *::before, .footer-links > * + *::before { content: none; }
}
