
    :root {
      --bg: #fdfdfd;
      --panel: #fcfcfb;
      --fg: #0f1115;
      --muted: #8c8e94;
      --accent: red;
      --hairline: #e2e2de;
      --grid-line: #000000;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

   html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background: var(--bg);
  font-family: 'JetBrains Mono', 'Roboto', monospace;
  color: var(--fg);
  font-size: 12px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

  

    /* Fixed Corner Badges */
    .corner-tag-left {
      position: fixed;
      top: 10px;
      left: 10px;
      height: 14px;
      width: 110px;
      border-left: 5px solid black;
      padding-left: 5px; 
      padding-bottom: 3px;
      font-weight: bold;
      z-index: 100;
      font-size: 11px; 
      background-color: white; 
      border-radius: 0 10px 10px 0px;
      transition: opacity 0.2s ease;
    }

    .corner-tag-right {
      position: fixed;
      top: 10px;
      right: 10px;
      height: 14px;
      width: 140px;
      border-right: 5px solid black;
      padding-right: 5px; 
      padding-bottom: 3px;
      font-weight: bold;
      text-align: right;
      z-index: 100;
      font-size: 11px;
      transition: opacity 0.2s ease;
    }

    /* Page Layout */
    #page-content {
      position: relative;
      z-index: 10;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 0px;
      transition: opacity 0.4s ease;
    }

    body.modal-open #page-content {
      opacity: 0.12;
      pointer-events: none;
      user-select: none;
    }

    /* Hero Overflow Guard */
    .hero-overflow-guard {
      width: 100%;
      display: flex;
      justify-content: center;
      overflow: hidden;
    }

    /* Center Stage */
    .center-stage {
      width: 100%;
      max-width: 340px;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      padding-bottom: 20px;
    }

    /* Compound Accent Unit */
    .bar-accent-container {
      position: absolute;
      top: -45px;
      right: -85px;
      height: 480px;
      width: 120px;
      pointer-events: none;
      z-index: 1;
    }

    .accent-bar {
      position: absolute; 
      top: -48px;
      background: var(--accent);
      transform: skewY(-28deg);
      transform-origin: top left;
      clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%);
      animation: barGrowDown 0.85s cubic-bezier(0.16, 1, 0.3, 1) 1.0s both;
    }

    .bar-outer {
      right: 0px;
      width: 13px;
      height: 340px;
      animation-delay: 1.0s;
    }

    .bar-inner {
      right: 18px;
      width: 9px;
      height: 260px;
      opacity: 0.88;
      animation-delay: 1.15s;
    }

    @keyframes barGrowDown {
      0% {
        transform: skewY(-28deg) scaleY(0);
        opacity: 0;
      }
      100% {
        transform: skewY(-28deg) scaleY(1);
        opacity: 1;
      }
    }

    /* Logo Scene Container */
    .logo-scene-container {
      position: relative;
      width: 330px;
      height: 330px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      contain: layout paint;
      transition: width 0.3s ease, height 0.3s ease;
    }

    .circular-text-expander {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 4;
      display: flex;
      justify-content: center;
      align-items: center;
      animation: expandFromBehind 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
      transform-origin: center center;
      pointer-events: none;
    }

    @keyframes expandFromBehind {
      0% {
        transform: scale(0.6);
        opacity: 0;
      }
      50% {
        opacity: 1;
      }
      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    .circular-text-svg {
      width: 100%;
      height: 100%;
      animation: continuousRotate 22s linear infinite;
      transform-origin: center center;
      will-change: transform;
      transform: translateZ(0);
    }

    .circular-text-svg text {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 4.5px;
      fill: #000000;
      text-transform: uppercase;
    }

    @keyframes continuousRotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* Main Hat Logo */
    .main-logo-wrapper {
      position: relative;
      z-index: 10;
      width: 240px;
      height: 240px;
      display: flex;
      justify-content: center;
      align-items: center;
      pointer-events: none;
      transition: width 0.3s ease, height 0.3s ease;
    }

    .logo-circle {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
      overflow: hidden;
    }

    .logo-circle svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* Space Anchor in Flow */
    .nav-anchor-slot {
      width: 100%;
      max-width: 340px;
      height: 52px;
      margin: 0;
    }

    /* Nav Grid Stems: Runs 25px above and 25px below nav block */
    .nav-grid-runners {
      position: relative;
      width: 250px;
      height: 0;
      pointer-events: none;
      z-index: 90;
    }

    .nav-grid-runners::before,
    .nav-grid-runners::after {
      content: "";
      position: absolute;
      top: -77px;
      bottom: -25px;
      width: 1px;
      background-color: var(--grid-line);
    }

    .nav-grid-runners::before {
      left: 0;
    }

    .nav-grid-runners::after {
      right: 0;
    }

    /* Fixed Navigation Header */
    .sticky-nav-header {
      position: fixed;
      top: 0;
      left: 50%;
      transform: translate3d(-50%, 0, 0);
      z-index: 95;
      width: 100%;
      max-width: 340px;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 14px;
      background: #fdfdfd;
      border-top: 1px solid #000000;
      border-bottom: 1px solid #000000;
      will-change: transform;
      transition: border-top-color 0.25s ease;
    }

    .sticky-nav-home {
      display: block;
      width: 34px;
      min-width: 34px;
      max-width: 34px;
      height: 34px;
      min-height: 34px;
      max-height: 34px;
      border-radius: 50%;
      overflow: hidden;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
      transition: transform 0.2s ease;
      cursor: pointer;
      flex-shrink: 0;
    }

    .sticky-nav-home svg {
      width: 34px;
      height: 34px;
      display: block;
      pointer-events: none;
    }

    .sticky-nav-home:hover {
      transform: scale(1.08);
    }

    .nav-controls-right {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .sticky-nav-btn {
      display: inline-block;
      line-height: 15px;
      border: 1px solid black;
      border-radius: 15px;
      padding: 5px 12px;
      background: white;
      font-weight: 700;
      color: black;
      font-size: 10px;
      letter-spacing: 1px;
      user-select: none;
      transform-origin: center center;
    }

    .hamburger-btn {
      width: 30px;
      height: 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 4px;
      background: #ffffff;
      border: 1px solid #000000;
      border-radius: 6px;
      cursor: pointer;
      padding: 0;
      transition: background-color 0.2s ease;
    }

    .hamburger-btn:hover {
      background-color: #f0f0f0;
    }

    .hamburger-bar {
      width: 14px;
      height: 2px;
      background-color: #000000;
      border-radius: 1px;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
      transform-origin: center;
    }

    .hamburger-btn.is-active .bar-1 {
      transform: translateY(6px) rotate(45deg);
    }

    .hamburger-btn.is-active .bar-2 {
      opacity: 0;
      transform: scaleX(0);
    }

    .hamburger-btn.is-active .bar-3 {
      transform: translateY(-6px) rotate(-45deg);
    }

    .nav-dropdown-overlay {
      position: absolute;
      top: 51px;
      left: 0;
      width: 100%;
      background: #fdfdfd;
      border-bottom: 1px solid #000000; 
      border-top: 1px solid black;
      box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
      transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
      z-index: 120;
    }

    .nav-dropdown-overlay.is-open {
      max-height: 380px;
      opacity: 1;
      pointer-events: auto;
    }

    .nav-menu-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      padding: 18px 24px;
      gap: 16px;
    }

    .nav-menu-link {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1.5px;
      color: #000000;
      text-transform: uppercase;
      padding-bottom: 6px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      transition: padding-left 0.2s ease, color 0.2s ease;
    }

    .nav-menu-link:hover {
      padding-left: 6px;
      color: var(--accent);
    }

    .nav-menu-tag {
      font-size: 10px;
      color: #888888;
      letter-spacing: 1px;
    }

    .btn-bounce.is-bouncing {
      animation: popElastic 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    @keyframes popElastic {
      0% { transform: scale(1); }
      30% { transform: scale(0.82); }
      65% { transform: scale(1.18); }
      85% { transform: scale(0.95); }
      100% { transform: scale(1); }
    }

    /* ---------------------------------------------------- */
    /* TOKYO SWISS SHOWCASE (Segmented Gaps & Black Borders) */
    /* ---------------------------------------------------- */

    .content-showcase {
      width: 250px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 28px;
      margin-top: 50px; /* 25px gap between bottom runner lines and first card */
      padding-bottom: 80px;
      position: relative;
    }

    .ts-card {
      background-color: var(--panel);
      padding: 16px 14px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      border-left: 1px solid var(--grid-line);
      border-right: 1px solid var(--grid-line);
      border-top: none;
      border-bottom: none;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
      scroll-margin-top: 70px;
    }

    .meta-bar {
      display: flex;
      justify-content: space-between;
      font-size: 8px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      border-bottom: 1px solid var(--hairline);
      padding-bottom: 8px;
    }

    .meta-bar span:last-child {
      color: var(--accent);
      font-weight: 700;
    }

    .kanji-lead {
      font-family: 'Noto Sans JP', sans-serif;
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.28em;
      color: var(--fg);
      line-height: 1;
      padding-top: 4px;
    }

    .headline {
      font-size: 19px;
      line-height: 0.95;
      font-weight: 700;
      letter-spacing: -0.04em;
      text-transform: uppercase;
      color: var(--fg);
      word-break: break-word;
    }

    .hairline-divider {
      width: 100%;
      height: 1px;
      background-color: var(--hairline);
      position: relative;
    }

    .hairline-divider::after {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 18px;
      height: 1px;
      background-color: var(--accent);
    }

    .body-text {
      font-family: 'Noto Sans JP', sans-serif;
      font-size: 9.5px;
      line-height: 1.55;
      color: #55575d;
      font-weight: 300;
      text-align: justify;
      hyphens: auto;
    }

    .body-text strong {
      color: var(--fg);
      font-weight: 700;
    }

    .data-grid {
      display: flex;
      flex-direction: column;
      gap: 5px;
      padding-top: 6px;
      border-top: 1px solid var(--hairline);
    }

    .data-row {
      display: flex;
      justify-content: space-between;
      font-size: 8.5px;
      letter-spacing: 0.05em;
    }

    .data-label {
      color: var(--muted);
      font-size: 7.5px;
      text-transform: uppercase;
    }

    .data-value {
      color: var(--fg);
      font-weight: 500;
    }

    .footer {
      font-size: 7.5px;
      line-height: 1.3;
      color: var(--muted);
      letter-spacing: 0.08em;
      display: flex;
      justify-content: space-between;
      padding-top: 10px;
      border-top: 1px solid var(--hairline);
    }

    .link-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding-top: 4px;
    }

    .link-item {
      display: flex;
      justify-content: space-between;
      font-size: 8.5px;
      color: var(--fg);
      padding: 4px 0;
      border-bottom: 1px dashed var(--hairline);
      letter-spacing: 0.04em;
    }

    .link-item:hover {
      color: var(--accent);
    }

    /* Mobile adjustments */
    @media (max-width: 650px) {
      .corner-tag-left,
      .corner-tag-right {
        display: none;
      }

      #page-content {
        padding-top: 10px;
      }

      .logo-scene-container {
        width: 270px;
        height: 270px;
      }

      .main-logo-wrapper {
        width: 195px;
        height: 195px;
      }

      .bar-accent-container {
        top: -85px;
        right: -10px;
        width: 60px;
        height: 400px;
      }

      .bar-outer {
        right: 0px;
        width: 9px;
        height: 280px;
      }

      .bar-inner {
        right: 14px;
        width: 6px;
        height: 220px;
      }
    }

    @media (max-width: 340px) {
      .logo-scene-container {
        width: 240px;
        height: 240px;
      }

      .main-logo-wrapper {
        width: 170px;
        height: 170px;
      }

      .bar-accent-container {
        top: -95px;
        right: -14px;
        width: 52px;
      }
    }

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

    /* Modal Backdrop */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      z-index: 999;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s ease;
    }

    .modal-backdrop.active {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-content {
      background: #ffffff;
      width: 100%;
      max-width: 340px;
      border: 1px solid #000;
      padding: 25px 20px 20px 20px;
      position: relative;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
      border-radius: 10px;
      will-change: transform, opacity;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      transform: translate3d(0, -40px, 0);
      opacity: 0;
      transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    }

    .modal-backdrop.active .modal-content {
      transform: translate3d(0, 0, 0);
      opacity: 1;
    }

    .modal-close {
      position: absolute;
      top: 10px;
      right: 12px;
      background: none;
      border: none;
      font-size: 18px;
      font-weight: bold;
      cursor: pointer;
      line-height: 1;
      padding: 5px;
    }
 