/* ==========================================================================
   Hidden Valley — Guides (blog index, category archives, single posts)
   ========================================================================== */

.hvj { --hvj-col: 720px; }
.hvj-wrap { max-width: var(--hv-max); margin: 0 auto; padding: 0 var(--hv-gutter); }
.hvj-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hv-st-available); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hv-st-available) 25%, transparent); margin-right: 8px; vertical-align: 1px; }

/* ---------- Index hero ---------- */
.hvj-hero { position: relative; overflow: hidden; background: var(--hv-ink); color: #fff; isolation: isolate; }
.hvj-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; z-index: -1; }
.hvj-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 31, 36, .55) 0%, rgba(14, 31, 36, .2) 45%, var(--hv-ink) 100%); }
.hvj-hero__in { max-width: var(--hv-max); margin: 0 auto; padding: calc(var(--hv-header-h) + clamp(56px, 9vw, 120px)) var(--hv-gutter) clamp(40px, 6vw, 72px); }
.hvj-hero .hv-kicker { color: var(--hv-accent); margin: 0 0 14px; }
.hvj-hero__title { margin: 0; font-size: clamp(44px, 7.4vw, 104px); line-height: .95; letter-spacing: -.045em; font-weight: 800; max-width: 12ch; }
.hvj-hero__title em { font-style: normal; color: var(--hv-accent); }
.hvj-hero__intro { max-width: 58ch; margin: 22px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .82); }
.hvj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.hvj-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px; box-shadow: inset 0 0 0 1.5px var(--hv-line-inv); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); transition: background .2s, color .2s; }
.hvj-chip span { opacity: .55; font-variant-numeric: tabular-nums; }
.hvj-chip:hover { background: rgba(255, 255, 255, .14); }
.hvj-chip.is-on { background: var(--hv-accent); color: var(--hv-accent-ink); box-shadow: none; }

/* ---------- Cards ---------- */
.hvj-wrap > .hvj-card--lead { margin-top: clamp(-56px, -4vw, -32px); position: relative; }
.hvj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); margin: clamp(28px, 4vw, 48px) 0; }
.hvj-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--hv-radius); overflow: hidden; box-shadow: 0 1px 0 var(--hv-line), 0 18px 40px -30px rgba(14, 31, 36, .4); transition: transform .35s var(--hv-ease), box-shadow .35s var(--hv-ease); position: relative; }
.hvj-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--hv-line), 0 30px 60px -30px rgba(14, 31, 36, .45); }
.hvj-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hv-sand-50); }
.hvj-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--hv-ease); }
.hvj-card:hover .hvj-card__img img { transform: scale(1.04); }
.hvj-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.hvj-card__title { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.hvj-card__title a { color: inherit; text-decoration: none; }
.hvj-card__title a::after { content: ""; position: absolute; inset: 0; }
.hvj-card__ex { margin: 0; color: var(--hv-muted); font-size: 15.5px; line-height: 1.55; }
.hvj-card__more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14.5px; color: var(--hv-teal-d); }
.hvj-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--hv-muted); }
.hvj-pill { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--hv-sand-50); color: var(--hv-ink); text-decoration: none; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.hvj-pill:hover { background: var(--hv-sand); }

.hvj-card--lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.hvj-card--lead .hvj-card__img { aspect-ratio: auto; min-height: 380px; }
.hvj-card--lead .hvj-card__body { padding: clamp(28px, 4vw, 56px); justify-content: center; gap: 16px; }
.hvj-card--lead .hvj-card__title { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -.03em; }
.hvj-card--lead .hvj-card__ex { font-size: 17px; }
.hvj-card--lead .hvj-card__more { margin-top: 8px; flex: 0; }

/* ---------- Live band ---------- */
.hvj-band { margin: clamp(28px, 4vw, 48px) 0; border-radius: var(--hv-radius); background: var(--hv-ink); color: #fff; overflow: hidden; position: relative; isolation: isolate; }
.hvj-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--hv-accent) 35%, transparent), transparent); z-index: -1; }
.hvj-band__in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "live live live" "big facts btns"; align-items: center; gap: 10px 36px; padding: clamp(26px, 3.4vw, 44px); }
.hvj-band__live { grid-area: live; margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hvj-band__big { grid-area: big; margin: 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.hvj-band__big b { color: var(--hv-accent); font-size: 1.5em; }
.hvj-band__facts { grid-area: facts; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .85); font-weight: 600; }
.hvj-band__facts li::before { content: "✓"; color: var(--hv-accent); margin-right: 8px; font-weight: 800; }
.hvj-band__btns { grid-area: btns; display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }

.hvj-pages, .hvj .nav-links { display: flex; justify-content: center; gap: 8px; margin: 8px 0 72px; flex-wrap: wrap; }
.hvj .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--hv-ink); text-decoration: none; font-weight: 700; box-shadow: inset 0 0 0 1px var(--hv-line); }
.hvj .page-numbers.current { background: var(--hv-ink); color: #fff; box-shadow: none; }
.hvj .screen-reader-text { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }
.hvj-empty { text-align: center; color: var(--hv-muted); padding: 80px 0; }
.hvj > .hvj-wrap { padding-bottom: 24px; }

/* ---------- Post hero ---------- */
.hvj-phero { position: relative; isolation: isolate; overflow: hidden; background: var(--hv-ink); color: #fff; min-height: min(78vh, 760px); display: flex; align-items: flex-end; }
.hvj-phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hvj-phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 31, 36, .55) 0%, rgba(14, 31, 36, .15) 35%, rgba(14, 31, 36, .88) 100%); }
.hvj-phero__in { width: 100%; max-width: var(--hv-max); margin: 0 auto; padding: calc(var(--hv-header-h) + 80px) var(--hv-gutter) clamp(40px, 6vw, 72px); }
.hvj-crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hvj-crumbs a { color: var(--hv-accent); text-decoration: none; }
.hvj-crumbs a:hover { color: #fff; }
.hvj-crumbs span { opacity: .5; }
.hvj-phero__title { margin: 18px 0 0; max-width: 20ch; font-size: clamp(38px, 5.6vw, 80px); line-height: 1; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.hvj-phero__stand { max-width: 60ch; margin: 22px 0 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .86); }
.hvj-meta--inv { margin-top: 26px; color: rgba(255, 255, 255, .72); }
.hvj-meta--inv span + span::before { content: "·"; margin-right: 14px; opacity: .6; }

/* ---------- Post body ---------- */
.hvj-body { max-width: var(--hv-max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--hv-gutter); display: grid; grid-template-columns: minmax(0, var(--hvj-col)) minmax(260px, 340px); justify-content: space-between; gap: clamp(32px, 6vw, 96px); align-items: start; }
.hvj-side { position: relative; height: 100%; }
.hvj-side__stick { position: sticky; top: calc(var(--hv-header-h) + 24px); display: grid; gap: 18px; }
.hvj-side__k { margin: 0 0 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hv-muted); }
.hvj-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 2px; border-left: 2px solid var(--hv-line); }
.hvj-toc li { counter-increment: toc; }
.hvj-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--hv-muted); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.35; transition: color .2s, border-color .2s; }
.hvj-toc a:hover { color: var(--hv-ink); }
.hvj-toc a.is-on { color: var(--hv-ink); border-left-color: var(--hv-teal); }
.hvj-facts { background: var(--hv-ink); color: #fff; border-radius: var(--hv-radius); padding: 24px; display: grid; gap: 14px; }
.hvj-facts .hvj-side__k { color: rgba(255, 255, 255, .7); margin: 0; }
.hvj-facts__big { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.hvj-facts__big b { color: var(--hv-accent); font-size: 1.6em; }
.hvj-facts dl { margin: 0; display: grid; gap: 0; }
.hvj-facts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hv-line-inv); font-size: 15px; }
.hvj-facts dt { color: rgba(255, 255, 255, .65); font-weight: 600; }
.hvj-facts dd { margin: 0; font-weight: 700; text-align: right; }
.hvj-facts .hv-btn { width: 100%; }
.hvj-facts__link { text-align: center; color: rgba(255, 255, 255, .8); font-weight: 600; font-size: 14.5px; }

