:root {
        color-scheme: dark;
        --ink: #f4f7fb;
        --muted: #a8b4c2;
        --paper: #05070b;
        --line: rgba(255, 255, 255, 0.13);
        --purple: #a46cff;
        --violet: #7c3aed;
        --soft: rgba(164, 108, 255, 0.34);
      }

      * {
        box-sizing: border-box;
      }

      body {
        margin: 0;
        font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
        color: var(--ink);
        background: var(--paper);
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      .site-header {
        position: fixed;
        top: 28px;
        left: clamp(18px, 4vw, 56px);
        right: 0;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        min-height: 66px;
        padding: 10px 16px;
        border: 1px solid rgba(233, 213, 255, 0.16);
        border-radius: 999px;
        background: rgba(8, 10, 18, 0.72);
        box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(16px);
      }

      .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 800;
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
      }

      .site-nav {
        display: flex;
        align-items: center;
        gap: clamp(14px, 2vw, 28px);
        max-width: min(58vw, 620px);
        overflow-x: auto;
        scrollbar-width: none;
        color: rgba(244, 247, 251, 0.72);
        font-size: 0.92rem;
        font-weight: 800;
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
      }

      .site-nav::-webkit-scrollbar {
        display: none;
      }

      .site-nav a {
        white-space: nowrap;
        transition: color 180ms ease;
      }

      .site-nav a:hover {
        color: #fff;
      }

      .brand-mark {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        color: #fff;
        background:
          radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.58), transparent 24%),
          linear-gradient(135deg, var(--violet), #c084fc);
        border: 1px solid rgba(233, 213, 255, 0.45);
        font-size: 0.72rem;
        font-weight: 900;
        box-shadow: 0 0 28px rgba(164, 108, 255, 0.32);
      }

      .page {
        position: relative;
        min-height: 100vh;
        display: grid;
        place-items: center;
        padding: 120px clamp(18px, 5vw, 72px) 72px;
        overflow: hidden;
        isolation: isolate;
        background:
          radial-gradient(circle at 50% 48%, rgba(164, 108, 255, 0.22), transparent 34%),
          radial-gradient(circle at 18% 80%, rgba(124, 58, 237, 0.16), transparent 32%),
          linear-gradient(180deg, #05070b 0%, #090a12 48%, #05070b 100%);
      }

      .visual {
        position: absolute;
        inset: 0;
        z-index: -1;
        overflow: hidden;
      }

      .visual::before {
        content: "Walkthrough";
        position: absolute;
        left: 50%;
        top: 51%;
        transform: translate(-50%, -50%);
        color: rgba(255, 255, 255, 0.024);
        font-size: clamp(5rem, 16vw, 14rem);
        font-weight: 900;
        white-space: nowrap;
      }

      .ring,
      .core,
      .line {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
      }

      .ring {
        width: min(720px, 74vw);
        aspect-ratio: 1 / 1;
        border: 1px solid rgba(233, 213, 255, 0.18);
        border-radius: 50%;
        box-shadow:
          inset 0 0 80px rgba(164, 108, 255, 0.08),
          0 0 90px rgba(124, 58, 237, 0.14);
      }

      .ring.outer {
        width: min(980px, 96vw);
        opacity: 0.44;
      }

      .ring.inner {
        width: min(430px, 52vw);
        border-color: rgba(192, 132, 252, 0.3);
      }

      .core {
        width: min(220px, 34vw);
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(164, 108, 255, 0.28), rgba(164, 108, 255, 0.02) 64%, transparent 70%);
        filter: blur(2px);
      }

      .line {
        width: 100vw;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(233, 213, 255, 0.2), transparent);
      }

      .line.vertical {
        width: 1px;
        height: 100vh;
        background: linear-gradient(180deg, transparent, rgba(233, 213, 255, 0.14), transparent);
      }

      .content {
        width: min(880px, 100%);
        text-align: center;
      }

      h1 {
        margin: 0 0 16px;
        color: #fff;
        font-size: clamp(2.8rem, 9vw, 8rem);
        line-height: 0.9;
        white-space: nowrap;
        text-shadow:
          0 0 36px rgba(164, 108, 255, 0.3),
          0 24px 80px rgba(0, 0, 0, 0.6);
      }

      p {
        max-width: 720px;
        margin: 0 auto;
        color: rgba(211, 220, 231, 0.88);
        line-height: 1.9;
        font-size: clamp(1rem, 2vw, 1.18rem);
      }

      .status {
        display: inline-flex;
        margin-top: 28px;
        padding: 10px 16px;
        border: 1px solid rgba(233, 213, 255, 0.18);
        border-radius: 999px;
        color: rgba(244, 247, 251, 0.8);
        background: rgba(255, 255, 255, 0.06);
      }

      .device-select {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        width: min(620px, 100%);
        margin: 32px auto 0;
      }

      .device-card {
        display: flex;
        min-height: 112px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 9px;
        padding: 20px;
        border: 1px solid rgba(233, 213, 255, 0.18);
        border-radius: 8px;
        background:
          linear-gradient(135deg, rgba(164, 108, 255, 0.16), rgba(255, 255, 255, 0.055)),
          rgba(255, 255, 255, 0.04);
        color: #fff;
        text-align: center;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
        transition:
          transform 180ms ease,
          border-color 180ms ease,
          background 180ms ease;
      }

      .device-card:hover {
        transform: translateY(-3px);
        border-color: rgba(192, 132, 252, 0.48);
        background:
          linear-gradient(135deg, rgba(164, 108, 255, 0.24), rgba(255, 255, 255, 0.075)),
          rgba(255, 255, 255, 0.05);
      }

      .device-label {
        font-size: clamp(1.22rem, 2.2vw, 1.6rem);
        font-weight: 900;
        line-height: 1.2;
      }

      .device-note {
        color: rgba(211, 220, 231, 0.78);
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1.55;
        text-align: center;
      }

      .prepare-note {
        max-width: 620px;
        margin-top: 14px;
        color: rgba(211, 220, 231, 0.62);
        font-size: 0.86rem;
      }

      .coming-soon-panel {
        width: min(620px, 100%);
        margin: 32px auto 0;
        padding: clamp(22px, 4vw, 34px);
        border: 1px solid rgba(233, 213, 255, 0.2);
        border-radius: 8px;
        background:
          radial-gradient(circle at 12% 10%, rgba(164, 108, 255, 0.2), transparent 38%),
          linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
        box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
        backdrop-filter: blur(12px);
      }

      .coming-label {
        display: inline-flex;
        margin-bottom: 14px;
        color: rgba(233, 213, 255, 0.78);
        font-size: 0.75rem;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
      }

      .coming-title {
        margin: 0 auto 10px;
        color: #fff;
        font-size: clamp(1.22rem, 2.4vw, 1.55rem);
        font-weight: 900;
        line-height: 1.35;
      }

      .coming-desc {
        margin: 0 auto;
        color: rgba(211, 220, 231, 0.76);
        font-size: 0.95rem;
        line-height: 1.8;
      }

      .control-guide {
        width: min(620px, 100%);
        margin: 20px auto 0;
        padding: 18px;
        border: 1px solid rgba(233, 213, 255, 0.16);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.045);
        backdrop-filter: blur(10px);
      }

      .control-title {
        margin: 0 0 14px;
        color: rgba(255, 255, 255, 0.88);
        font-size: 0.86rem;
        font-weight: 900;
        line-height: 1.4;
      }

      .control-items {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .control-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        min-height: 82px;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        background: rgba(5, 7, 11, 0.44);
        color: rgba(244, 247, 251, 0.82);
        font-size: 0.9rem;
        font-weight: 800;
        text-align: left;
      }

      .control-item > span {
        flex: 0 1 auto;
        max-width: 9em;
      }

      .keypad {
        display: grid;
        grid-template-columns: repeat(3, 30px);
        grid-template-rows: repeat(2, 30px);
        gap: 5px;
        flex: 0 0 auto;
      }

      .key {
        display: grid;
        place-items: center;
        border: 1px solid rgba(233, 213, 255, 0.28);
        border-radius: 6px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
        color: #fff;
        font-size: 0.78rem;
        font-weight: 900;
        box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.28);
      }

      .key-w {
        grid-column: 2;
        grid-row: 1;
      }

      .keypad .key:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
      }

      .keypad .key:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
      }

      .keypad .key:nth-child(4) {
        grid-column: 3;
        grid-row: 2;
      }

      .mouse-pict {
        position: relative;
        flex: 0 0 auto;
        width: 42px;
        height: 58px;
        border: 2px solid rgba(233, 213, 255, 0.42);
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
      }

      .mouse-pict::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        width: 2px;
        height: 16px;
        background: rgba(233, 213, 255, 0.38);
        transform: translateX(-50%);
      }

      .mouse-pict span {
        position: absolute;
        top: 12px;
        left: 50%;
        width: 6px;
        height: 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.8);
        transform: translateX(-50%);
      }

      .building-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        width: min(980px, 100%);
        margin: 34px auto 0;
      }

      .building-card {
        position: relative;
        min-height: 0;
        aspect-ratio: 1 / 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 10px;
        padding: clamp(18px, 2.4vw, 26px);
        overflow: hidden;
        border: 1px solid rgba(233, 213, 255, 0.16);
        border-radius: 8px;
        background: #090d14;
        color: rgba(255, 255, 255, 0.92);
        font-size: clamp(1.14rem, 2vw, 1.42rem);
        font-weight: 900;
        text-align: left;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
        transition:
          transform 180ms ease,
          border-color 180ms ease,
          box-shadow 180ms ease;
      }

      .building-card::before,
      .building-card::after {
        content: "";
        position: absolute;
        inset: 0;
      }

      .building-card::before {
        z-index: 0;
        background: var(--building-bg);
        background-size: cover;
        background-position: center;
        transform: scale(1.02);
        transition: transform 260ms ease;
      }

      .building-card::after {
        z-index: 1;
        background:
          linear-gradient(180deg, rgba(5, 7, 11, 0.04) 0%, rgba(5, 7, 11, 0.22) 42%, rgba(5, 7, 11, 0.9) 78%, rgba(5, 7, 11, 0.98) 100%),
          linear-gradient(90deg, rgba(5, 7, 11, 0.34), rgba(5, 7, 11, 0.02) 54%);
      }

      .building-card:nth-child(1) {
        --building-bg: url("../img/walkthrough-building-1.jpg");
      }

      .building-card:nth-child(2) {
        --building-bg: url("../img/walkthrough-building-2.jpg");
      }

      .building-card:nth-child(3) {
        --building-bg: url("../img/walkthrough-building-3.jpg");
      }

      .building-card:nth-child(4) {
        --building-bg: url("../img/walkthrough-computer-room.jpg");
      }

      .building-card:nth-child(5) {
        --building-bg: url("../img/walkthrough-gym.jpg");
      }

      .building-card:nth-child(6) {
        --building-bg: url("../img/walkthrough-jikyokan.jpg");
      }

      .building-card:hover {
        transform: translateY(-5px);
        border-color: rgba(192, 132, 252, 0.46);
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
      }

      .building-card:hover::before {
        transform: scale(1.06);
      }

      .building-card span {
        position: relative;
        z-index: 2;
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
      }

      .building-card span:last-child::after {
        content: "↗";
        display: inline-block;
        margin-left: 10px;
        color: rgba(233, 213, 255, 0.62);
        font-size: 0.9rem;
        transform: translateY(-1px);
      }

      .building-number {
        color: rgba(233, 213, 255, 0.68);
        font-size: 0.74rem;
        letter-spacing: 0.12em;
      }

      .building-card span:last-child::after {
        content: none;
        display: none;
      }

      .building-card span:nth-of-type(2)::after {
        content: "→";
        display: inline-block;
        margin-left: 10px;
        color: rgba(233, 213, 255, 0.62);
        font-size: 0.9rem;
        transform: translateY(-1px);
      }

      .building-spots {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        margin-top: 2px;
        padding: 6px 10px;
        border: 1px solid rgba(255, 255, 255, 0.26);
        border-radius: 999px;
        background: rgba(5, 7, 11, 0.58);
        color: rgba(255, 255, 255, 0.94);
        font-size: clamp(0.72rem, 1.2vw, 0.82rem);
        font-weight: 850;
        line-height: 1.2;
        letter-spacing: 0;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.58);
        white-space: normal;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
      }

      .building-spots::after {
        content: none;
        display: none;
      }

      .building-title {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
      }

      .building-card span:last-child::after,
      .building-card span:nth-of-type(2)::after,
      .building-title::after {
        content: none;
        display: none;
      }

      .building-spots {
        margin-top: 0;
        padding: 4px 8px;
        font-size: clamp(0.68rem, 1vw, 0.78rem);
        transform: translateY(1px);
      }

      .campus-map {
        width: min(980px, 100%);
        margin: 42px auto 0;
        text-align: center;
      }

      .campus-map-copy {
        display: grid;
        gap: 10px;
        margin-bottom: 18px;
      }

      .section-label {
        color: rgba(233, 213, 255, 0.7);
        font-size: 0.74rem;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
      }

      .campus-map h2 {
        margin: 0;
        color: #fff;
        font-size: clamp(1.55rem, 3.4vw, 2.7rem);
        line-height: 1.18;
      }

      .campus-map p {
        max-width: 680px;
        margin: 0 auto;
        color: rgba(211, 220, 231, 0.82);
        font-size: clamp(0.95rem, 1.6vw, 1.05rem);
        line-height: 1.8;
      }

      .campus-map-frame {
        position: relative;
        margin: 0;
        overflow: hidden;
        border: 1px solid rgba(233, 213, 255, 0.18);
        border-radius: 8px;
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
          rgba(5, 7, 11, 0.72);
        box-shadow:
          0 0 0 10px rgba(5, 7, 11, 0.52),
          0 24px 70px rgba(0, 0, 0, 0.46);
      }

      .campus-map-frame::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background:
          radial-gradient(circle at 50% 50%, transparent 58%, rgba(5, 7, 11, 0.24) 100%),
          linear-gradient(180deg, rgba(5, 7, 11, 0.08), rgba(5, 7, 11, 0.2));
        mix-blend-mode: multiply;
      }

      .campus-map-frame img {
        display: block;
        width: 100%;
        height: auto;
        filter: brightness(0.92) saturate(0.94);
      }

      .back {
        display: inline-flex;
        margin-top: 22px;
        color: var(--purple);
        font-weight: 900;
      }

      .detail-building-1 {
        --detail-bg: url("../img/detail-building-1.jpg");
      }

      .detail-building-2 {
        --detail-bg: url("../img/detail-building-2.jpg");
      }

      .detail-building-3 {
        --detail-bg: url("../img/detail-building-3.jpg");
      }

      .detail-computer-room {
        --detail-bg: url("../img/detail-computer-room.jpg");
      }

      .detail-gym {
        --detail-bg: url("../img/detail-gym.jpg");
      }

      .detail-jikyokan {
        --detail-bg: url("../img/detail-jikyokan.jpg");
      }

      .walkthrough-detail .page {
        background:
          radial-gradient(circle at 50% 44%, rgba(164, 108, 255, 0.18), transparent 36%),
          linear-gradient(180deg, rgba(5, 7, 11, 0.58) 0%, rgba(5, 7, 11, 0.7) 48%, rgba(5, 7, 11, 0.84) 100%),
          linear-gradient(90deg, rgba(5, 7, 11, 0.68), rgba(5, 7, 11, 0.34) 52%, rgba(5, 7, 11, 0.68)),
          var(--detail-bg) center / cover no-repeat;
      }

      .walkthrough-detail .visual {
        opacity: 0.34;
      }

      .walkthrough-detail .visual::before {
        opacity: 0.58;
      }

      @media (max-width: 560px) {
        .site-header {
          top: 18px;
          left: 18px;
          right: 18px;
          min-height: 58px;
          padding: 8px 12px;
        }

        .site-nav {
          gap: 12px;
          font-size: 0.82rem;
          max-width: calc(100vw - 172px);
        }

        h1 {
          font-size: clamp(2.4rem, 12vw, 3.8rem);
        }

        .building-grid {
          grid-template-columns: 1fr;
          gap: 10px;
          margin-top: 26px;
        }

        .building-card {
          min-height: 78px;
          padding: 15px 16px;
        }

        .campus-map {
          margin-top: 32px;
        }

        .campus-map-frame {
          overflow-x: auto;
          -webkit-overflow-scrolling: touch;
        }

        .campus-map-frame img {
          min-width: 720px;
        }

        .device-select {
          grid-template-columns: 1fr;
          gap: 10px;
          margin-top: 26px;
        }

        .device-card {
          min-height: 92px;
          padding: 18px;
        }

        .control-guide {
          margin-top: 16px;
          padding: 14px;
        }

        .control-items {
          grid-template-columns: 1fr;
        }

        .control-item {
          min-height: 74px;
        }
      }

      /* D5-style right menu */
      .site-header {
        z-index: 70;
        overflow: visible;
      }

      .site-header::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 75;
        background: rgba(0, 0, 0, 0.34);
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms ease;
      }

      .site-header.menu-open::after {
        opacity: 1;
      }

      .menu-toggle {
        position: relative;
        z-index: 95;
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.045);
        color: #fff;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition:
          background 180ms ease,
          border-color 180ms ease;
      }

      .menu-toggle:hover {
        border-color: rgba(233, 213, 255, 0.34);
        background: rgba(164, 108, 255, 0.12);
      }

      .menu-toggle span {
        position: absolute;
        width: 18px;
        height: 1.5px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        transition: transform 220ms ease;
      }

      .menu-toggle span:first-child {
        transform: translateY(-4px);
      }

      .menu-toggle span:last-child {
        transform: translateY(4px);
      }

      .site-header.menu-open .menu-toggle {
        border-color: rgba(233, 213, 255, 0.42);
        background: rgba(164, 108, 255, 0.16);
      }

      .site-header.menu-open .menu-toggle span:first-child {
        transform: rotate(45deg);
      }

      .site-header.menu-open .menu-toggle span:last-child {
        transform: rotate(-45deg);
      }

      .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        z-index: 85;
        display: grid;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 14px;
        width: min(390px, 25vw);
        max-width: none;
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        padding: clamp(100px, 13vh, 132px) clamp(18px, 2vw, 30px) 30px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 0;
        background:
          radial-gradient(circle at 18% 0%, rgba(164, 108, 255, 0.18), transparent 34%),
          linear-gradient(180deg, rgba(18, 18, 24, 0.94), rgba(5, 5, 9, 0.9));
        box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
        backdrop-filter: blur(22px);
        color: rgba(244, 247, 251, 0.9);
        font-size: clamp(0.98rem, 1.15vw, 1.16rem);
        font-weight: 900;
        opacity: 0;
        pointer-events: none;
        scrollbar-width: none;
        text-shadow: none;
        transform: translateX(18px) translateY(-6px);
        transition:
          opacity 220ms ease,
          transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1),
          visibility 220ms ease;
        visibility: hidden;
      }

      .site-nav::before {
        content: "Navigation";
        display: block;
        margin: 0 0 4px;
        color: rgba(233, 213, 255, 0.84);
        font-size: 0.76rem;
        font-weight: 900;
        letter-spacing: 0.18em;
        text-transform: uppercase;
      }

      .site-header.menu-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0) translateY(0);
        visibility: visible;
      }

      .site-nav a {
        position: relative;
        display: block;
        min-height: 78px;
        padding: 18px 42px 18px 18px;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0;
        background: transparent;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.35;
        white-space: normal;
        transition:
          border-color 180ms ease,
          background 180ms ease,
          color 180ms ease,
          transform 180ms ease;
      }

      .site-nav a::after {
        content: "↗";
        position: absolute;
        top: 18px;
        right: 18px;
        color: rgba(233, 213, 255, 0.76);
        font-size: 1rem;
      }

      .site-nav a:hover {
        border-color: rgba(233, 213, 255, 0.38);
        background: transparent;
        color: #fff;
        transform: translateX(4px);
      }

      @media (max-width: 560px) {
        .menu-toggle {
          width: 42px;
          height: 42px;
        }

        .site-nav {
          top: 0;
          right: 0;
          bottom: 0;
          width: min(420px, 88vw);
            height: 100vh;
          height: 100dvh;
          min-height: 100vh;
          min-height: 100dvh;
          max-height: 100vh;
          max-height: 100dvh;
padding: 92px 18px 28px;
          gap: 12px;
        }

        .site-nav a {
          min-height: 74px;
          padding: 18px 44px 18px 18px;
          font-size: 1.05rem;
        }
      }
/* Shared footer */
.site-footer {
  padding: 30px 0 42px;
  color: rgba(244, 247, 251, 0.68);
  background: #030407;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  max-width: none;
  margin: 0;
  color: rgba(244, 247, 251, 0.74);
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.footer-credit {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.6;
}

.footer-top {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(233, 213, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.footer-top:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 213, 255, 0.36);
  background: rgba(164, 108, 255, 0.12);
  color: #fff;
}

@media (max-width: 560px) {
  .footer-top {
    width: 40px;
    height: 40px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Header redesign */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 0 clamp(18px, 4vw, 56px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0;
  background: rgba(5, 7, 11, 0.62);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  overflow: visible;
}

.brand {
  position: relative;
  z-index: 95;
  min-width: 0;
  gap: 9px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 760;
  letter-spacing: 0;
  text-shadow: none;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.52rem;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.78), rgba(192, 132, 252, 0.7));
  border: 1px solid rgba(233, 213, 255, 0.2);
  box-shadow: none;
}

.menu-toggle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.menu-toggle:hover,
.site-header.menu-open .menu-toggle {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.075);
}

.menu-toggle span {
  width: 16px;
  height: 1.4px;
  background: rgba(255, 255, 255, 0.78);
}

.menu-toggle:hover span,
.site-header.menu-open .menu-toggle span {
  background: rgba(255, 255, 255, 0.96);
}

