    /* --- Base reset --- */
    *, *::before, *::after { box-sizing: border-box; }
    html, body { height: 100%; }
    html { -webkit-text-size-adjust: 100%; }
    body {
      margin: 0;
      background: #ffffff;      /* black text on white */
      color: #000000;
      font: 16px Arial, sans-serif;
      overflow: hidden;         /* hard-stop any scroll */
      overscroll-behavior: none;
    }

    /* --- Page: pinned to the *visual* viewport, safe-area padded --- */
    .page {
      position: fixed;          /* avoids iOS 100vh issues entirely */
      inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
      display: grid;
      grid-template-rows: min-content 1fr min-content;
      grid-template-columns: 1fr;
      padding:
        calc(env(safe-area-inset-top, 0px) + 12px)
        calc(env(safe-area-inset-right, 0px) + 16px)
        calc(env(safe-area-inset-bottom, 0px) + 12px)
        calc(env(safe-area-inset-left, 0px) + 16px);
    }

    /* --- Top-right cluster --- */
    .nav {
      grid-row: 1;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 18px;
      font-size: clamp(13px, 1.6vw, 16px);
      letter-spacing: 0.01em;
      white-space: nowrap;
      font-size: 12px;
    }
    .nav .sep { opacity: 0.55; }
    .nav a {
      color: inherit;
      text-decoration: none;
      border-bottom: 1px solid currentColor;
      line-height: 1.1;
    }
    .nav a:last-child {
      background-color: #000000; 
      color: white; /* White text */
      font-weight: bold;
      padding: 0.5rem .5rem;
      border-radius: 5px;
    }
    .nav a:hover { opacity: 0.8; }

    /* --- Center line --- */
    .hero {
      grid-row: 2;
      display: grid;
      place-items: center;
      text-align: center;
      padding: 0 6vw;
      overflow: clip; /* bullets/shadows can’t nudge layout */
    }
    .hero h1 {
      margin: 0;
      font-weight: 100;
      line-height: 1.15;
      font-size: clamp(15px, 4.5vw, 20px);  /* fits small phones cleanly */
      letter-spacing: 0.01em;

    }

    /* --- Bottom-left wordmark --- */
    .footer {
      grid-row: 3;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
    }

    .footer-links {
        position: fixed;
        bottom: 1em;
        right: 1em;
        text-align: right;
        font-size: 0.8rem;
      }
    
      .footer-links .sep {
        margin: 0 0.5rem;
      }

    .wordmark {
      display: inline-block;
      line-height: 1;
      width: 100px;
      font-weight: 700;
      letter-spacing: 0.035em;
      font-size: clamp(16px, 2.6vw, 18px);
      user-select: none;
    }

    /* Landscape tweak so the hero doesn’t look oversized */
    @media (orientation: landscape) {
      .hero h1 { font-size: clamp(16px, 3.2vw, 24px); }
    }

    /* Accessibility: respect reduced motion (no scroll-snap etc. anyway) */
    @media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }