:root {
	--cream: #fbf6e9;
	--cream-deep: #f2ead7;
	--sage: #81957a;
	--sage-dark: #435c4b;
	--sage-pale: #dce5d5;
	--petal: #e9b8b2;
	--petal-pale: #f5dcda;
	--brown: #8b6e55;
	--brown-dark: #4e4034;
	--yellow: #e9c96c;
	--blue: #9ebcbd;
	--paper: #fffaf0;
	--line: rgba(78, 64, 52, 0.2);
	--text: #4e4034;
	--muted: #74695e;
	--container: 1180px;
	--wide-container: 1380px;
	--section-space: clamp(88px, 10vw, 150px);
	--small-radius: 8px;
	--medium-radius: 14px;
	--font: "Noto Sans TC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; overflow-x: hidden; background-color: var(--cream); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.8; text-rendering: optimizeLegibility; }
body::before { position: fixed; inset: 0; z-index: -2; background-image: radial-gradient( circle at 15% 20%, rgba(233, 184, 178, 0.12), transparent 28% ), radial-gradient( circle at 84% 65%, rgba(129, 149, 122, 0.11), transparent 31% ); content: ""; pointer-events: none; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { color: inherit; font: inherit; }

p { margin: 0; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: 0.015em; }
h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.3; }
h3 { font-size: clamp(21px, 2.2vw, 29px); line-height: 1.4; }

ul, ol { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--brown-dark); color: var(--paper); transform: translateY(-150%); transition: transform 0.2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.site-container-wide { width: min(calc(100% - 48px), var(--wide-container)); margin-inline: auto; }

.section-heading { max-width: 720px; }
.section-heading p { max-width: 650px; margin-top: 20px; color: var(--muted); }

.section-kicker { display: block; margin-bottom: 13px; color: var(--sage-dark); font-size: 14px; font-weight: 700; letter-spacing: 0.13em; }

.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--sage-dark); font-weight: 600; }
.text-link::after { content: "→"; transition: transform 0.25s ease; }
.text-link:hover::after, .text-link:focus-visible::after { transform: translateX(5px); }

.primary-link, .secondary-link { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid var(--sage-dark); font-weight: 600; transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease; }
.primary-link { background: var(--sage-dark); color: var(--paper); }
.secondary-link { background: rgba(255, 250, 240, 0.72); color: var(--sage-dark); }
.primary-link:hover, .primary-link:focus-visible, .secondary-link:hover, .secondary-link:focus-visible { transform: translateY(-2px); }
.primary-link:hover, .primary-link:focus-visible { background: var(--brown-dark); }
.secondary-link:hover, .secondary-link:focus-visible { background: var(--sage-pale); }

button:focus-visible, a:focus-visible { outline: 3px solid rgba(233, 201, 108, 0.85); outline-offset: 4px; }

[data-reveal] { opacity: 0.32; filter: saturate(0.74); transition: opacity 0.75s ease, filter 0.75s ease; }
[data-reveal].is-visible { opacity: 1; filter: saturate(1); }

/* header */
header.site-header { position: relative; min-height: 930px; overflow: hidden; border-bottom: 1px solid var(--line); background-color: var(--cream); }
header.site-header::after { position: absolute; right: -40px; bottom: -115px; width: 350px; height: 680px; background: url(../images/header-botanical.webp) no-repeat center / contain; content: ""; opacity: .2; pointer-events: none; transform: rotate(8deg); }
header.site-header.is-scrolled .header-nav { min-height: 76px; border-color: var(--line); background: rgba(251, 246, 233, .96); }
header.site-header.is-scrolled .header-nav-inner { min-height: 76px; }

