    html { -webkit-text-size-adjust: 100%; }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    .shojumaru-regular {
      font-family: "Shojumaru", system-ui;
      font-weight: 400;
      font-style: normal;
    }
    body, html {
      height: 100%;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    }
    #page-container {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }
    /* ===== Header / Nav (shared) ===== */
    header.site-header{
      background:#111;
      color:#fff;
    }
    .site-header .nav{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:16px;
      max-width:1200px;
      margin:0 auto;
      padding:12px 16px;
    }
    .brand{
      display:flex;
      align-items:center;
      gap:10px;
      text-decoration:none;
      color:#fff;
    }
    .brand-mark{
      font-family:"Shojumaru", system-ui;
      font-size:28px;
      letter-spacing:.5px;
      white-space:nowrap;
    }
    .primary-nav{
      display:flex;
      align-items:center;
      gap:20px;
      list-style:none;
      margin:0;
      padding:0;
    }
    .primary-nav a{
      color:#fff;
      text-decoration:none;
      padding:8px 10px;
      border-radius:6px;
    }
    .primary-nav a:hover{ background:#222; }

    /* Dropdown */
    .has-submenu{ position:relative; }
    .submenu{
      display:none;
      position:absolute;
      top:100%;
      left:0;
      background:#1b1b1b;
      list-style:none;
      padding:8px 0;
      margin:6px 0 0;
      min-width:200px;
      border:1px solid #2c2c2c;
      border-radius:8px;
      z-index:50;
    }
    .submenu a{ display:block; padding:8px 12px; }
    .has-submenu:hover .submenu{ display:block; }

    .hero {
      position: relative;
      /* height: 100vh; */          /* remove */
      min-height: 100svh;           /* small-viewport height: iOS Safari friendly */
      /* or min-height: 100dvh; */
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    .hero-video {
      position:absolute; inset:0;
      width:100%; height:100%;
      object-fit:cover;
    }
    .hero-content {
      position: relative;
      z-index: 1;
      padding: 2rem;
      color: white;
      margin-top: -200px;
    }
    #logo {
        font-family: "shojumaru",system-ui;
        border: 0px solid #fff;
       
        font-weight: 200;
        font-style: normal;
        font-size: 150px;
        text-shadow:
        -5px -5px 0 #000,
         5px -5px 0 #000,
        -5px  5px 0 #000,
         5px  5px 0 #000,
         0px -5px 0 #000,
         0px  5px 0 #000,
        -5px  0px 0 #000,
         5px  0px 0 #000; /* Creates black border */
    }

    .hero::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /*background-color: rgba(0, 0, 0, 0.6); /* optional dark overlay */
      z-index: 1;
    }

    .hero-content h1 {
      font-size: 3rem;
      margin-bottom: 1rem;
    }

    .hero-content p {
      font-size: 1.25rem;
      margin-bottom: 3rem;
      text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px -1px 0 #000,
         0px  1px 0 #000,
        -1px  0px 0 #000,
         1px  0px 0 #000; /* Creates black border */
    }

    .hero-content a {
      display: inline-block;
      margin: 0 1rem;
      padding: 0.75rem 1.5rem;
      background-color: #fff;
      color: #000;
      text-decoration: none;
      border: 5px solid #000;
      border-radius: 20px;
      font-weight: bold;
      transition: transform 0.2s ease, background-color 0.2s ease; /* move transition here */
    }
    .hero-content a:hover {
      background-color: #ccc; /* light gray background on hover */
      transform: scale(1.05); /* slight zoom effect */
      cursor: pointer;
    }

    /* ===== Footer (2 columns) ===== */
