
    :root {
      --color-primary: #001641;
      --color-secondary: #ed0a00;
      --color-tertiary: #0033ff;
      --color-white: #ffffff;
      --color-focus: #0033ff;

      --header-height: 60px;
      --content-max-width: 2000px;
      --border-radius: 6px;
    }

    /* ------------------------------
       Base
    ------------------------------ */

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
      color: var(--color-primary);
      background: var(--color-white);
    }

    a {
      color: inherit;
    }


  #mazemap-app-iframe {
	height: 92vh;
	width: 100%;
}


    /* ------------------------------
       Skip link
    ------------------------------ */

    .skip-link {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1000;

      padding: 0.75rem 1rem;

      color: var(--color-white);
      background: var(--color-primary);

      text-decoration: none;
      font-weight: 700;

      transform: translateY(-120%);
      transition: transform 150ms ease;
    }

    .skip-link:focus {
      transform: translateY(0);
    }

    /* ------------------------------
       Header
    ------------------------------ */

    .site-header {
      background: var(--color-primary);
      color: var(--color-white);
      border-bottom: 3px solid var(--color-secondary);
    }

    .header-inner {
      width: min(100% - 2rem, var(--content-max-width));
      min-height: var(--header-height);
      margin-inline: auto;

      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }
    
    .header-inner a img {
			height: 50px;
    	margin-top: 10px;
		}
    @media screen and (max-width: 768px) {
		 .header-inner a{
     display: none;
    }
    .header-inner {
     justify-content: center;
    }
    
    }

    /* ------------------------------
       Navigation
    ------------------------------ */

    .primary-nav ul {
      display: flex;
      align-items: center;
      gap: 0.25rem;

      margin: 0;
      padding: 0;

      list-style: none;
    }

    .primary-nav a {
      position: relative;

      display: inline-flex;
      align-items: center;

      min-height: 44px;
      padding: 0.5rem 0.9rem;

      color: var(--color-white);
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 600;

      border-radius: var(--border-radius);

      transition:
        background-color 150ms ease,
        color 150ms ease;
    }

    .primary-nav a::after {
      content: "";

      position: absolute;
      right: 0.9rem;
      bottom: 5px;
      left: 0.9rem;

      height: 2px;

      background: var(--color-secondary);

      transform: scaleX(0);
      transform-origin: center;

      transition: transform 150ms ease;
    }

    .primary-nav a:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .primary-nav a:hover::after,
    .primary-nav a[aria-current="page"]::after {
      transform: scaleX(1);
    }

    .primary-nav a[aria-current="page"] {
      color: var(--color-white);
    }

    /* ------------------------------
       Keyboard focus
    ------------------------------ */

    :focus-visible {
      outline: 3px solid var(--color-focus);
      outline-offset: 3px;
    }

    /*
      White focus ring against the dark header
      gives a highly visible keyboard indicator.
    */
    .site-header :focus-visible {
      outline-color: var(--color-white);
      outline-offset: 4px;
    }

    /* ------------------------------
       Responsive
    ------------------------------ */

    @media (max-width: 640px) {
      .header-inner {
        gap: 1rem;
      }

      .primary-nav ul {
        gap: 0;
      }

      .logo span:last-child {
        display: none;
      }
    }

    /* ------------------------------
       Reduced motion
    ------------------------------ */

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
      }
    }  

      
 /* ------------------------------
   Mobile Navigation
------------------------------ */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;

  background: transparent;
  border: 0;
  cursor: pointer;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;

  background: var(--color-white);
  border-radius: 2px;

  transform-origin: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Hamburger -> X */

.nav-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media screen and (max-width: 768px) {

  .header-inner {
    position: relative;
    justify-content: space-between;
  }

  /* Keep logo visible */
  .header-inner > a {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: var(--color-primary);
    border-top: 1px solid rgba(255,255,255,.2);

    overflow: hidden;

    max-height: 0;
    opacity: 0;

    transition:
      max-height 0.3s ease,
      opacity 0.3s ease;
  }

  .primary-nav.open {
    max-height: 300px;
    opacity: 1;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav li {
    width: 100%;
  }

  .primary-nav a {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 0;
  }
}

      
html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.site-container {
  height: calc(100dvh - var(--header-height));
}

.page-container {
  height: 100%;
}

#mazemap-app-iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.header-inner {
  min-height: var(--header-height);
}

      
dialog {
    width: min(500px, 90vw);
    border: none;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

dialog::backdrop {
    background: rgba(0,0,0,.6);
}

.modal-content {
    padding: 2rem;
  	text-align: center;
}

.modal-content h2 {
    margin: 0 0 1rem;
    color: #001641;
    font-size: 1.5rem;
}

.modal-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}


.modal-actions button {
    background: #0033FF;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.modal-actions button:hover {
    background: #001641;
}

