/* ==========================================================================
   Inner pages: blog archive, article, legal, contact, 404.
   ========================================================================== */

.section--page { padding-top: 72px; }

.page-intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 56px; }
.page-intro__title { font-size: var(--fs-h1); max-width: 12ch; }
.page-intro__text { max-width: 520px; font-size: 18px; line-height: 1.6; }
.page-intro--left { align-items: flex-start; text-align: left; margin-bottom: 40px; }

/* Pagination */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: 8px; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius);
	background: var(--c-surface); border: 1px solid var(--c-border); font-weight: 500;
}
.pagination .page-numbers.current { background: var(--c-accent); color: var(--c-white); } /* orange, never black */
.pagination .page-numbers .icon { width: 18px; height: 18px; }
.archive__empty { text-align: center; }

/* Article */
.article__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 900px; margin-inline: auto; }
.article__title { font-size: clamp(34px, 2.4vw + 18px, 48px); line-height: 1.08; max-width: 24em; } /* only a few px above the article h2 (34px / 28px phone): long SEO titles stay compact */
.article__meta { display: flex; gap: 8px; color: var(--c-muted); font-size: 15px; }
.article__media { margin: 48px auto 0; max-width: 1000px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--c-surface); }
.article__img { width: 100%; height: 100%; object-fit: cover; }
.article__body { max-width: 760px; margin: 56px auto 0; }
.related { padding-top: 40px; }

/* Prose (post + legal content) */
.prose { font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 34px; margin-top: 1.6em; }
.prose h3 { font-size: 26px; margin-top: 1.4em; }
.prose a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose blockquote { padding: 24px 28px; border-radius: var(--radius); background: var(--c-surface); border-left: 3px solid var(--c-blue); font-family: var(--f-display); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -0.03em; }
.prose img { border-radius: var(--radius); }

/* Legal */
.legal__updated { text-align: center; margin-top: -32px; margin-bottom: 48px; color: var(--c-muted); font-size: 14px; }
.legal__body { max-width: 800px; margin-inline: auto; font-size: 17px; }

@media (max-width: 767px) {
	.section--page { padding-top: 48px; }
	.page-intro { margin-bottom: 40px; }
	.page-intro__text { font-size: 17px; }
	.article__media { margin-top: 32px; }
	.article__body { margin-top: 36px; }
	.prose { font-size: 17px; }
	.prose h2 { font-size: 28px; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin-bottom: 28px; font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; color: var(--c-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; opacity: 0.5; }
.breadcrumbs a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color var(--t-swap); }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { color: var(--c-text); text-decoration-color: currentColor; }
.breadcrumbs [aria-current] { color: var(--c-text); }
.page-intro__title--sm { font-size: var(--fs-h2); max-width: 16em; }

/* ---------- Prose extras: images, captions, tables, page links ---------- */
.prose figure { margin-block: 1.6em; }
.prose figure img { width: 100%; }
.prose figcaption, .article__media figcaption { margin-top: 8px; font-size: 14px; color: var(--c-muted); text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--c-border-strong); text-align: left; vertical-align: top; }
.prose thead th { font-family: var(--f-display); font-size: 18px; letter-spacing: -0.02em; background: var(--c-surface); }
.prose li + li { margin-top: 0.4em; }
.prose blockquote cite { display: block; margin-top: 10px; font-family: var(--f-body); font-weight: 400; font-size: 15px; font-style: normal; color: var(--c-muted); }
.prose .lead { font-size: 1.2em; line-height: 1.55; }
.page-links { display: flex; gap: 8px; margin-top: 2em; font-weight: 600; }

/* ---------- Article extras ---------- */
.article__meta a { text-decoration: underline; text-underline-offset: 3px; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; margin: 40px auto 0; }
.article__author { max-width: 760px; margin: 40px auto 0; }
.chip--link { background: var(--c-surface-2); border: 1px solid var(--c-border); }
.chip--link:hover, .chip--link:focus-visible { border-color: var(--c-blue); }