/* ---------- Prose ---------- */
.hvj-prose { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.75; color: var(--hv-text); min-width: 0; }
.hvj-prose > * { margin: 0 0 1.15em; }
.hvj-prose > p:first-child { font-size: 1.18em; line-height: 1.6; color: var(--hv-ink); font-weight: 500; }
.hvj-prose h2 { margin: 2.2em 0 .6em; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.03em; color: var(--hv-ink); scroll-margin-top: calc(var(--hv-header-h) + 24px); }
.hvj-prose h3 { margin: 1.8em 0 .5em; font-size: clamp(21px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -.02em; color: var(--hv-ink); }
.hvj-prose a { color: var(--hv-teal-d); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.hvj-prose strong { color: var(--hv-ink); }
.hvj-prose ul, .hvj-prose ol { padding-left: 0; list-style: none; }
.hvj-prose ul li, .hvj-prose ol li { position: relative; padding-left: 34px; margin-bottom: .55em; }
.hvj-prose ul li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--hv-st-available) 30%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23172204' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; transform: translateY(-2px); }
.hvj-prose ol { counter-reset: n; }
.hvj-prose ol li { counter-increment: n; }
.hvj-prose ol li::before { content: counter(n); position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; background: var(--hv-ink); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.hvj-prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--hv-accent); font-size: 1.2em; line-height: 1.5; font-weight: 600; color: var(--hv-ink); }
.hvj-prose figure { margin: 2em 0; }
.hvj-prose figure img { width: 100%; height: auto; border-radius: var(--hv-radius); display: block; }
.hvj-prose figcaption { margin-top: 10px; font-size: 14px; color: var(--hv-muted); }
.hvj-prose table { width: 100%; border-collapse: collapse; font-size: .9em; margin: 1.6em 0; background: #fff; border-radius: var(--hv-radius-sm); overflow: hidden; box-shadow: 0 0 0 1px var(--hv-line); }
.hvj-prose th, .hvj-prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--hv-line); vertical-align: top; }
.hvj-prose th { background: var(--hv-sand-50); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--hv-ink); }
.hvj-prose tr:last-child td { border-bottom: 0; }
.hvj-prose .hvj-callout { margin: 1.8em 0; padding: 22px 24px; border-radius: var(--hv-radius); background: var(--hv-sand-50); box-shadow: inset 4px 0 0 var(--hv-accent); }
.hvj-prose .hvj-callout > :last-child { margin-bottom: 0; }
.hvj-prose .hvj-callout p:first-child strong:first-child { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.hvj-prose .hvj-cta { margin: 2.2em 0; padding: 28px; border-radius: var(--hv-radius); background: var(--hv-ink); color: #fff; }
.hvj-prose .hvj-cta h3 { margin-top: 0; color: #fff; }
.hvj-prose .hvj-cta p { color: rgba(255, 255, 255, .85); }
.hvj-prose .hvj-cta a { color: var(--hv-accent); font-weight: 700; }
.hvj-prose .hvj-faq { margin-top: 2.2em; display: grid; gap: 10px; }
.hvj-prose details { background: #fff; border-radius: var(--hv-radius-sm); box-shadow: 0 0 0 1px var(--hv-line); padding: 0 20px; margin: 0; }
.hvj-prose summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 700; color: var(--hv-ink); line-height: 1.4; }
.hvj-prose summary::-webkit-details-marker { display: none; }
.hvj-prose summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--hv-teal-d); transition: transform .25s; }
.hvj-prose details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.hvj-prose details > :not(summary) { margin: 0 0 18px; }

/* ---------- Enquiry + related ---------- */
.hvj-enq { background: var(--hv-sand-50); }
.hvj-enq__in { max-width: var(--hv-max); margin: 0 auto; }
.hvj-rel { padding: clamp(56px, 7vw, 96px) 0 24px; }
.hvj-rel__title { margin: 0; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.035em; }
.hvj-rel .hvj-grid { margin-top: 28px; }
.hvj-rel__all { text-align: center; margin: 0 0 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.hvj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hvj-band__in { grid-template-columns: 1fr; grid-template-areas: "live" "big" "facts" "btns"; }
	.hvj-body { grid-template-columns: minmax(0, 1fr); }
	.hvj-side { height: auto; }
	.hvj-side__stick { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
	.hvj-toc { order: 2; }
}
@media (max-width: 760px) {
	.hvj-grid { grid-template-columns: minmax(0, 1fr); }
	.hvj-card--lead { grid-template-columns: minmax(0, 1fr); }
	.hvj-card--lead .hvj-card__img { min-height: 0; aspect-ratio: 16 / 10; }
	.hvj-wrap > .hvj-card--lead { margin-top: -24px; }
	.hvj-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--hv-gutter)); padding-right: var(--hv-gutter); scrollbar-width: none; }
	.hvj-chips::-webkit-scrollbar { display: none; }
	.hvj-chip { flex: none; }
	.hvj-side__stick { grid-template-columns: minmax(0, 1fr); }
	.hvj-toc { display: none; }
	.hvj-band__btns .hv-btn { flex: 1 1 auto; }
	.hvj-phero { min-height: 72vh; }
	.hvj-prose table { display: block; overflow-x: auto; }
}