header .header-nav { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; min-height: 92px; border-bottom: 1px solid transparent; background: rgba(251, 246, 233, .72); backdrop-filter: blur(8px); transition: min-height .3s ease, background-color .3s ease, border-color .3s ease; }
header .header-nav-inner { position: relative; display: grid; min-height: 92px; grid-template-columns: 1fr auto; align-items: center; transition: min-height .3s ease; }
header .header-brand { position: absolute; top: 50%; left: 50%; z-index: 3; display: flex; flex-direction: column; align-items: center; line-height: 1.25; transform: translate(-50%, -50%); }
header .header-brand strong { color: var(--sage-dark); font-size: 18px; letter-spacing: .1em; white-space: nowrap; }
header .header-brand span { margin-top: 3px; color: var(--brown); font-size: 11px; letter-spacing: .16em; white-space: nowrap; }
header .header-menu { width: 100%; }
header .header-link-list { display: grid; width: 100%; grid-template-columns: max-content max-content max-content minmax(230px, 1fr) max-content max-content max-content; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
header .header-link-list li:nth-child(1) { grid-column: 1; }
header .header-link-list li:nth-child(2) { grid-column: 2; }
header .header-link-list li:nth-child(3) { grid-column: 3; }
header .header-link-list li:nth-child(4) { grid-column: 5; }
header .header-link-list li:nth-child(5) { grid-column: 6; }
header .header-link-list li:nth-child(6) { grid-column: 7; }
header .header-link-list a { position: relative; display: block; padding: 10px 0; white-space: nowrap; }
header .header-link-list a::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: var(--sage-dark); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
header .header-link-list a:hover::after, header .header-link-list a:focus-visible::after { transform: scaleX(1); }
header .menu-toggle { display: none; min-width: 58px; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--sage-dark); background: var(--cream); cursor: pointer; }
header .menu-toggle-text { font-size: 14px; font-weight: 600; }
header .menu-toggle-icon { position: relative; display: block; width: 17px; height: 12px; }
header .menu-toggle-icon i { position: absolute; left: 0; width: 17px; height: 1px; background: var(--sage-dark); transition: top .25s ease, transform .25s ease; }
header .menu-toggle-icon i:first-child { top: 3px; }
header .menu-toggle-icon i:last-child { top: 9px; }
header .header-nav.is-open .menu-toggle-icon i:first-child { top: 6px; transform: rotate(45deg); }
header .header-nav.is-open .menu-toggle-icon i:last-child { top: 6px; transform: rotate(-45deg); }

header .hero { position: relative; min-height: 930px; padding: 150px 0 75px; }
header .hero-heading { position: relative; z-index: 3; max-width: 720px; margin: 0 auto 20px; text-align: center; }
header .hero-heading h1 { color: var(--sage-dark); font-size: clamp(36px, 5vw, 62px); line-height: 1.18; letter-spacing: 0.045em; }
header .hero-heading p { max-width: 590px; margin: 18px auto 0; color: var(--muted); font-size: 18px; }
header .hero-garden { position: relative; width: min(680px, 66vw); margin: 18px auto 0; }
header .hero-figure { position: relative; z-index: 2; overflow: hidden; aspect-ratio: 1/1; background: var(--paper); }
header .hero-figure::after { position: absolute; inset: 0; border: 18px solid rgba(255, 250, 240, 0.58); content: ""; pointer-events: none; }
header .hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1.1s ease; }
header .hero-figure:hover img { transform: scale(1.025); }
header .hero-note-list li { position: absolute; z-index: 4; width: 190px; padding: 12px 16px; border-top: 1px solid var(--brown); background: rgba(251, 246, 233, 0.86); color: var(--muted); font-size: 14px; line-height: 1.6; backdrop-filter: blur(5px); }
header .hero-note-list strong { display: block; margin-bottom: 2px; color: var(--sage-dark); font-size: 16px; }
header .hero-note-list li:nth-child(1) { top: 22%; left: -190px; text-align: right; }
header .hero-note-list li:nth-child(2) { top: 24%; right: -190px; }
header .hero-note-list li:nth-child(3) { bottom: 18%; left: -168px; text-align: right; }
header .hero-note-list li:nth-child(4) { right: -174px; bottom: 15%; }
header .hero-actions { position: relative; z-index: 5; display: flex; justify-content: center; gap: 12px; margin-top: -12px; }
header .hero-weather { position: absolute; bottom: 46px; left: 50%; display: flex; width: min(calc(100% - 48px), var(--container)); justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; transform: translateX(-50%); }
header .hero-weather strong { color: var(--brown-dark); font-weight: 600; }