/* ---------- Author box ---------- */
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 22px; padding: 26px; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border); }
.author-box__photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.author-box__label { font-size: 13px; color: var(--c-muted); }
.author-box__name { font-size: 28px; margin-top: 2px; }
.author-box__role { color: var(--c-accent); font-weight: 600; font-size: 15px; margin-top: 4px; }
.author-box__bio { margin-top: 10px; line-height: 1.6; }
.author-box__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; }
.author-box__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.author-box__more .icon { width: 14px; height: 14px; }
.author-box__social { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-bg); }
.author-box__social .icon { width: 16px; height: 16px; }
.archive-author { max-width: 860px; margin: 0 auto 48px; }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 8px; width: min(520px, 100%); }
.search-form__input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--c-border-strong); background: var(--c-surface-2); font-size: 16px; }
.search-form__input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.15); }
.search-form__submit { height: 48px; }
.page-intro .search-form { margin-top: 8px; }
.result-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.result { position: relative; display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border); transition: border-color var(--t-swap); }
.result:hover, .result:focus-within { border-color: var(--c-blue); }
.result__media img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; }
.result__type { font-size: 13px; font-weight: 600; color: var(--c-accent); }
.result__title { font-size: 24px; margin-top: 2px; }
.result__text { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--c-muted); }
.no-results { max-width: 560px; margin: 0 auto; text-align: center; display: grid; gap: 12px; justify-items: center; }
.no-results__title { font-size: 32px; }
.no-results__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ---------- Standard page + sidebar ---------- */
.standard-page__layout { max-width: 800px; margin-inline: auto; }
.standard-page__layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; max-width: none; align-items: start; }
.standard-page__content { font-size: 17px; }
.page-sidebar { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.page-sidebar .widget { padding: 22px; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border); }
.page-sidebar .widget__title { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; margin-bottom: 12px; }
.page-sidebar .widget ul { display: grid; gap: 10px; }
.page-sidebar .widget a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color var(--t-swap); }
.page-sidebar .widget a:hover { text-decoration-color: currentColor; }
.page-sidebar .search-form { flex-direction: column; }
.page-sidebar p + p { margin-top: 8px; }

/* ---------- Contact routes (Contact, Schedule a Call, Request a Quote) ---------- */
.contact-routes__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.routes { display: grid; gap: 12px; }
.route {
	display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; align-items: center;
	padding: 20px 22px; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border);
	transition: border-color var(--t-swap);
}
.route:hover, .route:focus-visible { border-color: var(--c-blue); }
.route--primary { background: var(--c-accent); color: var(--c-white); border-color: var(--c-accent); }
.route__icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--c-bg); color: var(--c-accent); }
.route__icon .icon { width: 22px; height: 22px; }
.route__label { font-size: 14px; color: var(--c-muted); }
.route--primary .route__label { color: inherit; opacity: 0.85; }
.route__value { font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.routes__brief { margin-top: 24px; padding: 22px; border-radius: var(--radius-lg); border: 1px dashed var(--c-border-strong); }
.routes__title { font-size: 22px; margin-bottom: 10px; }
.routes__brief ul { display: grid; gap: 8px; list-style: disc; padding-left: 1.2em; }
.routes__note { margin-top: 12px; font-size: 14px; color: var(--c-muted); }
.routes__where { margin-top: 20px; font-size: 15px; color: var(--c-muted); }
.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-row a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); transition: background-color var(--t-swap), color var(--t-swap); }
.social-row a:hover, .social-row a:focus-visible { background: var(--c-accent); color: var(--c-white); }
.social-row .icon { width: 18px; height: 18px; }

/* ---------- 404 ---------- */
.not-found__title { font-size: var(--fs-h2); }
.not-found__search { width: min(520px, 100%); display: flex; justify-content: center; }

@media (max-width: 1023px) {
	.standard-page__layout.has-sidebar { grid-template-columns: 1fr; }
	.page-sidebar { position: static; }
	.contact-routes__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
	.author-box { grid-template-columns: 1fr; }
	.result { align-items: flex-start; }
	.result__media img { width: 64px; height: 64px; }
	.result__title { font-size: 20px; }
	.search-form { flex-direction: column; }
	.route__value { font-size: 20px; }
}

.not-found { padding-block: 120px 140px; }
.not-found__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.not-found__code { font-family: var(--f-display); font-weight: 700; font-size: clamp(140px, 22vw, 260px); line-height: 0.85; letter-spacing: -0.04em; color: var(--c-accent); }
.not-found__text { max-width: 380px; font-size: 18px; }

/* Page intro sketches (page-intro.php "sketches"): light grey hand-drawn sketches bleeding in from
   the left and right edges, drawn in once like the homepage (draw-in CSS in shared.css). */
