/* Pakahiki theme. Structure after straya.com, hubs after large travel publishers' split-panel pages. */

@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Anton"; src: url("fonts/anton-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/sourcesans3-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/sourcesans3-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibmplexmono-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"); size-adjust: 103%; ascent-override: 100%; descent-override: 28%; }
@font-face { font-family: "Source Fallback"; src: local("Arial"); size-adjust: 93%; ascent-override: 104%; descent-override: 29%; }

:root {
    --paper: #f7f4ee;
    --white: #ffffff;
    --ink: #1b2422;
    --muted: #5a6461;
    --rule: #ddd6ca;
    --tint: #ece6da;
    --side: #efece6;
    --forest: #1f3b2d;
    --forest-ink: #e8efe6;
    --coral: #e0623a;
    --display: "Manrope", "Manrope Fallback", system-ui, sans-serif;
    --giant: "Anton", "Arial Narrow", Impact, sans-serif;
    --text: "Source Sans 3", "Source Fallback", system-ui, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --wrap: 1320px;
    --gutter: clamp(16px, 4vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
p { margin: 0; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--white); padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247, 244, 238, 0.97); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.2) blur(6px); }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.wordmark { font: 800 31px/1 var(--display); letter-spacing: -0.055em; color: var(--forest); text-decoration: none; margin-right: auto; }
.wordmark .dot { color: var(--coral); }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav > a, .nav-drop > summary { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font: 600 15px/1 var(--display); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; border-radius: 999px; }
.primary-nav > a:hover, .nav-drop > summary:hover, .nav-drop[open] > summary { background: var(--tint); }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.nav-drop { position: relative; }
.nav-drop > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; }
.drop-panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 40; background: var(--white); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 18px 40px rgba(27, 36, 34, 0.14); padding: 14px; }
.drop-regions { width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.drop-topics { width: 480px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; left: auto; right: 0; }
.drop-panel a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 4px; text-decoration: none; font: 600 15px/1.25 var(--display); }
.drop-panel a:hover { background: var(--paper); }
.drop-all { grid-column: 1 / -1; border-top: 1px solid var(--rule); border-radius: 0 !important; margin-top: 6px; padding-top: 14px !important; justify-content: space-between; }
.swatch { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.search-drop, .menu-drop { position: relative; }
.search-drop > summary, .menu-drop > summary { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 999px; font: 600 15px/1 var(--display); cursor: pointer; background: var(--white); }
.search-drop > summary:hover, .menu-drop > summary:hover { border-color: var(--ink); }
.search-panel { left: auto; right: 0; width: min(520px, calc(100vw - 32px)); padding: 10px; }
.menu-drop { display: none; }
.menu-panel { position: fixed; left: 0; right: 0; top: 76px; bottom: 0; border-radius: 0; border: 0; border-top: 1px solid var(--rule); overflow-y: auto; padding: 20px var(--gutter) 40px; box-shadow: none; background: var(--paper); }
.menu-panel .label { margin: 18px 0 8px; color: var(--muted); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; border-top: 1px solid var(--rule); }
.menu-grid a { border-bottom: 1px solid var(--rule); border-radius: 0; padding: 13px 2px; }
.menu-about { margin-top: 18px; }

/* Search */
.search-form { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 7px 7px 7px 16px; }
.search-form .icon { color: var(--muted); width: 20px; height: 20px; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 0; font-size: 17px; color: var(--ink); }
.search-form input::placeholder { color: #7b8380; }
.search-form button { border: 0; border-radius: 4px; background: var(--forest); color: var(--white); padding: 12px 22px; font: 700 15px/1 var(--display); cursor: pointer; }
.search-form button:hover { background: #2a4f3d; }
.search-form:focus-within { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31, 59, 45, 0.15); }

/* Home hero */
.home-hero { position: relative; min-height: clamp(560px, 82vh, 780px); display: flex; align-items: center; overflow: hidden; background: #2b3a40; color: var(--white); }
.home-hero .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 22, 24, 0.66) 0%, rgba(14, 22, 24, 0.38) 42%, rgba(14, 22, 24, 0) 70%), linear-gradient(0deg, rgba(14, 22, 24, 0.35) 0%, rgba(14, 22, 24, 0) 30%); }
.hero-copy { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 96px; }
.hero-copy > .label { font-weight: 500; letter-spacing: 0.18em; margin-bottom: 22px; opacity: 0.92; }
.home-hero h1 { font-weight: 500; font-size: clamp(48px, 7.6vw, 112px); line-height: 0.96; letter-spacing: -0.05em; max-width: 9ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.18); }
.hero-deck { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 34ch; margin-top: 26px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3); }
.hero-search { margin-top: 30px; max-width: 560px; border: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.hero-chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(20, 28, 30, 0.55); border: 1px solid rgba(255, 255, 255, 0.35); color: var(--white); text-decoration: none; font: 600 14px/1 var(--display); backdrop-filter: blur(4px); }
.hero-chips a:hover { background: rgba(20, 28, 30, 0.8); }
.photo-place { position: absolute; z-index: 2; right: var(--gutter); bottom: 22px; display: flex; align-items: center; gap: 6px; font: 600 13px/1 var(--display); color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }

/* Sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section.flush-top { padding-top: 8px; }
.section.tinted { background: #e4e8df; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head .label { margin-bottom: 10px; }
.section-head h2 { font-weight: 500; font-size: clamp(32px, 3.6vw, 50px); }
.section-head.centered { justify-content: center; text-align: center; }
.section-deck { color: var(--muted); max-width: 56ch; margin: 14px auto 0; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font: 700 14px/1 var(--display); text-decoration: none; padding-bottom: 8px; border-bottom: 1.5px solid currentColor; white-space: nowrap; }

/* Photo cards (region grid) */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 26px; }
.photo-card { display: flex; flex-direction: column; text-decoration: none; }
.card-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; margin-bottom: 18px; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-card:hover .card-photo img { transform: scale(1.035); }
.card-arrow { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--ink); }
.card-arrow .icon { width: 16px; height: 16px; }
.photo-card .label { color: var(--muted); margin-bottom: 8px; }
.card-title { font: 500 clamp(24px, 2.2vw, 30px)/1.1 var(--display); letter-spacing: -0.03em; }
.photo-card:hover .card-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.card-text { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 38ch; }

/* Bordered place boxes */
.box-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.place-box { position: relative; display: flex; flex-direction: column; min-height: 150px; padding: 18px 18px 20px; background: var(--paper); border-top: 3px solid var(--region, var(--forest)); text-decoration: none; transition: background 0.2s; }
.place-box:hover { background: var(--white); }
.place-box .label { color: var(--muted); }
.box-title { font: 600 24px/1.15 var(--display); letter-spacing: -0.03em; margin-top: 14px; }
.box-meta { margin-top: auto; padding-top: 14px; font-size: 15px; color: var(--muted); }
.place-box .icon { position: absolute; right: 16px; bottom: 18px; width: 16px; height: 16px; }

