:root {
  --ink: #171310;
  --paper: #f4ecd9;
  --paper-2: #fff8e7;
  --paper-3: #e9ddc3;
  --red: #d72c22;
  --blue: #245f7c;
  --green: #2f6d4f;
  --yellow: #f4c74f;
  --shadow: rgba(23, 19, 16, 0.22);
  --line: rgba(23, 19, 16, 0.24);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 15%, rgba(244, 199, 79, 0.26), transparent 26rem),
    radial-gradient(circle at 82% 30%, rgba(36, 95, 124, 0.12), transparent 24rem),
    linear-gradient(rgba(23, 19, 16, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 16, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.opening {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(255, 248, 231, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 248, 231, 0.7) 1px, transparent 1px),
    #16120f;
  background-size: 44px 44px;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.has-entered .opening {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}

.door-trigger {
  width: min(620px, calc(100vw - 32px));
  min-height: 420px;
  border: 1px solid rgba(255, 248, 231, 0.55);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 18px 18px 0 var(--red);
  cursor: pointer;
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  text-align: left;
  transform: rotate(-1.2deg);
}

.door-stamp {
  display: inline-block;
  border: 2px solid var(--red);
  color: var(--red);
  padding: 7px 12px;
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: 0.18em;
  transform: rotate(-7deg);
}

.door-title {
  display: block;
  margin-top: 42px;
  font-size: clamp(52px, 11vw, 112px);
  line-height: 0.95;
  font-weight: 900;
}

.door-copy,
.door-hint {
  display: block;
  margin-top: 18px;
  font: 700 11px/1.5 Arial, sans-serif;
  letter-spacing: 0.18em;
}

.door-panel {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 132px;
  height: 170px;
  border: 3px solid var(--ink);
  background: #231c17;
}

.door-panel span {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--paper-2);
}

.door-panel span:nth-child(1) { top: 34px; }
.door-panel span:nth-child(2) { top: 82px; }
.door-panel span:nth-child(3) { top: 130px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(244, 236, 217, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  gap: 0.1em;
  align-items: center;
  font-weight: 950;
  font-size: 24px;
  letter-spacing: 0;
}

.wordmark span:first-child {
  background: var(--ink);
  color: var(--paper-2);
  padding: 0 7px 2px;
  transform: rotate(-3deg);
}

.global-nav {
  display: flex;
  gap: clamp(12px, 2.4vw, 34px);
  align-items: center;
}

.global-nav a {
  font: 800 11px/1.2 Arial, sans-serif;
  letter-spacing: 0.1em;
}

.global-nav span {
  color: var(--red);
  margin-right: 6px;
}

.menu-toggle { display: none; }

main {
  position: relative;
  z-index: 2;
}

.hero,
.section,
.contact {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 72px);
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 72px);
  position: relative;
  display: grid;
  align-content: center;
}

.paper-board {
  margin-top: 22px;
  background:
    linear-gradient(110deg, transparent 0 62%, rgba(215, 44, 34, 0.08) 62% 64%, transparent 64%),
    var(--paper-2);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(-0.4deg);
}

.hero-kicker,
.section-heading p,
.product-copy > p,
.product-card-copy p,
.contact > p,
.product-subhead p {
  margin: 0;
  font: 900 12px/1.3 Arial, sans-serif;
  letter-spacing: 0.18em;
  color: var(--red);
}

.hero-title {
  margin: 20px 0 26px;
  font-size: clamp(58px, 13vw, 156px);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 950;
}

.hero-title span { display: block; }
.hero-title span:last-child {
  color: var(--paper-2);
  text-shadow: 3px 0 var(--ink), -3px 0 var(--ink), 0 3px var(--ink), 0 -3px var(--ink);
}

.hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  max-width: 860px;
}

.hero-bottom p {
  margin: 0;
  max-width: 610px;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 700;
}

.circle-link {
  width: 124px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font: 900 11px/1.2 Arial, sans-serif;
  letter-spacing: 0.12em;
  background: var(--yellow);
  flex: 0 0 auto;
  transform: rotate(8deg);
}

.circle-link i {
  display: block;
  font-style: normal;
  font-size: 24px;
}

.scribble-note {
  position: absolute;
  right: 8%;
  top: 12%;
  border: 2px solid currentColor;
  color: var(--red);
  padding: 7px 12px;
  font: 900 12px Arial, sans-serif;
  letter-spacing: 0.15em;
  transform: rotate(10deg);
}

.sticky-note {
  position: absolute;
  right: 16%;
  bottom: 13%;
  width: 130px;
  min-height: 110px;
  padding: 18px;
  background: var(--yellow);
  box-shadow: 5px 6px 0 var(--shadow);
  font-weight: 900;
  transform: rotate(-8deg);
}

.section {
  padding: clamp(86px, 12vw, 150px) 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  border-bottom: 1px dashed rgba(23, 19, 16, 0.32);
}