.page-intro--sketched { position: relative; isolation: isolate; }
.page-intro__sketch { position: absolute; z-index: -1; top: -10px; width: 240px; height: auto; color: var(--c-text); opacity: 0.16; pointer-events: none; }
.page-intro__sketch--left { left: -70px; transform: rotate(-6deg); }
.page-intro__sketch--right { right: -70px; top: 30px; transform: rotate(5deg); }
@media (max-width: 767px) {
	.page-intro__sketch { width: 150px; opacity: 0.12; }
	.page-intro__sketch--left { left: -60px; }
	.page-intro__sketch--right { right: -60px; }
}

/* 404 v2: soft diamond banner, shield-and-spears sketch, on-brand (overrides the block above). */
.not-found { padding-block: 64px 72px; }
.not-found__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.not-found__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; }
.not-found__title { font-size: clamp(48px, 6vw, 84px); line-height: 0.95; }
.not-found__text { max-width: 46ch; font-size: 19px; line-height: 1.55; }
.not-found__search { width: min(520px, 100%); justify-content: flex-start; }
.not-found__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.not-found__home { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.not-found__home svg { width: 18px; height: 18px; }
.not-found__def { font-size: 13.5px; font-style: italic; color: var(--c-muted); }
.not-found__art { display: grid; place-items: center; color: var(--c-blue); }
.not-found__sketch { width: min(380px, 100%); height: auto; opacity: 0.55; stroke-width: 1.5; }
.not-found__topics .quiz-tabs { margin-top: 0; }
@media (max-width: 800px) {
	.not-found__grid { grid-template-columns: 1fr; }
	.not-found__art { order: -1; justify-items: start; }
	.not-found__sketch { width: 180px; }
}
.not-found { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M9 4l5 5-5 5-5-5z' fill='none' stroke='%23fff' stroke-opacity='.75' stroke-width='1.2'/%3E%3Ccircle cx='0' cy='0' r='1.4' fill='%23fff' fill-opacity='.8'/%3E%3Ccircle cx='18' cy='18' r='1.4' fill='%23fff' fill-opacity='.8'/%3E%3Ccircle cx='9' cy='9' r='1' fill='%232a211c' fill-opacity='.12'/%3E%3C/svg%3E"), #d9eaf7; }

/* ---------- Request a Quote v2: diamond banner, a friendly line, the six topics, one quiet alternative ---------- */
.quote-page { padding: 40px 0 72px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M9 4l5 5-5 5-5-5z' fill='none' stroke='%23fff' stroke-opacity='.75' stroke-width='1.2'/%3E%3Ccircle cx='0' cy='0' r='1.4' fill='%23fff' fill-opacity='.8'/%3E%3Ccircle cx='18' cy='18' r='1.4' fill='%23fff' fill-opacity='.8'/%3E%3Ccircle cx='9' cy='9' r='1' fill='%232a211c' fill-opacity='.12'/%3E%3C/svg%3E"), #d9eaf7; }
.quote-page__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; max-width: 760px; }
.quote-page__title { font-size: clamp(44px, 5.4vw, 76px); line-height: 0.98; }
.quote-page__lead { max-width: 52ch; font-size: 19px; line-height: 1.55; }
.quote-page .quiz-tabs { margin-top: 36px; }
.quote-page .quiz-tab { background: #fff; }
.quote-page__alt { margin-top: 28px; font-size: 16px; color: var(--c-text); }
.quote-page__alt a { font-weight: 600; }
@media (max-width: 700px) { .quote-page { padding-bottom: 48px; } }

/* ---------- Standard page: pattern banner with the H1, then the text (optional sidebar) ---------- */
.page-banner { padding: 40px 0 56px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M9 4l5 5-5 5-5-5z' fill='none' stroke='%23fff' stroke-opacity='.75' stroke-width='1.2'/%3E%3Ccircle cx='0' cy='0' r='1.4' fill='%23fff' fill-opacity='.8'/%3E%3Ccircle cx='18' cy='18' r='1.4' fill='%23fff' fill-opacity='.8'/%3E%3Ccircle cx='9' cy='9' r='1' fill='%232a211c' fill-opacity='.12'/%3E%3C/svg%3E"), #d9eaf7; }
.page-banner__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; max-width: 820px; }
.page-banner__title { font-size: clamp(40px, 5vw, 68px); line-height: 1; }
.page-banner__intro { max-width: 60ch; font-size: 19px; line-height: 1.55; }
.page-banner__updated { font-size: 14px; color: var(--c-muted); }
.standard-page__body { padding-top: clamp(40px, 5vw, 64px); }
.standard-page__layout { margin-inline: 0; }
.page-sidebar .widget { background: #fff; }
.page-sidebar input[type="search"], .page-sidebar .wp-block-search__input, .page-sidebar .search-form__input { width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--c-border-strong); background: var(--c-surface-2); font-size: 16px; }
.page-sidebar .wp-block-search__inside-wrapper { display: grid; gap: 10px; }
.page-sidebar .wp-block-search__button { height: 48px; margin: 0; }
.page-sidebar .search-form__input, .page-sidebar .search-form__submit { flex: none; }
@media (max-width: 700px) { .search-form .search-form__input { flex: none; } }

/* About: banner with team faces, two core strengths, how we work, a short history, recent work. */
.about-hero { padding: 32px 0 56px; }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; margin-top: 20px; }
.about-hero__title { margin-top: 10px; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; }
.about-hero__lead { margin-top: 16px; max-width: 560px; font-size: 18px; line-height: 1.6; }
.about-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
.about-strengths__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.about-card { --tint: #fbdcc6; position: relative; display: grid; align-content: start; gap: 12px; padding: 32px; border-radius: var(--radius-lg); overflow: hidden;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M9 4l5 5-5 5-5-5z' fill='none' stroke='%23fff' stroke-opacity='.75' stroke-width='1.2'/%3E%3Ccircle cx='0' cy='0' r='1.4' fill='%23fff' fill-opacity='.8'/%3E%3Ccircle cx='18' cy='18' r='1.4' fill='%23fff' fill-opacity='.8'/%3E%3Ccircle cx='9' cy='9' r='1' fill='%232a211c' fill-opacity='.12'/%3E%3C/svg%3E"), var(--tint); }
.about-card--sky { --tint: #d9eaf7; }
.about-card__sketch { width: 120px; height: auto; color: #2a211c; opacity: 0.8; }
.about-card__title { font-size: clamp(26px, 2.6vw, 34px); }
.about-card__text { font-size: 17px; line-height: 1.6; max-width: 520px; }
.about-card__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 6px; }
.about-card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-text); text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 5px; }
.about-card__link svg { width: 18px; height: 18px; color: var(--c-accent); }
.about-roots { padding: 72px 0; }
.about-roots__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: roots; }
.about-roots__list li { counter-increment: roots; padding: 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.85); border-top: 4px solid var(--c-accent); }
.about-roots__list li::before { content: "0" counter(roots); display: block; margin-bottom: 8px; font-family: var(--f-display); font-weight: 700; color: var(--c-blue); }
.about-roots__list h3 { font-size: 22px; }
.about-roots__list p { margin-top: 8px; font-size: 17px; line-height: 1.6; }
.about-history__content { max-width: 760px; margin-inline: auto; }
.about-work .case-list { margin-top: 32px; }
@media (max-width: 900px) {
	.about-hero__grid, .about-strengths__grid, .about-roots__list { grid-template-columns: 1fr; }
	.about-card { padding: 24px; }
}
.about-timeline { display: grid; gap: 0; margin: 24px 0 0; padding: 0 !important; list-style: none !important; border-left: 3px solid var(--c-accent); }
.about-timeline li { position: relative; margin: 0 !important; padding: 0 0 22px 26px; font-size: 18px; line-height: 1.6; }
.about-timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fffaf2; border: 3px solid var(--c-blue); }
.about-timeline strong { display: block; font-family: var(--f-display); font-size: 22px; color: var(--c-blue); }
.about-card--sand { --tint: #f6e3c8; }

/* About journey: trail from the shack past drum checkpoints to the river. */
.about-journey { padding: 72px 0 80px; overflow: hidden; }
.journey { --drum: 76px; position: relative; display: grid; grid-template-columns: 0.6fr 6fr 0.6fr; margin-top: 40px; }
.journey__trail { position: absolute; left: 0; top: 0; width: 100%; height: 170px; overflow: visible; }
.journey__trail path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.journey__trail-base { stroke: rgba(42, 33, 28, 0.12); stroke-width: 10; }
.journey__trail-draw { stroke: #b07a3c; stroke-width: 3; stroke-dasharray: 0.012 0.012; }
.motion .journey__trail-draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.motion .journey.is-in .journey__trail-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s ease-in-out 0.2s; }
.motion .journey.is-in .journey__trail-draw { animation: journey-dots 0s 3s forwards; }
@keyframes journey-dots { to { stroke-dasharray: 0.012 0.012; } }
.journey__hut { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; padding-top: 86px; }
.journey__hut svg { width: 70px; height: auto; }
.journey__hut-label, .journey__river-label { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.journey__stops { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 14px; margin: 0; padding: 0; list-style: none; }
.journey__stop { display: grid; justify-items: center; align-content: start; text-align: center; padding: 12px 4px 0; }
.journey__stop--low .journey__drum { margin-top: 62px; }
.journey__stop:not(.journey__stop--low) .journey__title { margin-top: 74px; }
.journey__drum { position: relative; display: grid; place-items: center; width: var(--drum); height: var(--drum); border-radius: 50%; box-shadow: 0 14px 26px -14px rgba(255, 92, 0, 0.7); }
.journey__drum svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey__drum b { position: relative; font-family: var(--f-display); font-size: 17px; color: #2a211c; letter-spacing: -0.02em; }
.motion .journey__drum { opacity: 0; transform: scale(0.4) rotate(-40deg); }
.motion .journey.is-in .journey__drum { opacity: 1; transform: none; transition: opacity 0.4s, transform 0.6s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(0.5s + var(--i) * 0.38s); }
.journey.is-in .journey__drum svg { animation: journey-beat 4.8s ease-in-out infinite; animation-delay: calc(3s + var(--i) * 0.4s); }
@keyframes journey-beat { 0%, 86%, 100% { transform: scale(1) rotate(0); } 90% { transform: scale(1.08) rotate(-6deg); } 94% { transform: scale(0.98) rotate(3deg); } }
.journey__title { margin-top: 12px; font-size: 18px; line-height: 1.15; }
.journey__text { margin-top: 6px; font-size: 15px; line-height: 1.5; }
.journey__text a { color: var(--c-text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 3px; }
.journey__text a:hover { color: var(--c-blue); }
.journey__river { position: relative; z-index: 0; margin: -72px 0 -80px; }
.journey__river svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey__water { fill: none; stroke: #7cc4e8; stroke-width: 34; stroke-linecap: round; opacity: 0.85; vector-effect: non-scaling-stroke; }
.journey__ripple { fill: none; stroke: #fff; stroke-width: 2.4; stroke-dasharray: 10 26; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: journey-flow 2.4s linear infinite; }
@keyframes journey-flow { to { stroke-dashoffset: -72; } }

/* Phones and tablets: the trail runs down the left, the river across the bottom. */
@media (max-width: 1000px) {
	.journey { grid-template-columns: 1fr; padding-left: 0; }
	.journey__trail { display: none; }
	.journey::before { content: ""; position: absolute; left: 37px; top: 70px; bottom: 60px; border-left: 3px dashed #b07a3c; opacity: 0.6; }
	.journey__hut { justify-items: start; padding: 0 0 10px; }
	.journey__hut svg { width: 76px; }
	.journey__stops { grid-template-columns: 1fr; gap: 22px; }
	.journey__stop { grid-template-columns: var(--drum) 1fr; column-gap: 18px; justify-items: start; text-align: left; padding: 0; }
	.journey__stop .journey__drum { grid-row: span 2; margin-top: 0 !important; }
	.journey__stop .journey__title { margin-top: 10px !important; }
	.journey__river { height: 44px; margin: 26px -24px -90px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='44'%3E%3Cpath d='M0 14 Q30 4 60 14 T120 14 V44 H0z' fill='%237cc4e8'/%3E%3Cpath d='M10 26 h14 M52 32 h18 M92 24 h12' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 44px; animation: journey-flow-x 3s linear infinite; }
	.journey__river svg { display: none; }
	@keyframes journey-flow-x { to { background-position: -120px 0; } }
}
@media (prefers-reduced-motion: reduce) { .journey * { animation: none !important; transition: none !important; } }
.about-journey.team-banner { padding: 72px 0 80px; }

/* Journey v2: green print, trees from above, a calm river (no road dashes), coloured drums, top-view hut. */
.about-journey.team-banner { --tint: #dcebd3; }
.journey__hut { padding-top: 90px; }
.journey__hut svg { width: 64px; }
.journey__tree { position: absolute; z-index: 1; width: var(--s, 28px); height: var(--s, 28px); pointer-events: none; }
.journey__tree svg { display: block; width: 100%; height: 100%; }
.journey__river { overflow: visible; }
.journey__bank { fill: none; stroke: #b9d9a6; stroke-width: 52; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.journey__water { stroke: #4f9fd0; stroke-width: 30; opacity: 1; }
.journey__shine { fill: none; stroke: #9fd0ef; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.8; }
.journey__ripple { display: none; }
.journey__tree--bank { z-index: 1; }
@media (max-width: 1000px) {
	.journey > .journey__tree { display: none; }
	.journey__hut svg { width: 64px; }
	.journey__river { height: 64px; margin: 30px -24px -90px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='64'%3E%3Crect width='160' height='64' fill='%23b9d9a6'/%3E%3Cpath d='M0 30 Q40 18 80 30 T160 30 V52 Q120 62 80 52 T0 52z' fill='%234f9fd0'/%3E%3Cpath d='M18 38 q14 -5 28 0 M98 42 q12 -4 24 0' fill='none' stroke='%239fd0ef' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 160px 64px; animation: none; }
	.journey__river .journey__tree--bank { top: auto !important; bottom: auto; }
	.journey__river .journey__tree--bank:nth-of-type(odd) { top: -6px !important; }
	.journey__river .journey__tree--bank:nth-of-type(even) { top: 40px !important; }
	.journey__river .journey__tree--bank:nth-of-type(1) { left: 8% !important; }
	.journey__river .journey__tree--bank:nth-of-type(2) { left: 26% !important; }
	.journey__river .journey__tree--bank:nth-of-type(3) { left: 46% !important; }
	.journey__river .journey__tree--bank:nth-of-type(4) { left: 64% !important; }
	.journey__river .journey__tree--bank:nth-of-type(5) { left: 82% !important; }
	.journey__river .journey__tree--bank:nth-of-type(6) { left: 92% !important; }
}
.journey__hut { padding-top: 84px; } .journey__hut svg { width: 74px; }

/* Sitemap page: grouped links, live filter and site search. */
.sitemap-hero { padding: 32px 0 44px; }
.sitemap-hero__title { margin-top: 10px; font-size: clamp(36px, 4.6vw, 60px); }
.sitemap-hero__lead { margin-top: 12px; max-width: 640px; font-size: 18px; line-height: 1.6; }
.sitemap-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.sitemap-tools__filter { position: relative; flex: 1 1 280px; max-width: 420px; }
.sitemap-tools__filter svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--c-blue); }
.sitemap-tools input { width: 100%; height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--c-border-strong); background: #fff; font: inherit; font-size: 16px; }
.sitemap-tools__filter input { padding-left: 42px; }
.sitemap-tools__search { display: flex; gap: 8px; flex: 1 1 320px; max-width: 460px; }
.sitemap-tools__search button { flex: none; height: 48px; }
.sitemap__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; align-items: start; }
.sitemap__col { display: grid; gap: 32px; }
.sitemap__title { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 3px solid var(--c-accent); font-size: 24px; }
.sitemap__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.45; }
.sitemap__list a { color: var(--c-text); text-decoration: underline; text-decoration-color: rgba(255, 92, 0, 0.45); text-underline-offset: 4px; }
.sitemap__list a:hover { color: var(--c-blue); text-decoration-color: var(--c-blue); }
.sitemap__list--tree > li > a { font-weight: 700; }
.sitemap__list--tree ul { display: grid; gap: 4px; margin: 6px 0 8px 18px; padding: 0 0 0 14px; list-style: none; border-left: 2px solid var(--c-border); }
.sitemap__list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.sitemap__cat { border-bottom: 1px solid var(--c-border); }
.sitemap__cat summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; cursor: pointer; font-weight: 700; list-style: none; }
.sitemap__cat summary::-webkit-details-marker { display: none; }
.sitemap__cat summary::after { content: "+"; font-size: 20px; color: var(--c-accent); }
.sitemap__cat[open] summary::after { content: "–"; }
.sitemap__cat summary a { color: var(--c-text); text-decoration: none; }
.sitemap__count { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--c-surface); font-size: 13px; font-weight: 600; color: var(--c-muted); }
.sitemap__cat .sitemap__list { padding: 0 0 14px; }
.sitemap__empty { margin-top: 24px; font-size: 17px; }
@media (max-width: 900px) { .sitemap__grid { grid-template-columns: 1fr; } }
