/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
    scroll-behavior: smooth;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

@font-face {
  font-family: "main";
  src: url("../fonts/CoreSansC-55Medium.ttf") format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/CoreSansC-55Medium.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/CoreSansC-55Medium.woff2")
      format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "main-bold";
  src: url("../fonts/CoreSansC-65Bold.ttf") format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/CoreSansC-65Bold.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/CoreSansC-65Bold.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

 

 
    :root {
      --line: 1px;
      --line-color: rgba(255,255,255,0.15);
      --bg: #0b0d12;
      --blend: normal;
      --cell: 80px; /* default fallback */
    }

    body {
      margin: 0;
      font-family: "main", system-ui, sans-serif;
      color: #e6e8eb;
      background: var(--bg);
      min-height: 100svh;
      display: flex;
      flex-direction: column;
    }

    header {
      height: var(--cell);
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(8px);
      z-index: 3;
      position: relative;
    }

    .page-content {
      position: relative;
      z-index: 2;
      display: grid;
      place-items: center;
      flex: 1;
      text-align: center;
    }

    .grid-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background: radial-gradient(1200px 800px at 50% 35%, rgba(255,255,255,0.06), rgba(255,255,255,0) 60%), var(--bg);
    }

    .grid-lines {
      position: absolute;
      inset: 0;
      mix-blend-mode: var(--blend);
      background:
        repeating-linear-gradient(to right, var(--line-color) 0, var(--line-color) var(--line), transparent var(--line), transparent var(--cell)),
        repeating-linear-gradient(to bottom, var(--line-color) 0, var(--line-color) var(--line), transparent var(--line), transparent var(--cell));
    }

    .grid-cells {
      position: absolute;
      inset: 0;
      display: grid;
    }

    .grid-cell {
      opacity: 0;
      background-color: #66a6ff;
    }
      
    /* Header layout */
    .header-inner {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-right: clamp(12px, 3vw, 28px);
    }

    /* Square logo equal to one grid cell */
    .logo-box {
      width: var(--cell);
      height: var(--cell);
      flex: 0 0 var(--cell);
      border: 1px solid rgba(255,255,255,0.2);
      background:
        linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
      box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35);
      border-radius: 8px;
      margin-left: 0;
    }

    /* Replace with your logo image if desired */
    /* .logo-box { background: center/cover no-repeat url('/path/to/logo.png'); border: none; } */

    .site-nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: center;
      gap: clamp(16px, 4vw, 40px);
      text-transform: lowercase;
      letter-spacing: 0.06em;
    }

    .site-nav a {
      color: #e6e8eb;
      text-decoration: none;
      font-weight: 550;
      position: relative;
    }

    .site-nav a::after {
      content: "";
      position: absolute;
      left: 0; right: 0; bottom: -6px;
      height: 2px;
      transform: scaleX(0);
      transform-origin: left;
      background: currentColor;
      opacity: 0.6;
      transition: transform 220ms ease;
    }

    .site-nav a:hover::after { transform: scaleX(1); }

    @media (max-width: 520px) {
      .site-nav ul { gap: 14px; }
      .logo-box { border-radius: 6px; }
    }
