:root {
  --paper: #faf9f6;
  --surface: #f1f0ec;
  --ink: #222220;
  --muted: #56544f;
  --line: #deddd6;
  --night: #171719;
  --white: #faf9f7;
  --on-night: #cfcdca;
  --focus: #824535;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body, figure { margin: 0; }
main { min-height: 60svh; }
main:focus { outline: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
summary { cursor: pointer; }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.dark :focus-visible { outline-color: #e3a99a; }
p { margin: 0 0 1rem; line-height: 1.8; }
h1, h2, h3 { margin: 0; letter-spacing: -.047em; line-height: 1.15; font-weight: 750; }
h2 { font-size: clamp(2rem,4.15vw,3.65rem); }
h3 { font-size: 1.36rem; }
:is(h2,h3) + p { margin-top: .96rem; }
[id] { scroll-margin-top: 76px; }

.wrap { width: min(100% - 64px, 1120px); margin-inline: auto; }
.band { background: var(--surface); }
.dark { background: var(--night); color: var(--white); }
.dark p, .dark figcaption { color: var(--on-night); }
.intro { font-size: clamp(1.02rem,2vw,1.31rem); color: var(--muted); line-height: 1.65; margin: 1rem 0 1.32rem; }
.annotation, .film figcaption, .archive-photos figcaption { color: var(--muted); font-size: .875rem; line-height: 1.65; }
.skip-link {
  position: fixed; z-index: 30; inset: 10px auto auto 10px;
  padding: 12px 16px; transform: translateY(-190%); background: var(--ink); color: var(--white);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 10; background: var(--paper);
  border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px);
}
.header-row { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { color: var(--ink); text-decoration: none; font-size: .964rem; font-weight: 750; white-space: nowrap; }
.desktop-nav, .footer-links, .video-links { display: flex; align-items: center; gap: clamp(12px,2.5vw,34px); }
:is(.desktop-nav,.footer-links,.video-links,.mobile-nav) a { display: inline-flex; align-items: center; min-height: 44px; font-size: .91rem; }
.desktop-nav a, .mobile-nav a { text-decoration: none; }
:is(.desktop-nav,.mobile-nav) a:is(:hover,[aria-current]) { text-decoration: underline; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  min-width: 74px; min-height: 44px; display: grid; place-items: center; list-style: none; font-size: .92rem;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav {
  position: absolute; right: 0; top: 100%; min-width: 200px; display: grid;
  background: var(--paper); border: 1px solid var(--line); padding: .45rem;
}
.mobile-nav a { padding-inline: .82rem; }
.mobile-nav a[aria-current] { background: var(--surface); }

.button, .text-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; font-size: .94rem; font-weight: 700;
}
.button { border-radius: 100px; padding: .55rem 1.25rem; text-decoration: none; }
.primary { background: var(--ink); color: var(--white); }
.primary:hover { background: #3a3935; }
.light { background: var(--white); color: var(--night); }
.light:hover { background: #e5e3de; }

.hero { padding: clamp(51px,5.2vw,78px) 0 clamp(60px,7.5vw,110px); }
.hero-copy { text-align: center; }
.hero h1 { font-size: clamp(2.35rem,5.25vw,4.75rem); letter-spacing: -.055em; }
.hero h1 span, .page-head h1 span { display: inline-block; }
.hero .intro { margin: .8rem 0 1.3rem; }
.hero-photo {
  width: min(100% - 64px, 1248px); margin: clamp(31px,3.8vw,57px) auto 0;
  background: var(--surface); aspect-ratio: 1560 / 700; overflow: hidden;
}
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; }
.hero-photo { position: relative; }
.hero-quip {
  position: absolute; left: 14%; top: 37%; width: clamp(132px,16vw,194px);
  aspect-ratio: 184/62; pointer-events: none; color: #fff;
  transform: rotate(-6deg);
  filter: drop-shadow(0 1px 2px rgba(20,13,9,.75));
}
.hero-quip svg { position: absolute; width: 100%; height: 100%; }
.hero-quip path {
  fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linejoin: round;
  stroke-linecap: round; vector-effect: non-scaling-stroke;
}
.hero-quip span {
  position: absolute; inset: 0 0 16% 0; display: grid; place-items: center;
  color: inherit; font: 650 clamp(.81rem,1.49vw,1.18rem)/1 "Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;
  letter-spacing: -.055em; white-space: nowrap;
}
@media (max-width: 660px) {
  .hero-quip { left: 5%; top: auto; bottom: 5%; width: clamp(132px,38vw,166px); }
  .hero-quip svg { transform: scaleY(-1) rotate(2deg); }
  .hero-quip span { inset: 11% 0 0 0; font-size: clamp(.81rem,3.6vw,1rem); }
}


.today { border-top: 1px solid var(--line); }
.today-layout {
  display: grid; grid-template-columns: .78fr 1.22fr; align-items: center;
  gap: clamp(35px,7.4vw,118px); padding-block: clamp(58px,8.6vw,126px);
}
.today-copy p { margin-bottom: .45rem; }
.today-photo { aspect-ratio: 5/4; overflow: hidden; background: var(--surface); }
.today-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 59%; }
.invitation-layout { padding-block: clamp(60px,9vw,138px); text-align: center; }
.invitation-layout p { margin-bottom: 1.35rem; }
.invitation-poster { margin: clamp(19px,3vw,38px) auto .62rem; }
.poster-stage {
  position: relative; isolation: isolate; display: grid; place-items: center;
  overflow: hidden; background: #071521;
}
.poster-stage::before {
  content: ""; position: absolute; z-index: -1; inset: -34px;
  background: linear-gradient(90deg,#0a111c 0%,transparent 30%,transparent 70%,#0a111c 100%),
    linear-gradient(#07152288,#160a1b12 48%,#081018ac),
    url("/assets/puu-punk-comic-640.webp") center 62% / cover no-repeat;
  filter: blur(19px); opacity: .73;
}
.poster-stage .poster-art {
  display: block; width: min(100%,470px); height: auto;
  box-shadow: 0 0 50px 14px #080a14b3; align-self: stretch; object-fit: contain;
}
@media (max-width: 576px) {
  .poster-stage::before { display: none; }
  .poster-stage .poster-art { width: 100%; box-shadow: none; }
}
.guide { gap: .6rem; }
.guide img { width: 58px; height: 58px; object-fit: contain; transition: transform .18s ease-out; }
.guide:hover img { transform: translateY(-3px); }

.page-head {
  text-align: center; padding-block: clamp(48px,6.8vw,102px) clamp(22px,4.5vw,62px);
}
.page-head h1 { font-size: clamp(2.08rem,5vw,4.3rem); }
.page-head .intro { max-width: 45rem; margin-inline: auto; }
.identity {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(22px,4vw,64px);
  padding-bottom: clamp(56px,7.2vw,96px);
}
.identity-card figure { aspect-ratio: 5/4; overflow: hidden; background: var(--surface); }
.identity-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }
.identity-card:last-child img { object-position: 50% 51%; }
.identity-card > div { padding-block: 1.18rem 0; }
.identity-card h2 { font-size: clamp(1.62rem,3.1vw,2.7rem); }
.identity-card p { max-width: 26rem; }
.archive-photos {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px,2.2vw,32px);
  padding-bottom: clamp(52px,7vw,99px);
}
.archive-photos img { width: 100%; aspect-ratio: .85; object-fit: cover; object-position: 50% 58%; }
.archive-photos figcaption { margin-top: .65rem; }

.film-section { padding-block: clamp(58px,8vw,112px); }
.film-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,8vw,120px); align-items: center; }
.film { width: min(100%,351px); margin-inline: auto; }
.film video { width: 100%; height: auto; aspect-ratio: 9/16; background: var(--night); color-scheme: dark; }
.film figcaption { margin-top: .75rem; }
.dark .film figcaption { color: var(--on-night); }
.film-copy { max-width: 34rem; }
.video-links { gap: 1.4rem; margin-bottom: .65rem; }

.game-hero { padding-block: clamp(52px,6.3vw,88px) clamp(34px,5.2vw,78px); }
.game-main { text-align: center; }
.game-main h1 { font-size: clamp(3rem,6.7vw,6rem); letter-spacing: -.058em; }
.game-main .game-line { color: var(--white); font-size: clamp(1.11rem,2.25vw,1.68rem); margin: .45rem 0; }
.development-status { margin: 0 0 1.15rem; font-size: .89rem; }
.game-world { margin-top: clamp(26px,4.6vw,66px); }
.story-layout {
  display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(30px,6vw,92px);
  padding-block: clamp(55px,8vw,111px);
}
.story-layout .intro { margin-top: 0; color: var(--ink); font-weight: 700; }
.characters { padding-block: clamp(55px,7.8vw,105px); }
.cast { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,2.6vw,38px); margin-top: 1.85rem; }
.cast img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; background: #e7e5df; }
.cast article:first-child img { object-fit: contain; padding: 6%; }
.cast h3 { margin-top: 1rem; }
.cast p { margin-top: .4rem; }

