/* ==========================================================================
   Discover Kyrgyzland — minimal
   Ink navy + white + brand orange. Satoshi.
   ========================================================================== */

@font-face {
	font-family: "Satoshi";
	src: url("../fonts/satoshi-variable.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("../fonts/satoshi-variable-italic.woff2") format("woff2");
	font-weight: 300 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--ink: #101827;
	--ink-2: #1c2638;
	--ink-soft: #3a4456;
	--muted: #5c6474;
	--paper: #ffffff;
	--sand: #f4f5f7;
	--sand-2: #e5e7eb;
	--line: rgba(16, 24, 39, .1);
	--line-strong: rgba(16, 24, 39, .2);
	--white: #fff;
	--accent: #f75c36;
	--accent-hover: #ff7350;
	--accent-text: #b8401c; /* orange that passes AA as text on paper */
	--ok: #2f6b4f;
	--err: #b42318;

	--font: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 48px);
	--radius: 24px;
	--radius-sm: 14px;
	--header-h: 62px;
	--header-top: 16px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* --- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-top) + var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.65 var(--font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.025em; }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.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: 100; padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 600; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(720px + 2 * var(--gutter)); }
.wrap--form { max-width: calc(760px + 2 * var(--gutter)); }

.kicker { display: block; margin: 0 0 12px; font: 500 .8rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kicker--light { color: rgba(255, 255, 255, .6); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 58ch; }

/* --- Buttons ------------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 12px 22px;
	border: 1px solid transparent; border-radius: 999px;
	font: 500 .98rem/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.btn .icon-arrow { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(8px); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn--line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn-text { background: none; border: 0; padding: 4px 0; font: 500 .92rem var(--font); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: .25em; }
.btn-text:hover { color: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; text-decoration: none; white-space: nowrap; }
.link-arrow .icon-arrow { transition: transform .25s var(--ease); }
.link-arrow:hover .icon-arrow { transform: translateX(4px); }
.link-arrow:hover { color: var(--accent-text); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--accent); }

/* --- Header: floating rounded bar, fixed over the page ------------------ */

.site-header { position: fixed; top: var(--header-top); left: 0; right: 0; z-index: 50; padding-inline: var(--gutter); pointer-events: none; }
.site-header__bar {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
	max-width: 1120px; height: var(--header-h); margin-inline: auto; padding: 0 9px 0 22px;
	border-radius: 999px; background: rgba(255, 255, 255, .96);
	box-shadow: 0 3px 14px rgba(16, 24, 39, .1), 0 0 0 1px rgba(16, 24, 39, .04);
	pointer-events: auto;
}
@supports (backdrop-filter: blur(1px)) { .site-header__bar { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); } }
.logo { display: block; flex: none; }
.logo img { width: 124px; height: auto; }
.site-nav { display: flex; justify-content: flex-end; }
.site-nav .menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu a { display: block; padding: 8px 16px; border-radius: 999px; font-weight: 500; font-size: .96rem; text-decoration: none; color: var(--ink); transition: background-color .2s, color .2s; }
.site-nav .menu a:hover { background: var(--sand); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a { color: var(--accent-text); }
/* Only holds the menu button, which phones need; desktop shows the menu itself. */
.site-header__actions { display: none; align-items: center; gap: 6px; flex: none; }


/* The mobile menu drops under the bar like a second card; the contact panel shares the card look. */
.contact-menu__panel, .site-nav.is-open {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 2;
	padding: 22px; border-radius: 26px; background: var(--white);
	box-shadow: 0 10px 30px -6px rgba(16, 24, 39, .18), 0 0 0 1px rgba(16, 24, 39, .05);
	animation: dkg-drop .18s var(--ease);
}
.contact-menu__panel[hidden] { display: none; }
@keyframes dkg-drop { from { opacity: 0; transform: translateY(-6px); } }
.contact-menu__title { margin: 0 0 8px; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-menu__list { margin: 0 0 16px; padding: 0; list-style: none; }
.contact-menu__list a { display: flex; align-items: center; gap: 14px; margin-inline: -12px; padding: 10px 12px; border-radius: 16px; text-decoration: none; transition: background-color .2s; }
.contact-menu__list a:hover { background: var(--sand); }
.contact-menu__list .icon { width: 22px; height: 22px; color: var(--accent-text); }
.contact-menu__list span { display: block; font-size: .88rem; color: var(--muted); overflow-wrap: anywhere; }
.contact-menu__list strong { display: block; font-size: .98rem; font-weight: 600; color: var(--ink); }

.nav-toggle { display: none; }

@media (max-width: 900px) {
	:root { --header-h: 56px; --header-top: 10px; }
	.site-header__bar { padding: 0 6px 0 16px; justify-content: space-between; }
	.site-header__actions { display: flex; }
	.logo img { width: 108px; }
	.site-nav { display: none; }
	.site-nav.is-open { display: block; left: 0; right: 0; padding: 8px 22px 22px; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 15px 0; border-radius: 0; font-size: 1.2rem; font-weight: 600; border-bottom: 1px solid var(--line); }
	.site-nav .menu a:hover { background: none; color: var(--accent-text); }
	.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
	.nav-toggle:hover { background: var(--sand); }
	.nav-toggle .icon { width: 24px; height: 24px; }
	.nav-toggle__close { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
}

/* Logged-in admins: keep the bar below the WordPress toolbar. */
.admin-bar .site-header { top: calc(var(--header-top) + 32px); }
@media (max-width: 782px) { .admin-bar .site-header { top: calc(var(--header-top) + 46px); } }

/* Room for the fixed header, except on pages that open with a full-bleed photo. */
.site-main { padding-top: calc(var(--header-top) + var(--header-h)); }
.home .site-main, .single-destinations .site-main { padding-top: 0; }

/* --- Sections ------------------------------------------------------------ */

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(24px, 3vw, 40px) clamp(64px, 9vw, 112px); }
.section--alt, .section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2 { color: #fff; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head h2 { margin: 0; }
.section__head--center { justify-content: center; text-align: center; }

.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(16px, 2vw, 24px); }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin: 0; }

.ornament { display: none; }

/* --- Hero ---------------------------------------------------------------- */

.hero__frame { position: relative; display: grid; align-items: end; min-height: min(100svh, 860px); overflow: hidden; color: #fff; background: var(--ink-2); isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__img--flip { transform: scaleX(-1); }
.hero__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 24, 39, .35) 0%, rgba(16, 24, 39, 0) 30%, rgba(16, 24, 39, 0) 45%, rgba(16, 24, 39, .72) 100%); }
.hero__inner { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: 140px var(--gutter) clamp(40px, 7vw, 96px); }
.hero__title { font-size: clamp(3rem, 9vw, 7rem); font-weight: 700; line-height: .95; letter-spacing: -.04em; margin-bottom: 20px; max-width: 9ch; color: #fff; }
.hero__lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 46ch; color: rgba(255, 255, 255, .88); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

.facts { border-bottom: 1px solid var(--line); }
.facts__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0 auto; padding-block: clamp(28px, 4vw, 44px); list-style: none; }
.facts__list li { display: flex; gap: 14px; align-items: flex-start; }
.facts__list .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.facts__list strong { display: block; font: 600 1rem/1.35 var(--font); }
.facts__list span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.45; margin-top: 2px; }
@media (max-width: 860px) { .facts__list { grid-template-columns: 1fr; gap: 20px; } }