/* ---------- Colour headers (posts without a photo) ---------- */
.hvj-tone {
	position: relative; display: flex; align-items: flex-end; width: 100%; height: 100%; min-height: 100%; padding: 22px 24px; overflow: hidden;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.13' stroke-width='1.4'%3E%3Cpath d='M-20 300c80-40 140-10 220-40s120-90 200-80 140 60 220 30'/%3E%3Cpath d='M-20 260c80-40 140-10 220-40s120-90 200-80 140 60 220 30'/%3E%3Cpath d='M-20 220c80-40 140-10 220-40s120-90 200-80 140 60 220 30'/%3E%3Cpath d='M-20 180c80-40 140-10 220-40s120-90 200-80 140 60 220 30'/%3E%3Cpath d='M-20 140c80-40 140-10 220-40s120-90 200-80 140 60 220 30'/%3E%3Cpath d='M-20 100c80-40 140-10 220-40s120-90 200-80 140 60 220 30'/%3E%3Cpath d='M-20 340c80-40 140-10 220-40s120-90 200-80 140 60 220 30'/%3E%3Cpath d='M-20 380c80-40 140-10 220-40s120-90 200-80 140 60 220 30'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat,
		radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--tone) 55%, #fff 18%), transparent 60%),
		linear-gradient(160deg, color-mix(in srgb, var(--tone) 88%, #fff 12%), color-mix(in srgb, var(--tone) 80%, #000 20%));
	transition: transform .8s var(--hv-ease);
}
.hvj-card:hover .hvj-tone { transform: scale(1.04); }
.hvj-tone::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22), 0 0 0 26px rgba(255, 255, 255, .05), 0 0 0 52px rgba(255, 255, 255, .03); }
.hvj-tone__k { position: relative; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .92; }
.hvj-tone__k::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--hv-lime); margin-bottom: 12px; }
.hvj-card--lead .hvj-tone { padding: 36px; }

.hvj-phero--tone { min-height: min(62vh, 620px); background: var(--tone); }
.hvj-phero--tone::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.10' stroke-width='1.5'%3E%3Cpath d='M-40 480c160-60 280-15 440-60s240-135 400-120 280 90 440 45'/%3E%3Cpath d='M-40 420c160-60 280-15 440-60s240-135 400-120 280 90 440 45'/%3E%3Cpath d='M-40 360c160-60 280-15 440-60s240-135 400-120 280 90 440 45'/%3E%3Cpath d='M-40 300c160-60 280-15 440-60s240-135 400-120 280 90 440 45'/%3E%3Cpath d='M-40 240c160-60 280-15 440-60s240-135 400-120 280 90 440 45'/%3E%3Cpath d='M-40 180c160-60 280-15 440-60s240-135 400-120 280 90 440 45'/%3E%3Cpath d='M-40 540c160-60 280-15 440-60s240-135 400-120 280 90 440 45'/%3E%3Cpath d='M-40 600c160-60 280-15 440-60s240-135 400-120 280 90 440 45'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat,
		radial-gradient(70% 90% at 90% 0%, color-mix(in srgb, var(--tone) 50%, #fff 22%), transparent 60%),
		linear-gradient(165deg, color-mix(in srgb, var(--tone) 92%, #fff 8%), color-mix(in srgb, var(--tone) 70%, #000 30%));
}
.hvj-phero--tone::after { background: linear-gradient(180deg, rgba(14, 31, 36, .25), rgba(14, 31, 36, 0) 40%, rgba(14, 31, 36, .35)); }
