:root {
  --ink: #14213D;
  --navy: #1D4E89;
  --navy-deep: #123A66;
  --gold: #C9A227;
  --gold-deep: #9C7A1A;
  --green: #2F7D5C;
  --paper: #F5F7FA;
  --paper-dim: #EBEFF5;
  --white: #FFFFFF;
  --slate: #435066;
  --line: #DDE3EC;

  --font-display: "Source Serif 4", "Georgia", serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --r-sm: 4px;
  --r-md: 10px;
  --shadow-card: 0 18px 40px rgba(20, 33, 61, 0.14);
  --shadow-soft: 0 4px 18px rgba(20, 33, 61, 0.08);

  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 3.6vw + 1rem, 3.7rem); }
h2 { font-size: clamp(1.8rem, 2.2vw + 1rem, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1vw + 1rem, 1.45rem); }

p { margin: 0 0 1em; color: var(--slate); }

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

section { padding: 96px 0; }

@media (max-width: 720px) {
  section { padding: 60px 0; }
}

.label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1em;
}

.label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.label.on-dark { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 15px 28px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-block { width: 100%; }

/* ===== Header: two-tier ===== */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.topbar-trust svg { color: var(--gold); flex-shrink: 0; }

.topbar-links {
  display: flex;
  gap: 20px;
}

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

@media (max-width: 720px) {
  .topbar-links { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 2px;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--ink);
  line-height: 1.1;
}

.brand-text small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 16px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-cta { display: flex; align-items: center; gap: 12px; }

@media (max-width: 940px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 0;
    top: 108px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 18px;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow-y: auto;
  }

  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

  .main-nav a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Credential Badge — signature element ===== */
.badge-card {
  width: 240px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 20px 20px 22px;
  position: relative;
}

.badge-perf {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.badge-perf span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper-dim);
  border: 1px solid var(--line);
}

.badge-card::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12px;
  right: 12px;
  border-top: 1.5px dashed var(--line);
}

.badge-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 22px auto 14px;
}

.badge-name {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.badge-role {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(41, 125, 92, 0.1);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  margin: 0 auto;
  width: fit-content;
}

.badge-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--slate);
}

/* Hero */
.hero {
  padding: 64px 0 90px;
  background: linear-gradient(180deg, var(--paper-dim) 0%, var(--paper) 55%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 { max-width: 620px; }
.hero h1 em {
  font-style: italic;
  color: var(--navy);
}

.hero-sub {
  font-size: 1.08rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 40px;
}

.stat-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.stat-ticker .stat {
  padding: 0 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.stat-ticker .stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy);
}

.stat span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.hero-badge-stack {
  position: relative;
  height: 420px;
}

.hero-badge-stack .badge-card {
  position: absolute;
}

.hero-badge-stack .badge-card:nth-child(1) {
  top: 0;
  left: 10%;
  transform: rotate(-7deg);
  z-index: 1;
}

.hero-badge-stack .badge-card:nth-child(2) {
  top: 70px;
  left: 34%;
  transform: rotate(5deg);
  z-index: 2;
}

.hero-badge-stack .badge-card:nth-child(3) {
  top: 190px;
  left: 4%;
  transform: rotate(3deg);
  z-index: 3;
}

@media (max-width: 940px) {
  .hero-badge-stack { height: 340px; max-width: 420px; margin: 0 auto; }
  .hero-badge-stack .badge-card { width: 200px; }
}

@media (max-width: 480px) {
  .hero-badge-stack .badge-card:nth-child(1) { left: 2%; }
  .hero-badge-stack .badge-card:nth-child(2) { left: 30%; top: 60px; }
  .hero-badge-stack .badge-card:nth-child(3) { left: 0%; top: 170px; }
}

/* ===== Services: alternating numbered rows ===== */
.service-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: none; padding-bottom: 0; }

.service-row.tint {
  background: var(--paper-dim);
  margin: 0 -32px;
  padding: 44px 32px;
  border-radius: var(--r-md);
  border-bottom: none;
}

@media (max-width: 720px) {
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-row.tint { margin: 0; padding: 32px 20px; }
}

.service-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

.service-body h3 { margin-bottom: 8px; }
.service-body p { margin-bottom: 12px; max-width: 620px; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--slate);
}

/* ===== Process: horizontal stepper ===== */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

@media (max-width: 860px) {
  .stepper { grid-template-columns: 1fr; }
}