/* Travel tip cards */
.tip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic-grid { max-width: 1100px; margin: 0 auto; }
.tip-card { display: flex; flex-direction: column; min-height: 196px; padding: 20px 20px 18px; background: var(--tint); border-radius: 2px; text-decoration: none; transition: background 0.2s; position: relative; }
.tip-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--region, transparent); }
.tip-card:hover { background: #e3dccd; }
.tip-head { display: flex; align-items: center; gap: 10px; }
.tip-head .icon { width: 24px; height: 24px; color: var(--ink); }
.tip-head .label { color: var(--muted); }
.tip-title { font: 600 21px/1.2 var(--display); letter-spacing: -0.02em; margin-top: 14px; }
.tip-head .tip-title { margin-top: 0; font-size: 19px; text-transform: none; }
.tip-text { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: #39423f; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tip-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid #b9b2a5; }
.tip-text + .tip-foot { margin-top: auto; }
.tip-card .tip-text { margin-bottom: 18px; }
.tip-card:hover .tip-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* Dark band */
.band { background: var(--forest); color: var(--forest-ink); padding: clamp(56px, 7vw, 92px) 0; }
.band-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); }
.band .label { color: #b9cdb8; margin-bottom: 14px; }
.band h2 { font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); color: var(--white); }
.band-grid > div > p:not(.label) { margin-top: 18px; max-width: 40ch; color: #cfdccc; }
.button-outline { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 12px 18px; border: 1px solid rgba(255, 255, 255, 0.55); color: var(--white); text-decoration: none; font: 700 14px/1 var(--display); border-radius: 2px; }
.button-outline:hover { background: rgba(255, 255, 255, 0.08); }
.band-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.band-head { font: 600 18px/1.2 var(--display); color: var(--white); padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.ruled-links { list-style: none; margin: 0; padding: 0; }
.ruled-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); text-decoration: none; font-size: 16px; color: #e3ece1; }
.ruled-links a:hover { color: var(--white); }
.ruled-links .icon { width: 14px; height: 14px; opacity: 0.8; }

/* Story rows */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--rule); }
.story-row { position: relative; display: grid; gap: 6px; padding: 20px 40px 20px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.story-row .label:first-child { color: var(--forest); }
.story-title { font: 600 22px/1.25 var(--display); letter-spacing: -0.02em; }
.story-row:hover .story-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.story-row > .icon { position: absolute; right: 4px; top: 24px; width: 16px; height: 16px; }

/* Hub hero */
.hub-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--side); }
.hub-panel { background: var(--panel); color: var(--display); padding: clamp(24px, 3vw, 44px) clamp(16px, 3vw, 44px) clamp(28px, 3vw, 44px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hub-panel .breadcrumbs { color: var(--display); }
.giant { font: 400 clamp(64px, 9vw, 148px)/0.9 var(--giant); text-transform: uppercase; letter-spacing: 0.005em; color: var(--display); overflow-wrap: anywhere; }
.hub-panel .giant { margin-top: 22px; }
.giant.giant-long { font-size: clamp(52px, 6.2vw, 100px); line-height: 0.92; }
.member-list { list-style: none; margin: 0 0 30px; padding: 14px 0 0; border-top: 1px solid #cfc9bd; columns: 3; column-gap: 18px; font-size: 15px; }
.member-list li { padding: 3px 0; break-inside: avoid; color: var(--muted); }
.member-list a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule); }
.member-list a:hover { border-color: var(--ink); }
.hub-intro { margin-top: 18px; font-size: 18px; line-height: 1.5; max-width: 44ch; color: var(--display); opacity: 0.95; }
.hub-photo { margin: 28px 0 0; }
.hub-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hub-photo figcaption { margin-top: 10px; font-size: 13px; text-align: right; opacity: 0.85; }
.hub-side { padding: clamp(24px, 3vw, 44px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 44px clamp(20px, 3vw, 44px); }
.label.boxed { display: inline-block; border: 1px solid var(--ink); padding: 2px 6px; font-size: 11px; margin: 0 0 14px; }
.latest-list { list-style: none; margin: 0 0 34px; padding: 0; }
.latest-list li { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid #cfc9bd; }
.latest-list a { font: 600 19px/1.3 var(--display); letter-spacing: -0.015em; text-decoration: none; }
.latest-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.side-empty { color: var(--muted); padding: 12px 0 30px; border-bottom: 1px solid #cfc9bd; margin-bottom: 30px; max-width: 40ch; }
.side-links { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid #cfc9bd; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid #cfc9bd; text-decoration: none; font: 600 17px/1.3 var(--display); }
.side-links a:hover { color: var(--forest); }
.side-links .icon { width: 14px; height: 14px; }

/* Breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font: 500 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.breadcrumbs li + li::before { content: "›"; margin: 0 8px; opacity: 0.6; }
.breadcrumbs a { text-decoration: none; opacity: 0.85; }
.breadcrumbs a:hover { text-decoration: underline; opacity: 1; }
.hub-panel .breadcrumbs ol { display: inline-flex; background: rgba(255, 255, 255, 0.12); padding: 6px 10px; border-radius: 2px; }

/* Page heads */
.page-head { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(24px, 3vw, 40px); }
.page-head h1 { font-weight: 500; font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.045em; margin-top: 18px; max-width: 18ch; }
.page-deck { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 52ch; }
.page-head .label.muted { margin-top: 14px; }
.page-head .search-form { margin-top: 24px; max-width: 640px; }
.topic-icon .icon { width: 40px; height: 40px; margin-top: 22px; }
.page-band { background: var(--panel); border-radius: 2px; padding: 22px 28px 16px; margin-bottom: 40px; overflow: hidden; }
.page-band .giant { font-size: clamp(56px, 10vw, 150px); display: block; white-space: nowrap; }

/* Guide (article) */
.guide-head { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(8px, 2vw, 20px); max-width: calc(1000px + 2 * var(--gutter)); }
.guide-head .breadcrumbs { color: var(--muted); }
.guide-place { display: flex; align-items: center; gap: 10px; margin-top: clamp(28px, 4vw, 48px); color: var(--muted); }
.guide-head h1 { font-weight: 500; font-size: clamp(40px, 5.4vw, 74px); letter-spacing: -0.045em; line-height: 1.02; margin-top: 14px; max-width: 18ch; }
.guide-head .guide-deck { font-size: clamp(19px, 1.6vw, 22px); max-width: 52ch; }
.guide-head .guide-meta { padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--side); }
.guide-title { padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(32px, 4vw, 56px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(320px, 38vw, 520px); }
.guide-title .breadcrumbs { margin-bottom: auto; padding-bottom: 32px; }
.guide-title h1 { font-weight: 500; font-size: clamp(36px, 4.4vw, 62px); letter-spacing: -0.04em; line-height: 1.04; }
.guide-deck { margin-top: 18px; font-size: 19px; line-height: 1.5; color: #3b4542; max-width: 46ch; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); }
.guide-meta a { color: var(--forest); text-decoration: none; border-bottom: 1px solid currentColor; }
.guide-visual { position: relative; margin: 0; overflow: hidden; min-height: 280px; background: #c9c3b6; }
.guide-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual-caption { position: absolute; right: 16px; bottom: 14px; font: 600 13px/1 var(--display); color: var(--white); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }

.article-layout { display: grid; grid-template-columns: 220px minmax(0, 700px); gap: clamp(28px, 5vw, 80px); padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 88px); justify-content: center; }
.toc { position: sticky; top: 100px; align-self: start; border-top: 1px solid var(--ink); padding-top: 14px; }
.toc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; margin-bottom: 10px; }
.toc-count { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 7px 0; font-size: 15px; line-height: 1.35; color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.active { color: var(--ink); }
.toc a.active { font-weight: 600; }

.prose { font-size: 18.5px; line-height: 1.68; min-width: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(28px, 2.6vw, 36px); margin-top: 2.1em; letter-spacing: -0.03em; scroll-margin-top: 100px; }
.prose h3 { font-size: 23px; margin-top: 1.8em; letter-spacing: -0.02em; }
.prose h4 { font-size: 19px; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.6em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--coral); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--coral); color: #3b4542; }
.prose strong { font-weight: 650; }
.prose img { border-radius: 2px; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 2px; background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
.prose th { font-family: var(--display); font-weight: 700; background: var(--side); }
.prose tr:last-child td { border-bottom: 0; }
.overview-head { margin-bottom: 0.8em; }
.child-pages { list-style: none; padding: 0 !important; border-top: 1px solid var(--rule); }
.child-pages a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font: 600 19px/1.3 var(--display); color: var(--ink); }
.back-link a { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--display); text-decoration: none; }

/* Destinations index */
.region-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.region-block { background: var(--white); border-top: 4px solid var(--panel); padding: 20px 22px 24px; }
.region-name { display: flex; justify-content: space-between; align-items: center; font: 600 24px/1.15 var(--display); letter-spacing: -0.03em; text-decoration: none; padding-bottom: 14px; border-bottom: 1px solid var(--rule); margin-bottom: 12px; }
.region-name .icon { width: 16px; height: 16px; }
.region-block ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; }
.region-block li { padding: 5px 0; break-inside: avoid; }
.region-block li a { text-decoration: none; }
.region-block li a:hover { text-decoration: underline; }
.region-block p { font-size: 15px; }

/* Lists, empty states, pager */
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.chip-list a { display: inline-block; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); text-decoration: none; font: 600 14px/1 var(--display); }
.chip-list a:hover { border-color: var(--ink); }
.empty-state { max-width: 640px; }
.empty-state > p { margin-bottom: 18px; color: var(--muted); }
.pager, .pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pager .nav-links { margin-top: 0; }
.pager a, .pager span.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--rule); background: var(--white); text-decoration: none; font: 600 15px/1 var(--display); }
.pager [aria-current="page"], .pager .current { background: var(--forest); color: var(--white); border-color: var(--forest); }
.not-found { padding-bottom: 80px; }
.giant-404 { font: 400 clamp(110px, 18vw, 220px)/0.85 var(--giant); color: var(--tint); margin-bottom: 10px; }
.toc-spacer { min-height: 1px; }
.article-layout.no-toc { grid-template-columns: minmax(0, 700px); }

