
      :root {
        /* Material 3 Theme — Brand colors: #1c3955 (navy) and #59a3a7 (teal) */
        --md-sys-color-background: #ffffff;
        --md-sys-color-on-background: #172531;
        --md-sys-color-surface: #ffffff;
        --md-sys-color-on-surface: #172531;
        --md-sys-color-surface-variant: #ecf1f6;
        --md-sys-color-on-surface-variant: #404b57;
        --md-sys-color-surface-container-low: #fbfcfe;
        --md-sys-color-surface-container: #f6f9fc;
        --md-sys-color-surface-container-high: #f2f6fa;
        --md-sys-color-surface-container-highest: #edf2f7;
        --md-sys-color-primary: #1c3955;
        --md-sys-color-on-primary: #ffffff;
        --md-sys-color-primary-container: #d0e4ff;
        --md-sys-color-on-primary-container: #001c36;
        --md-sys-color-secondary: #2f6f73;
        --md-sys-color-on-secondary: #ffffff;
        --md-sys-color-secondary-container: #beecef;
        --md-sys-color-on-secondary-container: #001f22;
        --md-sys-color-outline: #7d8894;
        --md-sys-color-outline-variant: #d9e0e8;

        /* M3 Shape */
        --md-sys-shape-corner-extra-large: 28px;
        --md-sys-shape-corner-large: 16px;
        --md-sys-shape-corner-full: 9999px;

        /* Typography */
        --md-sys-typescale-body-large: 400 1rem/1.5rem 'Roboto', sans-serif;
        --md-sys-typescale-body-medium: 400 0.875rem/1.25rem 'Roboto', sans-serif;
        --md-sys-typescale-headline-large: 400 2rem/2.5rem 'Roboto', sans-serif;
        --md-sys-typescale-headline-medium: 400 1.75rem/2.25rem 'Roboto', sans-serif;
        --md-sys-typescale-title-large: 400 1.375rem/1.75rem 'Roboto', sans-serif;
        --md-sys-typescale-title-medium: 500 1rem/1.5rem 'Roboto', sans-serif;
        --md-sys-typescale-label-large: 500 0.875rem/1.25rem 'Roboto', sans-serif;

        /* Elevation */
        --md-sys-elevation-1: 0 1px 2px rgba(23, 37, 49, 0.08), 0 1px 3px rgba(23, 37, 49, 0.05);
        --md-sys-elevation-2: 0 2px 6px rgba(23, 37, 49, 0.1), 0 1px 2px rgba(23, 37, 49, 0.06);
      }

      html {
        color-scheme: light;
      }

      * {
        box-sizing: border-box;
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        font: var(--md-sys-typescale-body-large);
        color: var(--md-sys-color-on-background);
        background-color: var(--md-sys-color-background);
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
      }

      .material-symbols-outlined {
        font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
      }

      .skip-link {
        position: absolute;
        left: 16px;
        top: -48px;
        background-color: var(--md-sys-color-primary);
        color: var(--md-sys-color-on-primary);
        padding: 10px 16px;
        border-radius: 8px;
        text-decoration: none;
        font: var(--md-sys-typescale-label-large);
        z-index: 1000;
      }

      .skip-link:focus-visible {
        top: 16px;
      }

      /* Top App Bar Container */
      .app-bar-container {
        background-color: color-mix(in srgb, var(--md-sys-color-surface) 99%, var(--md-sys-color-primary) 1%);
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: var(--md-sys-elevation-1);
        border-bottom: 1px solid var(--md-sys-color-outline-variant);
        backdrop-filter: blur(8px);
        width: 100%;
      }

      /* Top App Bar Content */
      .app-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 24px;
        max-width: 1040px;
        margin: 0 auto;
        min-height: 88px;
      }

      .app-bar-brand {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: inherit;
        gap: 12px;
      }

      .app-bar .logo {
        height: 68px;
        max-height: 100%;
        width: auto;
        object-fit: contain;
        display: block;
        transform: scale(1.28);
        transform-origin: center;
      }

      .app-bar .brand-name {
        font: var(--md-sys-typescale-title-large);
        color: var(--md-sys-color-on-surface);
        margin: 0;
      }

      .nav-menu {
        display: flex;
        gap: 8px;
      }

      .nav-menu a {
        text-decoration: none;
        color: var(--md-sys-color-on-surface-variant);
        font: var(--md-sys-typescale-label-large);
        padding: 0 16px;
        height: 44px;
        display: flex;
        align-items: center;
        border-radius: var(--md-sys-shape-corner-full);
        transition: background-color 0.2s, color 0.2s;
      }

      .nav-menu a:hover, .nav-menu a:focus-visible {
        background-color: color-mix(in srgb, var(--md-sys-color-primary) 10%, transparent);
        color: var(--md-sys-color-on-surface);
      }

      .nav-menu a:focus-visible {
        outline: 3px solid var(--md-sys-color-secondary);
        outline-offset: 2px;
      }

      .nav-menu a[aria-current='page'] {
        color: var(--md-sys-color-on-primary-container);
        background-color: var(--md-sys-color-primary-container);
        border: 1px solid color-mix(in srgb, var(--md-sys-color-primary) 20%, transparent);
      }

      .mobile-nav-toggle {
        display: none;
        background: transparent;
        border: none;
        color: var(--md-sys-color-on-surface);
        padding: 8px;
        cursor: pointer;
        border-radius: var(--md-sys-shape-corner-full);
      }

      .mobile-nav-toggle:hover {
        background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent);
      }

      .main-container {
        max-width: 1040px;
        margin: 0 auto;
        padding: 32px 24px 24px;
      }

      /* Sections General */
      section {
        scroll-margin-top: 104px; /* Sticky header anchor offset without layout shift */
        margin-bottom: 48px;
      }

      .section-title {
        font: var(--md-sys-typescale-headline-medium);
        color: var(--md-sys-color-primary);
        margin: 0 0 32px 0;
        text-align: center;
      }

      .section-subtitle {
        font: var(--md-sys-typescale-title-large);
        color: var(--md-sys-color-on-surface);
        margin: 0 0 24px 0;
        text-align: center;
      }

      /* Hero Section */
      #hero {
        text-align: center;
        padding: 72px 32px 56px;
        background-color: var(--md-sys-color-surface);
        border-radius: var(--md-sys-shape-corner-extra-large);
        box-shadow: var(--md-sys-elevation-1);
        border: 1px solid var(--md-sys-color-outline-variant);
      }

      #hero h1 {
        font: var(--md-sys-typescale-headline-large);
        color: var(--md-sys-color-on-surface);
        margin: 0 0 24px 0;
      }

      #hero .intro {
        font: var(--md-sys-typescale-body-large);
        color: var(--md-sys-color-on-surface-variant);
        max-width: 720px;
        margin: 0 auto 32px auto;
      }

      /* About Section */
      #about .about-content {
        font: var(--md-sys-typescale-body-large);
        color: var(--md-sys-color-on-surface-variant);
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
        background-color: var(--md-sys-color-surface);
        padding: 40px;
        border-radius: var(--md-sys-shape-corner-extra-large);
        border: 1px solid var(--md-sys-color-outline-variant);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
      }

      #about .wisconsin-img {
        width: 140px;
        height: auto;
        opacity: 0.88;
        filter: drop-shadow(0 2px 6px rgba(89, 163, 167, 0.30));
      }

      /* Featured Project Card - M3 Filled Card */
      .project-card {
        background-color: color-mix(in srgb, var(--md-sys-color-secondary-container) 44%, var(--md-sys-color-surface) 56%);
        color: var(--md-sys-color-on-secondary-container);
        border-radius: var(--md-sys-shape-corner-extra-large);
        padding: 32px;
        margin-bottom: 40px;
        border: 1px solid color-mix(in srgb, var(--md-sys-color-secondary) 21%, transparent);
        box-shadow: var(--md-sys-elevation-1);
      }

      .project-card h3 {
        font: var(--md-sys-typescale-headline-medium);
        color: var(--md-sys-color-on-secondary-container);
        margin: 0 0 16px 0;
        display: flex;
        align-items: center;
        gap: 16px;
      }

      .project-logo {
        height: 64px;
        width: auto;
        border-radius: 12px;
        background-color: var(--md-sys-color-surface);
        border: 1px solid var(--md-sys-color-outline-variant);
      }

      .project-card p {
        font: var(--md-sys-typescale-body-large);
        color: var(--md-sys-color-on-secondary-container);
        margin: 0 0 24px 0;
      }

      .project-card a.text-link {
        color: var(--md-sys-color-primary);
        text-decoration: underline;
        text-underline-offset: 2px;
        font-weight: 500;
      }

      .project-card a.text-link:hover {
        text-decoration-thickness: 2px;
      }

      .project-links {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
      }

      /* Projects / Services Grid - M3 Elevated Cards */
      .grid-2 {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
      }

      .grid-1 {
        display: grid;
        gap: 0;
      }

      .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
      }

      .card {
        background-color: var(--md-sys-color-surface);
        border-radius: var(--md-sys-shape-corner-large);
        padding: 14px;
        display: flex;
        flex-direction: column;
        border: 1px solid var(--md-sys-color-outline-variant);
      }

      .card .icon {
        color: var(--md-sys-color-primary);
        font-size: 32px;
        margin-bottom: 16px;
      }

      .card h4 {
        font: var(--md-sys-typescale-title-medium);
        color: var(--md-sys-color-on-surface);
        margin: 0 0 12px 0;
      }

      .card p {
        font: var(--md-sys-typescale-body-medium);
        color: var(--md-sys-color-on-surface-variant);
        margin: 0;
      }

      .card p + p {
        margin-top: 12px;
      }

      .info-highlight {
        background: color-mix(in srgb, var(--md-sys-color-secondary-container) 55%, white 45%);
      }

      .cta-row {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 16px;
        margin-bottom: 16px;
      }

      .feature-list {
        margin: 0;
        padding-left: 20px;
        color: var(--md-sys-color-on-surface-variant);
      }

      .feature-list li + li {
        margin-top: 8px;
      }

      .mt-16 {
        margin-top: 16px;
      }

      /* Buttons - M3 Filled Button */
      .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background-color: var(--md-sys-color-primary);
        color: var(--md-sys-color-on-primary);
        font: var(--md-sys-typescale-label-large);
        text-decoration: none;
        padding: 0 24px;
        border-radius: var(--md-sys-shape-corner-full);
        height: 44px; /* Better touch target size */
        border: 1px solid transparent;
        transition: background-color 0.2s, box-shadow 0.2s;
      }

      .button:hover, .button:focus-visible {
        background-color: color-mix(in srgb, var(--md-sys-color-primary) 88%, white 12%);
        box-shadow: var(--md-sys-elevation-1);
        outline: none;
      }

      .button:active {
        transform: translateY(1px);
      }

      .button:focus-visible {
        outline: 3px solid var(--md-sys-color-primary-container);
        outline-offset: 2px;
      }

      .button-secondary {
        background-color: transparent;
        color: var(--md-sys-color-primary);
        border: 1px solid var(--md-sys-color-outline);
      }

      .button-secondary:hover,
      .button-secondary:focus-visible {
        background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent);
      }

      .hero-actions {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
      }

      .contact-actions {
        display: flex;
        justify-content: center;
      }

      .contact-copy {
        text-align: center;
        color: var(--md-sys-color-on-surface-variant);
        margin-bottom: 24px;
      }

      .button .material-symbols-outlined {
        font-size: 18px;
      }

      /* Specific App Store Buttons - Treated as Tonal Buttons in M3 */
      .btn-android {
        background-color: #1DA05C;
        color: white;
      }

      .btn-android:hover, .btn-android:focus-visible {
        background-color: #17824A;
      }

      .btn-ios {
        background-color: #000000;
        color: white;
      }

      .btn-ios:hover, .btn-ios:focus-visible {
        background-color: #333333;
      }

      /* Footer */
      footer {
        text-align: center;
        padding: 32px 24px;
        font: var(--md-sys-typescale-body-medium);
        color: var(--md-sys-color-on-surface-variant);
        background-color: var(--md-sys-color-surface-container-low);
        border-top: 1px solid var(--md-sys-color-outline-variant);
      }

      /* Mobile Responsive adjustments */
      @media (max-width: 768px) {
        .app-bar-container {
          position: sticky;
        }

        .app-bar {
          min-height: 72px;
          padding: 8px 16px;
          flex-direction: row;
          justify-content: space-between;
          gap: 8px;
        }

        .nav-menu {
          display: none;
          flex-direction: column;
          position: absolute;
          top: 100%;
          left: 0;
          right: 0;
          background-color: var(--md-sys-color-surface);
          padding: 16px;
          border-bottom: 1px solid var(--md-sys-color-outline-variant);
          box-shadow: var(--md-sys-elevation-2);
          z-index: 99;
          gap: 4px;
        }

        .nav-menu.mobile-visible {
          display: flex;
        }

        .nav-menu a {
          width: 100%;
          padding: 0 24px;
          border-radius: var(--md-sys-shape-corner-large);
        }

        .mobile-nav-toggle {
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .app-bar .logo {
          height: 48px;
          transform: scale(1.1);
        }

        .app-bar .brand-name {
          font: var(--md-sys-typescale-title-medium);
        }

        #hero h1 {
          font-size: 1.75rem;
          line-height: 2.25rem;
        }

        .main-container {
          padding: 16px;
        }

        #hero {
          padding: 40px 20px;
        }

        section {
          margin-bottom: 32px;
          scroll-margin-top: 88px;
        }
      }


      @media (prefers-reduced-motion: reduce) {
        * {
          scroll-behavior: auto;
          transition: none !important;
        }
      }
