:root {
  color-scheme: light;
  --paper: #f7f4ec;
  --paper-deep: #eee9dd;
  --ink: #242520;
  --muted: #6e7069;
  --line: rgba(37, 38, 33, 0.16);
  --green: #6d9175;
  --green-deep: #365a44;
  --blue: #66869b;
  --gold: #c6a166;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(45, 42, 34, 0.12);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", system-ui, sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 20% 15%, rgba(99, 94, 78, 0.045) 0 1px, transparent 1.3px),
    radial-gradient(circle at 75% 40%, rgba(99, 94, 78, 0.035) 0 1px, transparent 1.4px);
  background-size: 17px 19px, 23px 29px;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  height: 84px;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(250, 248, 242, 0.92);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-leaf { width: 34px; height: 34px; flex: 0 0 auto; }
.brand-leaf path:first-child { fill: var(--green); stroke: none; }
.brand-leaf path:last-child { fill: none; stroke: var(--green-deep); stroke-width: 3; stroke-linecap: round; }
.brand-name { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1 "Avenir Next", system-ui, sans-serif; letter-spacing: .08em; }
.brand-copy { margin-left: 18px; padding-left: 20px; border-left: 1px solid var(--line); font-size: .75rem; line-height: 1.65; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 38px); font-family: "Avenir Next", system-ui, sans-serif; }
.site-nav a { position: relative; padding: 31px 0 27px; text-decoration: none; font-size: .9rem; letter-spacing: .08em; }
.site-nav a::after { content: ""; position: absolute; left: 50%; bottom: 19px; width: 0; height: 2px; background: var(--green); transform: translateX(-50%); transition: width .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-current::after { width: 100%; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-button > span:not(.sr-only) { display: block; width: 22px; height: 1.5px; margin: 5px auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero { min-height: min(720px, calc(100vh - 84px)); position: relative; overflow: hidden; isolation: isolate; background: #1f2622; }
.hero-image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center center; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(13, 17, 15, .89) 0%, rgba(13, 17, 15, .68) 30%, rgba(13, 17, 15, .15) 58%, rgba(13, 17, 15, .04) 100%), linear-gradient(0deg, rgba(10,15,12,.2), transparent 45%); }
.hero-content { width: min(1180px, calc(100% - 96px)); min-height: min(720px, calc(100vh - 84px)); margin: 0 auto; padding: clamp(70px, 9vh, 108px) 0 82px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: #fff; }
.eyebrow, .section-kicker { margin: 0 0 18px; font: 600 .72rem/1 "Avenir Next", system-ui, sans-serif; letter-spacing: .25em; text-transform: uppercase; }
.eyebrow { color: rgba(255,255,255,.72); }
.hero h1 { margin: 0; max-width: 670px; font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif; font-size: clamp(2.7rem, 5.3vw, 5.15rem); font-weight: 500; line-height: 1.34; letter-spacing: .045em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: #d8e6ce; background: linear-gradient(transparent 72%, rgba(109,145,117,.45) 72%); }
.hero-lead { margin: 28px 0 30px; color: rgba(255,255,255,.84); font-size: clamp(.98rem, 1.35vw, 1.1rem); line-height: 2; letter-spacing: .08em; }
.hero-cta { display: inline-flex; align-items: center; gap: 18px; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; padding: 13px 22px 13px 24px; text-decoration: none; font-size: .9rem; letter-spacing: .08em; transition: background .25s ease, color .25s ease, transform .25s ease; }
.hero-cta svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.hero-cta:hover, .hero-cta:focus-visible { background: #fff; color: var(--ink); transform: translateY(-2px); }
.hero-mascot { position: absolute; right: clamp(5%, 10vw, 13%); bottom: -4px; display: flex; align-items: flex-start; gap: 8px; filter: drop-shadow(0 14px 18px rgba(0,0,0,.22)); }
.hero-mascot img { width: clamp(110px, 12vw, 168px); }
.hero-mascot p { position: relative; margin: -28px -12px 0 0; padding: 11px 16px; color: var(--ink); background: rgba(248,246,239,.94); border-radius: 50% 46% 52% 45%; font-family: "Hiragino Maru Gothic ProN", sans-serif; font-size: .85rem; line-height: 1.6; transform: rotate(-5deg); }
.hero-mascot p::after { content: ""; position: absolute; right: -7px; bottom: 5px; width: 16px; height: 12px; background: inherit; clip-path: polygon(0 0, 100% 100%, 0 80%); }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 7px; color: rgba(255,255,255,.65); text-decoration: none; font: 600 .6rem/1 "Avenir Next", sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 26px; background: rgba(255,255,255,.65); animation: scroll-pulse 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes scroll-pulse { 0%,100% { transform: scaleY(.35); opacity:.35; } 50% { transform: scaleY(1); opacity:1; } }

.intro { padding: clamp(76px, 9vw, 124px) 0 clamp(54px, 7vw, 90px); border-bottom: 1px solid var(--line); }
.section-kicker { color: var(--green-deep); }
.intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, .8fr); gap: clamp(48px, 9vw, 130px); align-items: start; }
.intro h2, .section-heading h2, .manifesto h2 { margin: 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 500; letter-spacing: .04em; }
.intro h2 { font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.48; }
.intro-grid > p { margin: 5px 0 0; color: #55574f; font-size: 1rem; line-height: 2.1; letter-spacing: .05em; }

.categories { padding: clamp(62px, 8vw, 108px) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.section-heading > p { max-width: 280px; margin: 0 0 5px; color: var(--muted); font-size: .92rem; letter-spacing: .06em; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.category-card { min-height: 460px; padding: 22px 20px 18px; border: 1px solid rgba(42,43,36,.12); border-radius: var(--radius); display: flex; flex-direction: column; position: relative; overflow: hidden; box-shadow: 0 8px 24px rgba(45,42,34,.065); transition: transform .3s ease, box-shadow .3s ease; }
.category-card::before { content: ""; position: absolute; width: 190px; height: 190px; right: -84px; top: 64px; border-radius: 50%; background: currentColor; opacity: .06; }
.category-card:hover { transform: translateY(-8px) rotate(-.25deg); box-shadow: var(--shadow); }
.card-games { color: #314d5d; background: #e4ecef; }
.card-picks { color: #765d35; background: #eee6d5; }
.card-tools { color: #e7eadf; background: #25302c; }
.card-lab { color: #315f4a; background: #dfeae0; }
.card-notes { color: #5e4d39; background: #e9e2d7; }
.card-topline { display: flex; justify-content: space-between; opacity: .62; font: 700 .65rem/1 "Avenir Next", sans-serif; letter-spacing: .14em; }
.card-icon { width: 48px; height: 48px; margin: 62px 0 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.category-card h3 { margin: 0; font: 700 clamp(1.5rem, 2.4vw, 2rem)/1 "Avenir Next", sans-serif; letter-spacing: .02em; }
.card-jp { min-height: 3.6em; margin: 12px 0 16px; font-size: .82rem; line-height: 1.7; letter-spacing: .04em; opacity: .83; }
.category-card ul { margin: 0 0 22px; padding: 15px 0 0; border-top: 1px solid currentColor; list-style: none; opacity: .8; }
.category-card li { font-size: .78rem; line-height: 1.85; }
.category-card li::before { content: "·"; margin-right: 7px; }
.category-card > a { margin-top: auto; display: flex; justify-content: space-between; align-items: center; text-decoration: none; font-size: .75rem; font-weight: 700; letter-spacing: .05em; }
.category-card > a span { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; transition: transform .2s ease, background .2s ease; }
.category-card > a:hover span { transform: rotate(45deg); background: rgba(255,255,255,.3); }

.latest { padding: clamp(62px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.latest-heading { align-items: flex-start; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filters button { border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 8px 12px; border-radius: 999px; font: 600 .72rem/1 "Avenir Next", sans-serif; cursor: pointer; transition: .2s ease; }
.filters button:hover, .filters button:focus-visible, .filters button.is-active { color: #fff; background: var(--green-deep); border-color: var(--green-deep); }
.update-list { border-top: 1px solid var(--ink); }
.update-row { min-height: 82px; display: grid; grid-template-columns: 85px 78px 1fr 28px; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); transition: opacity .25s ease, transform .25s ease, background .2s ease; }
.update-link { color: inherit; text-decoration: none; }
.update-row:hover { background: rgba(255,255,255,.34); }
.update-row[hidden] { display: none; }
.update-status { color: var(--muted); font-size: .76rem; letter-spacing: .05em; }
.update-tag { display: inline-flex; justify-content: center; padding: 5px 7px; border: 1px solid currentColor; border-radius: 999px; font: 600 .68rem/1 "Avenir Next", sans-serif; }
.tag-games { color: #456a80; }.tag-picks { color: #9b6e21; }.tag-tools { color: #515f93; }.tag-lab { color: #427957; }.tag-notes { color: #745e48; }
.update-row h3 { margin: 0; font-size: .93rem; font-weight: 500; letter-spacing: .04em; }
.update-arrow { color: var(--green-deep); font-size: 1.1rem; }

.manifesto { min-height: 540px; padding: clamp(78px, 10vw, 130px) 0; display: grid; grid-template-columns: 1fr .8fr .42fr; gap: clamp(36px, 6vw, 86px); align-items: center; border-top: 1px solid var(--line); }
.manifesto h2 { font-size: clamp(2rem, 3.8vw, 3.7rem); line-height: 1.5; }
.manifesto-copy > p:last-child { max-width: 610px; margin: 28px 0 0; color: var(--muted); line-height: 2; }
.memo { position: relative; min-height: 238px; padding: 64px 42px 34px; background: #eee2c9; box-shadow: 8px 14px 35px rgba(55,49,36,.14); transform: rotate(-2.4deg); }
.memo::after { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none; background-image: radial-gradient(#5d4f38 0.7px, transparent 0.8px); background-size: 8px 8px; }
.tape { position: absolute; z-index: 1; top: -13px; left: 50%; width: 88px; height: 28px; background: rgba(142,161,107,.7); transform: translateX(-50%) rotate(3deg); }
.memo p { position: relative; z-index: 2; margin: 0; font-family: "Hiragino Mincho ProN", serif; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.7; text-align: center; }
.memo strong { font-weight: 500; border-bottom: 5px solid rgba(109,145,117,.35); }
.memo small { position: relative; z-index: 2; display: block; margin-top: 20px; text-align: right; font-family: "Avenir Next", sans-serif; letter-spacing: .12em; }
.mascot-note { align-self: end; text-align: center; transform: translateY(28px) rotate(2deg); }
.mascot-note img { width: 150px; margin: 0 auto; filter: drop-shadow(0 12px 14px rgba(52,55,45,.14)); }
.mascot-note p { margin: -3px 0 0; color: var(--green-deep); font-family: "Hiragino Maru Gothic ProN", sans-serif; font-size: .86rem; }

.site-footer { min-height: 112px; padding-block: 28px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 700 1.25rem/1 "Avenir Next", sans-serif; letter-spacing: .07em; }
.footer-brand svg { width: 28px; height: 28px; }
.footer-brand path:first-child { fill: var(--green); }.footer-brand path:last-child { fill: none; stroke: var(--green-deep); stroke-width: 3; }
.site-footer > p, .site-footer small { color: var(--muted); font: .7rem/1.6 "Avenir Next", sans-serif; letter-spacing: .08em; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: .72rem; }
.site-footer nav a:hover { color: var(--green-deep); }

:focus-visible { outline: 3px solid rgba(71,105,80,.45); outline-offset: 4px; }

@media (max-width: 1040px) {
  .category-grid { grid-template-columns: repeat(6, 1fr); }
  .category-card { grid-column: span 2; min-height: 420px; }
  .category-card:nth-child(4) { grid-column: 2 / span 2; }
  .category-card:nth-child(5) { grid-column: 4 / span 2; }
  .manifesto { grid-template-columns: 1fr .8fr; }
  .mascot-note { position: absolute; right: 5vw; }
  .manifesto { position: relative; }
  .mascot-note img { width: 105px; }
  .site-footer { grid-template-columns: auto 1fr auto; }
  .site-footer nav { display: none; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 620px); }
  .site-header { height: 70px; padding: 0 18px; }
  .brand-leaf { width: 29px; height: 29px; }
  .brand-name { font-size: 1.45rem; }
  .brand-copy { display: none; }
  .menu-button { display: block; cursor: pointer; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .site-nav { position: absolute; left: 0; right: 0; top: 70px; padding: 18px 24px 26px; display: grid; gap: 0; background: rgba(250,248,242,.98); border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .hero { min-height: 690px; }
  .hero-image { object-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(13,17,15,.86), rgba(13,17,15,.5) 75%, rgba(13,17,15,.15)), linear-gradient(0deg, rgba(13,17,15,.55), transparent 45%); }
  .hero-content { width: calc(100% - 48px); min-height: 690px; justify-content: flex-start; padding-top: 100px; }
  .hero h1 { font-size: clamp(2.45rem, 10vw, 4rem); line-height: 1.35; letter-spacing: .015em; }
  .hero-lead { font-size: .92rem; line-height: 1.9; }
  .hero-mascot { right: 18px; }
  .hero-mascot img { width: 112px; }
  .hero-mascot p { font-size: .7rem; margin-top: -10px; }
  .scroll-cue { display: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro h2 { font-size: 2rem; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .category-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 0 16px 22px; margin-inline: -16px; scrollbar-width: none; }
  .category-grid::-webkit-scrollbar { display: none; }
  .category-card { flex: 0 0 min(82vw, 310px); min-height: 420px; scroll-snap-align: start; }
  .card-icon { margin-top: 52px; }
  .latest-heading { gap: 24px; }
  .filters { justify-content: flex-start; }
  .update-row { grid-template-columns: 68px 68px 1fr; gap: 10px; padding: 16px 0; }
  .update-row h3 { grid-column: 1 / -1; grid-row: 2; font-size: .9rem; }
  .update-arrow { grid-column: 3; grid-row: 1; justify-self: end; }
  .manifesto { grid-template-columns: 1fr; padding-bottom: 170px; }
  .memo { width: min(92%, 390px); margin: 12px auto 0; }
  .mascot-note { right: 6vw; bottom: 15px; }
  .mascot-note img { width: 120px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 10px; }
  .site-footer > p { display: none; }
}

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