.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 28px 0 max(28px,env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 1rem; }
.footer-links { gap: 1.25rem; margin-top: -.55rem; }

@media (max-width: 740px) {
  .wrap { width: calc(100% - 40px); }
  .desktop-nav, .desktop-only { display: none; }
  .header-row { min-height: 52px; }
  .mobile-nav { display: block; }
  .hero { padding-block: 30px 58px; }
  .hero h1 { font-size: clamp(2.35rem,9.9vw,3.25rem); }
  .hero h1 span { display: block; }
  .hero .intro { margin-block: .72rem .91rem; letter-spacing: -.028em; }
  .hero-photo { width: calc(100% - 24px); margin-top: 25px; }
  .today-layout { grid-template-columns: 1fr; gap: 20px; }
  .today-photo { aspect-ratio: 1.35; }
  .page-head h1 { font-size: clamp(1.94rem,8.9vw,3.28rem); }
  .identity { grid-template-columns: 1fr; gap: 42px; }
  .film-layout, .story-layout, .footer-grid { grid-template-columns: 1fr; }
  .film-layout { gap: 22px; }
  .film { width: min(100%,315px); }
  .film-copy { grid-row: 1; }
  .archive-photos { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .archive-photos figure:first-child { grid-column: 1/-1; }
  .archive-photos figure:first-child img { aspect-ratio: 1.26; }
  .game-hero { padding-top: 36px; }
  .story-layout { gap: 15px; }
  .cast { grid-template-columns: 1fr; gap: 26px; }
  .cast img { max-height: 204px; }
  .footer-links { margin-top: 0; }
}
@media (max-width: 660px) {
  .hero-photo { aspect-ratio: 768/794; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .hero .intro { font-size: .99rem; }
}
@media (prefers-reduced-motion: reduce) {
  .guide img { transition: none; }
  .guide:hover img { transform: none; }
}
.public-feature{padding:clamp(36px,7vw,96px) 0}
.public-feature .intro{max-width:34em;margin-bottom:1.5rem}
.public-footnote{margin-top:1.2rem}
.site-footer .wordmark{text-decoration:none}