/* game-loop */
#game-loop { padding: var(--section-space) 0; background: var(--paper); }
#game-loop .loop-layout { display: grid; grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.55fr); gap: 90px; align-items: start; }
#game-loop .loop-heading { position: sticky; top: 135px; }
#game-loop .loop-heading p { margin: 22px 0 30px; color: var(--muted); }
#game-loop .loop-list { position: relative; padding-left: 62px; }
#game-loop .loop-list::before { position: absolute; top: 28px; bottom: 28px; left: 20px; width: 1px; background: var(--line); content: ""; transform: scaleY(0); transform-origin: top; transition: transform 1.1s ease; }
#game-loop .loop-list.is-visible::before { transform: scaleY(1); }
#game-loop .loop-step { position: relative; display: grid; min-height: 145px; grid-template-columns: 150px 1fr; gap: 34px; align-items: start; padding: 26px 0 34px; border-bottom: 1px solid var(--line); }
#game-loop .loop-step:first-child { padding-top: 0; }
#game-loop .loop-step::before { position: absolute; top: 34px; left: -50px; width: 17px; height: 17px; border: 4px solid var(--paper); border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 1px var(--sage); content: ""; }
#game-loop .loop-step:first-child::before { top: 7px; }
#game-loop .loop-step:nth-child(2)::before { background: var(--petal); box-shadow: 0 0 0 1px var(--petal); }
#game-loop .loop-step:nth-child(3)::before { background: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
#game-loop .loop-step:nth-child(4)::before { background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
#game-loop .loop-step strong { color: var(--sage-dark); font-size: 18px; }
#game-loop .loop-step p { max-width: 560px; color: var(--muted); }
#game-loop .loop-step span { display: block; margin-top: 8px; color: var(--brown); font-size: 14px; font-weight: 600; }

/* plant-atlas */
#plant-atlas { padding: var(--section-space) 0; background: var(--cream-deep); }
#plant-atlas .atlas-header { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 58px; }
#plant-atlas .atlas-header p { max-width: 530px; color: var(--muted); }
#plant-atlas .atlas-stage { display: grid; min-height: 650px; grid-template-columns: 210px minmax(330px, 0.95fr) minmax(310px, 0.8fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#plant-atlas .atlas-tab-list { padding: 42px 28px 42px 0; border-right: 1px solid var(--line); }
#plant-atlas .atlas-tab { display: block; width: 100%; padding: 18px 5px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); text-align: left; cursor: pointer; transition: color 0.25s ease, padding-left 0.25s ease; }
#plant-atlas .atlas-tab:hover, #plant-atlas .atlas-tab:focus-visible, #plant-atlas .atlas-tab.is-active { padding-left: 10px; color: var(--sage-dark); }
#plant-atlas .atlas-tab.is-active { font-weight: 700; }
#plant-atlas .atlas-tab small { display: block; margin-top: 3px; color: var(--brown); font-size: 13px; }
#plant-atlas .atlas-figure { display: flex; align-items: stretch; justify-content: center; background: rgba(255, 250, 240, 0.42); }
#plant-atlas .atlas-figure-inner { display: flex; width: 100%; min-height: 510px; align-items: center; justify-content: center; background-color: var(--paper); background-image: url(../images/plant-atlas-background.webp); background-position: center; background-size: cover; }
#plant-atlas .atlas-figure img { width: 74%; max-height: 410px; object-fit: contain; filter: drop-shadow(0 13px 20px rgba(78, 64, 52, 0.1)); transition: opacity 0.25s ease, transform 0.25s ease; }
#plant-atlas .atlas-figure img.is-changing { opacity: 0.15; transform: scale(0.97); }
#plant-atlas .atlas-detail { display: flex; flex-direction: column; justify-content: center; padding: 55px 0 55px 48px; }
#plant-atlas .atlas-detail-name { color: var(--sage-dark); font-size: clamp(28px, 3vw, 40px); line-height: 1.25; }
#plant-atlas .atlas-detail-summary { margin-top: 20px; color: var(--muted); }
#plant-atlas .atlas-trait-list { margin-top: 30px; border-top: 1px solid var(--line); }
#plant-atlas .atlas-trait-list li { display: flex; justify-content: space-between; gap: 30px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
#plant-atlas .atlas-trait-list span { color: var(--muted); }
#plant-atlas .atlas-detail .text-link { align-self: flex-start; margin-top: 30px; }