/* Footer */
.site-footer { background: var(--forest); color: #cfdccc; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer .wordmark { color: var(--white); font-size: 34px; }
.footer-brand p { margin-top: 18px; max-width: 30ch; font-size: 15px; line-height: 1.55; }
.footer-head { font: 600 15px/1.2 var(--display); color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; }

/* Medium screens */
@media (max-width: 1100px) {
    .primary-nav > a, .nav-drop > summary { padding: 10px 10px; font-size: 14px; }
    .box-grid { grid-template-columns: repeat(3, 1fr); }
    .header-row { gap: 16px; }
}

@media (max-width: 960px) {
    .site-header { backdrop-filter: none; background: var(--paper); }
    .primary-nav { display: none; }
    .menu-drop { display: block; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .tip-grid { grid-template-columns: repeat(2, 1fr); }
    .band-grid { grid-template-columns: 1fr; }
    .story-grid { grid-template-columns: 1fr; }
    .hub-hero, .guide-hero { grid-template-columns: 1fr; }
    .hub-panel, .hub-side, .guide-title { padding-left: var(--gutter); padding-right: var(--gutter); }
    .guide-title { min-height: 0; }
    .guide-visual { min-height: 220px; }
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .toc { position: static; border-top: 0; padding-top: 0; }
    .toc details { border: 1px solid var(--rule); border-radius: 4px; background: var(--white); }
    .toc summary { margin: 0; padding: 13px 16px; min-height: 48px; }
    .toc summary::after { content: ""; width: 8px; height: 8px; border-right: 1.8px solid var(--ink); border-bottom: 1.8px solid var(--ink); transform: translateY(-3px) rotate(45deg); transition: transform 0.2s; flex: none; }
    .toc details[open] summary::after { transform: translateY(2px) rotate(225deg); }
    .toc-count { display: inline; margin-left: auto; font-size: 14px; color: var(--muted); }
    .toc ol { padding: 4px 16px 12px; border-top: 1px solid var(--rule); }
    .toc details:not([open]) ol { display: none; }
    .toc-spacer { display: none; }
    .region-index { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* Phones */
@media (max-width: 640px) {
    body { font-size: 16.5px; }
    .header-row { min-height: 64px; }
    .menu-panel { top: 64px; }
    .wordmark { font-size: 27px; }
    .search-drop > summary span, .menu-drop > summary span { display: none; }
    .search-drop > summary, .menu-drop > summary { padding: 10px; }
    .home-hero { min-height: 640px; align-items: flex-end; }
    .home-hero::before { background: linear-gradient(0deg, rgba(14, 22, 24, 0.78) 0%, rgba(14, 22, 24, 0.45) 55%, rgba(14, 22, 24, 0.15) 100%); }
    .hero-copy { padding-top: 120px; padding-bottom: 64px; }
    .hero-search { flex-wrap: nowrap; }
    .search-form button { padding: 12px 14px; }
    .photo-place { bottom: 14px; font-size: 12px; }
    .photo-grid, .tip-grid, .box-grid, .region-index { grid-template-columns: 1fr; }
    .box-grid { gap: 10px; }
    .place-box { min-height: 0; }
    .tip-card { min-height: 0; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .section-head.centered { align-items: center; }
    .band-lists { grid-template-columns: 1fr; }
    .giant { font-size: clamp(54px, 17vw, 96px); }
    .giant.giant-long { font-size: clamp(40px, 12vw, 64px); }
    .member-list { columns: 2; }
    .guide-visual { min-height: 150px; }
    .prose { font-size: 17.5px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-base { flex-direction: column; }
    .region-block ul { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
