  :root {
    --bg: #f4f2ee;
    --card: #ffffff;
    --text: rgba(0, 0, 0, 0.9);
    --muted: rgba(0, 0, 0, 0.6);
    --faint: rgba(0, 0, 0, 0.45);
    --line: rgba(0, 0, 0, 0.08);
    --line-mid: rgba(0, 0, 0, 0.15);
    --accent: #0a66c2;
    --accent-hover: #004182;
    --accent-soft: #eef3f8;
    --todo-bg: #fff4d1;
    --todo-ink: #6b4e00;
    color-scheme: light;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 76px; }
  html, body { margin: 0; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Cantarell, "Droid Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  main { flex: 1 0 auto; }
  a { color: var(--accent); text-decoration: none; }
  a:hover { text-decoration: underline; }
  h1, h2, h3, p { margin-top: 0; }
  svg { display: block; }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
  }

  @keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(10, 102, 194, 0); }
    50% { box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.08); }
  }

  /* ---------- Top bar ---------- */
  .topbar {
    position: sticky; top: 0; z-index: 10;
    background: var(--card);
    border-bottom: 1px solid var(--line);
  }
  .topbar-inner {
    max-width: 1128px; margin: 0 auto; padding: 0 16px;
    height: 64px; display: flex; align-items: center; gap: 8px;
  }
  .brand {
    color: var(--text); text-decoration: none;
    display: flex; align-items: center; gap: 12px; white-space: nowrap; min-width: 0;
  }
  .brand:hover { text-decoration: none; }
  .brand-text {
    text-transform: uppercase; font-weight: 800; font-size: 15.5px;
    letter-spacing: .11em; line-height: 1.15; color: #0a1f33;
  }
  .brand-mark { width: 34px; height: 38px; border-radius: 0; flex: none; display: block; }
  .nav { margin-left: auto; display: flex; height: 64px; }
  .nav a {
    color: var(--muted); text-decoration: none; font-size: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-width: 80px; padding: 0 6px; border-bottom: 2px solid transparent;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
    will-change: transform;
  }
  .nav a:hover,
  .nav a:focus-visible {
    transform: translateY(-1px);
  }
  .nav a svg { width: 24px; height: 24px; }
  .nav a:hover { background: var(--line); color: var(--text); text-decoration: none; }
  .nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--text); }
  /* Burger menu: hidden on desktop, replaces the icon nav below 768px */
  .nav-toggle {
    display: none; margin-left: auto; flex: none;
    width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-mid); border-radius: 8px;
    background: var(--card); color: var(--text); cursor: pointer;
    align-items: center; justify-content: center;
  }
  .nav-toggle:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
  .burger, .burger::before, .burger::after {
    display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .2s ease, background-color .2s ease;
  }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; }
  .burger::after { top: 6px; }
  .topbar.open .burger { background: transparent; }
  .topbar.open .burger::before { transform: translateY(6px) rotate(45deg); }
  .topbar.open .burger::after { transform: translateY(-6px) rotate(-45deg); }

  @media (max-width: 768px) {
    .topbar-inner { height: 68px; }
    .brand { gap: 10px; }
    .brand-mark { width: 36px; height: 40px; }
    .brand-text { font-size: 17px; letter-spacing: .09em; }
    .nav-toggle { display: flex; }
    .nav {
      display: none; position: absolute; top: 100%; left: 0; right: 0;
      height: auto; flex-direction: column; margin: 0; padding: 8px 0;
      background: var(--card); border-bottom: 1px solid var(--line);
      box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
    }
    .topbar.open .nav { display: flex; }
    .nav a {
      flex-direction: row; justify-content: flex-start; gap: 14px;
      min-width: 0; min-height: 52px; padding: 0 20px; font-size: 16px; font-weight: 600; color: var(--text);
      border-bottom: 0; border-left: 3px solid transparent;
    }
    .nav a svg { width: 22px; height: 22px; color: var(--muted); }
    .nav a[aria-current="page"] { border-left-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
    .nav a[aria-current="page"] svg { color: var(--accent); }
  }
  @media (max-width: 360px) {
    .brand-text { font-size: 15px; letter-spacing: .06em; }
  }

  /* ---------- Shared ---------- */
  .wrap { max-width: 1128px; margin: 0 auto; padding: 0 16px; }
  .card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
  .pad { padding: 16px; }

  main > * {
    animation: fadeInUp .45s cubic-bezier(.22, 1, .36, 1) both;
  }
  main > *:nth-child(2) { animation-delay: .05s; }
  main > *:nth-child(3) { animation-delay: .1s; }
  main > *:nth-child(4) { animation-delay: .15s; }
  main > *:nth-child(5) { animation-delay: .2s; }

  .card,
  .team-card,
  .pillar,
  .svc,
  .list-card,
  .info-list li,
  .step,
  .profile-head,
  .contact-card,
  .person {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }
  .card:hover,
  .team-card:hover,
  .pillar:hover,
  .svc:hover,
  .list-card:hover,
  .step:hover,
  .profile-head:hover,
  .contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  }
  .team-card:hover,
  .svc:hover {
    animation: glowPulse .7s ease-in-out 1;
  }
  @media (min-width: 768px) { .pad { padding: 20px 24px; } }
  .stack { display: grid; gap: 8px; }
  .section { padding-top: 24px; }
  .section-head { max-width: 680px; margin-bottom: 16px; }
  .section-title { font-size: 24px; font-weight: 600; line-height: 1.3; margin: 0 0 4px; }
  .section-lead { color: var(--muted); font-size: 16px; margin: 0; }
  @media (max-width: 600px) { .section-title { font-size: 22px; } }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 32px; padding: 0 16px; border-radius: 9999px;
    font: inherit; font-size: 14px; font-weight: 600; line-height: 1.4;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
    will-change: transform;
  }
  .btn:hover,
  .btn:focus-visible {
    transform: translateY(-1px);
  }
  .btn:hover { text-decoration: none; }
  .btn-primary { background: var(--accent); color: #fff; }
  .btn-primary:hover { background: var(--accent-hover); color: #fff; }
  .btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
  .btn-outline:hover { background: rgba(112, 181, 249, .2); box-shadow: inset 0 0 0 1px var(--accent); }
  .btn-sm { min-height: 28px; font-size: 13px; padding: 0 12px; }
  .link { font-size: 14px; font-weight: 600; color: var(--accent); }
  .link:hover { text-decoration: underline; }
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--accent); outline-offset: 1px;
  }

  .todo { background: var(--todo-bg); color: var(--todo-ink); border-radius: 2px; padding: 0 2px; }

  .avatar {
    border-radius: 50%; background: var(--accent-soft); color: var(--accent);
    display: grid; place-items: center; font-weight: 600; object-fit: cover; flex: none;
  }

  /* ---------- Hero ---------- */
  .hero { padding-top: 32px; }
  .eyebrow { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
  .hero h1 {
    font-size: 32px; line-height: 1.25; font-weight: 600;
    margin: 0 0 12px; max-width: 680px;
  }
  .hero .lead { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 640px; margin: 0 0 20px; }
  .hero .actions { display: flex; flex-wrap: wrap; gap: 8px; }

  .stats {
    display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .stat { padding: 16px 20px; }
  .stat + .stat { border-left: 1px solid var(--line); }
  .stat b { display: block; font-size: 20px; font-weight: 600; line-height: 1.3; }
  .stat span { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
  @media (max-width: 600px) {
    .hero { padding-top: 24px; }
    .hero h1 { font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
    .section-title { font-weight: 700; }
    .stat { padding: 12px 10px; }
    .stat span { font-size: 12px; }
  }

  /* ---------- About ---------- */
  .pillars { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
  .pillar { padding: 16px; }
  @media (min-width: 768px) { .pillar { padding: 20px 24px; } }
  .pillar h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin: 0 0 8px; }
  .pillar p { font-size: 14px; color: var(--muted); margin: 0; }
  .pillar ul { list-style: none; margin: 0; padding: 0; }
  .pillar li { position: relative; padding: 6px 0 6px 22px; font-size: 14px; }
  .pillar li + li { border-top: 1px solid var(--line); }
  .pillar li::before {
    content: ""; position: absolute; left: 2px; top: 12px;
    width: 10px; height: 6px; border: solid var(--accent); border-width: 0 0 2px 2px;
    transform: rotate(-45deg);
  }
  .sub-title.team-head { margin: 32px 0 12px; }

  /* ---------- Team ---------- */
  .team-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
  .team-card { display: flex; flex-direction: column; padding: 16px; }
  .team-card,
  .svc,
  .pillar,
  .step,
  .list-card,
  .profile-head,
  .contact-card {
    animation: fadeInUp .5s cubic-bezier(.22, 1, .36, 1) both;
  }
  .team-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
  .team-top .avatar { width: 48px; height: 48px; font-size: 16px; }
  .team-card h3 { font-size: 16px; font-weight: 600; line-height: 1.3; margin: 0; }
  .team-card .hl { font-size: 14px; color: var(--muted); margin: 0; }
  .team-card .link { margin-top: auto; align-self: flex-start; }
  .team-card { overflow: hidden; }
  .team-photo { display: block; margin: -16px -16px 16px; background: var(--accent-soft); }
  .team-photo img {
    display: block; width: 100%; aspect-ratio: 4 / 3;
    object-fit: cover; object-position: 50% 25%;
    transition: transform .3s ease;
  }
  .team-card:hover .team-photo img { transform: scale(1.03); }
  .team-card h3 { font-size: 18px; }

  /* ---------- Services ---------- */
  .svc-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
  .svc { display: flex; flex-direction: column; padding: 16px; }
  .svc-icon {
    width: 32px; height: 32px; border-radius: 4px;
    background: var(--accent-soft); color: var(--accent);
    display: grid; place-items: center; flex: none;
    animation: subtleFloat 3.2s ease-in-out infinite;
  }
  .svc-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
  .svc-icon svg { width: 18px; height: 18px; }
  .svc h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin: 0; }
  .svc p { font-size: 14px; margin: 0; }

  /* ---------- Content blocks ---------- */
  .sub-title { font-size: 20px; font-weight: 600; margin: 0 0 12px; }

  .list-card { overflow: hidden; }
  .list-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px; border-bottom: 1px solid var(--line);
  }
  .list-head h2 { font-size: 16px; font-weight: 600; margin: 0; }
  .list { list-style: none; margin: 0; padding: 0; }
  .list li + li { border-top: 1px solid var(--line); }
  .list a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; color: var(--text); font-size: 14px; font-weight: 600;
    transition: background-color .2s ease, transform .2s ease, color .2s ease;
  }
  .list a:hover { background: rgba(0, 0, 0, .04); text-decoration: none; transform: translateX(2px); }
  .list a svg { width: 18px; height: 18px; color: var(--muted); flex: none; }

  .points .point + .point { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
  .point h3 { font-size: 15px; font-weight: 600; margin: 0 0 2px; }
  .point p { font-size: 14px; color: var(--muted); margin: 0; }

  .steps { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
  .step h3 { font-size: 15px; font-weight: 600; margin: 0 0 2px; }
  .step p { font-size: 14px; color: var(--muted); margin: 0; }

  .cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
  .cta .sub-title { margin-bottom: 2px; }
  .cta p { font-size: 14px; color: var(--muted); margin: 0; }

  @media (max-width: 768px) {
    .steps { grid-template-columns: 1fr; }
    .sub-title { font-size: 18px; }
  }

  /* ---------- Contact ---------- */
  .contact-card { display: grid; grid-template-columns: minmax(0, 1fr) 320px; overflow: hidden; }
  .contact-form-col { padding: 16px; }
  .contact-info-col {
    padding: 16px; background: rgba(0, 0, 0, .02);
    border-left: 1px solid var(--line);
    display: grid; align-content: center;
  }
  @media (max-width: 768px) {
    .contact-card { grid-template-columns: minmax(0, 1fr); }
    .contact-info-col { border-left: 0; border-top: 1px solid var(--line); }
  }
  form { display: grid; gap: 12px; }
  .row2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
  @media (max-width: 600px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
  label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); font-weight: 400; }
  input, textarea, select {
    font: inherit; font-size: 14px; color: var(--text); background: var(--card);
    border: 1px solid var(--line-mid); border-radius: 4px; padding: 8px 12px; width: 100%;
  }
  input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
  textarea { min-height: 120px; resize: vertical; }
  .form-note { font-size: 12px; color: var(--faint); margin: 0; }
  .info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; align-content: start; }
  .info-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; font-size: 14px; }
  .info-list svg { width: 16px; height: 16px; color: var(--muted); margin-top: 2px; }
  .info-list b { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-bottom: 1px; }

  .tollfree { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
  .tollfree:hover { text-decoration: none; }
  .tf-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
  .tf-number { display: block; margin-top: 2px; font-size: 20px; font-weight: 700; color: var(--accent); }
  .tollfree:hover .tf-number { text-decoration: underline; }

  /* ---------- Profile page ---------- */
  .profile-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 8px; align-items: start;
    padding-top: 24px;
  }
  @media (max-width: 900px) { .profile-layout { grid-template-columns: minmax(0, 1fr); } }
  .profile-head { padding: 20px 24px; }
  @media (max-width: 600px) { .profile-head { padding: 16px; } }
  .ph-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .profile-head .avatar {
    width: 136px; height: 136px; font-size: 40px;
    border: 4px solid var(--card); box-shadow: 0 0 0 1px var(--line-mid), 0 4px 14px rgba(0, 0, 0, .12);
  }
  @media (max-width: 600px) { .profile-head .avatar { width: 112px; height: 112px; font-size: 32px; } }
  .profile-head h1 { font-size: 24px; font-weight: 600; line-height: 1.25; margin: 0 0 2px; }
  .profile-head .headline { font-size: 16px; margin: 0; }
  .profile-head .meta { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
  .profile-head .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .psec h2 { font-size: 20px; font-weight: 600; margin: 0 0 12px; }
  .entry { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
  .entry + .entry { border-top: 1px solid var(--line); }
  .entry:first-of-type { padding-top: 0; }
  .entry-icon {
    width: 40px; height: 40px; border-radius: 4px;
    background: var(--accent-soft); color: var(--accent);
    display: grid; place-items: center; flex: none;
  }
  .entry-icon svg { width: 20px; height: 20px; }
  .entry h3 { font-size: 16px; font-weight: 600; margin: 0; }
  .entry .sub { font-size: 14px; margin: 1px 0 0; }
  .entry .when { font-size: 14px; color: var(--muted); margin: 0; }
  .entry .desc { font-size: 14px; margin: 6px 0 0; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { padding: 4px 10px; border-radius: 9999px; font-size: 13px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-mid); }
  .side h2 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
  .side-item { font-size: 14px; margin: 8px 0 0; }
  .person {
    display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px;
    align-items: center; padding: 10px 0; text-decoration: none; color: var(--text);
  }
  .person + .person { border-top: 1px solid var(--line); }
  .person .avatar { width: 56px; height: 56px; font-size: 18px; }
  .person strong { display: block; font-size: 14px; font-weight: 600; }
  .person span { display: block; font-size: 12px; color: var(--muted); }
  .person:hover { text-decoration: none; }
  .person:hover strong { color: var(--accent); text-decoration: underline; }

  footer { border-top: 1px solid var(--line); margin-top: 24px; background: var(--card); }
  footer .wrap {
    padding: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px;
    justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px;
  }
  footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  footer a { color: var(--muted); }
  footer a:hover { color: var(--accent); text-decoration: underline; }

  /* ---------- Motion ---------- */

  /* Cross-page transitions: the header and footer stay put, the page content
     cross-fades and rises. Supported in Chrome 126+, Edge and Safari 18.2+;
     other browsers simply navigate as before. */
  @view-transition { navigation: auto; }

  main { view-transition-name: page; }

  @keyframes page-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes page-out {
    from { opacity: 1; }
    to { opacity: 0; }
  }

  ::view-transition-old(page) { animation: .14s ease-in both page-out; }
  ::view-transition-new(page) { animation: .3s cubic-bezier(.2, .7, .3, 1) both page-in; }

  /* Browsers without view transitions still get an entrance on page load */
  @supports not (view-transition-name: none) {
    main > * { animation: page-in .3s cubic-bezier(.2, .7, .3, 1) both; }
    main > * + * { animation-delay: .06s; }
  }

  /* Hover feedback */
  .team-card, .svc { transition: border-color .16s ease, box-shadow .16s ease; }
  .team-card:hover, .svc:hover { border-color: var(--line-mid); box-shadow: 0 2px 10px rgba(0, 0, 0, .07); }
  .list a, .person { transition: background-color .15s ease, color .15s ease; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: .001ms !important;
      animation-delay: 0ms !important;
      transition-duration: .001ms !important;
      scroll-behavior: auto !important;
    }
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  }