.site-header::before {
  display: none;
}

.site-header::after {
  background: rgba(0, 0, 0, 0.28);
}

.site-nav {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 16, 0.96), rgba(5, 7, 11, 0.93));
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}

.site-nav::before {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.site-nav a::after {
  color: rgba(233, 213, 255, 0.56);
}

.site-nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(3px);
}

@media (max-width: 560px) {
  .site-header {
    top: 0;
    left: 0;
    right: 0;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 0;
  }

  .brand {
    gap: 8px;
    font-size: 0.84rem;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.5rem;
  }

  .menu-toggle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
  }

  .site-nav {
    width: min(420px, 88vw);
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    padding: 82px 18px 28px;
  }
}
/* MoNo logo image */
.brand-mark {
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive safety */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

@media (max-width: 700px) {
  .page {
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  p {
    font-size: 0.98rem;
  }

  .building-grid {
    width: min(100%, 420px);
  }

  .building-card {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 380px) {
  .brand {
    font-size: 0.78rem;
  }

  .building-card {
    padding: 14px;
    font-size: 1rem;
  }
}

@media (min-width: 900px) {
  .site-header {
    gap: clamp(24px, 4vw, 56px);
  }

  .site-header::after {
    display: none;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    z-index: 95;
    display: flex;
    grid-template-columns: none;
    align-items: center;
    align-content: initial;
    justify-content: flex-end;
    gap: clamp(18px, 2.4vw, 34px);
    width: auto;
    max-width: none;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    font-weight: 700;
    opacity: 1;
    pointer-events: auto;
    text-shadow: none;
    transform: none;
    transition: none;
    visibility: visible;
  }

  .site-nav::before,
  .site-nav a::after {
    display: none;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: color 160ms ease;
  }

  .site-nav a:hover {
    border: 0;
    background: transparent;
    color: #fff;
    transform: none;
  }
}

/* Text wrapping */
:where(h1, h2, h3, p, .desc, .footer-credit, .building-card, .back) {
  line-break: strict;
  word-break: normal;
  word-break: auto-phrase;
  overflow-wrap: normal;
  hyphens: manual;
}

:where(h1, h2, h3) {
  text-wrap: balance;
}

:where(p, .desc, .footer-credit) {
  text-wrap: pretty;
}

:where(.brand, .site-nav a, .building-card, .back, .footer-top) {
  word-break: keep-all;
  overflow-wrap: normal;
}

/* Mobile headline control */
@media (max-width: 700px) {
  #page-title {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.8vw, 3.6rem);
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    text-wrap: nowrap;
  }

  :where(h2, p, .desc, .building-title, .building-spots) {
    line-break: strict;
    word-break: normal;
    overflow-wrap: normal;
  }
}
