:root {
	--ink: #331a0a;
	--ink-soft: #533522;
	--parchment: #fbe6a2;
	--parchment-light: #fff3c9;
	--parchment-shadow: #eac589;
	--sand: #d5b55b;
	--wood: #7b5546;
	--wood-warm: #9a6846;
	--wood-dark: #4b2e20;
	--wood-deep: #29170f;
	--grass: #548a10;
	--grass-light: #7eae2a;
	--leaf: #6fa84c;
	--teal: #16514b;
	--teal-dark: #0b3534;
	--teal-soft: #4f8d81;
	--sky: #9fd9cd;
	--gold: #e8b23a;
	--gold-light: #ffd76b;
	--cream: #fff7dc;
	--white: #fffdf2;
	--danger: #9e3f35;
	--font-pixel: Galmuri11, "DungGeunMo", monospace;
	--font-pixel-small: Galmuri9, "DungGeunMo", monospace;
	--font-body: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	--page-width: 1200px;
	--nav-gutter: clamp(12px, 2.25vw, 56px);
	--header-height: clamp(76px, 5vw, 86px);
	--pixel-shadow: 5px 5px 0 var(--ink);
	--pixel-cut-sm: polygon(8px 0, calc(100% - 8px) 0, calc(100% - 8px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 3px) calc(100% - 8px), calc(100% - 3px) calc(100% - 3px), calc(100% - 8px) calc(100% - 3px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 3px), 3px calc(100% - 3px), 3px calc(100% - 8px), 0 calc(100% - 8px), 0 8px, 3px 8px, 3px 3px, 8px 3px);
	--pixel-cut-md: polygon(12px 0, calc(100% - 12px) 0, calc(100% - 12px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 12px, 100% 12px, 100% calc(100% - 12px), calc(100% - 4px) calc(100% - 12px), calc(100% - 4px) calc(100% - 4px), calc(100% - 12px) calc(100% - 4px), calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 12px), 0 calc(100% - 12px), 0 12px, 4px 12px, 4px 4px, 12px 4px);
	--pixel-cut-lg: polygon(20px 0, calc(100% - 20px) 0, calc(100% - 20px) 6px, calc(100% - 6px) 6px, calc(100% - 6px) 20px, 100% 20px, 100% calc(100% - 20px), calc(100% - 6px) calc(100% - 20px), calc(100% - 6px) calc(100% - 6px), calc(100% - 20px) calc(100% - 6px), calc(100% - 20px) 100%, 20px 100%, 20px calc(100% - 6px), 6px calc(100% - 6px), 6px calc(100% - 20px), 0 calc(100% - 20px), 0 20px, 6px 20px, 6px 6px, 20px 6px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 108px;
}

html.home-scroll {
	scroll-padding-top: 0;
	scroll-snap-type: y mandatory;
}

body {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	background: var(--parchment);
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

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

button,
input {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

img,
video {
	display: block;
	max-width: 100%;
	image-rendering: pixelated;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3,
.eyebrow,
.pixel-button,
.primary-nav,
.category-tabs,
.category-badge,
.new-badge {
	font-family: var(--font-pixel);
}

:focus-visible {
	outline: 4px solid var(--gold-light);
	outline-offset: 4px;
}

::selection {
	color: var(--cream);
	background: var(--teal);
}

.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.skip-link {
	position: fixed;
	top: 10px;
	left: 12px;
	z-index: 1000;
	padding: 10px 16px;
	color: var(--cream);
	font-family: var(--font-pixel);
	background: var(--ink);
	border: 3px solid var(--gold-light);
	transform: translateY(-150%);
	transition: transform 160ms ease;
}

.skip-link:focus {
	transform: translateY(0);
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--teal);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.snap-container {
	position: relative;
}

.section-snap {
	position: relative;
	min-height: 100svh;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	overflow: hidden;
}

/* Header */
.site-header {
	position: fixed;
	top: 18px;
	left: 0;
	z-index: 100;
	width: 100%;
	padding-left: max(var(--nav-gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--nav-gutter), env(safe-area-inset-right, 0px));
	pointer-events: none;
	transition: top 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
	top: 8px;
}

.nav-sign {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: none;
	height: var(--header-height);
	margin: 0;
	padding: 6px clamp(66px, 4.5vw, 86px);
	pointer-events: auto;
	isolation: isolate;
	overflow: visible;
}

.nav-sign__surface {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 40px 22px at 27% 43%, rgba(64, 32, 17, 0.82) 0 9%, #bc7a46 11% 20%, #60341f 22% 30%, transparent 32%),
		radial-gradient(ellipse 32px 17px at 68% 67%, rgba(66, 34, 18, 0.8) 0 9%, #ad6b3e 11% 22%, #59301d 24% 32%, transparent 34%),
		repeating-linear-gradient(176deg, transparent 0 8px, rgba(51, 25, 12, 0.22) 9px 11px, transparent 12px 23px),
		repeating-linear-gradient(4deg, rgba(255, 218, 156, 0.08) 0 2px, transparent 3px 37px),
		repeating-linear-gradient(90deg, #a56a42 0 116px, #77462e 116px 122px, #8d5738 122px 238px, #633b29 238px 244px);
	border: 5px solid var(--wood-deep);
	box-shadow:
		inset 0 4px 0 rgba(255, 219, 157, 0.2),
		inset 0 -7px 0 rgba(42, 19, 9, 0.34),
		inset 8px 0 0 rgba(255, 196, 120, 0.08),
		inset -8px 0 0 rgba(38, 17, 9, 0.2);
	filter: drop-shadow(0 5px 0 #1e100a) drop-shadow(0 10px 8px rgba(27, 13, 5, 0.28));
	clip-path: var(--pixel-cut-lg);
}

.nav-sign__surface::before,
.nav-sign__surface::after {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 16px;
	height: 16px;
	content: "";
	background: #d39c40;
	border: 4px solid var(--wood-deep);
	box-shadow: inset 2px 2px 0 #f3cd72;
	transform: translateY(-50%) rotate(45deg);
}

.nav-sign__surface::before { left: 13px; }
.nav-sign__surface::after { right: 13px; }

.nav-sign__root {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 1;
	width: 62px;
	height: 54px;
	pointer-events: none;
	background:
		repeating-linear-gradient(172deg, transparent 0 7px, rgba(55, 28, 15, 0.2) 8px 10px, transparent 11px 18px),
		linear-gradient(135deg, #a66c40, #60351f 72%);
	border: 4px solid var(--wood-deep);
	border-radius: 48% 22% 38% 46%;
	box-shadow: inset -7px -5px 0 rgba(48, 22, 11, 0.28);
	transform: translateY(-50%) rotate(-4deg);
}

.nav-sign__root::before,
.nav-sign__root::after {
	position: absolute;
	left: -19px;
	width: 44px;
	height: 16px;
	content: "";
	background: linear-gradient(180deg, #9b633b, #61351f);
	border: 4px solid var(--wood-deep);
	border-radius: 70% 18% 55% 30%;
	transform-origin: right center;
}

.nav-sign__root::before {
	top: -6px;
	transform: rotate(-27deg);
}

.nav-sign__root::after {
	bottom: -8px;
	transform: rotate(23deg);
}

.nav-sign__root--right {
	right: 0;
	left: auto;
	transform: translateY(-50%) scaleX(-1) rotate(-4deg);
}

.nav-sign__vine {
	position: absolute;
	z-index: 3;
	width: clamp(120px, 12vw, 190px);
	height: 31px;
	pointer-events: none;
	border-bottom: 5px solid #41692b;
	border-radius: 0 0 72% 48%;
	filter: drop-shadow(2px 2px 0 #243916);
	opacity: 0.95;
}

.nav-sign__vine--left {
	top: -7px;
	left: clamp(165px, 14vw, 285px);
	transform: rotate(-4deg);
}

.nav-sign__vine--right {
	right: clamp(250px, 28vw, 540px);
	bottom: -6px;
	transform: scaleX(-1) rotate(-3deg);
}

.nav-sign__vine i {
	position: absolute;
	width: 18px;
	height: 12px;
	background: linear-gradient(135deg, #9cc44b 0 44%, #5b8932 45% 72%, #386224 73%);
	border: 2px solid #29491f;
	border-radius: 100% 0 100% 0;
	box-shadow: inset 2px 2px 0 rgba(211, 232, 102, 0.3);
}

.nav-sign__vine i:nth-child(1) {
	bottom: -3px;
	left: 23%;
	transform: rotate(-34deg);
}

.nav-sign__vine i:nth-child(2) {
	bottom: 7px;
	left: 54%;
	transform: scaleX(-1) rotate(-20deg);
}

.nav-sign__vine i:nth-child(3) {
	right: 4%;
	bottom: -2px;
	transform: rotate(-42deg);
}

.nav-sign > .brand-link,
.nav-sign > .menu-toggle,
.nav-sign > .primary-nav {
	position: relative;
	z-index: 4;
}

.brand-link {
	display: flex;
	align-items: center;
	flex: 0 0 clamp(190px, 20vw, 360px);
	width: auto;
	height: calc(var(--header-height) - 12px);
	margin-right: 0;
	overflow: hidden;
}

.brand-link img {
	width: clamp(160px, 11vw, 205px);
	height: auto;
	margin-left: 2%;
	filter: drop-shadow(0 3px 0 rgba(40, 17, 7, 0.62));
	image-rendering: pixelated;
}

.primary-nav {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 0;
	min-width: 0;
	margin-left: 0;
	font-size: clamp(0.95rem, 0.86vw, 1.08rem);
}

.primary-nav a {
	position: relative;
	display: grid;
	flex: 1 1 0;
	min-width: 0;
	height: 48px;
	padding: 0 clamp(12px, 1.1vw, 20px);
	place-items: center;
	color: var(--cream);
	text-shadow: 2px 2px 0 var(--wood-deep);
	background: transparent;
	border: 2px solid transparent;
	box-shadow: none;
	isolation: isolate;
	transition: color 120ms steps(2, end), background 120ms steps(2, end), transform 120ms steps(2, end);
}

.primary-nav a::before {
	position: absolute;
	inset: 0 25%;
	z-index: -1;
	content: "";
	pointer-events: none;
	background: linear-gradient(90deg, rgba(49, 23, 12, 0.16), rgba(255, 226, 172, 0.05) 48%, rgba(51, 24, 13, 0.17));
	border: 2px solid rgba(48, 22, 11, 0.18);
	box-shadow: inset 2px 0 0 rgba(255, 220, 160, 0.05), inset -2px 0 0 rgba(40, 18, 9, 0.12);
	transition: background 120ms steps(2, end), border-color 120ms steps(2, end), box-shadow 120ms steps(2, end);
}

.primary-nav a:hover,
.primary-nav a.is-active,
.primary-nav a[aria-current="page"] {
	color: var(--gold-light);
	transform: translateY(-1px);
}

.primary-nav a:hover::before,
.primary-nav a.is-active::before,
.primary-nav a[aria-current="page"]::before {
	background: linear-gradient(180deg, rgba(56, 26, 13, 0.34), rgba(37, 17, 9, 0.5));
	border-color: rgba(255, 220, 137, 0.42);
	box-shadow: inset 0 3px 0 rgba(255, 216, 139, 0.08), inset 0 -4px 0 rgba(28, 12, 7, 0.38);
}

.primary-nav a::after {
	position: absolute;
	right: 25%;
	bottom: 4px;
	left: 25%;
	height: 3px;
	content: "";
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 140ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after,
.primary-nav a[aria-current="page"]::after {
	transform: scaleX(1);
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 9px;
	padding: 8px 11px;
	color: var(--cream);
	font-family: var(--font-pixel);
	font-size: 0.86rem;
	background: rgba(44, 20, 10, 0.55);
	border: 3px solid var(--wood-deep);
	cursor: pointer;
}

.menu-toggle__pixels {
	display: grid;
	gap: 4px;
}

.menu-toggle__pixels i {
	display: block;
	width: 20px;
	height: 3px;
	background: var(--gold-light);
	box-shadow: 2px 0 0 var(--ink);
}

/* Buttons */
.pixel-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-height: 58px;
	padding: 12px 22px;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	border: 4px solid var(--ink);
	box-shadow: 5px 5px 0 var(--ink);
	clip-path: var(--pixel-cut-sm);
	cursor: pointer;
	transition: transform 90ms steps(2, end), box-shadow 90ms steps(2, end), filter 120ms steps(2, end);
}

.pixel-button:hover {
	filter: brightness(1.08);
	transform: translate(-2px, -2px);
	box-shadow: 7px 7px 0 var(--ink);
}

.pixel-button:active {
	transform: translate(4px, 4px);
	box-shadow: 1px 1px 0 var(--ink);
}

.pixel-button small {
	display: block;
	margin-top: 4px;
	font-family: var(--font-body);
	font-size: 0.68rem;
	font-weight: 700;
	opacity: 0.72;
}

.pixel-button__icon {
	display: grid;
	width: 31px;
	height: 31px;
	place-items: center;
	font-size: 1.2rem;
	border: 2px solid currentColor;
}

.pixel-button--gold {
	color: var(--ink);
	background: linear-gradient(180deg, var(--gold-light) 0 17%, var(--gold) 17% 86%, #c78a25 86%);
}

.pixel-button--parchment {
	color: var(--ink);
	background: linear-gradient(180deg, var(--cream) 0 15%, var(--parchment) 15% 86%, var(--parchment-shadow) 86%);
}

/* Hero */
.hero {
	display: grid;
	padding: 128px clamp(20px, 2.5vw, 48px) 72px;
	place-items: center;
	isolation: isolate;
	background: var(--teal-dark) url("../images/gameplay/farm-life.png") center / cover no-repeat;
}

.hero__animated-background {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 58% center;
	pointer-events: none;
	filter: brightness(0.84) saturate(0.92);
	transform: scale(1.1);
	image-rendering: pixelated;
}

.hero::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(7, 31, 29, 0.98) 0 31%, rgba(7, 31, 29, 0.91) 43%, rgba(7, 31, 29, 0.46) 59%, rgba(7, 31, 29, 0.08) 82%),
		linear-gradient(180deg, rgba(5, 20, 18, 0.18), transparent 48%, rgba(5, 20, 18, 0.58));
}

.hero::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 247, 220, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 247, 220, 0.045) 1px, transparent 1px);
	background-size: 8px 8px;
	mix-blend-mode: soft-light;
}

.hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 720px);
	align-items: center;
	justify-content: start;
	width: 100%;
}

.hero__copy {
	position: relative;
	z-index: 2;
}

.hero__logo {
	width: clamp(420px, 40vw, 650px);
	max-width: 100%;
	margin: -52px 0 -30px -5%;
	filter: drop-shadow(0 7px 0 rgba(20, 10, 5, 0.46));
	image-rendering: pixelated;
}

.hero h1 {
	margin-bottom: 18px;
	color: var(--cream);
	font-size: clamp(2.35rem, 3.6vw, 4rem);
	line-height: 1.34;
	letter-spacing: -0.06em;
	text-shadow: 4px 4px 0 rgba(27, 14, 8, 0.78);
}

.hero__description {
	margin-bottom: 32px;
	font-size: clamp(1.05rem, 1.35vw, 1.28rem);
	font-weight: 700;
	color: var(--parchment-light);
	text-shadow: 2px 2px 0 rgba(18, 10, 6, 0.74);
}

.hero .eyebrow {
	color: var(--gold-light);
	font-size: clamp(0.84rem, 0.92vw, 0.98rem);
}

.hero .pixel-button {
	min-height: 64px;
	padding: 14px 26px;
	font-size: 0.94rem;
}

.hero .pixel-button__icon {
	width: 34px;
	height: 34px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 27px 0 0;
	list-style: none;
}

.hero__tags li {
	padding: 7px 13px;
	color: var(--cream);
	font-family: var(--font-pixel-small);
	font-size: 0.74rem;
	background: var(--teal);
	border: 2px solid var(--ink);
	box-shadow: 2px 2px 0 var(--ink);
}

.game-window {
	position: relative;
	margin: 0;
	background: var(--wood);
	border: 5px solid var(--wood-deep);
	box-shadow: 9px 9px 0 var(--wood-deep), 15px 17px 24px rgba(39, 22, 11, 0.22);
	clip-path: var(--pixel-cut-md);
}

.game-window__topbar {
	display: flex;
	align-items: center;
	gap: 9px;
	height: 42px;
	padding: 0 14px;
	color: var(--cream);
	font-family: var(--font-pixel-small);
	font-size: 0.66rem;
	background: linear-gradient(180deg, #704632, var(--wood-dark));
	border-bottom: 4px solid var(--wood-deep);
}

.status-light {
	width: 10px;
	height: 10px;
	background: #a9d75e;
	border: 2px solid var(--ink);
	box-shadow: 0 0 0 2px #5d8a2c;
}

.game-window__status {
	margin-left: auto;
	color: var(--gold-light);
}

.game-window__screen {
	position: relative;
	margin: 9px;
	overflow: hidden;
	background: var(--teal-dark);
	border: 4px solid var(--wood-deep);
}

.game-window__screen img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: 50% 50%;
	image-rendering: pixelated;
}

.screen-gloss {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(135deg, rgba(255,255,255,0.11), transparent 30% 72%, rgba(17,39,31,0.18));
}

.game-window figcaption {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 13px 10px;
	color: var(--cream);
	font-family: var(--font-pixel-small);
	font-size: 0.7rem;
}

.game-window figcaption span {
	color: #9ddd68;
	font-size: 0.6rem;
}

.scroll-cue {
	position: absolute;
	z-index: 3;
	bottom: 22px;
	left: 50%;
	display: grid;
	gap: 7px;
	justify-items: center;
	color: var(--cream);
	font-family: var(--font-pixel-small);
	font-size: 0.62rem;
	text-shadow: 2px 2px 0 var(--ink);
	transform: translateX(-50%);
}

.scroll-cue i {
	width: 14px;
	height: 14px;
	border-right: 4px solid var(--cream);
	border-bottom: 4px solid var(--cream);
	filter: drop-shadow(2px 2px 0 var(--ink));
	transform: rotate(45deg);
	animation: scroll-bounce 1.4s steps(3, end) infinite;
}

@keyframes scroll-bounce {
	0%, 100% { transform: translateY(0) rotate(45deg); }
	50% { transform: translateY(7px) rotate(45deg); }
}

/* Feature sections */
.feature-section {
	display: grid;
	padding: 112px 28px 76px;
	place-items: center;
}

.feature-section--management {
	image-rendering: pixelated;
	background:
		linear-gradient(90deg, rgba(251, 230, 162, 0.82) 0 35%, rgba(251, 230, 162, 0.52) 49%, rgba(251, 230, 162, 0.14) 67%, rgba(29, 16, 10, 0.08)),
		linear-gradient(180deg, rgba(255, 244, 202, 0.1), transparent 62%, rgba(45, 24, 14, 0.22)),
		url("../images/backgrounds/management-shop-pixel.png") center / cover no-repeat;
}

.feature-section--life {
	image-rendering: pixelated;
	background:
		linear-gradient(90deg, rgba(250, 239, 194, 0.08) 0 37%, rgba(246, 233, 180, 0.46) 59%, rgba(243, 225, 164, 0.82) 100%),
		linear-gradient(180deg, rgba(255, 250, 220, 0.06), rgba(78, 103, 53, 0.18)),
		url("../images/backgrounds/life-farm-pixel.png") center / cover no-repeat;
}

.feature-section--battle {
	color: var(--ink);
	image-rendering: pixelated;
	background:
		linear-gradient(90deg, rgba(246, 239, 183, 0.86) 0 34%, rgba(232, 232, 164, 0.62) 49%, rgba(224, 235, 167, 0.18) 68%, rgba(224, 235, 167, 0.03) 100%),
		linear-gradient(180deg, rgba(255, 252, 214, 0.07), rgba(52, 104, 61, 0.1)),
		url("../images/backgrounds/exploration-forest-pixel.png") center / cover no-repeat;
}

.section-inner {
	position: relative;
	z-index: 2;
	width: min(100%, var(--page-width));
}

.feature-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
	gap: clamp(48px, 7vw, 108px);
	align-items: center;
}

.feature-grid--reverse {
	grid-template-columns: minmax(460px, 1.08fr) minmax(0, 0.92fr);
}

.feature-copy {
	position: relative;
}

.section-number {
	position: absolute;
	top: -102px;
	left: -18px;
	z-index: -1;
	color: rgba(57, 33, 14, 0.1);
	font-family: var(--font-pixel);
	font-size: clamp(5rem, 10vw, 9rem);
	font-weight: 700;
	line-height: 1;
}

.feature-copy .eyebrow {
	margin-bottom: 12px;
}

.feature-section--battle .eyebrow {
	color: var(--teal-dark);
}

.feature-copy h2 {
	margin-bottom: 24px;
	font-size: clamp(2.2rem, 4.1vw, 4rem);
	line-height: 1.25;
	letter-spacing: -0.07em;
	text-shadow: 3px 3px 0 rgba(255, 235, 170, 0.28);
}

.feature-copy h2 span {
	position: relative;
	display: inline-block;
	color: var(--teal);
}

.feature-section--battle .feature-copy h2 {
	text-shadow: 3px 3px 0 rgba(255, 244, 184, 0.6);
}

.feature-section--battle .feature-copy h2 span {
	color: var(--teal);
}

.feature-copy h2 span::after {
	position: absolute;
	right: 1px;
	bottom: 0;
	left: 0;
	height: 6px;
	content: "";
	background: var(--gold);
	z-index: -1;
}

.feature-copy > p:not(.eyebrow) {
	max-width: 590px;
	margin-bottom: 24px;
	font-size: 1.05rem;
	font-weight: 650;
	line-height: 1.9;
}

.feature-list {
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.feature-list li {
	display: flex;
	align-items: center;
	gap: 11px;
	font-weight: 750;
}

.feature-list li span {
	display: grid;
	flex: 0 0 auto;
	width: 23px;
	height: 23px;
	place-items: center;
	color: var(--cream);
	font-family: var(--font-pixel);
	font-size: 0.78rem;
	line-height: 1;
	background: var(--teal);
	border: 2px solid var(--ink);
	box-shadow: 2px 2px 0 var(--ink);
}

.feature-section--battle .feature-list li span {
	color: var(--ink);
	background: var(--gold);
	border-color: var(--wood-deep);
}

.wood-frame-wrap {
	position: relative;
	width: 100%;
	margin: 0;
}

.wood-frame-wrap--square {
	width: min(100%, 520px);
	justify-self: center;
}

.wood-frame-wrap--wide {
	width: min(100%, 680px);
	justify-self: center;
}

.wood-frame-wrap .wood-frame {
	width: 100%;
}

.wood-frame {
	position: relative;
	margin: 0;
	padding: 15px;
	background:
		repeating-linear-gradient(90deg, var(--wood-warm) 0 76px, var(--wood) 76px 80px),
		var(--wood);
	border: 6px solid var(--wood-deep);
	box-shadow: 10px 10px 0 var(--wood-deep), 17px 18px 26px rgba(41, 23, 15, 0.24), inset 0 0 0 4px #b27a4e;
	clip-path: var(--pixel-cut-md);
}

.wood-frame::before,
.wood-frame::after {
	position: absolute;
	top: 18px;
	z-index: 2;
	width: 12px;
	height: 12px;
	content: "";
	background: var(--gold);
	border: 3px solid var(--ink);
	transform: rotate(45deg);
}

.wood-frame::before { left: 20px; }
.wood-frame::after { right: 20px; }

.wood-frame img {
	width: 100%;
	background: var(--teal-dark);
	border: 5px solid var(--wood-deep);
	image-rendering: pixelated;
}

.wood-frame--square {
	width: min(100%, 520px);
	justify-self: center;
}

.wood-frame--square img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
}

.wood-frame--wide img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: 50% 47%;
}

.wood-frame__label {
	position: absolute;
	top: -25px;
	left: 50%;
	z-index: 4;
	min-width: 150px;
	padding: 7px 16px;
	color: var(--cream);
	font-family: var(--font-pixel-small);
	font-size: 0.67rem;
	text-align: center;
	background: var(--teal);
	border: 4px solid var(--wood-deep);
	box-shadow: 3px 3px 0 var(--wood-deep);
	transform: translateX(-50%);
}

.wood-frame figcaption {
	padding: 11px 8px 1px;
	color: var(--cream);
	font-family: var(--font-pixel-small);
	font-size: 0.68rem;
	text-align: center;
	text-shadow: 2px 2px 0 var(--wood-deep);
}

.battle-preview {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #5c8d81;
	border: 15px solid var(--wood);
	box-shadow: 0 0 0 6px var(--wood-deep), 10px 10px 0 var(--wood-deep);
	clip-path: var(--pixel-cut-md);
}

.battle-preview::after {
	position: absolute;
	inset: 0;
	content: "";
	background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
	background-size: 7px 7px;
}

.battle-preview__sky {
	position: absolute;
	inset: 0 0 35%;
	background: linear-gradient(#507d75, #87a980);
}

.battle-preview__mountain {
	position: absolute;
	bottom: 28%;
	width: 55%;
	height: 48%;
	background: #31564e;
	clip-path: polygon(0 100%, 0 78%, 10% 78%, 10% 64%, 20% 64%, 20% 48%, 31% 48%, 31% 32%, 42% 32%, 42% 16%, 54% 16%, 54% 30%, 65% 30%, 65% 48%, 76% 48%, 76% 62%, 88% 62%, 88% 78%, 100% 78%, 100% 100%);
}

.battle-preview__mountain--one { left: -5%; }
.battle-preview__mountain--two { right: -7%; transform: scaleX(-1) scale(0.8); opacity: 0.75; }

.battle-preview__ground {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 38%;
	background: repeating-linear-gradient(135deg, #4d6337 0 14px, #43582f 14px 28px);
	border-top: 8px solid #6c7b3e;
}

.battle-preview__marker {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	display: grid;
	width: min(78%, 360px);
	padding: 22px 20px;
	place-items: center;
	color: var(--ink);
	text-align: center;
	background: rgba(251, 230, 162, 0.94);
	border: 5px solid var(--ink);
	box-shadow: 7px 7px 0 rgba(37, 20, 10, 0.88);
	transform: translate(-50%, -50%);
}

.battle-preview__marker > span {
	display: grid;
	width: 36px;
	height: 36px;
	margin-bottom: 10px;
	place-items: center;
	color: var(--ink);
	font-family: var(--font-pixel);
	background: var(--gold);
	border: 3px solid var(--ink);
}

.battle-preview__marker strong {
	font-family: var(--font-pixel);
	font-size: clamp(1rem, 2vw, 1.3rem);
}

.battle-preview__marker small {
	margin-top: 7px;
	font-weight: 700;
}

/* News */
.news-section {
	padding: 108px clamp(14px, 2vw, 36px) 42px;
	color: var(--cream);
	background:
		linear-gradient(180deg, rgba(7, 35, 33, 0.72), rgba(24, 29, 19, 0.66)),
		linear-gradient(#362015 0 0) 17% 27% / 52px 8px no-repeat,
		linear-gradient(#835c3e 0 0) 18% 28% / 24px 4px no-repeat,
		linear-gradient(#332016 0 0) 81% 67% / 44px 8px no-repeat,
		linear-gradient(#79543a 0 0) 80% 68% / 20px 4px no-repeat,
		repeating-linear-gradient(0deg, #5d4635 0 56px, #302219 56px 64px, #6b503b 64px 120px);
}

.news-section::before {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(32, 15, 8, 0.62) 0 6%, transparent 6% 94%, rgba(32, 15, 8, 0.62) 94%),
		linear-gradient(180deg, rgba(255, 215, 145, 0.06), transparent 28%, rgba(12, 8, 5, 0.42));
	box-shadow: inset 0 0 70px rgba(13, 7, 4, 0.46);
}

.news-section__inner {
	position: relative;
	z-index: 1;
	display: flex;
	width: min(100%, 1600px);
	min-height: calc(100svh - 150px);
	margin: 0 auto;
	flex-direction: column;
	justify-content: center;
}

.news-heading {
	max-width: 760px;
	margin: 0 auto 42px;
	text-align: center;
}

.news-heading .eyebrow {
	justify-content: center;
	color: var(--gold-light);
	text-shadow: 2px 2px 0 var(--wood-deep);
}

.news-heading h2 {
	margin-bottom: 12px;
	color: var(--cream);
	font-size: clamp(2.2rem, 4vw, 3.8rem);
	line-height: 1.3;
	letter-spacing: -0.07em;
	text-shadow: 4px 4px 0 var(--wood-deep);
}

.news-heading h2 span {
	color: var(--gold-light);
}

.news-heading > p:last-child {
	font-weight: 700;
	color: var(--parchment-light);
	text-shadow: 2px 2px 0 rgba(34, 17, 9, 0.78);
}

.guild-board {
	position: relative;
	display: flex;
	min-height: clamp(460px, 58svh, 640px);
	padding: clamp(94px, 7vw, 112px) clamp(28px, 3vw, 54px) clamp(38px, 3vw, 50px);
	flex-direction: column;
	isolation: isolate;
	image-rendering: pixelated;
	background:
		linear-gradient(#4b291a 0 0) 24% 31% / 48px 12px no-repeat,
		linear-gradient(#c0804c 0 0) 25% 31% / 20px 4px no-repeat,
		linear-gradient(#472719 0 0) 73% 72% / 40px 12px no-repeat,
		linear-gradient(#b27145 0 0) 72% 72% / 16px 4px no-repeat,
		repeating-linear-gradient(0deg, transparent 0 60px, rgba(45, 22, 12, 0.42) 60px 68px, rgba(244, 186, 111, 0.08) 68px 72px),
		repeating-linear-gradient(90deg, #905a38 0 160px, #6b3e28 160px 168px, #9f6740 168px 328px);
	border: 8px solid var(--wood-deep);
	box-shadow:
		inset 0 0 0 6px #b2784b,
		inset 0 9px 0 rgba(255, 213, 139, 0.12),
		inset 0 -12px 0 rgba(37, 17, 9, 0.3);
	filter: drop-shadow(12px 15px 0 rgba(26, 13, 7, 0.58));
	clip-path: var(--pixel-cut-lg);
}

.guild-board::before {
	position: absolute;
	inset: 16px;
	z-index: 1;
	content: "";
	pointer-events: none;
	border: 4px solid #3b2014;
	box-shadow: 0 0 0 4px #9d6038, inset 0 0 0 4px #5d351f;
}

.guild-board__plaque {
	position: absolute;
	top: 14px;
	left: 50%;
	z-index: 4;
	display: grid;
	width: min(480px, 76%);
	min-height: 70px;
	padding: 7px 42px 9px;
	place-items: center;
	color: var(--gold-light);
	line-height: 1.15;
	text-align: center;
	text-shadow: 2px 2px 0 #160c08;
	background:
		repeating-linear-gradient(180deg, transparent 0 8px, rgba(255, 204, 125, 0.08) 8px 12px, transparent 12px 20px),
		linear-gradient(180deg, #8a5734 0 8px, #5b3825 8px calc(100% - 8px), #352016 calc(100% - 8px));
	border: 6px solid var(--wood-deep);
	box-shadow: 7px 8px 0 rgba(25, 12, 7, 0.62), inset 0 4px 0 rgba(255, 211, 134, 0.13);
	transform: translateX(-50%);
	clip-path: var(--pixel-cut-md);
}

.guild-board__plaque::before,
.guild-board__plaque::after {
	position: absolute;
	top: 50%;
	width: 16px;
	height: 16px;
	content: "";
	background: var(--gold);
	border: 4px solid #1d100a;
	box-shadow: inset 2px 2px 0 var(--gold-light);
	transform: translateY(-50%);
}

.guild-board__plaque::before { left: 16px; }
.guild-board__plaque::after { right: 16px; }

.guild-board__plaque small {
	font-family: var(--font-pixel-small);
	font-size: 0.55rem;
	letter-spacing: 0.13em;
}

.guild-board__plaque strong {
	font-family: var(--font-pixel);
	font-size: clamp(0.9rem, 1.3vw, 1.12rem);
	letter-spacing: 0.08em;
}

.guild-board__bolt {
	position: absolute;
	z-index: 3;
	width: 16px;
	height: 16px;
	background: linear-gradient(135deg, var(--gold-light) 0 25%, var(--gold) 25% 58%, #9a6423 58%);
	border: 4px solid var(--wood-deep);
	box-shadow: inset 2px 2px 0 rgba(255, 242, 168, 0.42), 2px 2px 0 rgba(35, 17, 9, 0.46);
}

.guild-board__bolt--tl { top: 24px; left: 25px; }
.guild-board__bolt--tr { top: 24px; right: 25px; }
.guild-board__bolt--bl { bottom: 24px; left: 25px; }
.guild-board__bolt--br { right: 25px; bottom: 24px; }

.news-grid {
	position: relative;
	z-index: 2;
	display: grid;
	flex: 1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.2vw, 30px);
	align-items: stretch;
}

.notice-card {
	--paper-offset: 0px;
	--sheet-accent: var(--teal);
	position: relative;
	display: flex;
	min-height: 320px;
	padding: 26px 20px 18px;
	flex-direction: column;
	color: var(--ink);
	background:
		linear-gradient(rgba(130, 83, 40, 0.13) 0 0) 8% 12% / 28px 8px no-repeat,
		linear-gradient(rgba(130, 83, 40, 0.11) 0 0) 92% 88% / 24px 8px no-repeat,
		linear-gradient(90deg, transparent 28px, rgba(150, 74, 50, 0.13) 28px 32px, transparent 32px),
		repeating-linear-gradient(0deg, rgba(104, 69, 33, 0.075) 0 2px, transparent 2px 24px),
		linear-gradient(180deg, #fae9b5 0 8px, #f2d89b 8px 92%, #d8b978 92%);
	border: 4px solid #9b7445;
	box-shadow: 8px 8px 0 rgba(45, 23, 12, 0.46), inset 0 0 0 4px rgba(185, 137, 67, 0.24);
	transform: translateY(var(--paper-offset));
	transform-origin: 50% 12px;
	clip-path: var(--pixel-cut-sm);
	transition: transform 140ms steps(2, end), filter 140ms steps(2, end);
}

.notice-card--teal { --paper-offset: 0px; --sheet-accent: var(--teal); }
.notice-card--green { --paper-offset: 4px; --sheet-accent: var(--grass); }
.notice-card--gold { --paper-offset: -4px; --sheet-accent: #a26416; }

.notice-card:focus-within {
	filter: brightness(1.035);
	outline: 4px solid var(--gold-light);
	outline-offset: 4px;
	transform: translateY(var(--paper-offset));
}

.notice-card > header {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 2px 3px 12px;
	border-bottom: 4px solid var(--wood);
	box-shadow: 0 4px 0 rgba(83, 53, 34, 0.18);
}

.notice-card > header h3 {
	margin: 0;
	font-size: 1.1rem;
}

.notice-card > header small {
	margin-left: auto;
	padding: 3px 6px;
	color: var(--sheet-accent);
	font-family: var(--font-pixel-small);
	font-size: 0.62rem;
	line-height: 1;
	background: rgba(255, 249, 220, 0.3);
	border: 2px solid currentColor;
}

.notice-card__pin {
	position: absolute;
	top: 8px;
	left: 50%;
	z-index: 3;
	display: block;
	width: 20px;
	height: 20px;
	background: linear-gradient(135deg, var(--gold-light) 0 25%, var(--gold) 25% 58%, #93611f 58%);
	border: 4px solid var(--ink);
	box-shadow: 4px 4px 0 rgba(46, 23, 12, 0.42);
	transform: translateX(-50%);
}

.notice-card > header h3 { color: var(--sheet-accent); }

.notice-card ul {
	display: grid;
	gap: 0;
	padding: 4px 0 0;
	margin: 0 0 10px;
	list-style: none;
}

.notice-card li + li {
	border-top: 2px dashed rgba(83, 53, 34, 0.25);
}

.notice-card li a {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 5px 8px;
	padding: 11px 3px;
	transition: color 120ms steps(2, end), transform 120ms steps(2, end);
}

.notice-card li a:hover {
	color: var(--sheet-accent);
	transform: translateX(4px);
}

.notice-card li strong {
	overflow: hidden;
	font-size: 0.9rem;
	line-height: 1.45;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.notice-card li time {
	grid-column: 2;
	color: #735a45;
	font-size: 0.73rem;
}

.new-badge {
	display: inline-grid;
	min-width: 38px;
	height: 20px;
	padding: 0 5px;
	place-items: center;
	color: var(--cream);
	font-size: 0.55rem;
	line-height: 1;
	background: var(--danger);
	border: 2px solid var(--ink);
	box-shadow: 2px 2px 0 var(--ink);
}

.more-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: auto 0 0 auto;
	font-family: var(--font-pixel-small);
	font-size: 0.67rem;
	font-weight: 700;
	color: var(--sheet-accent);
}

.more-link:hover span {
	transform: translateX(4px);
}

.more-link span {
	transition: transform 120ms steps(2, end);
}

.site-footer {
	display: grid;
	grid-template-columns: 180px 1fr auto;
	gap: 8px 26px;
	align-items: center;
	margin-top: 34px;
	padding: 22px 0 18px;
	color: var(--cream);
	border-top: 3px solid rgba(51, 26, 10, 0.44);
}

.site-footer--page {
	width: 100%;
	margin-top: 0;
	padding: 24px max(28px, calc((100vw - var(--page-width)) / 2 + 28px)) 20px;
	background: #70472f;
	border-top: 6px solid var(--wood-deep);
	scroll-snap-align: end;
	scroll-snap-stop: always;
}

.footer-brand {
	grid-row: 1 / 3;
	display: block;
	height: 70px;
	overflow: hidden;
}

.footer-brand img {
	width: 175px;
	margin-top: -8px;
	filter: drop-shadow(0 3px 0 rgba(33, 15, 7, 0.5));
	image-rendering: pixelated;
}

.site-footer p {
	margin: 0;
	font-weight: 700;
	text-shadow: 2px 2px 0 var(--wood-deep);
}

.site-footer nav {
	display: flex;
	gap: 18px;
	font-family: var(--font-pixel-small);
	font-size: 0.66rem;
}

.site-footer nav a:hover {
	color: var(--gold-light);
}

.site-footer small {
	grid-column: 2 / 4;
	font-size: 0.72rem;
	opacity: 0.78;
}

/* Reveal motion */
.reveal {
	opacity: 0;
	transform: translate3d(-26px, 24px, 0);
	transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal--right {
	transform: translate3d(26px, 24px, 0);
}

.reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

/* Download toast */
.download-toast {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 200;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 13px;
	align-items: center;
	width: min(calc(100% - 32px), 430px);
	padding: 15px;
	color: var(--ink);
	background: var(--parchment);
	border: 4px solid var(--ink);
	box-shadow: 6px 6px 0 var(--ink);
	animation: toast-in 260ms steps(3, end) both;
}

.download-toast[hidden] { display: none; }

.download-toast__icon {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	font-family: var(--font-pixel);
	background: var(--gold);
	border: 3px solid var(--ink);
}

.download-toast strong {
	font-family: var(--font-pixel);
	font-size: 0.8rem;
}

.download-toast p {
	margin: 4px 0 0;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.45;
}

.download-toast button {
	display: grid;
	width: 30px;
	height: 30px;
	padding: 0;
	place-items: center;
	color: var(--cream);
	font-size: 1.25rem;
	line-height: 1;
	background: var(--wood-dark);
	border: 2px solid var(--ink);
	cursor: pointer;
}

@keyframes toast-in {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Subpages */
.subpage {
	min-height: 100vh;
	background:
		radial-gradient(circle at 20% 25%, rgba(255,255,255,0.18) 0 3px, transparent 4px) 0 0 / 36px 36px,
		linear-gradient(180deg, #9bd1c1 0 330px, #79a951 330px 480px, #d2b564 480px 100%);
}

.site-header--subpage {
	position: fixed;
}

.subpage-main {
	min-height: calc(100vh - 170px);
	padding: 126px 24px 70px;
}

.subpage-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(100%, 1060px);
	min-height: 220px;
	margin: 0 auto -6px;
	padding: 34px 50px 50px;
	color: var(--cream);
	background: var(--teal);
	border: 6px solid var(--wood-deep);
	box-shadow: 8px 8px 0 var(--wood-deep);
	clip-path: var(--pixel-cut-lg);
}

.subpage-hero::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 26px;
	content: "";
	background: repeating-linear-gradient(90deg, var(--wood-warm) 0 66px, var(--wood) 66px 70px);
	border-top: 4px solid var(--wood-deep);
}

.subpage-hero .eyebrow {
	color: var(--gold-light);
}

.subpage-hero h1 {
	margin-bottom: 8px;
	font-size: clamp(2.2rem, 5vw, 4.2rem);
	line-height: 1.15;
	text-shadow: 4px 4px 0 var(--teal-dark);
}

.subpage-hero p:last-child {
	margin: 0;
	font-weight: 700;
	color: #e6efd8;
}

.subpage-hero__decoration {
	display: flex;
	gap: 12px;
	align-items: flex-end;
	padding-right: 10px;
}

.subpage-hero__decoration span {
	display: block;
	width: 28px;
	background: var(--gold);
	border: 4px solid var(--wood-deep);
	box-shadow: 3px 3px 0 var(--wood-deep);
}

.subpage-hero__decoration span:nth-child(1) { height: 52px; }
.subpage-hero__decoration span:nth-child(2) { height: 82px; background: var(--leaf); }
.subpage-hero__decoration span:nth-child(3) { height: 65px; background: var(--parchment); }

.board-shell {
	position: relative;
	z-index: 2;
	width: min(100%, 1100px);
	margin: 0 auto;
}

.category-tabs {
	display: flex;
	gap: 5px;
	align-items: flex-end;
	padding: 0 26px;
	margin-bottom: -4px;
	overflow-x: auto;
	font-size: 0.72rem;
	scrollbar-width: thin;
}

.category-tabs a {
	flex: 0 0 auto;
	min-width: 116px;
	padding: 13px 15px 15px;
	color: var(--cream);
	text-align: center;
	background: var(--wood);
	border: 4px solid var(--wood-deep);
	border-bottom: 0;
	box-shadow: inset 0 4px 0 rgba(255,255,255,0.09);
	clip-path: var(--pixel-cut-sm);
}

.category-tabs a:hover,
.category-tabs a.is-active {
	color: var(--ink);
	background: var(--parchment);
	transform: translateY(-4px);
}

.parchment-panel {
	position: relative;
	padding: 32px 34px;
	background:
		linear-gradient(rgba(102, 66, 29, 0.045) 1px, transparent 1px) 0 0 / 9px 9px,
		var(--parchment);
	border: 6px solid var(--wood-deep);
	box-shadow: 9px 9px 0 var(--wood-deep), inset 0 0 0 5px var(--parchment-shadow);
	clip-path: var(--pixel-cut-md);
}

.board-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding: 3px 5px 22px;
	border-bottom: 5px double var(--wood);
}

.board-heading > div {
	display: flex;
	align-items: center;
	gap: 11px;
}

.board-heading h2 {
	margin: 0;
	font-size: clamp(1.35rem, 3vw, 2rem);
}

.board-heading__icon {
	color: var(--gold);
	filter: drop-shadow(2px 2px 0 var(--ink));
}

.board-heading p {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	color: #795d43;
}

.board-heading p strong {
	color: var(--teal);
}

.board-search {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	gap: 8px;
	align-items: center;
	margin: 18px 0 10px;
	padding: 9px;
	background: rgba(112, 75, 38, 0.11);
	border: 3px solid rgba(93, 63, 37, 0.52);
	box-shadow: inset 3px 3px 0 rgba(255, 255, 255, 0.28);
}

.board-search__icon {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	color: var(--cream);
	font-family: var(--font-pixel);
	background: var(--teal);
	border: 2px solid var(--ink);
}

.board-search input[type="search"] {
	width: 100%;
	min-width: 0;
	height: 38px;
	padding: 7px 11px;
	color: var(--ink);
	font: 700 0.86rem/1.3 var(--font-body);
	background: var(--parchment-light);
	border: 3px solid var(--wood-deep);
	outline: none;
}

.board-search input[type="search"]:focus {
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(31, 103, 92, 0.22);
}

.board-search button,
.board-search > a {
	display: grid;
	min-width: 72px;
	height: 38px;
	padding: 0 12px;
	place-items: center;
	color: var(--cream);
	font-family: var(--font-pixel-small);
	font-size: 0.6rem;
	background: var(--teal);
	border: 3px solid var(--ink);
	box-shadow: 2px 2px 0 var(--ink);
	cursor: pointer;
}

.board-search > a {
	color: var(--ink);
	background: var(--parchment-light);
}

.board-search button:hover,
.board-search > a:hover {
	transform: translateY(-2px);
}

.board-table-wrap {
	overflow-x: auto;
}

.board-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	text-align: center;
}

.board-table th {
	padding: 15px 10px;
	font-family: var(--font-pixel-small);
	font-size: 0.67rem;
	color: var(--cream);
	background: var(--teal);
	border-bottom: 4px solid var(--ink);
}

.board-table th:nth-child(1) { width: 70px; }
.board-table th:nth-child(2) { width: 112px; }
.board-table th:nth-child(4) { width: 112px; }
.board-table th:nth-child(5) { width: 70px; }

.board-table td {
	padding: 15px 10px;
	border-bottom: 2px dashed rgba(93, 63, 37, 0.28);
}

.board-table tbody tr:hover {
	background: rgba(232, 178, 58, 0.13);
}

.board-table__title {
	text-align: left;
}

.board-table__title a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 800;
}

.board-table__title a:hover {
	color: var(--teal);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.category-badge {
	display: inline-grid;
	min-width: 78px;
	min-height: 27px;
	padding: 4px 7px;
	place-items: center;
	color: var(--cream);
	font-size: 0.58rem;
	line-height: 1;
	background: var(--teal);
	border: 2px solid var(--ink);
	box-shadow: 2px 2px 0 var(--ink);
}

.category-badge--update { background: var(--grass); }
.category-badge--notice { color: var(--ink); background: var(--gold); }

.board-card-list {
	display: none;
}

.empty-board {
	display: grid;
	padding: 70px 20px;
	place-items: center;
	text-align: center;
}

.empty-board > span {
	display: grid;
	width: 52px;
	height: 52px;
	margin-bottom: 14px;
	place-items: center;
	font-family: var(--font-pixel);
	background: var(--gold);
	border: 4px solid var(--ink);
	box-shadow: 4px 4px 0 var(--ink);
}

.empty-board h3 { margin-bottom: 7px; }
.empty-board p { margin: 0; font-weight: 700; color: #765a42; }

.pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding-top: 24px;
}

.pagination a,
.pagination span {
	display: grid;
	min-width: 42px;
	height: 38px;
	padding: 0 9px;
	place-items: center;
	font-family: var(--font-pixel-small);
	font-size: 0.62rem;
	background: var(--parchment-light);
	border: 3px solid var(--ink);
	box-shadow: 3px 3px 0 var(--ink);
}

.pagination a.is-current {
	color: var(--cream);
	background: var(--teal);
}

.pagination .is-disabled {
	opacity: 0.45;
}

.compact-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	min-height: 120px;
	padding: 20px;
	color: var(--cream);
	background: var(--wood-dark);
	border-top: 6px solid var(--wood-deep);
}

.compact-footer img {
	width: 150px;
	height: 70px;
	object-fit: contain;
	image-rendering: pixelated;
}

.compact-footer p {
	margin: 0;
	font-size: 0.76rem;
	opacity: 0.84;
}

/* Detail */
.detail-main {
	display: grid;
	padding-top: 150px;
	place-items: start center;
}

.post-detail {
	width: min(100%, 930px);
	padding: 38px clamp(24px, 5vw, 62px);
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 28px;
	font-family: var(--font-pixel-small);
	font-size: 0.62rem;
	color: #73563e;
}

.breadcrumb a:hover { color: var(--teal); }

.post-detail__header {
	padding-bottom: 27px;
	border-bottom: 5px double var(--wood);
}

.post-detail__header > div {
	display: flex;
	gap: 9px;
	align-items: center;
	margin-bottom: 18px;
}

.post-detail__header h1 {
	margin-bottom: 20px;
	font-size: clamp(1.5rem, 3.5vw, 2.5rem);
	line-height: 1.5;
}

.post-detail__header > p {
	display: flex;
	gap: 16px;
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	color: #725941;
}

.post-detail__body {
	min-height: 300px;
	padding: 38px 4px;
}

.post-detail__body > p {
	font-size: 1rem;
	font-weight: 600;
	line-height: 2;
}

.post-detail__body .post-lead {
	margin-bottom: 28px;
	padding: 20px 22px;
	font-weight: 800;
	background: rgba(232, 178, 58, 0.16);
	border-left: 6px solid var(--gold);
}

.prototype-note {
	margin-top: 34px;
	padding: 18px 20px;
	background: rgba(22, 81, 75, 0.1);
	border: 3px dashed var(--teal);
}

.prototype-note strong {
	color: var(--teal);
	font-family: var(--font-pixel-small);
	font-size: 0.65rem;
}

.prototype-note p {
	margin: 7px 0 0;
	font-size: 0.82rem;
	font-weight: 700;
}

.post-detail__footer {
	display: flex;
	justify-content: center;
	padding-top: 28px;
	border-top: 5px double var(--wood);
}

/* Login */
.login-page {
	min-height: 100vh;
	background:
		linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 8px 8px,
		linear-gradient(180deg, #173f3d, #0d2d2c);
}

.login-shell {
	display: grid;
	width: min(100%, 560px);
	min-height: 100vh;
	padding: 34px 22px;
	margin: 0 auto;
	place-items: center;
	align-content: center;
}

.login-brand {
	width: min(420px, 90vw);
	margin: -50px auto -55px;
	filter: drop-shadow(0 7px 0 rgba(0,0,0,0.3));
	image-rendering: pixelated;
}

.login-panel {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 46px clamp(24px, 7vw, 52px) 34px;
	text-align: center;
	background:
		linear-gradient(rgba(102, 66, 29, 0.045) 1px, transparent 1px) 0 0 / 9px 9px,
		var(--parchment);
	border: 7px solid var(--wood);
	box-shadow: 0 0 0 6px var(--wood-deep), 10px 10px 0 var(--wood-deep);
	clip-path: var(--pixel-cut-md);
}

.login-panel__badge {
	position: absolute;
	top: -28px;
	left: 50%;
	display: grid;
	width: 74px;
	height: 50px;
	place-items: center;
	color: var(--cream);
	font-family: var(--font-pixel-small);
	font-size: 0.64rem;
	background: var(--teal);
	border: 5px solid var(--wood-deep);
	box-shadow: 4px 4px 0 var(--wood-deep);
	transform: translateX(-50%);
}

.login-panel .eyebrow {
	justify-content: center;
}

.login-panel h1 {
	margin-bottom: 10px;
	font-size: clamp(1.6rem, 6vw, 2.3rem);
}

.login-panel > p:not(.eyebrow) {
	margin-bottom: 24px;
	font-size: 0.88rem;
	font-weight: 700;
	color: #725942;
}

.login-form {
	display: grid;
	gap: 9px;
	text-align: left;
}

.login-form label {
	margin-top: 5px;
	font-family: var(--font-pixel-small);
	font-size: 0.65rem;
}

.login-form input {
	width: 100%;
	height: 52px;
	padding: 0 15px;
	color: var(--ink);
	font-weight: 700;
	background: var(--parchment-light);
	border: 4px solid var(--ink);
	box-shadow: inset 4px 4px 0 rgba(126, 84, 43, 0.16);
	border-radius: 0;
}

.login-form input:focus {
	background: var(--white);
}

.login-form .pixel-button {
	width: 100%;
	margin-top: 15px;
}

.login-back {
	display: inline-block;
	margin-top: 25px;
	font-family: var(--font-pixel-small);
	font-size: 0.65rem;
	color: var(--teal);
}

.form-message {
	padding: 11px 13px;
	margin-bottom: 14px;
	font-size: 0.8rem;
	font-weight: 800;
	text-align: left;
	border: 3px solid var(--ink);
}

.form-message--error { color: #6b1c17; background: #f0b3a3; }
.form-message--success { color: #174b32; background: #b9dda4; }

.login-note {
	max-width: 460px;
	margin: 28px auto 0;
	color: #b7d1bf;
	font-size: 0.75rem;
	font-weight: 700;
	text-align: center;
}

/* Responsive */
@media (max-width: 1080px) {
	.hero__inner {
		grid-template-columns: minmax(0, 700px);
	}

	.hero__logo {
		margin-left: -5%;
	}

	.feature-grid,
	.feature-grid--reverse {
		gap: 56px;
	}

	.news-grid {
		gap: 15px;
	}

	.guild-board {
		padding-right: 25px;
		padding-left: 25px;
	}

	.notice-card {
		padding: 17px;
	}
}

@media (min-width: 901px) and (max-height: 820px) {
	.hero {
		padding-top: 108px;
		padding-bottom: 54px;
	}

	.hero__logo {
		width: min(560px, 100%);
		margin-top: -44px;
		margin-bottom: -26px;
	}

	.hero h1 { font-size: clamp(2.3rem, 3.3vw, 3.35rem); }
	.hero__description { margin-bottom: 18px; }
	.hero__tags { margin-top: 18px; }
}

@media (max-width: 900px) {
	:root {
		--nav-gutter: 12px;
		--header-height: 68px;
	}

	.site-header { top: 10px; }

	.nav-sign {
		width: 100%;
		padding-right: 18px;
		padding-left: 18px;
	}

	.nav-sign__root { display: none; }

	.nav-sign__vine--right { display: none; }

	.nav-sign__vine--left {
		left: 132px;
		width: 112px;
		opacity: 0.72;
	}

	.brand-link {
		flex-basis: 160px;
		width: auto;
		height: 58px;
	}

	.brand-link img { width: 150px; }

	.nav-sign > .menu-toggle {
		display: flex;
		margin-left: auto;
	}

	.nav-sign > .primary-nav {
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		z-index: 6;
		display: grid;
		width: min(320px, calc(100vw - var(--nav-gutter) - var(--nav-gutter)));
		padding: 12px;
		background:
			repeating-linear-gradient(176deg, transparent 0 8px, rgba(45, 22, 11, 0.22) 9px 11px, transparent 12px 21px),
			linear-gradient(180deg, #98613e, #704129);
		border: 4px solid var(--wood-deep);
		box-shadow: 6px 6px 0 var(--wood-deep), inset 0 4px 0 rgba(255, 216, 145, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
	}

	.primary-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.primary-nav a {
		justify-content: start;
		width: 100%;
		min-width: 0;
		padding: 0 18px;
	}

	.primary-nav a::before { inset: 0; }
	.primary-nav a::after { right: 18px; left: 18px; }

	.hero {
		padding-top: 110px;
	}

	.hero__animated-background {
		object-position: 66% center;
		filter: brightness(0.72) saturate(0.88);
	}

	.hero::before {
		background:
			linear-gradient(180deg, rgba(7, 31, 29, 0.78), rgba(7, 31, 29, 0.57) 48%, rgba(7, 31, 29, 0.84)),
			linear-gradient(90deg, rgba(7, 31, 29, 0.56), rgba(7, 31, 29, 0.24));
	}

	.hero__inner {
		grid-template-columns: minmax(0, 610px);
		justify-content: center;
		max-width: 680px;
	}

	.hero__copy {
		text-align: center;
	}

	.hero__copy .eyebrow,
	.hero__actions,
	.hero__tags {
		justify-content: center;
	}

	.hero__logo {
		width: min(540px, 88vw);
		margin: -50px auto -34px;
	}

	.game-window {
		width: min(100%, 680px);
		margin: 0 auto;
	}

	.feature-section {
		padding-top: 122px;
	}

	.feature-section--management {
		background:
			linear-gradient(rgba(251, 230, 162, 0.76), rgba(234, 197, 137, 0.72)),
			url("../images/backgrounds/management-shop-pixel.png") 60% center / cover no-repeat;
	}

	.feature-section--life {
		background:
			linear-gradient(rgba(247, 234, 183, 0.7), rgba(223, 216, 151, 0.72)),
			url("../images/backgrounds/life-farm-pixel.png") 52% center / cover no-repeat;
	}

	.feature-section--battle {
		background:
			linear-gradient(rgba(240, 236, 177, 0.72), rgba(214, 224, 153, 0.68)),
			url("../images/backgrounds/exploration-forest-pixel.png") 56% center / cover no-repeat;
	}

	.feature-grid,
	.feature-grid--reverse {
		grid-template-columns: 1fr;
		gap: 55px;
		max-width: 720px;
	}

	.feature-grid--reverse .wood-frame-wrap { order: 2; }
	.feature-grid--reverse .feature-copy { order: 1; }

	.feature-copy {
		text-align: center;
	}

	.feature-copy .eyebrow { justify-content: center; }

	.feature-copy > p:not(.eyebrow) { margin-right: auto; margin-left: auto; }

	.feature-list {
		width: fit-content;
		margin: 0 auto;
		text-align: left;
	}

	.section-number {
		left: 50%;
		transform: translateX(-50%);
	}

	.wood-frame,
	.battle-preview {
		width: min(100%, 680px);
		margin: 0 auto;
	}

	.news-section {
		padding-top: 118px;
	}

	.news-section__inner { justify-content: flex-start; }

	.news-heading { margin-bottom: 38px; }

	.guild-board {
		min-height: 0;
		padding: 86px 20px 32px;
	}

	.news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.notice-card:last-child {
		grid-column: 1 / -1;
		width: calc(50% - 8px);
		justify-self: center;
	}

	.site-footer {
		grid-template-columns: 150px 1fr;
	}

	.site-footer nav { grid-column: 2; }
	.site-footer small { grid-column: 2; }

	.subpage-main { padding-top: 112px; }
}

@media (max-width: 700px) {
	html:not(.home-scroll) { scroll-padding-top: 90px; }

	.section-snap { min-height: 100svh; }

	.nav-sign {
		padding-right: 14px;
		padding-left: 14px;
	}

	.nav-sign__vine { display: none; }

	.hero {
		min-height: 100svh;
		padding: 104px 18px 78px;
	}

	.hero__animated-background {
		object-position: 72% center;
		transform: scale(1.12);
	}

	.hero::before {
		background: linear-gradient(180deg, rgba(7, 31, 29, 0.82), rgba(7, 31, 29, 0.62) 43%, rgba(7, 31, 29, 0.88));
	}

	.hero__logo {
		width: min(440px, 100%);
		max-width: 100%;
		margin: -38px auto -24px;
	}

	.hero h1 {
		font-size: clamp(1.75rem, 8vw, 2.45rem);
	}

	.hero__description br { display: none; }

	.hero__actions {
		display: grid;
		grid-template-columns: 1fr;
		width: min(100%, 390px);
		margin: 0 auto;
	}

	.pixel-button { width: 100%; }

	.hero__tags { margin-top: 22px; }

	.game-window__topbar { font-size: 0.55rem; }

	.scroll-cue { bottom: 14px; }

	.feature-section {
		padding: 112px 18px 92px;
	}

	.feature-grid,
	.feature-grid--reverse { gap: 45px; }

	.feature-copy h2 {
		font-size: clamp(2rem, 10.5vw, 3rem);
	}

	.feature-copy > p:not(.eyebrow) {
		font-size: 0.96rem;
		line-height: 1.85;
	}

	.feature-list li { font-size: 0.91rem; }

	.wood-frame {
		padding: 10px;
		border-width: 5px;
		box-shadow: 7px 7px 0 var(--wood-deep), inset 0 0 0 3px #b27a4e;
	}

	.wood-frame--square img {
		aspect-ratio: 4 / 3;
		object-position: 50% 44%;
	}

	.battle-preview {
		border-width: 10px;
		box-shadow: 0 0 0 5px var(--wood-deep), 7px 7px 0 var(--wood-deep);
	}

	.news-section {
		padding: 106px 10px 38px;
	}

	.news-heading {
		padding: 0 10px;
		margin-bottom: 36px;
	}

	.guild-board {
		padding: 78px 14px 27px;
		border-width: 7px;
		filter: drop-shadow(7px 9px 0 rgba(26, 13, 7, 0.56));
	}

	.guild-board__plaque {
		top: 12px;
		width: min(390px, 88%);
		min-height: 58px;
		padding-right: 34px;
		padding-left: 34px;
	}

	.news-grid { grid-template-columns: 1fr; }

	.notice-card,
	.notice-card:last-child {
		grid-column: auto;
		width: min(100%, 390px);
		justify-self: center;
	}

	.notice-card { min-height: 235px; }
	.notice-card--teal { --paper-offset: 0; }
	.notice-card--green { --paper-offset: 4px; }
	.notice-card--gold { --paper-offset: 0; }

	.site-footer {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.site-footer--page {
		padding: 22px 18px 18px;
	}

	.footer-brand { grid-row: auto; }
	.site-footer nav,
	.site-footer small { grid-column: auto; }

	.site-footer nav { flex-wrap: wrap; justify-content: center; }

	.download-toast {
		right: 16px;
		bottom: 16px;
	}

	.subpage-main {
		padding: 105px 14px 55px;
	}

	.subpage-hero {
		min-height: 190px;
		padding: 28px 24px 46px;
	}

	.subpage-hero__decoration { display: none; }

	.board-shell { margin-top: 10px; }

	.category-tabs {
		padding: 0 7px;
	}

	.category-tabs a {
		min-width: 96px;
		padding-right: 10px;
		padding-left: 10px;
	}

	.parchment-panel {
		padding: 23px 16px;
		border-width: 5px;
		box-shadow: 6px 6px 0 var(--wood-deep), inset 0 0 0 3px var(--parchment-shadow);
	}

	.board-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}

	.board-search {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.board-search > a {
		grid-column: 2 / -1;
		justify-self: end;
	}

	.board-table-wrap { display: none; }

	.board-card-list {
		display: grid;
		gap: 10px;
		padding-top: 15px;
	}

	.board-mobile-card {
		display: grid;
		gap: 9px;
		padding: 16px;
		background: var(--parchment-light);
		border: 3px solid var(--ink);
		box-shadow: 3px 3px 0 var(--ink);
	}

	.board-mobile-card > div {
		display: flex;
		gap: 8px;
		align-items: center;
	}

	.board-mobile-card strong { line-height: 1.55; }

	.board-mobile-card p {
		margin: 0;
		font-size: 0.8rem;
		font-weight: 650;
		color: #6f5740;
	}

	.board-mobile-card small {
		display: flex;
		justify-content: space-between;
		color: #765f47;
	}

	.compact-footer {
		flex-direction: column;
		gap: 4px;
	}

	.detail-main { padding-top: 112px; }

	.post-detail__header h1 { font-size: 1.45rem; }

	.post-detail__body { padding: 28px 2px; }

	.login-shell { padding-right: 16px; padding-left: 16px; }

	.login-brand { margin-bottom: -42px; }
}

@media (max-width: 460px) {
	:root {
		--nav-gutter: 8px;
		--header-height: 62px;
	}

	.nav-sign {
		width: 100%;
		padding-right: 10px;
		padding-left: 10px;
	}

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

	.brand-link { flex-basis: 130px; width: auto; height: 52px; }
	.brand-link img { width: 127px; }

	.menu-toggle__label { display: none; }

	.hero { padding-top: 94px; }

	.hero__logo { margin-top: -44px; margin-bottom: -28px; }

	.hero h1 { font-size: 1.68rem; }

	.hero__tags li { font-size: 0.58rem; }

	.game-window__topbar > span:nth-child(2) { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

	.feature-copy h2 { font-size: 2rem; }

	.feature-list li { align-items: flex-start; }

	.news-heading h2 { font-size: 2rem; }

	.notice-card { padding: 15px; }

	.guild-board__plaque strong { font-size: 0.76rem; }
	.guild-board__plaque small { font-size: 0.46rem; }

	.subpage-hero { padding-left: 20px; }
	.subpage-hero h1 { font-size: 2rem; }

	.category-tabs a { min-width: 89px; font-size: 0.63rem; }

	.post-detail { padding-right: 17px; padding-left: 17px; }

	.post-detail__header > p { flex-wrap: wrap; }

	.login-panel { padding-right: 22px; padding-left: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}
