/* ---------- city guides ---------- */
:root { --hand: "Comico", "Comic Sans MS", cursive; }
.wob { border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; }
.doodle { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

.g-hero { position: relative; padding-block: 26px 46px; border-bottom: 2px solid var(--ink); overflow: hidden; }
.g-hero .wrap { position: relative; }
.g-kicker { font-family: var(--body); font-weight: 700; font-size: 15px; color: var(--mustard); margin-top: 22px; }
.g-hero h1 { font-size: clamp(46px, 14.5vw, 132px); font-weight: 900; line-height: 0.9; letter-spacing: -0.05em; margin-top: 10px; max-width: 8ch; }
.g-by { font-family: var(--hand); font-size: 26px; margin-top: 16px; color: var(--mustard); transform: rotate(-2deg); transform-origin: left; display: inline-flex; align-items: center; gap: 10px; }
.g-by svg { width: 44px; height: 22px; }
.g-intro { font-size: 18px; line-height: 1.45; max-width: 30em; margin-top: 14px; opacity: 0.94; }
.g-index { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 8px; max-width: 560px; }
.g-index a { display: block; padding: 8px 15px; background: var(--c, var(--paper)); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 99px; box-shadow: 2px 2px 0 var(--ink); font-family: var(--body); font-weight: 800; font-size: 15px; text-decoration: none; transform: rotate(var(--t, 0deg)); transition: transform 180ms var(--ease-out); }
.g-index a:active { transform: rotate(0deg) scale(0.97); }
@media (hover: hover) and (pointer: fine) { .g-index a:hover { transform: rotate(0deg) translateY(-3px); } }
.g-jackets { position: relative; height: 230px; margin-top: 30px; pointer-events: none; }
.g-jackets img { position: absolute; filter: drop-shadow(0 10px 14px rgba(8, 20, 14, 0.5)); }
.g-jackets .j1 { width: 46%; max-width: 250px; left: 2%; top: 4%; transform: rotate(-9deg); }
.g-jackets .j2 { width: 44%; max-width: 240px; right: 2%; top: 14%; transform: rotate(8deg); }
.g-jackets .st { width: 17%; max-width: 86px; }
.g-jackets .st.a { left: 44%; top: -4%; animation: g-float 6s ease-in-out infinite; }
.g-jackets .st.b { left: 40%; bottom: 0; animation: g-spin 22s linear infinite; }
@keyframes g-float { 0%, 100% { transform: translateY(5%) rotate(-6deg); } 50% { transform: translateY(-8%) rotate(6deg); } }
@keyframes g-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .g-jackets .st { animation: none !important; } }

.g-sec { position: relative; overflow-x: clip; padding-block: 46px 10px; scroll-margin-top: calc(var(--header-h, 56px) + 10px); }
.g-divider { display: block; width: 100%; height: 26px; color: var(--ink); opacity: 0.8; margin-bottom: 34px; }
.g-head { position: relative; display: inline-block; }
.g-head h2 { font-size: min(17vw, calc(86vw / (var(--len, 8) * 0.74)), 150px); font-weight: 900; line-height: 0.88; letter-spacing: -0.055em; color: var(--forest); }
.g-head .under { display: block; width: 78%; height: 18px; margin-top: 6px; color: var(--mustard); stroke-width: 5; }
.g-count { font-family: var(--hand); font-size: 24px; color: var(--ink-soft); margin: 10px 0 0 6px; transform: rotate(-2deg); transform-origin: left; display: flex; align-items: center; gap: 8px; }
.g-count svg { width: 34px; height: 30px; }
.g-cut { position: absolute; right: 0; top: 40px; width: 34%; max-width: 230px; transform: rotate(var(--t, 9deg)); filter: drop-shadow(0 8px 12px rgba(22, 36, 28, 0.28)); pointer-events: none; }

.g-scatter { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 46px 6%; margin-top: 38px; }
.g-item { position: relative; width: 80%; }
.g-item:nth-child(even) { margin-left: auto; width: 70%; }
.g-item:nth-child(3n) { width: 88%; }
.g-pic { position: relative; display: block; transform: rotate(var(--t, -2deg)); transition: transform 220ms var(--ease-out); }
.g-pic img.ph { display: block; width: 100%; aspect-ratio: var(--ar, 4 / 3.4); object-fit: cover; border: 2.5px solid var(--ink); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; }
.g-item:nth-child(even) .g-pic img.ph { border-radius: 20px 225px 18px 255px / 255px 18px 225px 20px; --ar: 1 / 1.08; }
.g-item:nth-child(3n) .g-pic img.ph { --ar: 16 / 10; }
.g-pic::after { content: ""; position: absolute; inset: -5px -4px -6px -5px; border: 1.5px solid var(--ink); border-radius: 18px 235px 20px 245px / 245px 20px 235px 18px; opacity: 0.55; pointer-events: none; }
.g-pic .p2 { position: absolute; right: -8%; bottom: -12%; width: 46%; aspect-ratio: 1; object-fit: cover; border: 2.5px solid var(--ink); border-radius: 225px 20px 255px 18px / 20px 255px 18px 225px; transform: rotate(7deg); box-shadow: 0 8px 16px rgba(22, 36, 28, 0.25); }
.g-pic .tape { position: absolute; top: -11px; left: 50%; width: 32%; height: 22px; transform: translateX(-50%) rotate(-4deg); background: rgba(224, 186, 36, 0.6); border: 1px solid rgba(22, 36, 28, 0.18); z-index: 2; }
.g-pic .type-chip { position: absolute; inset: auto auto 14px 12px; z-index: 2; }
.g-pic .stk { position: absolute; z-index: 3; width: 20%; max-width: 70px; right: -4%; top: -9%; transform: rotate(12deg); filter: drop-shadow(0 4px 5px rgba(22, 36, 28, 0.3)); }
@media (hover: hover) and (pointer: fine) { a.g-pic:hover { transform: rotate(0deg) scale(1.02); } }
.g-doodle { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; color: var(--forest); }
.g-doodle svg { width: 46%; height: 60%; stroke-width: 3; }
.g-name { display: inline-block; margin-top: 18px; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 5.4vw, 26px); line-height: 1.1; letter-spacing: -0.03em; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--mustard); }
.g-name svg { width: 0.8em; height: 0.8em; margin-left: 6px; vertical-align: -0.05em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.g-note { font-family: var(--hand); font-size: 21px; line-height: 1.2; margin-top: 8px; max-width: 17em; }
.g-meta { font-family: var(--body); font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--ink-soft); margin-top: 8px; }
.g-meta a { text-underline-offset: 3px; }
.g-arrow { position: absolute; width: 54px; height: 44px; color: var(--ink); right: 2%; bottom: 46px; transform: rotate(var(--t, 0deg)); }
.g-item:nth-child(even) .g-arrow { right: auto; left: -24%; bottom: 60%; transform: scaleX(-1) rotate(20deg); }
.g-flag { display: inline-block; margin-left: 6px; padding: 1px 8px; border: 1.5px dashed var(--red); border-radius: 99px; font-family: var(--body); font-weight: 800; font-size: 11px; color: var(--red); vertical-align: middle; cursor: help; }

