@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f3f5ec;
  --surface: #fffef8;
  --ink: #19372e;
  --muted: #50645a;
  --line: #cad5c8;
  --forest: #143a32;
  --lime: #d7eb97;
  font-family: "Pretendard", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a, label, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #7b531c; outline-offset: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { min-height: 80px; display: flex; align-items: center; }
.project-name { display: inline-flex; align-items: center; gap: 12px; font-weight: 780; text-decoration: none; }
.mark { width: 28px; height: 28px; border-radius: 8px; background: var(--forest); display: grid; place-items: center; }
.mark::before { content: ""; width: 11px; height: 15px; border-radius: 90% 15% 90% 15%; background: var(--lime); transform: rotate(20deg); }

.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: space-between; gap: 44px; min-height: 456px; padding: clamp(24px, 5vw, 61px); border-radius: 30px; background: radial-gradient(ellipse at 80% 31%, #38705a, transparent 57%), var(--forest); color: var(--surface); }
.hero-copy, .quick-links { position: relative; }
.eyebrow { margin: 0 0 14px; font-size: .88rem; font-weight: 750; letter-spacing: .08em; }
.hero .eyebrow { color: var(--lime); }
.hero h1 { margin: 0; font: 700 clamp(4rem, 11vw, 8.4rem)/.79 Georgia, "Times New Roman", serif; letter-spacing: -.075em; }
.hero h1 span { color: var(--lime); }

.botanical { position: absolute; z-index: -1; width: 49%; height: 104%; right: 1%; top: -9%; transform: rotate(12deg); opacity: .7; }
.botanical::before { content: ""; position: absolute; left: 53%; top: 9%; height: 87%; border-left: 2px solid #b7d48c; transform: rotate(17deg); }
.botanical i { position: absolute; width: 41%; height: 34%; border: 1px solid #a7cf82; border-radius: 85% 5% 85% 5%; background: linear-gradient(125deg, #9fc07299, #28816a33); }
.botanical i:nth-child(1) { top: 0; left: 49%; transform: rotate(6deg); }
.botanical i:nth-child(2) { top: 16%; left: 12%; transform: rotate(82deg); }
.botanical i:nth-child(3) { top: 28%; left: 55%; transform: rotate(26deg); }
.botanical i:nth-child(4) { top: 43%; left: 7%; transform: rotate(89deg); }
.botanical i:nth-child(5) { top: 56%; left: 49%; transform: rotate(31deg); }
.quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quick-links a, .document-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; min-height: 58px; border-radius: 12px; font-weight: 730; text-decoration: none; }
.quick-links a { border: 1px solid #b5cabb; background: #15392ff2; }
.quick-links a:hover { background: var(--lime); color: var(--forest); }
.quick-links a:focus-visible { outline-color: var(--lime); }
.quick-links span, .document-link span:last-child { font-size: 1.2rem; }

.planning { padding-block: 36px 64px; }
.planning h2 { margin: 0 0 14px; font-size: 1.42rem; }
.document-link { border: 1px solid var(--line); background: var(--surface); }
.document-link:hover { border-color: var(--forest); background: #e7efd8; }

.subpage { padding: clamp(24px, 4vw, 56px) 0 64px; border-top: 1px solid var(--line); }
.page-title { margin: 0 0 30px; font-size: clamp(2.1rem, 6vw, 4.25rem); line-height: 1.1; letter-spacing: -.055em; }
.store-documents { margin-bottom: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.store-documents h2 { margin: 0 0 5px; font-size: 1.1rem; }
.store-documents p { margin: 0; color: var(--muted); }
.gallery-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.segments { min-width: 0; margin: 0; padding: 5px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 4px; background: var(--surface); }
.segments label { position: relative; cursor: pointer; }
.segments input, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.segments span { display: block; padding: 8px 13px; border-radius: 7px; }
.segments input:checked + span { background: var(--forest); color: var(--surface); }
.segments input:focus-visible + span { outline: 3px solid #7b531c; outline-offset: 2px; }
.search { margin-inline-start: auto; }
input[type="search"], select { min-height: 44px; max-width: 100%; padding: 8px 12px; border: 1px solid #8da295; border-radius: 9px; color: var(--ink); background: var(--surface); font: inherit; }
input[type="search"]::placeholder { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr)); gap: 16px; }
.gallery > article { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.gallery img { display: block; width: 100%; height: auto; }
.gallery h2 { margin: 14px; font-size: 1rem; }
.empty-state { display: grid; place-items: center; min-height: 260px; margin: 0; padding: 20px; border: 1px dashed #8da295; border-radius: 16px; color: var(--muted); background: var(--surface); text-align: center; }
.game-frame { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; min-height: 220px; padding: 20px; border-radius: 18px; color: var(--surface); background: radial-gradient(ellipse at 50% 0, #2e6050, transparent 70%), var(--forest); text-align: center; }
.concept { min-height: 350px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }

@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { min-height: 64px; }
  .hero { min-height: 0; border-radius: 22px; }
  .botanical { width: 68%; opacity: .42; right: -6%; }
  .quick-links { grid-template-columns: 1fr; gap: 8px; }
  .quick-links a { min-height: 48px; padding: 10px 14px; }
  .search { margin-inline-start: 0; }
}