.site-footer{ background:#111; color:#fff; padding:32px 16px 12px; }
.site-footer a{ color:#fff; text-decoration:none; }
.site-footer a:hover{ text-decoration:underline; }

.footer-inner.two-col{
  max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns: 1.2fr 1fr;
  gap: 32px 28px; align-items:start;
}

/* Left column */
.footer-left{
  display:flex; flex-direction:column; align-items:center; text-align:center;
}
.footer-logo{
  font-family:"Shojumaru", system-ui, sans-serif;
  font-size:32px; line-height:1; margin:0;
}
.footer-tag{ margin-top:20px; opacity:.9; line-height:1.35; max-width:560px; }

/* 25px space BEFORE links list/socials block */
.links-block{ margin-top:25px; width:100%; }

/* Links list (inline + centered) */
.about-col ul{
  list-style:none; margin:0; padding:0;
  display:flex; gap:14px 18px; flex-wrap:wrap; justify-content:center;
}
.about-col li{ display:inline-flex; }
.about-col a{ padding:4px 0; opacity:.95; }

/* Socials under links, tighter gap than before */
.socials{
  list-style:none; margin:14px 0 0; padding:0;
  display:flex; justify-content:center; align-items:center; gap:12px; flex-wrap:wrap;
}
.socials li{ display:inline-flex; }
.socials a{ display:inline-flex; padding:6px; }

/* Right column (contact) */
.contact-col{ text-align:center; max-width:420px; justify-self:center; width:100%; }
.contact-col h4{ margin:0 0 10px; font-size:18px; }
#footer-contact{ display:flex; flex-direction:column; gap:10px; }
#footer-contact input, #footer-contact textarea{
  width:100%; padding:10px 12px; border-radius:8px; border:1px solid #2a2a2a;
  background:#1b1b1b; color:#fff; resize:vertical;
}
#footer-contact button{
  padding:10px 12px; border-radius:8px; border:1px solid #2a2a2a;
  background:#fff; color:#111; font-weight:600; cursor:pointer;
}
#footer-contact button:hover{ background:#e9e9e9; }
.fineprint{ font-size:.9rem; opacity:.8; }

/* Bottom bar */
.footer-bottom{
  max-width:1200px; margin:22px auto 0;
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  border-top:1px solid #222; padding-top:12px;
}
.footer-bottom p{ margin:0 auto; text-align:center; flex:1; }
.back-to-top{ white-space:nowrap; }

.sr-only{
  position:absolute; width:1px; height:1px; margin:-1px; border:0; padding:0;
  clip:rect(0 0 0 0); overflow:hidden;
}

/* Responsive */
@media (max-width: 900px){
  .footer-inner.two-col{ grid-template-columns:1fr; }
  .contact-col{ justify-self:center; }
  .footer-bottom{ flex-direction:column; gap:10px; }
}
/* keep existing rules; add this */
.has-submenu.open .submenu { display: block; }
/* === Mobile-friendly hero + text scaling (overrides) === */

/* Let the hero use dynamic viewport units (accounts for iOS URL bar) */
.hero {
  position: relative;
  /* keep the existing fallbacks first, then override with dvh */
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Ensure the background overlay never blocks taps/clicks */
.hero::after {
  pointer-events: none;              /* important on iOS */
  /* If you want a dim overlay, uncomment the next line: */
  /* background-color: rgba(0,0,0,.45); */
}

/* Center content without negative margins; add safe-area padding */
.hero-content {
  position: relative;
  z-index: 2;                        /* above video and overlay */
  width: min(100%, 960px);
  padding: clamp(12px, 4vw, 32px);
  margin-top: 0;                     /* remove -200px */
  padding-top: calc(16px + env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

/* Scale the big logo text responsibly */
#logo {
  font-size: clamp(40px, 12vw, 96px);  /* was fixed 150px */
  /* Lighter shadow on small screens to avoid halo overflow */
  text-shadow:
    -3px -3px 0 #000,
     3px -3px 0 #000,
    -3px  3px 0 #000,
     3px  3px 0 #000,
     0px -3px 0 #000,
     0px  3px 0 #000,
    -3px  0px 0 #000,
     3px  0px 0 #000;
}

/* Body text under the logo scales cleanly too */
.hero-content p {
  font-size: clamp(16px, 4vw, 22px);
}

/* Navigation: allow wrapping on narrow screens so it doesn’t overflow */
.primary-nav {
  flex-wrap: wrap;
}

/* Slightly reduce brand size on narrow phones */
@media (max-width: 480px) {
  .brand-mark { font-size: 22px; }
}

/* Footer inputs: prevent iOS zoom-on-focus and keep text readable */
#footer-contact input,
#footer-contact textarea {
  font-size: 16px;
}

/* (Optional) If your overlay ever hides content, bring hero-content up */
.hero-content { z-index: 2; }