/* tips: sticky notes */
.g-tips { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.g-tips li { position: relative; padding: 20px 18px 18px; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px 225px 18px 255px / 255px 18px 225px 18px; font-family: var(--hand); font-size: 21px; line-height: 1.25; transform: rotate(var(--t, -1.5deg)); }
.g-tips li:nth-child(even) { --t: 1.5deg; }
.g-tips li::before { content: ""; position: absolute; top: -11px; left: 50%; width: 70px; height: 20px; transform: translateX(-50%) rotate(-3deg); background: rgba(224, 186, 36, 0.6); border: 1px solid rgba(22, 36, 28, 0.18); }
.g-tips li.todo { background: transparent; border-style: dashed; color: var(--ink-soft); }
.g-tips li.todo::before { display: none; }

.g-end { padding-block: 40px 20px; text-align: center; }
.g-end p { font-family: var(--hand); font-size: 30px; line-height: 1.1; color: var(--forest); }
.g-end .btn { margin-top: 20px; }
.g-review { margin: 30px auto 0; max-width: 620px; padding: 14px 16px; border: 1.5px dashed var(--red); border-radius: 14px; font-size: 14px; line-height: 1.45; text-align: left; }
.g-review b { color: var(--red); }
.g-review a { font-weight: 800; margin-right: 10px; }
.g-review a.on { background: var(--mustard); padding: 1px 6px; border-radius: 6px; text-decoration: none; }

/* guides index */
.gi-grid { display: grid; gap: 34px; margin-top: 34px; padding-inline: 4px; }
.gi-card { position: relative; display: block; text-decoration: none; transform: rotate(-1.5deg); transition: transform 220ms var(--ease-out); }
.gi-card .ph { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2.5px solid var(--ink); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; }
.gi-card .cut { position: absolute; right: 1%; top: -14%; width: 38%; transform: rotate(12deg); filter: drop-shadow(0 8px 12px rgba(22, 36, 28, 0.3)); }
.gi-card h2 { font-size: clamp(34px, 9vw, 54px); font-weight: 900; letter-spacing: -0.05em; line-height: 0.95; color: var(--forest); margin-top: 16px; }
.gi-card p { font-family: var(--hand); font-size: 24px; margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { .gi-card:hover { transform: rotate(0deg) translateY(-4px); } }
.gi-soon { display: grid; place-items: center; text-align: center; min-height: 200px; padding: 24px; border: 2px dashed var(--ink); border-radius: 20px 225px 18px 255px / 255px 18px 225px 20px; color: var(--ink-soft); transform: rotate(var(--t, 1.5deg)); }
.gi-soon svg { width: 60px; height: 54px; color: var(--forest); }
.gi-soon p { font-family: var(--hand); font-size: 26px; line-height: 1.1; margin-top: 8px; }

@media (min-width: 860px) {
  .g-hero { padding-block: 40px 70px; }
  .g-hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; column-gap: 40px; align-items: center; }
  .g-hero .back { grid-column: 1 / -1; }
  .g-jackets { height: 420px; margin-top: 0; }
  .g-by { font-size: 32px; }
  .g-intro { font-size: 20px; }
  .g-sec { padding-block: 70px 20px; }
  .g-scatter { gap: 70px 7%; margin-top: 56px; }
  .g-item, .g-item:nth-child(3n) { width: 36%; margin-left: 0; }
  .g-item:nth-child(even) { width: 27%; margin-left: 0; margin-top: 110px; }
  .g-item:nth-child(3n) { width: 23%; margin-top: 30px; }
  .g-item:nth-child(4n) { margin-left: 12%; margin-top: -30px; }
  .g-item:nth-child(even) .g-arrow { left: -30%; }
  .g-note { font-size: 23px; }
  .g-tips { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .g-cut { top: 60px; right: 4%; }
  .gi-grid { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; gap: 44px; }
  .gi-soon { min-height: 280px; margin-top: 40px; }
  .gi-soon:last-child { margin-top: 110px; --t: -2deg; }
}
.gi-card p svg { width: 0.8em; height: 0.8em; vertical-align: -0.05em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