.stepper::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--line);
}

@media (max-width: 860px) {
  .stepper::before { display: none; }
}

.step {
  position: relative;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.step h3 { margin-bottom: 10px; }

/* ===== Split panels: facilities vs caregivers ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.panel {
  padding: 48px 44px;
}

@media (max-width: 640px) {
  .panel { padding: 36px 28px; }
}

.panel-navy {
  background: var(--ink);
  color: #fff;
}

.panel-navy h3 { color: #fff; }
.panel-navy p { color: rgba(255,255,255,0.72); }

.panel-white {
  background: var(--white);
}

.panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.panel li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.95rem;
}

.panel-white li { border-bottom: 1px solid var(--line); color: var(--slate); }
.panel-navy li { color: rgba(255,255,255,0.85); }

.panel li svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }

/* ===== Testimonial ===== */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 56px;
  position: relative;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 640px) {
  .testimonial { padding: 32px 24px; }
}

.testimonial-seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.2vw + 1rem, 1.6rem);
  color: var(--ink);
  margin: 0 0 24px;
  line-height: 1.5;
}

.testimonial cite {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
}

/* ===== CTA band ===== */
.cta-strip {
  background: var(--gold);
  color: var(--ink);
}

.cta-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-strip h3 { margin: 0; font-size: 1.25rem; }

.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 340px;
  height: 100%;
  background: linear-gradient(180deg, rgba(201,162,39,0.14), transparent);
  transform: skewX(-14deg);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}

.cta-band h2 { color: #fff; max-width: 520px; }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 460px; }

/* Section headers */
.section-head { max-width: 620px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Cards used on About/Team */
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Team badges (About/Team sections reused across pages) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; }
}

.team-badge {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 34px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

@media (max-width: 480px) {
  .team-badge { flex-direction: column; }
}

.team-badge .badge-photo {
  margin: 0;
  width: 68px;
  height: 68px;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Forms */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 44px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 600px) {
  .form-panel { padding: 26px; }
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.field .req { color: var(--gold-deep); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea { resize: vertical; min-height: 130px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(29, 78, 137, 0.14);
}

.form-note { font-size: 0.84rem; color: var(--slate); margin-top: 16px; }

.form-status {
  display: none;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  margin-bottom: 24px;
  font-size: 0.94rem;
  font-weight: 500;
}

.form-status.show { display: block; }

.form-status.success {
  background: rgba(47, 125, 92, 0.1);
  border: 1px solid var(--green);
  color: #205c44;
}

.form-status.error {
  background: rgba(178, 58, 46, 0.08);
  border: 1px solid #b23a2e;
  color: #8f2e24;
}

/* Contact info list */
.info-list { display: grid; gap: 22px; }

.info-item { display: flex; gap: 16px; align-items: flex-start; }

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--paper-dim);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item h4 { font-family: var(--font-body); font-weight: 700; margin: 0 0 4px; font-size: 0.96rem; }
.info-item p { margin: 0; }

/* Legal pages */
.legal-content h2 { margin-top: 2em; font-size: 1.35rem; font-family: var(--font-display); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { color: var(--slate); padding-left: 1.2em; }
.legal-content li { margin-bottom: 0.5em; }

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 40px;
}

.page-header {
  padding: 52px 0 40px;
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line);
}

/* ===== Footer: two-tier, badge-square icons ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.68); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-mark { background: var(--gold); color: var(--ink); }
.footer-brand p { max-width: 320px; margin-top: 16px; }

.footer-license {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid rgba(201,162,39,0.4);
  padding: 6px 12px;
  border-radius: 100px;
  margin-top: 18px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: 0.82rem;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.text-center { text-align: center; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

/* ===== SPA-specific ===== */
.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.15s ease;
}

.skip-link:focus { top: 12px; }

#app {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

#app.view-enter {
  opacity: 0;
  transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
  #app { transition: none; }
  #app.view-enter { opacity: 1; transform: none; }
}

#app:focus { outline: none; }

.route-loading {
  padding: 140px 0;
  text-align: center;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.not-found {
  padding: 110px 0;
  text-align: center;
}

.not-found .service-num {
  font-size: 5rem;
  display: block;
  margin-bottom: 10px;
}

.main-nav a[aria-current="page"] {
  color: var(--navy);
  border-color: var(--gold);
}