/* spirit-archive */
#spirit-archive { padding: var(--section-space) 0; background: var(--paper); }
#spirit-archive .spirit-header { display: grid; grid-template-columns: 1fr 0.9fr; gap: 70px; align-items: end; margin-bottom: 55px; }
#spirit-archive .spirit-header p { color: var(--muted); }
#spirit-archive .spirit-scene { position: relative; display: grid; min-height: 660px; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.62fr); overflow: hidden; background: var(--sage-pale); }
#spirit-archive .spirit-scene-figure { position: relative; overflow: hidden; min-height: 660px; }
#spirit-archive .spirit-scene-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: opacity 0.28s ease, transform 0.28s ease; }
#spirit-archive .spirit-scene-figure img.is-changing { opacity: 0.18; transform: scale(1.012); }
#spirit-archive .spirit-panel { display: flex; flex-direction: column; justify-content: center; padding: 55px 48px; background: rgba(251, 246, 233, 0.88); }
#spirit-archive .spirit-name { color: var(--sage-dark); font-size: clamp(30px, 3vw, 42px); }
#spirit-archive .spirit-role { margin-top: 4px; color: var(--brown); font-weight: 600; }
#spirit-archive .spirit-description { margin-top: 22px; color: var(--muted); }
#spirit-archive .spirit-preference { margin-top: 26px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
#spirit-archive .spirit-preference strong { color: var(--sage-dark); }
#spirit-archive .spirit-tab-list { display: flex; gap: 8px; margin-top: 32px; }
#spirit-archive .spirit-tab { min-width: 56px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background-color 0.25s ease, border-color 0.25s ease; }
#spirit-archive .spirit-tab:hover, #spirit-archive .spirit-tab:focus-visible, #spirit-archive .spirit-tab.is-active { border-color: var(--sage-dark); background: var(--sage-dark); color: var(--paper); }

/* garden-compose */
#garden-compose { padding: var(--section-space) 0; overflow: hidden; background: var(--cream); }
#garden-compose .compose-layout { display: grid; grid-template-columns: minmax(280px, 0.66fr) minmax(0, 1.34fr); gap: 80px; align-items: center; }
#garden-compose .compose-copy p { margin: 22px 0 30px; color: var(--muted); }
#garden-compose .compose-mode-list { margin-top: 35px; }
#garden-compose .compose-mode-list li { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); }
#garden-compose .compose-mode-list strong { color: var(--sage-dark); font-size: 15px; }
#garden-compose .compose-mode-list span { color: var(--muted); font-size: 15px; }
#garden-compose .compose-collage { position: relative; min-height: 710px; }
#garden-compose .compose-figure { position: absolute; overflow: hidden; background: var(--paper); }
#garden-compose .compose-figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) brightness(1.04); transition: filter 0.35s ease, transform 0.55s ease; }
#garden-compose .compose-figure:hover img { filter: saturate(1) brightness(1.02); transform: scale(1.02); }
#garden-compose .compose-figure figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 12px 15px; background: rgba(255, 250, 240, 0.9); color: var(--brown-dark); font-size: 14px; }
#garden-compose .compose-figure-main { top: 20px; left: 9%; width: 59%; height: 68%; }
#garden-compose .compose-figure-side { top: 4%; right: -4%; width: 36%; height: 44%; }
#garden-compose .compose-figure-bottom { right: 5%; bottom: 3%; width: 49%; height: 40%; }
#garden-compose .compose-note { position: absolute; bottom: 9%; left: 0; z-index: 3; width: 220px; padding: 20px; border-left: 4px solid var(--petal); background: var(--paper); color: var(--muted); font-size: 14px; }

/* greenhouse */
#greenhouse { padding: var(--section-space) 0; background: var(--sage-dark); color: var(--cream); }
#greenhouse .greenhouse-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: 80px; align-items: center; }
#greenhouse .greenhouse-figure { position: relative; overflow: hidden; aspect-ratio: 4/5; }
#greenhouse .greenhouse-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.7) sepia(0.08); }
#greenhouse .greenhouse-figure figcaption { position: absolute; right: 20px; bottom: 18px; left: 20px; padding: 14px 16px; background: rgba(67, 92, 75, 0.9); color: var(--cream); font-size: 14px; }
#greenhouse .greenhouse-copy .section-kicker { color: var(--yellow); }
#greenhouse .greenhouse-copy h2 { color: var(--paper); }
#greenhouse .greenhouse-copy > p { margin-top: 24px; color: rgba(251, 246, 233, 0.76); }
#greenhouse .repair-list { margin-top: 38px; counter-reset: repair-step; }
#greenhouse .repair-list li { position: relative; padding: 20px 0 20px 55px; border-top: 1px solid rgba(251, 246, 233, 0.2); color: rgba(251, 246, 233, 0.75); counter-increment: repair-step; }
#greenhouse .repair-list li::before { position: absolute; top: 19px; left: 0; color: var(--yellow); content: "0" counter(repair-step); font-weight: 700; }
#greenhouse .repair-list strong { display: block; margin-bottom: 3px; color: var(--paper); }
#greenhouse .greenhouse-copy .text-link { margin-top: 30px; color: var(--yellow); }