/* --- Filters ------------------------------------------------------------- */

.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.filter { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter__n { font-size: .78rem; color: var(--muted); }
.filter.is-active .filter__n { color: rgba(255, 255, 255, .6); }
@media (max-width: 640px) {
	.filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
	.filters::-webkit-scrollbar { display: none; }
	.filter { flex: none; }
}
.result-count { color: var(--muted); font-size: .9rem; margin: 0; }

/* Tour filter bar: grey rounded strip of white dropdowns. */
.tour-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin-bottom: 18px; padding: 8px; border-radius: 26px; background: var(--sand); }
.tour-filter__field { position: relative; display: block; min-width: 0; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.tour-filter__field:hover { box-shadow: 0 0 0 1px var(--line-strong); }
.tour-filter__field:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.tour-filter__label { position: absolute; left: 16px; top: 9px; font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.tour-filter select { width: 100%; height: 58px; padding: 22px 38px 6px 16px; border: 0; border-radius: 18px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235c6474'%3E%3Cpath d='M17,9.17a1,1,0,0,0-1.41,0L12,12.71,8.46,9.17a1,1,0,0,0-1.41,0,1,1,0,0,0,0,1.42l4.24,4.24a1,1,0,0,0,1.42,0L17,10.59A1,1,0,0,0,17,9.17Z'/%3E%3C/svg%3E") no-repeat right 12px center / 20px; font: 600 .96rem var(--font); color: var(--ink); text-overflow: ellipsis; cursor: pointer; appearance: none; -webkit-appearance: none; }
.tour-filter select:focus { outline: none; }
.tour-filter__submit { height: 58px; border-radius: 18px; }
.tour-filter__submit .icon { width: 20px; height: 20px; }
.js .tour-filter__submit { display: none; }
.tour-filter__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 24px; }
.tour-filter__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tour-filter__tags a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .84rem; font-weight: 500; text-decoration: none; }
.tour-filter__tags a .icon { width: 15px; height: 15px; opacity: .7; }
.tour-filter__tags a:hover .icon { opacity: 1; }
.tour-filter__tags .tour-filter__clear { padding: 5px 4px; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; }
.tour-filter__tags .tour-filter__clear:hover { color: var(--ink); }
@media (max-width: 640px) { .tour-filter { grid-template-columns: 1fr 1fr; border-radius: 22px; } .tour-filter__field:last-of-type { grid-column: 1 / -1; } }
.tour-filter.is-loading + .tour-filter__status, .tour-filter.is-loading ~ .grid { opacity: .5; transition: opacity .2s; }
.empty { padding: 32px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* --- Cards --------------------------------------------------------------- */

.grid { display: grid; gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 32px); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--sand-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }
.badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .78rem; font-weight: 500; backdrop-filter: blur(6px); }
.badge .icon { width: 14px; height: 14px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.card__meta { margin: 0 0 8px; font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__title { margin: 0 0 6px; font-size: 1.3rem; line-height: 1.2; transition: color .2s; }
.card:hover .card__title { color: var(--accent-text); }
.card__info, .card__season { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.card__text { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: baseline; justify-content: space-between; margin: auto 0 0; padding-top: 4px; }
.price { font: 600 1.15rem/1 var(--font); letter-spacing: -.01em; }
.price small { font: 400 .85rem var(--font); color: var(--muted); }
.price--ask { font: 500 .92rem var(--font); color: var(--muted); }
.badge--accent { background: var(--white); color: var(--ink); font-weight: 600; font-size: 11px; padding: 5px 10px; gap: 5px; box-shadow: 0 2px 8px rgba(16, 24, 39, .12); }

/* Tour card: white card with an inset rounded photo, duration badge on the photo. */
.card--tour { padding: 12px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); transition: box-shadow .3s var(--ease), border-color .3s, transform .3s var(--ease); }
.card--tour:hover { border-color: transparent; box-shadow: 0 18px 40px -18px rgba(16, 24, 39, .28); transform: translateY(-3px); }
.card--tour .card__media { aspect-ratio: 5 / 4; border-radius: 20px; }
.card--tour .badge { left: 12px; top: 12px; }
.card--tour .badge .icon { width: 13px; height: 13px; }
.badge__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card--tour .card__body { padding: 18px 10px 8px; }
.card--tour .card__title { margin-bottom: 10px; font-size: 1.22rem; font-weight: 600; line-height: 1.3; }
.card--tour .card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 18px; font-size: .74rem; }
.card--tour .card__meta .icon { width: 15px; height: 15px; margin-right: -2px; color: var(--ink); }
.card--tour .badge--type { left: auto; right: 12px; max-width: calc(100% - 130px); gap: 5px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 11px; padding: 5px 10px; box-shadow: 0 2px 8px rgba(16, 24, 39, .12); }
.card--tour .card__foot { align-items: center; padding-top: 0; }
.card--tour .price { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.card--tour .price small { font-size: .82rem; font-weight: 300; color: var(--muted); letter-spacing: 0; }
.card--tour .price--ask { font-size: 1rem; font-weight: 600; color: var(--muted); }
.card__go { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--ink); transition: background-color .2s, transform .25s var(--ease); }
.card__go .icon { width: 20px; height: 20px; }
.card--tour:hover .card__go { background: var(--accent-hover); transform: translateX(2px); }
.card--tour:hover .card__title { color: inherit; }

/* Destination tiles */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.mosaic .place:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic .place:nth-child(6), .mosaic .place:nth-child(7) { grid-column: span 2; }
.mosaic--all { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; }
.mosaic--all .place:first-child, .mosaic--all .place:nth-child(6), .mosaic--all .place:nth-child(7) { grid-column: auto; grid-row: auto; }
@media (max-width: 900px) {
	.mosaic, .mosaic--all { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 8px; }
	.mosaic .place:nth-child(6), .mosaic .place:nth-child(7) { grid-column: auto; }
	.mosaic .place:first-child { grid-column: span 2; grid-row: span 1; }
}
.place { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.place__link { display: block; height: 100%; color: #fff; text-decoration: none; }
.place img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.place__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16, 24, 39, .7)); }
.place__name { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 500 1.15rem/1.15 var(--font); letter-spacing: -.015em; }
.place__name .icon { opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
.place:hover img { transform: scale(1.04); }
.place:hover .place__name .icon { opacity: 1; transform: none; }

/* --- Steps --------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.steps li { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.steps__num { display: block; margin-bottom: 28px; font: 500 .9rem var(--font); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); margin: 0; max-width: 36ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps__num { margin-bottom: 12px; } }

/* --- Split (text + form) ------------------------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split__text > p { color: var(--muted); max-width: 44ch; }
.section--ink .split__text > p { color: rgba(255, 255, 255, .7); }
.split__form, .split__form--card { background: var(--white); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 3vw, 40px); }
.section:not(.section--ink) .split__form, .split__form--card { border: 1px solid var(--line); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-cards a { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color .2s; }
.contact-cards a:hover strong { color: var(--accent-text); }
.contact-cards .icon { width: 22px; height: 22px; color: var(--accent); }
.contact-cards strong { display: block; font-weight: 600; transition: color .2s; }
.contact-cards span { color: var(--muted); font-size: .94rem; overflow-wrap: anywhere; }

/* --- Forms --------------------------------------------------------------- */

.enquiry__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.enquiry__intro { color: var(--muted); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--3 { grid-template-columns: 1.2fr .8fr 1.2fr; }
@media (max-width: 640px) { .form__row, .form__row--3 { grid-template-columns: 1fr; } }
.field { margin: 0; }
.field label, .field legend { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.field input, .field textarea {
	width: 100%; min-height: 48px; padding: 11px 14px;
	border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white);
	font: 400 1rem/1.4 var(--font); color: var(--ink);
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(247, 92, 54, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 4px 0; }
.chips legend { width: 100%; margin-bottom: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9rem; transition: all .15s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 6px 0 0; }
.form__note { font-size: .84rem; color: var(--muted); }
.dkg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .95rem; }
.notice p { margin: 0; }
.notice--ok { background: #e7f3ec; color: var(--ok); }
.notice--ok .icon { width: 20px; height: 20px; margin-top: 2px; }
.notice--error { background: #fdecea; color: var(--err); }

/* --- Tour page ----------------------------------------------------------- */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: .86rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs--light { color: rgba(255, 255, 255, .75); }

.tour__head { padding-top: clamp(28px, 4vw, 56px); }
.tour__title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 20ch; margin-bottom: 28px; }
.tour__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .82rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
a.tag:hover { border-color: var(--ink); color: var(--ink); }
.tag--country { background: var(--ink); border-color: var(--ink); color: #fff; }
a.tag--country:hover { color: #fff; }
.tag .icon { width: 13px; height: 13px; color: var(--accent); }

.gallery { display: grid; gap: 8px; height: clamp(280px, 44vw, 540px); }
.gallery--1 { grid-template-columns: 1fr; }
.gallery--2 { grid-template-columns: 2fr 1fr; }
.gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery--3 .gallery__item:first-child { grid-row: span 2; }
.gallery--4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery--4 .gallery__item:first-child { grid-row: span 2; }
.gallery--4 .gallery__item:nth-child(4) { grid-column: span 2; }
.gallery--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery--5 .gallery__item:first-child { grid-row: span 2; }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: 18px; background: var(--sand-2); cursor: zoom-in; }
.gallery__item:first-child { border-radius: var(--radius); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .3s; }
.gallery__item:hover img { transform: scale(1.03); filter: brightness(.94); }
.gallery__more { position: absolute; right: 12px; bottom: 12px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-weight: 500; font-size: .86rem; }
@media (max-width: 700px) {
	.gallery { height: auto; grid-template-columns: repeat(4, 1fr) !important; grid-template-rows: auto !important; gap: 6px; }
	.gallery__item { border-radius: 12px; }
	.gallery__item:first-child { border-radius: var(--radius-sm); }
	.gallery__item { aspect-ratio: 1; grid-column: auto !important; grid-row: auto !important; }
	.gallery__item:first-child { grid-column: 1 / -1 !important; aspect-ratio: 4 / 3; }
	.gallery--2 .gallery__item:nth-child(2) { grid-column: 1 / -1 !important; aspect-ratio: 16 / 9; }
}

.tour__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 96px); align-items: start; padding-block: clamp(32px, 4vw, 56px) clamp(64px, 9vw, 112px); }
@media (max-width: 960px) { .tour__layout { grid-template-columns: 1fr; } }
.tour__main { min-width: 0; }
.tour__intro { font-size: 1.15rem; color: var(--ink-soft); }
.tour__section { margin-top: clamp(48px, 6vw, 80px); }
.tour__section h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tour__section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }

.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; margin: 0 0 40px; padding-block: 20px; border-block: 1px solid var(--line); }
.keyfacts > div { padding: 2px 20px; border-left: 1px solid var(--line); }
.keyfacts > div:first-child { padding-left: 0; border-left: 0; }
.keyfacts dt { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.keyfacts dt .icon { width: 14px; height: 14px; color: var(--accent); }
.keyfacts dd { margin: 6px 0 0; font: 500 1.08rem/1.3 var(--font); }
@media (max-width: 560px) {
	.keyfacts { grid-template-columns: 1fr 1fr; gap: 18px 0; }
	.keyfacts > div { padding: 0 0 0 16px; }
	.keyfacts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
}

.days { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.day details { border-bottom: 1px solid var(--line); }
.day summary { display: grid; grid-template-columns: 56px 1fr 24px; gap: 12px; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; }
.day summary::-webkit-details-marker { display: none; }
.day__num { font: 500 .85rem var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.day__num::before { content: "Day "; }
.day details[open] .day__num { color: var(--accent-text); }
.day__title { font: 500 1.1rem/1.35 var(--font); letter-spacing: -.01em; transition: color .2s; }
.day__chev { transition: transform .25s var(--ease); color: var(--muted); }
.day details[open] .day__chev { transform: rotate(180deg); }
.day summary:hover .day__title { color: var(--accent-text); }
.day__body { padding: 0 36px 24px 68px; color: var(--ink-soft); }
@media (max-width: 560px) { .day summary { grid-template-columns: 48px 1fr 20px; } .day__body { padding: 0 0 20px; } }

.incl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 700px) { .incl { grid-template-columns: 1fr; } }
.incl__col h2 { font-size: 1.3rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.incl__col ul { list-style: none; padding: 0; margin: 0; }
.incl__col li { position: relative; padding: 7px 0 7px 28px; }
.incl__col li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f6b4f'%3E%3Cpath d='M18.71,7.21a1,1,0,0,0-1.42,0L9.84,14.67,6.71,11.53A1,1,0,1,0,5.29,13l3.84,3.84a1,1,0,0,0,1.42,0l8.16-8.16A1,1,0,0,0,18.71,7.21Z'/%3E%3C/svg%3E") center / 16px no-repeat; }
.incl__col--no li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235c6474'%3E%3Cpath d='M13.41,12l4.3-4.29a1,1,0,1,0-1.42-1.42L12,10.59,7.71,6.29A1,1,0,0,0,6.29,7.71L10.59,12l-4.3,4.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L12,13.41l4.29,4.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z'/%3E%3C/svg%3E"); }
.incl__col .prose p { margin-bottom: .6em; }

.prices__note { margin: -4px 0 20px; color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tier { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.tier__group { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: .9rem; color: var(--muted); }
.tier__group .icon { width: 16px; height: 16px; }
.tier__price { font-size: 1.75rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tier__unit { font-size: .84rem; color: var(--muted); }
.tier.is-best { border-color: var(--accent); background: #fff6f2; box-shadow: 0 0 0 1px var(--accent); }
.tier.is-best .tier__group .icon { color: var(--accent-text); }
.tier__badge { position: absolute; top: -11px; right: 14px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: .74rem; font-weight: 600; }
.prices__info { margin-top: 20px; color: var(--ink-soft); }

.departures { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.departure { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 12px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.departure__when { display: flex; align-items: flex-start; gap: 12px; }
.departure__when .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--accent-text); }
.departure__when strong { display: block; font-size: 1.05rem; font-weight: 600; }
.departure__when span { display: block; font-size: .88rem; color: var(--muted); }
.departure__status { padding: 4px 11px; border-radius: 999px; background: #e7f3ec; color: var(--ok); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.departure--few .departure__status { background: #fff1e8; color: var(--accent-text); }
.departure--guaranteed .departure__status { background: var(--ink); color: #fff; }
.departure--full .departure__status { background: var(--sand); color: var(--muted); }
.departure--full .departure__when strong { color: var(--muted); text-decoration: line-through; }
.departure__price { font-weight: 600; white-space: nowrap; }
.departure__price small { font-weight: 400; color: var(--muted); }
@media (max-width: 640px) {
	.departure { grid-template-columns: 1fr auto; }
	.departure__when { grid-column: 1 / -1; }
	.departure__price:empty { display: none; }
	.departure__btn { grid-column: 1 / -1; }
}

.additional { color: var(--ink-soft); }

/* "Ask about this tour": a soft grey card. */
.tour__enquiry { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--sand); }
.tour__enquiry .enquiry__title { margin-top: 0; }
.tour__enquiry .field input, .tour__enquiry .field textarea { border-color: transparent; box-shadow: 0 0 0 1px var(--line); }
.tour__enquiry .field input:focus, .tour__enquiry .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(247, 92, 54, .18); }
@media (max-width: 560px) { .tour__enquiry { margin-inline: calc(-1 * var(--gutter) + 8px); padding: 22px 18px; } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr 1fr; } .tier { padding: 16px; } .tier__price { font-size: 1.45rem; } }

.tour__map { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }

.booking { position: sticky; top: calc(var(--header-top) + var(--header-h) + 24px); }
.booking__card { padding: 28px; border-radius: calc(var(--radius) + 4px); background: var(--white); border: 1px solid var(--line); }
.booking__price { margin: 0 0 20px; }
.booking__price strong { font: 600 2.2rem/1 var(--font); letter-spacing: -.03em; }
.booking__price small { color: var(--muted); font-size: .86rem; }
.booking__ask { font: 600 1.4rem var(--font); }
.booking__facts { margin: 0 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.booking__facts li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; color: var(--ink-soft); }
.booking__facts .icon { color: var(--muted); }
.booking .btn + .btn { margin-top: 8px; }
@media (max-width: 960px) { .booking { display: none; } }

.mobile-cta { display: none; }
@media (max-width: 960px) {
	.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transition: transform .3s var(--ease); }
	.mobile-cta p { margin: 0; }
	.mobile-cta strong { font: 600 1.35rem var(--font); }
	.mobile-cta small { color: var(--muted); }
	.mobile-cta.is-hidden { transform: translateY(110%); }
	.single-tours .site-footer { padding-bottom: 80px; }
	.single-tours .contact-float { bottom: 88px; }
}

/* --- Destination page ---------------------------------------------------- */

.cover { position: relative; display: grid; align-items: end; min-height: min(78vh, 700px); color: #fff; background: var(--ink-2); isolation: isolate; overflow: hidden; }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 24, 39, .35), transparent 30%, transparent 45%, rgba(16, 24, 39, .7)); }
.cover__inner { padding-block: 140px clamp(32px, 5vw, 64px); }
.cover h1 { color: #fff; margin: 0; font-size: clamp(2.6rem, 7vw, 5.2rem); letter-spacing: -.045em; }

.photo-grid { columns: 3 260px; column-gap: 8px; }
.photo-grid a { display: block; margin-bottom: 8px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.photo-grid img { width: 100%; transition: transform .8s var(--ease); }
.photo-grid a:hover img { transform: scale(1.03); }

.pager { display: flex; justify-content: space-between; gap: 16px; padding-block: 40px; border-top: 1px solid var(--line); }
.pager a { display: block; text-decoration: none; font: 500 1.15rem var(--font); letter-spacing: -.01em; }
.pager a:hover { color: var(--accent-text); }
.pager small { display: block; margin-bottom: 4px; font: 500 .75rem var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pager__next { margin-left: auto; text-align: right; }

/* --- Articles & prose ---------------------------------------------------- */

.article__head { padding-top: clamp(40px, 6vw, 80px); }
.article__head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.article__meta { color: var(--muted); font-size: .92rem; }
.article__image { margin: 20px auto clamp(40px, 5vw, 64px); max-width: calc(1080px + 2 * var(--gutter)); }
.article__image img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }

.prose { overflow-wrap: break-word; }
.prose > :last-child { margin-bottom: 0; }
.prose--lead { font-size: 1.12rem; }
.prose--article { font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose a { color: var(--accent-text); text-decoration-color: rgba(184, 64, 28, .35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose img { border-radius: var(--radius-sm); margin-block: 1.5em; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--muted); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); font-family: var(--font); font-size: 1.25rem; }
.prose .wp-block-image, .prose .wp-block-gallery { margin: 2em 0; }
.prose iframe { width: 100%; border: 0; border-radius: var(--radius-sm); }
.prose .alignleft { float: left; margin: .4em 1.5em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .4em 0 1em 1.5em; max-width: 50%; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose .wp-caption, .prose .wp-block-image { max-width: 100%; }
.prose .wp-caption-text, .prose .wp-element-caption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.prose pre { overflow-x: auto; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--sand); font-size: .92rem; white-space: pre-wrap; }
.prose::after { content: ""; display: table; clear: both; }
@media (max-width: 560px) { .prose .alignleft, .prose .alignright { float: none; max-width: 100%; margin: 1em 0; } }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

.plug { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin: 64px 0 clamp(64px, 9vw, 112px); padding: clamp(24px, 3vw, 40px); border-radius: calc(var(--radius) + 4px); background: var(--ink); color: #fff; }
.plug h2 { color: #fff; font-size: 1.5rem; }
.plug p { color: rgba(255, 255, 255, .72); margin: 0; }
.plug .plug__actions { display: flex; flex-direction: column; gap: 8px; }
.plug .btn--line { border-color: rgba(255, 255, 255, .35); color: #fff; }
.plug .btn--line:hover { border-color: #fff; }
@media (max-width: 700px) { .plug { grid-template-columns: 1fr; } .plug .plug__actions { flex-direction: row; flex-wrap: wrap; } }

/* Pagination */
.pagination, .page-numbers { margin-top: 48px; }
.nav-links, ul.page-numbers { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; list-style: none; }
.page-numbers a, .page-numbers span, .nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.nav-links a.page-numbers:hover { background: var(--sand); }
.page-numbers .current, .nav-links .current { background: var(--ink); color: #fff; }

/* --- Footer -------------------------------------------------------------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .66); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding-block: clamp(56px, 7vw, 96px) 48px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr; gap: 36px; } }
.site-footer .logo img { width: 130px; }
.site-footer__brand p { max-width: 36ch; margin-top: 20px; }
.site-footer__title { font: 500 .78rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 18px; }
.site-footer .menu, .contact-list { margin: 0; padding: 0; list-style: none; }
.site-footer .menu li, .contact-list li { padding: 5px 0; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.contact-list li { display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; }
.contact-list .icon { color: var(--accent); width: 18px; height: 18px; }
.socials { display: flex; gap: 6px; margin: 24px 0 0; padding: 0; list-style: none; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); transition: border-color .2s, color .2s; }
.socials a:hover { border-color: #fff; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; color: rgba(255, 255, 255, .45); }
.site-footer__base p { margin: 0; }
.site-footer__credit a { color: rgba(255, 255, 255, .75); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: .2em; }
.site-footer__credit a:hover { color: #fff; }
/* Keep the last footer line clear of the floating chat button. */
.site-footer__base { padding-right: 100px; }
@media (max-width: 640px) { .site-footer__base { padding-right: var(--gutter); padding-bottom: 88px; } }


/* --- Lightbox ------------------------------------------------------------ */

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 14, 22, .96); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; width: auto; height: auto; border-radius: 18px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox__nav { display: none; }


/* --- Floating contact button --------------------------------------------- */

.contact-float { position: fixed; right: 18px; bottom: 18px; z-index: 45; transition: bottom .25s; }
.contact-menu__btn { display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 10px 28px -8px rgba(16, 24, 39, .45); cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.contact-menu__btn:hover { background: var(--accent-hover); transform: scale(1.06); }
.contact-menu__btn .icon { grid-area: 1 / 1; width: 26px; height: 26px; transition: opacity .2s, transform .25s var(--ease); }
.contact-float__close { opacity: 0; transform: rotate(-90deg); }
.contact-menu__btn[aria-expanded="true"] .contact-float__open { opacity: 0; transform: rotate(90deg); }
.contact-menu__btn[aria-expanded="true"] .contact-float__close { opacity: 1; transform: none; }
.contact-float .contact-menu__panel { top: auto; bottom: calc(100% + 12px); right: 0; width: min(340px, calc(100vw - 36px)); transform-origin: bottom right; }
@media (max-width: 560px) { .contact-float { right: 14px; bottom: 14px; } .contact-menu__btn { width: 54px; height: 54px; } }