.section-heading h2,
.contact h2 {
  margin: 16px 0 0;
  font-size: clamp(34px, 6vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 950;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-list a {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--shadow);
}

.news-list time {
  font: 900 12px Arial, sans-serif;
  color: var(--blue);
}

.about-copy {
  background: rgba(255, 248, 231, 0.82);
  border-left: 6px solid var(--red);
  padding: clamp(24px, 4vw, 48px);
}

.about-copy p {
  margin: 0 0 20px;
  font-size: 16px;
}

.about-copy .lead {
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.35;
  font-weight: 950;
}

.about-copy dl {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.about-copy dl div {
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 14px;
}

dt {
  font: 900 11px Arial, sans-serif;
  letter-spacing: 0.15em;
  color: var(--red);
}

dd { margin: 8px 0 0; }

.contact {
  padding: clamp(86px, 12vw, 150px) 0;
}

.contact h2 span {
  color: var(--red);
}

.contact-link {
  margin: 34px 0;
  width: min(620px, 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 9px 9px 0 var(--red);
  font: 900 clamp(18px, 4vw, 34px)/1 Arial, sans-serif;
}

.contact-note {
  max-width: 720px;
  font-weight: 700;
}

footer {
  position: relative;
  z-index: 2;
  padding: 36px clamp(18px, 4vw, 56px);
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  font: 800 11px Arial, sans-serif;
  letter-spacing: 0.12em;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) rotate(-0.3deg);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    border: 1px solid var(--ink);
    background: var(--paper-2);
    padding: 10px 12px;
    font: 900 10px Arial, sans-serif;
    letter-spacing: 0.12em;
  }

  .menu-toggle i {
    display: block;
    width: 34px;
    height: 2px;
    background: var(--ink);
  }

  .global-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    background: var(--paper-2);
    border: 1px solid var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
  }

  .global-nav.is-open { display: grid; }
  .section { grid-template-columns: 1fr; }
  .hero-bottom { align-items: start; flex-direction: column; }
  .about-copy dl { grid-template-columns: 1fr 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (min-width: 1021px) {
  .site-header {
    padding-right: clamp(14px, 2.4vw, 32px);
  }

  .global-nav {
    gap: clamp(10px, 1.8vw, 26px);
  }

  .hero-bottom,
  .news-list,
  .about-copy,
  .member-grid,
  .featured-product,
  .product-subhead,
  .product-list,
  .contact-note,
  .contact-link {
    max-width: min(760px, calc(100vw - min(42vw, 520px) - 76px));
  }

  .featured-product,
  .product-subhead,
  .product-list {
    margin-right: auto;
  }

  .product-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero, .section, .contact { width: min(100% - 22px, var(--max)); }
  .paper-board { box-shadow: 7px 7px 0 var(--ink); }
  .sticky-note, .scribble-note { display: none; }
  .news-list a { grid-template-columns: 1fr auto; }
  .news-list time { grid-column: 1 / -1; }
  .about-copy dl { grid-template-columns: 1fr; }
  .door-trigger { min-height: 360px; box-shadow: 10px 10px 0 var(--red); }
  .door-panel { width: 92px; height: 126px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Monochrome underground hideout direction */
:root {
  --ink: #f2f2f2;
  --paper: #050505;
  --paper-2: #101010;
  --paper-3: #1c1c1c;
  --red: #ffffff;
  --blue: #c8c8c8;
  --green: #9e9e9e;
  --yellow: #e7e7e7;
  --shadow: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.22);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 38% 42%, rgba(255, 255, 255, 0.08), transparent 26rem),
    linear-gradient(120deg, transparent 0 54%, rgba(255, 255, 255, 0.08) 54% 55%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 44px),
    #050505;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), transparent 28%, transparent 70%, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(-14deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 42px);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.opening {
  background:
    radial-gradient(circle at 54% 36%, rgba(255, 255, 255, 0.16), transparent 18rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 40px),
    #050505;
}

.door-trigger {
  background: #090909;
  color: #f5f5f5;
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow: 18px 18px 0 #f5f5f5;
}

.door-stamp {
  border-color: #f5f5f5;
  color: #f5f5f5;
}

.door-panel {
  border-color: #f5f5f5;
  background: #050505;
}

.door-panel span { background: #f5f5f5; }

.site-header {
  background: rgba(5, 5, 5, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.wordmark span:first-child {
  background: #f5f5f5;
  color: #050505;
}

.global-nav a {
  color: #f5f5f5;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.22);
}

.global-nav span { color: #bdbdbd; }

.paper-board {
  background:
    linear-gradient(110deg, transparent 0 56%, rgba(255, 255, 255, 0.08) 56% 57%, transparent 57%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #080808;
  background-size: auto, 32px 32px, 32px 32px, auto;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 12px 12px 0 #f5f5f5;
}

.hero::before,
.section::before,
.contact::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.1) 48% 49%, transparent 49%),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(255, 255, 255, 0.03) 24px 25px);
}

.hero-kicker,
.section-heading p,
.product-copy > p,
.product-card-copy p,
.contact > p,
.product-subhead p {
  color: #f5f5f5;
}

.hero-title {
  color: #f5f5f5;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}

.hero-title span:last-child {
  color: #050505;
  text-shadow: 2px 0 #f5f5f5, -2px 0 #f5f5f5, 0 2px #f5f5f5, 0 -2px #f5f5f5;
}

.circle-link {
  background: #f5f5f5;
  color: #050505;
  border-color: #f5f5f5;
}

.scribble-note,
.sticky-note {
  background: #f5f5f5;
  color: #050505;
  border-color: #f5f5f5;
  box-shadow: 5px 6px 0 rgba(255, 255, 255, 0.22);
}

.section {
  position: relative;
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.news-list a,
.about-copy,
.about-copy dl div {
  background: rgba(11, 11, 11, 0.88);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.15);
}

.about-copy { border-left-color: #f5f5f5; }

dt,
.news-list time,
.contact h2 span {
  color: #f5f5f5;
}

.contact-link {
  background: #f5f5f5;
  color: #050505;
  box-shadow: 9px 9px 0 rgba(255, 255, 255, 0.22);
}

footer {
  background: #050505;
  border-top-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 860px) {
  .menu-toggle,
  .global-nav {
    background: #0b0b0b;
    color: #f5f5f5;
    border-color: rgba(255, 255, 255, 0.5);
  }

  .menu-toggle i { background: #f5f5f5; }
}

/* Generated-key-visual redesign */
body {
  background: #030303;
}

body::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0.58)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent 38%, rgba(0, 0, 0, 0.34)),
    url("/assets/images/hero-underground-bg.png") center top / cover no-repeat fixed;
  opacity: 0.32;
  mix-blend-mode: normal;
}

.opening {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24) 54%, rgba(0, 0, 0, 0.72)),
    url("/assets/images/hero-underground-bg.png") center center / cover no-repeat,
    #030303;
}

.door-trigger {
  background: rgba(0, 0, 0, 0.72);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(3px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  background: rgba(0, 0, 0, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.wordmark {
  font-size: clamp(20px, 2.3vw, 34px);
  color: #fff;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.2));
}

.wordmark span:first-child {
  background: transparent;
  color: inherit;
  padding: 0;
  transform: skew(-8deg) rotate(-3deg);
}

.wordmark span:last-child {
  transform: skew(-8deg);
}

.hero,
.section,
.contact {
  width: 100%;
}

.hero {
  min-height: 100svh;
  margin: 0;
  padding: clamp(104px, 14vw, 190px) clamp(24px, 6vw, 76px) clamp(60px, 9vw, 110px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22) 50%, rgba(0, 0, 0, 0.2)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 32%),
    url("/assets/images/hero-underground-bg.png") center center / cover no-repeat;
  border: 0;
  box-shadow: none;
  transform: none;
  overflow: hidden;
}

.hero::before {
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 34% 46%, transparent 0 18%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
  opacity: 0.65;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 72px 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  margin-top: auto;
  max-width: 700px;
}

.hero-brand {
  margin: clamp(10px, 2vw, 18px) 0 0;
  width: fit-content;
  max-width: 82vw;
  color: #fff;
  font-weight: 950;
  font-size: clamp(72px, 13vw, 190px);
  line-height: 0.82;
  letter-spacing: -0.08em;
  white-space: nowrap;
  transform: skew(-10deg) rotate(-4deg);
  text-shadow:
    4px 4px 0 #000,
    -2px -2px 0 rgba(255, 255, 255, 0.5),
    0 0 22px rgba(255, 255, 255, 0.22);
}

.hero-title {
  width: fit-content;
  margin: clamp(18px, 3vw, 36px) 0 28px;
  padding: 5px 12px 9px;
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  font-size: clamp(27px, 4.2vw, 58px);
  line-height: 1.18;
  transform: rotate(-4deg);
}

.hero-title span:last-child {
  color: #fff;
  text-shadow: none;
}

.hero-bottom {
  display: block;
  max-width: 520px;
  margin-top: 40px;
}

.hero-bottom p {
  padding-left: 0;
  color: #fff;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.circle-link {
  display: none;
}

.scribble-note {
  display: none;
}

.sticky-note {
  display: none;
}

.section,
.contact {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(96px, 13vw, 170px) 0;
}

.section-heading h2,
.contact h2 {
  font-size: clamp(48px, 8vw, 118px);
  letter-spacing: -0.04em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.16);
}

.news-list a,
.about-copy,
.about-copy dl div,
.contact-link {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

@media (min-width: 1021px) {
  .hero-bottom,
  .news-list,
  .about-copy,
  .member-grid,
  .featured-product,
  .product-subhead,
  .product-list,
  .contact-note,
  .contact-link {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-inline: 20px;
    background-position: 58% center;
  }

  .hero-brand {
    max-width: 100%;
    font-size: clamp(52px, 18vw, 96px);
  }

  .section,
  .contact {
    width: min(100% - 28px, 1180px);
  }
}