/* seasons */
#seasons { position: relative; padding: var(--section-space) 0; overflow: hidden; background: var(--petal-pale); }
#seasons::after { position: absolute; top: -40px; right: -90px; width: 430px; height: 640px; background-image: url(../images/season-flower-decoration.webp); background-repeat: no-repeat; background-position: center; background-size: contain; content: ""; opacity: 0.11; pointer-events: none; transform: rotate(7deg); }
#seasons .season-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr); gap: 80px; }
#seasons .season-intro p { margin-top: 22px; color: var(--muted); }
#seasons .season-tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
#seasons .season-tab { min-height: 46px; padding: 9px 18px; border: 1px solid rgba(78, 64, 52, 0.26); background: transparent; cursor: pointer; }
#seasons .season-tab:hover, #seasons .season-tab:focus-visible, #seasons .season-tab.is-active { border-color: var(--brown-dark); background: var(--brown-dark); color: var(--paper); }
#seasons .season-panel { min-height: 465px; padding: 55px; background: rgba(255, 250, 240, 0.72); }
#seasons .season-name { color: var(--sage-dark); font-size: clamp(30px, 3.4vw, 46px); }
#seasons .season-weather { margin-top: 6px; color: var(--brown); font-weight: 600; }
#seasons .season-description { max-width: 590px; margin-top: 22px; color: var(--muted); }
#seasons .season-effect-list { margin-top: 32px; }
#seasons .season-effect-list li { display: grid; grid-template-columns: 135px 1fr; gap: 25px; padding: 15px 0; border-top: 1px solid var(--line); }
#seasons .season-effect-list strong { color: var(--sage-dark); font-size: 15px; }
#seasons .season-effect-list span { color: var(--muted); font-size: 15px; }

/* daily-life */
#daily-life { padding: var(--section-space) 0; background: var(--paper); }
#daily-life .daily-header { display: flex; align-items: end; justify-content: space-between; gap: 55px; margin-bottom: 60px; }
#daily-life .daily-header p { max-width: 560px; color: var(--muted); }
#daily-life .daily-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: 70px; }
#daily-life .daily-diary { border-top: 1px solid var(--line); }
#daily-life .daily-entry { display: grid; grid-template-columns: 135px 1fr auto; gap: 28px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
#daily-life .daily-entry time { color: var(--brown); font-size: 14px; font-weight: 700; }
#daily-life .daily-entry h3 { color: var(--sage-dark); font-size: 22px; }
#daily-life .daily-entry p { max-width: 520px; margin-top: 7px; color: var(--muted); font-size: 15px; }
#daily-life .daily-entry span { padding: 3px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
#daily-life .player-garden { position: relative; align-self: start; overflow: hidden; aspect-ratio: 3/4; }
#daily-life .player-garden img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.78) brightness(1.04); }
#daily-life .player-garden figcaption { position: absolute; right: 20px; bottom: 20px; left: 20px; padding: 15px; background: rgba(255, 250, 240, 0.9); color: var(--brown-dark); font-size: 14px; }

/* updates */
#updates { padding: var(--section-space) 0; background: var(--cream-deep); }
#updates .updates-layout { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 90px; }
#updates .updates-intro p { margin: 22px 0 30px; color: var(--muted); }
#updates .update-list { border-top: 1px solid var(--line); }
#updates .update-row { display: grid; grid-template-columns: 130px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
#updates .update-row span { color: var(--brown); font-size: 14px; font-weight: 700; }
#updates .update-row h3 { color: var(--sage-dark); font-size: 22px; }
#updates .update-row p { max-width: 590px; margin-top: 8px; color: var(--muted); font-size: 15px; }
#updates .closing-note { display: flex; align-items: center; justify-content: space-between; gap: 50px; margin-top: 85px; padding: 46px 0 10px; border-top: 1px solid var(--line); }
#updates .closing-note strong { max-width: 680px; color: var(--sage-dark); font-size: clamp(25px, 3vw, 39px); line-height: 1.45; font-weight: 600; }
#updates .closing-actions { display: flex; flex-shrink: 0; gap: 10px; }

