*, *::before, *::after {
  box-sizing: border-box;
}
:root {
  --c: 96vw; /* canvas width */
  --w: calc(0.078125vw - 0.25px); /* standardized root width from 0u (when viewport width is 320px) to 1u (when viewport width is 1600px) */
  --h: calc(5vh + 1rem); /* navigation height */
  --p: calc(1vw + 1vh); /* padding */
  --b: #292926; /* background color */
  --g1: linear-gradient(135deg, rgba(139, 92, 246, 0.102) 0%, rgba(96, 199, 255, 0.1) 100%); /* background color alt */
  --g2: linear-gradient(135deg, #ffffff 0%, #8B5CF6 100%); /* header and cta gradient color */
  --g3: linear-gradient(135deg, #60C7FF 0%, #8B5CF6 100%); /* button background color */
  --t1: #c8cef5; /* text color */
  --t2: #60C7FF; /* accent color */
  --t3: #8C94FF; /* accent color alt */
}
html {
  margin: 0; padding: 0;
  font-size: calc(16px + 2 * var(--w));
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--t1);
  letter-spacing: 0.05em;
}
h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 3rem;
  margin-bottom: 1.2rem;
}
h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2.25rem;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 2rem;
  margin-bottom: 0.8rem;
}
h4 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
  margin-bottom: 0.6rem;
}
h5 {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2rem;
  margin-bottom: 0.4rem;
}
h6 {
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 0.9rem;
  margin-bottom: 0.25rem;
}
small {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2rem;
  margin-bottom: 0.4rem;
}
p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  margin-bottom: 1rem;
}
a {
  color: var(--t2); text-decoration: none; transition: color 0.3s ease;
}
ul, ol {
  font-size: 0.6rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.2rem;
}
nav {
  position: fixed; 
  top: 0; right: 0; left: 0; bottom: auto;
  z-index: 50; 
  width: 100%; 
  height: var(--h);
  min-height: 48px;
  max-height: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 6%), rgba(255, 255, 255, 2%));
  backdrop-filter: blur(30px) saturate(100%);
  -webkit-backdrop-filter: blur(30px) saturate(100%);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
/* Nav height already has min-height and max-height set, no clamp needed */
nav menu {
  width: var(--c);
  height: 100%;   
  margin: auto;
  padding: 1vh 1vw;
  position: relative;
  text-align: right;
  overflow: hidden;
}
nav menu > a,
nav menu ul {
  display: inline-block;
  vertical-align: middle;
}
nav menu > a {
  width: auto;
  padding-right: 1vw;
  position: absolute;
  left: 1vw;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
nav menu svg {
  height: var(--p);
  width: auto;
}
nav menu ul {
  width: auto;
  max-width: 100%;
  padding-left: 1vw;
  font-size: var(--p);
  text-align: right;
  line-height: 1.2;
  list-style: none;
  margin: 0;
  position: absolute;
  right: 1vw;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
nav menu ul li {
  display: inline-block;
  margin-left: 1vw;
  vertical-align: middle;
  justify-self: right;
}
nav menu ul li a {
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-left: 0.25vw;
  background-size: 300% 100% ;
  background-position: 100% 0%;
  background-image: linear-gradient(90deg, rgb(123, 167, 255) 15%, rgb(123, 238, 138) 35%, rgb(99, 196, 255) 49%, rgb(175, 105, 255) 50%, rgb(255, 255, 255) 51%, rgb(174, 107, 255) 65%, rgb(123, 167, 255) 85%);
  background-clip: text;
  -webkit-background-clip: text;
  transition: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  text-shadow: none;
}
nav menu ul li a:hover,
nav menu ul li a:active {
  background-position: 0% 0%;
  transition: background-position 0.5s linear;
}
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #60C7FF 0%, #8B5CF6 100%);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(96, 199, 255, 0.4);
  transition: top 0.3s ease;
}
.skip-to-main:focus {
  top: 1rem;
}
*:focus-visible {
  outline: 2px solid var(--t2);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 333px) {
  :root {
    --c: 320px;
  }
}
@media (min-width: 1667px) {
  :root {
    --c: 1600px;
  }
}