/* footer */
footer.site-footer { padding: 65px 0 35px; background: var(--brown-dark); color: var(--cream); }
footer .footer-top { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; padding-bottom: 55px; }
footer .footer-brand strong { display: block; color: var(--paper); font-size: clamp(15px, 3vw, 22px); line-height: 1.35; }
footer .footer-brand p { max-width: 520px; margin-top: 16px; color: rgba(251, 246, 233, 0.68); }
footer .footer-nav-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 35px; align-content: start; }
footer .footer-nav-list a { padding: 8px 0; border-bottom: 1px solid rgba(251, 246, 233, 0.2); color: rgba(251, 246, 233, 0.8); }
footer .footer-nav-list a:hover, footer .footer-nav-list a:focus-visible { color: var(--yellow); }
footer .footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 25px; border-top: 1px solid rgba(251, 246, 233, 0.2); color: rgba(251, 246, 233, 0.55); font-size: 13px; }
footer .footer-bottom a { color: rgba(251, 246, 233, 0.75); }

@media (max-width: 1280px) {
	:root { --container: 1080px; --wide-container: 1200px; }
	header .header-link-list { grid-template-columns: max-content max-content max-content minmax(190px, 1fr) max-content max-content max-content; gap: 21px; font-size: 14px; }
	header.site-header, header .hero { min-height: 880px; }
	header .hero-garden { width: min(610px, 62vw); }
	header .hero-note-list li { width: 170px; }
	header .hero-note-list li:nth-child(1) { left: -155px; }
	header .hero-note-list li:nth-child(2) { right: -155px; }
	header .hero-note-list li:nth-child(3) { left: -138px; }
	header .hero-note-list li:nth-child(4) { right: -145px; }
	#plant-atlas .atlas-stage { grid-template-columns: 190px minmax(300px, 0.95fr) minmax(290px, 0.8fr); }
	#garden-compose .compose-layout { gap: 55px; }
}
@media (max-width: 960px) {
	header.site-header, header .hero { min-height: 900px; }
	header .header-link-list { grid-template-columns: max-content max-content max-content minmax(172px, 1fr) max-content max-content max-content; gap: 13px; font-size: 13px; }
	header .header-brand strong { font-size: 16px; }
	header .header-brand span { font-size: 10px; }
	header .hero-garden { width: min(590px, 68vw); }
	header .hero-note-list li { width: 155px; font-size: 13px; }
	header .hero-note-list li:nth-child(1) { left: -110px; }
	header .hero-note-list li:nth-child(2) { right: -110px; }
	header .hero-note-list li:nth-child(3) { left: -90px; }
	header .hero-note-list li:nth-child(4) { right: -94px; }
	#game-loop .loop-layout { grid-template-columns: 1fr; gap: 50px; }
	#game-loop .loop-heading { position: static; max-width: 690px; }
	#plant-atlas .atlas-header { display: grid; grid-template-columns: 1fr; gap: 20px; }
	#plant-atlas .atlas-stage { grid-template-columns: 165px minmax(280px, 1fr); }
	#plant-atlas .atlas-detail { grid-column: 1/-1; padding: 45px 0 0; }
	#plant-atlas .atlas-figure { padding: 35px; }
	#spirit-archive .spirit-scene { grid-template-columns: 1.18fr 0.82fr; }
	#spirit-archive .spirit-panel { padding: 42px 34px; }
	#garden-compose .compose-layout { grid-template-columns: 1fr; }
	#garden-compose .compose-copy { max-width: 720px; }
	#garden-compose .compose-collage { width: min(760px, 100%); margin-inline: auto; }
	#greenhouse .greenhouse-layout { gap: 45px; }
	#seasons .season-layout { gap: 45px; }
	#daily-life .daily-layout { gap: 40px; }
	#updates .updates-layout { gap: 55px; }
}
@media (max-width: 768px) {
	:root { --section-space: 82px; }
	body { font-size: 16px; }
	.site-container, .site-container-wide { width: min(calc(100% - 32px), var(--container)); }
	header.site-header { min-height: auto; }
	header .header-nav, header.site-header.is-scrolled .header-nav { min-height: 72px; border-color: var(--line); background: rgba(251, 246, 233, .97); }
	header .header-nav-inner, header.site-header.is-scrolled .header-nav-inner { min-height: 72px; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
	header .header-brand { position: static; min-width: 0; align-items: flex-start; justify-self: start; transform: none; }
	header .header-brand strong { max-width: 100%; overflow: hidden; font-size: 16px; letter-spacing: .055em; text-overflow: ellipsis; white-space: nowrap; }
	header .header-brand span { display: none; }
	header .menu-toggle { display: flex; grid-column: 2; }
	header .header-menu { position: absolute; top: 72px; right: 0; left: 0; display: grid; overflow: hidden; max-height: 0; background: var(--paper); opacity: 0; pointer-events: none; transition: max-height .35s ease, opacity .25s ease; }
	header .header-nav.is-open .header-menu { max-height: 420px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); opacity: 1; pointer-events: auto; }
	header .header-link-list { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 12px 16px 20px; font-size: 15px; }
	header .header-link-list li:nth-child(n) { grid-column: auto; }
	header .header-link-list li { border-bottom: 1px solid var(--line); }
	header .header-link-list li:nth-child(odd) { border-right: 1px solid var(--line); }
	header .header-link-list a { display: flex; min-height: 58px; align-items: center; padding: 12px 15px; white-space: normal; }
	header .header-link-list a::after { display: none; }
	header .header-link-list a:hover, header .header-link-list a:focus-visible { background: var(--sage-pale); color: var(--sage-dark); }
	header .hero { min-height: auto; padding: 116px 0 42px; }
	header .hero-heading { max-width: 560px; }
	header .hero-heading h1 { font-size: clamp(34px, 9vw, 42px); }
	header .hero-heading p { font-size: 16px; }
	header .hero-garden { width: min(580px, 94vw); margin-top: 34px; }
	header .hero-note-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
	header .hero-note-list li, header .hero-note-list li:nth-child(1), header .hero-note-list li:nth-child(2), header .hero-note-list li:nth-child(3), header .hero-note-list li:nth-child(4) { position: static; width: auto; min-height: 82px; padding: 12px; text-align: left; }
	header .hero-actions { margin-top: 22px; }
	header .hero-weather { position: static; width: 100%; margin-top: 40px; transform: none; }
	#game-loop .loop-list { padding-left: 42px; }
	#game-loop .loop-list::before { left: 10px; }
	#game-loop .loop-step { grid-template-columns: 1fr; gap: 9px; }
	#game-loop .loop-step::before { left: -40px; }
	#plant-atlas .atlas-stage { display: flex; min-height: auto; flex-direction: column; }
	#plant-atlas .atlas-tab-list { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 0 26px; border-right: 0; }
	#plant-atlas .atlas-tab { padding: 12px 8px; text-align: center; }
	#plant-atlas .atlas-tab:hover, #plant-atlas .atlas-tab:focus-visible, #plant-atlas .atlas-tab.is-active { padding-left: 8px; }
	#plant-atlas .atlas-figure { min-height: 440px; padding: 24px; }
	#plant-atlas .atlas-figure-inner { min-height: 390px; }
	#plant-atlas .atlas-detail { padding-top: 36px; }
	#spirit-archive .spirit-header { grid-template-columns: 1fr; gap: 20px; }
	#spirit-archive .spirit-scene { display: flex; min-height: auto; flex-direction: column; }
	#spirit-archive .spirit-scene-figure { min-height: 430px; }
	#spirit-archive .spirit-panel { padding: 38px 28px 46px; }
	#garden-compose .compose-collage { min-height: 600px; }
	#garden-compose .compose-figure-main { left: 0; width: 65%; height: 60%; }
	#garden-compose .compose-figure-side { right: 0; width: 40%; height: 39%; }
	#garden-compose .compose-figure-bottom { right: 0; width: 56%; height: 38%; }
	#garden-compose .compose-note { bottom: 4%; width: 190px; }
	#greenhouse .greenhouse-layout { grid-template-columns: 1fr; }
	#greenhouse .greenhouse-figure { order: 2; width: min(560px, 100%); aspect-ratio: 4/3; }
	#greenhouse .greenhouse-copy { order: 1; }
	#seasons .season-layout { grid-template-columns: 1fr; }
	#seasons .season-panel { min-height: 420px; padding: 40px 28px; }
	#daily-life .daily-header { display: grid; grid-template-columns: 1fr; gap: 20px; }
	#daily-life .daily-layout { grid-template-columns: 1fr; }
	#daily-life .daily-entry { grid-template-columns: 95px 1fr; }
	#daily-life .daily-entry span { grid-column: 2; justify-self: start; }
	#daily-life .player-garden { width: min(540px, 100%); aspect-ratio: 4/3; }
	#updates .updates-layout { grid-template-columns: 1fr; }
	#updates .update-row { grid-template-columns: 105px 1fr; }
	#updates .closing-note { align-items: flex-start; flex-direction: column; }
	footer .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 500px) {
	:root { --section-space: 66px; }
	.site-container, .site-container-wide { width: min(calc(100% - 24px), var(--container)); }
	h2 { font-size: clamp(27px, 8vw, 35px); }
	header .header-nav-inner { gap: 10px; }
	header .header-brand strong { font-size: 15px; letter-spacing: .025em; }
	header .menu-toggle { min-width: 54px; padding-inline: 10px; }
	header .header-link-list { grid-template-columns: 1fr; padding: 8px 12px 14px; }
	header .header-link-list li:nth-child(odd) { border-right: 0; }
	header .header-link-list a { min-height: 52px; padding: 10px 12px; }
	header .hero { padding-top: 105px; }
	header .hero-heading h1 { font-size: 34px; }
	header .hero-heading p { line-height: 1.75; }
	header .hero-note-list { grid-template-columns: 1fr; }
	header .hero-note-list li, header .hero-note-list li:nth-child(1), header .hero-note-list li:nth-child(2), header .hero-note-list li:nth-child(3), header .hero-note-list li:nth-child(4) { min-height: auto; }
	header .hero-actions { align-items: stretch; flex-direction: column; }
	header .hero-weather { align-items: flex-start; flex-direction: column; gap: 4px; }
	#game-loop .loop-step { padding-bottom: 26px; }
	#plant-atlas .atlas-tab-list { grid-template-columns: 1fr; }
	#plant-atlas .atlas-tab { text-align: left; }
	#plant-atlas .atlas-figure { min-height: 340px; padding: 15px; }
	#plant-atlas .atlas-figure-inner { min-height: 310px; }
	#plant-atlas .atlas-figure img { width: 82%; max-height: 270px; }
	#plant-atlas .atlas-trait-list li { flex-direction: column; gap: 1px; }
	#spirit-archive .spirit-scene-figure { min-height: 330px; }
	#spirit-archive .spirit-panel { padding: 34px 20px 40px; }
	#spirit-archive .spirit-tab-list { display: grid; grid-template-columns: repeat(3, 1fr); }
	#spirit-archive .spirit-tab { min-width: 0; padding-inline: 8px; }
	#garden-compose .compose-mode-list li { grid-template-columns: 1fr; gap: 4px; }
	#garden-compose .compose-collage { min-height: auto; }
	#garden-compose .compose-figure { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: 100%; height: auto; margin-bottom: 12px; clip-path: none; }
	#garden-compose .compose-figure img { aspect-ratio: 4/3; }
	#garden-compose .compose-figure-side img { aspect-ratio: 5/4; }
	#garden-compose .compose-note { position: static; width: 100%; margin-top: 4px; }
	#greenhouse .greenhouse-figure { aspect-ratio: 1/1; }
	#seasons .season-tab-list { display: grid; grid-template-columns: repeat(2, 1fr); }
	#seasons .season-panel { min-height: auto; padding: 34px 20px; clip-path: none; }
	#seasons .season-effect-list li { grid-template-columns: 1fr; gap: 2px; }
	#daily-life .daily-entry { grid-template-columns: 1fr; gap: 7px; }
	#daily-life .daily-entry span { grid-column: 1; }
	#daily-life .player-garden { aspect-ratio: 1/1; }
	#updates .update-row { grid-template-columns: 1fr; gap: 6px; }
	#updates .closing-actions { width: 100%; align-items: stretch; flex-direction: column; }
	footer .footer-nav-list { grid-template-columns: 1fr; }
	footer .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto; transition-duration: 0.01ms; transition-delay: 0s; }
	[data-reveal] { opacity: 1; filter: none; }
	header .header-nav, header .header-nav-inner, header .header-menu, header .menu-toggle-icon i, header .header-link-list a::after { transition-duration: .01ms; }
	#game-loop .loop-list::before { transform: none; }
}