/*
Theme Name: Highlands Plateau (hp-ridge)
Theme URI: https://thechandlerinn.com/
Description: Resemagasin för platån runt Highlands och Cashiers. Lagrade bergssiluetter som följer årstiden, höjdkurvor och ledmarkeringar.
Author: Highlands Plateau
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.6
Text Domain: hp-ridge
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
@property --sky1 { syntax: '<color>'; inherits: true; initial-value: #D3DDE2; }
@property --sky2 { syntax: '<color>'; inherits: true; initial-value: #E6ECEC; }
@property --sun  { syntax: '<color>'; inherits: true; initial-value: #F2F1E6; }
@property --r1 { syntax: '<color>'; inherits: true; initial-value: #C9D4DA; }
@property --r2 { syntax: '<color>'; inherits: true; initial-value: #AFBFC7; }
@property --r3 { syntax: '<color>'; inherits: true; initial-value: #9CAAA3; }
@property --r4 { syntax: '<color>'; inherits: true; initial-value: #8E9671; }
@property --r5 { syntax: '<color>'; inherits: true; initial-value: #6E7448; }
@property --r6 { syntax: '<color>'; inherits: true; initial-value: #42513A; }

:root {
	--paper: #DDE5E8;        /* dimblå, dominerande yta */
	--paper-2: #CCD8DE;      /* djupare dimma */
	--mist: #EEF3F5;         /* rimfrost, upphöjda ytor */
	--mist-2: #8FA7B3;       /* åsblå */
	--mist-3: #C3D2D9;       /* Blue Ridge-blått för sidhuvuden */
	--ridge: #4E6B7C;        /* djup Blue Ridge */
	--frost: #F3F7F8;
	--ink: #16201C;
	--granite: #55605B;
	--spruce: #1F3A33;
	--spruce-2: #14271F;
	--spruce-3: #4E7166;
	--copper: #43602A;       /* mossgrön (text, länkar) */
	--copper-2: #6E8F45;     /* mossgrön (markeringar) */
	--copper-l: #BFD394;     /* lav, accent på mörk botten */
	--line: rgba(22, 32, 28, .15);
	--line-l: rgba(243, 247, 248, .16);
	--serif: var(--wp--preset--font-family--display);
	--sans: var(--wp--preset--font-family--text);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--pad: var(--wp--style--root--padding-left, clamp(1rem, 4.5vw, 3rem));
	--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");

	/* Fall is the default; the season attribute on <html> swaps the set. */
	--sky1: #D3DDE2; --sky2: #E6ECEC; --sun: #F2F1E6; --sun-x: 78%; --sun-y: 16%;
	--r1: #C9D4DA; --r2: #AFBFC7; --r3: #9CAAA3; --r4: #8E9671; --r5: #6E7448; --r6: #42513A;
	transition: --sky1 1.4s var(--ease), --sky2 1.4s var(--ease), --sun 1.4s var(--ease),
		--r1 1.2s var(--ease), --r2 1.2s var(--ease) .04s, --r3 1.2s var(--ease) .08s,
		--r4 1.2s var(--ease) .12s, --r5 1.2s var(--ease) .16s, --r6 1.2s var(--ease) .2s;
}
:root[data-season="spring"], .is-spring {
	--sky1: #D6E2E4; --sky2: #EAF0EC; --sun: #F4F5E9; --sun-x: 66%; --sun-y: 12%;
	--r1: #CBD8D8; --r2: #B2C6C2; --r3: #97B2A6; --r4: #7C9C83; --r5: #62865F; --r6: #46694A;
}
:root[data-season="summer"], .is-summer {
	--sky1: #CCDCE5; --sky2: #E5EDEF; --sun: #F7F6EC; --sun-x: 74%; --sun-y: 5%;
	--r1: #C3D3DC; --r2: #A6BCC8; --r3: #8AA5B4; --r4: #6E8E9E; --r5: #557584; --r6: #3D5A5E;
}
:root[data-season="fall"], .is-fall {
	--sky1: #D3DDE2; --sky2: #E6ECEC; --sun: #F2F1E6; --sun-x: 78%; --sun-y: 16%;
	--r1: #C9D4DA; --r2: #AFBFC7; --r3: #9CAAA3; --r4: #8E9671; --r5: #6E7448; --r6: #42513A;
}
:root[data-season="winter"], .is-winter {
	--sky1: #D5DEE5; --sky2: #EEF2F4; --sun: #FBFCFC; --sun-x: 49%; --sun-y: 50%;
	--r1: #D0D9DF; --r2: #BAC6CF; --r3: #A3B1BC; --r4: #8A9AA8; --r5: #708192; --r6: #536475;
}

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { background: var(--paper); color: var(--ink); font-feature-settings: "kern", "liga"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--copper-l); color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 2px; }
img { height: auto; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: italic; }
.wp-site-blocks > main, .wp-site-blocks > footer { margin-block-start: 0; }
.wp-site-blocks { padding-top: 0; }

.hp-kicker {
	font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: var(--copper); margin: 0 0 1rem;
}
.hp-kicker span { color: var(--granite); margin: 0 .35em; }
.hp-kicker--line { display: flex; align-items: center; gap: .9rem; }
.hp-kicker--line::before { content: ""; width: 2.6rem; height: 1px; background: currentColor; }
.hp-kicker--light { color: var(--copper-l); }

/* Contour-line texture, colored by currentColor via mask. */
.hp-contours, .hp-guide-head, .hp-archive-head, .hp-page-head, .hp-footer, .hp-lead-band, .hp-profile-band { position: relative; isolation: isolate; }
.hp-guide-head::before, .hp-archive-head::before, .hp-page-head::before, .hp-footer::before, .hp-lead-band::before, .hp-profile-band::before, .hp-sky::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: currentColor; opacity: .09;
	-webkit-mask: url("assets/img/contours.svg") 70% 40% / max(1100px, 110%) auto no-repeat;
	        mask: url("assets/img/contours.svg") 70% 40% / max(1100px, 110%) auto no-repeat;
}

/* ==========================================================================
   Header
   ========================================================================== */
.hp-site-header { position: relative; z-index: 20; }
.hp-header { background: var(--paper); border-bottom: 1px solid var(--line); transition: background-color 1.4s var(--ease); }
.hp-site-header.is-home .hp-header { background: var(--sky1); border-bottom-color: transparent; }
.hp-header-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 2rem; padding-top: 1.15rem; }
.hp-coord, .hp-elev { margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--granite); white-space: nowrap; }
.hp-coord span { margin: 0 .3em; }
.hp-elev { justify-self: end; }
.hp-elev b { color: var(--ink); font-weight: 700; }
.hp-brand { display: flex; align-items: center; gap: .85rem; justify-self: center; }
.hp-brand-mark { display: block; line-height: 0; transition: transform .6s var(--ease); }
.hp-brand:hover .hp-brand-mark { transform: translateY(-2px) rotate(-3deg); }
.hp-brand .wp-block-site-title { margin: 0; }
.hp-brand .wp-block-site-title a { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; }
.hp-w1 { font-family: var(--serif); font-size: 2.15rem; font-weight: 600; letter-spacing: -.012em; }
.hp-w2 { font-family: var(--sans); font-size: .6rem; font-weight: 700; letter-spacing: .44em; text-transform: uppercase; color: var(--copper); margin-top: .3rem; padding-left: .12em; }

.hp-nav { grid-column: 1 / -1; justify-self: stretch; margin-top: 1rem; border-top: 1px solid var(--line); padding-block: .95rem; }
.hp-site-header.is-home .hp-nav { border-top-color: rgba(22, 32, 28, .12); }
.hp-nav .wp-block-navigation-item__content { color: var(--ink); text-decoration: none; position: relative; padding-block: .2rem; transition: color .25s; }
.hp-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.15rem; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.hp-nav .wp-block-navigation-item__content:hover { color: var(--copper); }
.hp-nav .wp-block-navigation-item__content:hover::after, .hp-nav [aria-current="page"]::after { transform: scaleX(1); }
.hp-nav .wp-block-navigation__submenu-icon { margin-left: .3rem; }
.hp-nav .wp-block-navigation__submenu-container {
	background: var(--paper) !important; color: var(--ink) !important; border: 1px solid var(--line) !important; border-radius: 10px;
	padding: .55rem !important; min-width: 300px !important; box-shadow: 0 24px 48px -24px rgba(20, 39, 31, .35); margin-top: .7rem;
}
.hp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-family: var(--serif); font-size: 1.2rem; font-weight: 500; text-transform: none; letter-spacing: 0; padding: .45rem .8rem !important; border-radius: 6px;
}
.hp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.hp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--paper-2); color: var(--copper); }

/* Mobile overlay */
.hp-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--spruce) !important; color: var(--frost) !important; padding: 1.5rem var(--pad) 2rem; }
.hp-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; align-items: flex-start !important; }
.hp-nav .is-menu-open .wp-block-navigation-item__content { color: var(--frost) !important; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.hp-nav .is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; border: 0 !important; box-shadow: none; padding: .2rem 0 .6rem 1rem !important; min-width: 0 !important; }
.hp-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.15rem; font-style: italic; color: var(--copper-l) !important; padding: .2rem 0 !important; }
.hp-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: none; }
.hp-nav .wp-block-navigation__responsive-container-open, .hp-nav .wp-block-navigation__responsive-container-close { color: inherit; }
.hp-nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }

@media (max-width: 1080px) {
	.hp-nav { --wp--style--block-gap: 1.25rem; }
	.hp-nav .wp-block-navigation__container { row-gap: .5rem; }
}
@media (max-width: 599px) {
	.hp-header-grid { grid-template-columns: 1fr auto; padding-block: .8rem; }
	.hp-coord, .hp-elev { display: none; }
	.hp-brand { justify-self: start; gap: .65rem; }
	.hp-brand-mark img { width: 38px; height: 38px; }
	.hp-w1 { font-size: 1.7rem; }
	.hp-w2 { font-size: .52rem; letter-spacing: .38em; }
	.hp-nav { grid-column: 2; grid-row: 1; margin: 0; padding: 0; border: 0; justify-self: end; }
}

/* ==========================================================================
   Hero (home and 404)
   ========================================================================== */
.hp-hero {
	position: relative; overflow: hidden; isolation: isolate; color: var(--ink);
	min-height: clamp(660px, 92vh, 960px);
	background: linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 62%, var(--sky2) 100%);
}
.hp-sky { position: absolute; inset: 0; z-index: -2; color: var(--spruce); }
.hp-sky::after { display: none; }
.hp-sun {
	position: absolute; left: var(--sun-x); top: var(--sun-y); width: clamp(76px, 8.5vw, 136px); aspect-ratio: 1; border-radius: 50%;
	background: var(--sun);
	box-shadow: 0 0 0 clamp(14px, 1.6vw, 26px) color-mix(in srgb, var(--sun) 16%, transparent), 0 0 160px 50px color-mix(in srgb, var(--sun) 30%, transparent);
	transition: left 1.6s var(--ease), top 1.6s var(--ease);
}
.hp-hero-inner {
	position: relative; z-index: 2; max-width: calc(1320px + 2 * var(--pad)); margin: 0 auto;
	padding: clamp(2.5rem, 7vh, 5.5rem) var(--pad) 0;
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end;
}
.hp-hero-copy > * { max-width: 46rem; }
.hp-almanac-label { margin: 0 0 .8rem; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--granite); }
.hp-hero-title { font-family: var(--serif); font-size: clamp(3.3rem, 8.4vw, 8.2rem); font-weight: 500; line-height: .9; letter-spacing: -.025em; margin: 0; color: var(--ink); }
.hp-hero-title em { font-weight: 400; color: var(--spruce); }
.hp-lede { font-size: clamp(1.06rem, 1.35vw, 1.25rem); line-height: 1.6; max-width: 33rem !important; margin: 1.6rem 0 0; color: #24333A; }
.hp-almanac { margin: 0 0 .4rem; padding-left: clamp(0rem, 2vw, 1.5rem); border-left: 1px solid rgba(22, 32, 28, .16); }
.hp-season {
	display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px;
	background: rgba(243, 247, 248, .55); border: 1px solid rgba(22, 32, 28, .14);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hp-season button {
	font: 700 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
	background: transparent; border: 0; border-radius: 999px; padding: .72rem 1.05rem; cursor: pointer;
	transition: background-color .35s var(--ease), color .35s var(--ease);
}
.hp-season button:hover { background: rgba(22, 32, 28, .07); }
.hp-season button[aria-pressed="true"] { background: var(--spruce); color: var(--frost); }
.hp-almanac-text { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.6vw, 1.42rem); line-height: 1.4; max-width: 31rem !important; margin: 1.1rem 0 0; transition: opacity .22s ease; }
.hp-almanac-text.is-out { opacity: 0; }
.hp-almanac-text a {
	display: inline-flex; align-items: center; gap: .45rem; margin-top: .35rem; font: 700 .7rem/1.4 var(--sans); font-style: normal;
	letter-spacing: .16em; text-transform: uppercase; color: var(--copper); text-decoration: none;
}
.hp-almanac-text a::after { content: ""; width: 1rem; height: 1rem; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform .35s var(--ease); }
.hp-almanac-text a:hover::after { transform: translateX(4px); }

.hp-ridges { position: absolute; left: 0; bottom: -1px; width: 100%; height: 56%; z-index: 1; overflow: visible; }
.hp-ridges .r { will-change: transform; }
.r1 { fill: var(--r1); } .r2 { fill: var(--r2); } .r3 { fill: var(--r3); } .r4 { fill: var(--r4); }
.r5 { fill: var(--r5); } .r6 { fill: var(--r6); } .r7 { fill: var(--spruce); }

@media (max-width: 900px) {
	.hp-hero-inner { grid-template-columns: minmax(0, 1fr); }
	.hp-almanac { border-left: 0; padding-left: 0; }
}
@media (max-width: 781px) {
	.hp-hero { min-height: 0; }
	.hp-hero-inner { padding-top: 2.5rem; }
	.hp-sun { width: 64px; left: auto; right: 7%; top: 1.6rem; }
	.hp-ridges { position: relative; display: block; height: 230px; margin-top: 1.5rem; }
	.hp-season button { padding: .66rem .8rem; letter-spacing: .12em; }
}

/* ==========================================================================
   Home sections
   ========================================================================== */
.hp-lead-band { background: var(--spruce); color: var(--frost); margin-top: 0 !important; padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(5rem, 9vw, 8rem); }
.hp-lead-band::before { color: var(--copper-l); opacity: .07; -webkit-mask-position: 100% 100%; mask-position: 100% 100%; }
.hp-lead { margin-top: 0; }
.hp-lead .wp-block-post-template { margin: 0; }
.hp-lead-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hp-arch { margin: 0; overflow: hidden; border-radius: 999px 999px 6px 6px; aspect-ratio: 5 / 6; max-height: 760px; }
.hp-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.hp-arch:hover img { transform: scale(1.04); }
.hp-lead-text .hp-kicker { color: var(--copper-l); }
.hp-lead-title { font-size: clamp(2.4rem, 4.4vw, 4.1rem); line-height: 1; font-weight: 500; margin: 0; color: var(--frost); }
.hp-lead-title a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.hp-lead-title a:hover { background-size: 100% 1px; }
.hp-lead-text .wp-block-post-excerpt { color: rgba(243, 247, 248, .82); font-size: 1.15rem; margin-top: 1.3rem; max-width: 34rem; }
.hp-lead-text .hp-byline { margin-top: 1.4rem; color: rgba(243, 247, 248, .7); }
.hp-lead-text .hp-byline a { color: var(--copper-l); }
.hp-btn, .hp-btn-link {
	display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem; padding: .9rem 1.5rem; border-radius: 999px;
	border: 1px solid rgba(243, 247, 248, .45); color: var(--frost); text-decoration: none;
	font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.hp-btn::after, .hp-btn-link::after { content: ""; width: 1rem; height: 1rem; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform .35s var(--ease); }
.hp-btn:hover { background: var(--paper); color: var(--spruce); border-color: var(--frost); }
.hp-btn:hover::after, .hp-btn-link:hover::after { transform: translateX(4px); }

.hp-section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.hp-section-head h2 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); font-weight: 500; line-height: .98; margin: 0; letter-spacing: -.02em; }
.hp-section-head h2 em { color: var(--copper); font-weight: 400; }
.hp-section-head > p:not(.hp-kicker) { color: var(--granite); max-width: 36rem; margin: 1.2rem 0 0; font-size: 1.1rem; }
.hp-section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 4rem; flex-wrap: wrap; }
.hp-section-head--row > p { max-width: 26rem !important; margin: 0 !important; }
.hp-section-head--row .hp-divider { margin: 0 0 .9rem; }
.hp-section-head--light h2 { color: var(--frost); }
.hp-section-head--light h2 em { color: var(--copper-l); }
.hp-section-head--light .hp-kicker { color: var(--copper-l); }
.hp-section-head--light > p:not(.hp-kicker) { color: rgba(243, 247, 248, .78); }

.hp-main > .hp-guides { margin-top: clamp(5rem, 10vw, 9rem); }
.hp-guide-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: g; }
.hp-guide-list a {
	position: relative; display: grid; grid-template-columns: 5.5rem minmax(0, 1.15fr) minmax(0, 1fr) 3rem; gap: 2rem; align-items: center;
	padding: clamp(1.4rem, 2.4vw, 2.2rem) .5rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; isolation: isolate; overflow: hidden;
}
.hp-guide-list a::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.hp-guide-list a:hover::before, .hp-guide-list a:focus-visible::before { transform: scaleY(1); }
.hp-guide-no { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--copper); }
.hp-gl-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-weight: 500; line-height: 1.04; transition: transform .55s var(--ease); }
.hp-guide-list a:hover .hp-gl-title { transform: translateX(10px); }
.hp-guide-desc { color: var(--granite); font-size: 1rem; line-height: 1.55; }
.hp-arrow { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line); position: relative; justify-self: end; transition: background-color .4s var(--ease), border-color .4s; }
.hp-arrow::after { content: ""; position: absolute; inset: 0; margin: auto; width: 1.1rem; height: 1.1rem; background: var(--ink); -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform .4s var(--ease), background-color .4s; }
.hp-guide-list a:hover .hp-arrow { background: var(--spruce); border-color: var(--spruce); }
.hp-guide-list a:hover .hp-arrow::after { background: var(--paper); transform: translateX(3px); }
.hp-guide-list--compact a { grid-template-columns: 4rem minmax(0, 1fr) 3rem; }
.hp-guide-list--compact .hp-gl-title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

.hp-main > .hp-notes-head { margin-top: clamp(5rem, 10vw, 9rem); }
.hp-notes { margin-top: clamp(1.5rem, 3vw, 2.5rem) !important; }
.hp-notes-grid { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem); list-style: none; margin: 0; padding: 0; }
.hp-notes-grid > li { margin: 0 !important; }
.hp-notes-grid > li:nth-child(1) { grid-column: 1 / 8; grid-row: span 2; }
.hp-notes-grid > li:nth-child(2), .hp-notes-grid > li:nth-child(3) { grid-column: 8 / 13; }
.hp-notes-grid > li:nth-child(n+4) { grid-column: span 4; }
.hp-notes-grid > li:nth-child(1) .wp-block-post-featured-image { aspect-ratio: 1 / 1; }
.hp-notes-grid > li:nth-child(1) .wp-block-post-title { font-size: clamp(2rem, 3.4vw, 3rem); }
.hp-notes-grid > li:nth-child(2) .wp-block-post-featured-image, .hp-notes-grid > li:nth-child(3) .wp-block-post-featured-image { aspect-ratio: 16 / 10; }

/* Card */
.hp-card { display: flex; flex-direction: column; }
.hp-card > * { margin-block: 0; }
.hp-card .wp-block-post-featured-image { margin: 0 0 1.2rem; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--paper-2); }
.hp-card .wp-block-post-featured-image a, .hp-card .wp-block-post-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-card .wp-block-post-featured-image img { transition: transform 1.6s var(--ease), filter 1s; }
.hp-card:hover .wp-block-post-featured-image img { transform: scale(1.045); }
.hp-card .wp-block-post-title { font-size: clamp(1.5rem, 2vw, 1.85rem); font-weight: 600; line-height: 1.08; margin-top: .55rem; letter-spacing: -.01em; }
.hp-card .wp-block-post-title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--copper), var(--copper)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease), color .3s; }
.hp-card:hover .wp-block-post-title a { background-size: 100% 1px; }
.hp-card .wp-block-post-excerpt { color: var(--granite); font-size: .98rem; line-height: 1.6; margin-top: .7rem; }
.hp-card .wp-block-post-excerpt__excerpt { margin: 0; }
.hp-card .wp-block-post-date { margin-top: .8rem; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* Trail blaze before category names */
.hp-blaze { display: flex; align-items: center; gap: .55rem; }
.hp-blaze::before { content: ""; width: 7px; height: 15px; border-radius: 1.5px; background: var(--copper-2); flex: none; }
.hp-blaze a { color: var(--copper); text-decoration: none; }
.hp-blaze a:hover { color: var(--ink); }
.hp-blaze .wp-block-post-terms__separator { color: var(--granite); }
.hp-blaze--center { justify-content: center; }

.hp-byline { gap: .35rem 1rem; align-items: center; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--granite); }
.hp-byline > * { margin: 0 !important; font-size: inherit; }
.hp-byline .wp-block-post-terms a { text-decoration: none; }
.hp-byline .wp-block-post-author-name { color: var(--ink); font-weight: 700; }
.hp-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--copper-2); margin: 0 .8rem; vertical-align: middle; }
.hp-byline--center { justify-content: center; gap: .4rem; }
.hp-byline--light { color: rgba(243, 247, 248, .72); }

/* Profile band */
.hp-profile-band { background: var(--spruce-2); color: var(--frost); margin-top: clamp(7rem, 12vw, 11rem) !important; padding: clamp(4rem, 7vw, 6.5rem) 0 clamp(4rem, 7vw, 6rem); }
.hp-profile-band::before { color: var(--copper-l); opacity: .06; }
.hp-profile-band::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 2px); height: clamp(40px, 6vw, 90px); background: var(--spruce-2);
	-webkit-mask: url("assets/img/edge.svg") 0 100% / 100% 100% no-repeat; mask: url("assets/img/edge.svg") 0 100% / 100% 100% no-repeat;
}
.hp-profile-wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
.hp-profile-wrap .hp-section-head { max-width: 52rem; }
.hp-profile { position: relative; margin: 1rem 0 0; color: var(--copper-l); --ph: clamp(260px, 30vw, 400px); }
.hp-profile svg { display: block; width: 100%; height: var(--ph); overflow: visible; }
.hp-prof-grid path { stroke: rgba(243, 247, 248, .12); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 6; }
.hp-prof-line { fill: none; stroke: var(--copper-l); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .hp-reveal.is-wait .hp-prof-line { stroke-dashoffset: 1; }
.js .hp-reveal.is-in .hp-prof-line { transition: stroke-dashoffset 2.6s var(--ease) .2s; }
.hp-prof-points, .hp-prof-axis { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: 0; height: var(--ph); pointer-events: none; }
.hp-prof-points li { position: absolute; left: var(--x); top: var(--y); }
.hp-prof-points li::before { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--spruce-2); border: 2px solid var(--copper-l); box-sizing: border-box; }
.hp-prof-points b, .hp-prof-points span { position: absolute; left: 0; white-space: nowrap; transform: translateX(-50%); }
.hp-prof-points b { bottom: 1.85rem; font-family: var(--serif); font-weight: 500; font-size: clamp(1.05rem, 1.5vw, 1.45rem); color: var(--frost); }
.hp-prof-points span { bottom: .8rem; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-l); }
.hp-prof-points .is-fall::before { width: 8px; height: 8px; left: -4px; top: -4px; border-width: 1.5px; background: var(--copper-l); }
.hp-prof-points .is-fall b { bottom: auto; top: 1rem; font-size: clamp(.92rem, 1.1vw, 1.05rem); font-style: italic; color: rgba(243, 247, 248, .86); }
.hp-prof-points .is-fall span { bottom: auto; top: 2.45rem; color: rgba(227, 167, 116, .8); }
.hp-prof-points .is-fall:nth-child(3) b, .hp-prof-points .is-fall:nth-child(3) span { transform: translateX(-80%); }
.hp-prof-points .is-fall:nth-child(4) b { top: 3.9rem; transform: translateX(-30%); }
.hp-prof-points .is-fall:nth-child(4) span { top: 5.35rem; transform: translateX(-30%); }
.hp-prof-points .is-peak b { font-size: clamp(1.2rem, 1.8vw, 1.7rem); }
.hp-prof-points .is-low b, .hp-prof-points .is-low span { transform: none; }
.hp-prof-points .is-end b, .hp-prof-points .is-end span { transform: translateX(-100%); }
.hp-prof-axis li { position: absolute; right: 0; top: var(--y); transform: translateY(-140%); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 247, 248, .4); }
.hp-profile figcaption { margin-top: 1.4rem; font-size: .78rem; letter-spacing: .04em; color: rgba(243, 247, 248, .6); }
@media (max-width: 781px) {
	.hp-profile { --ph: 200px; }
	.hp-prof-points { position: static; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.2rem; margin-top: 1.4rem; }
	.hp-prof-points li { position: relative; left: auto; top: auto; padding-left: 1.1rem; }
	.hp-prof-points li::before { left: 0; top: .45rem; }
	.hp-prof-points b, .hp-prof-points span, .hp-prof-points .is-fall b, .hp-prof-points .is-fall span { position: static; transform: none !important; display: block; white-space: normal; }
	.hp-prof-points b { font-size: 1.1rem; }
}

/* Seasons */
.hp-main > .hp-year { margin-top: clamp(5rem, 10vw, 9rem); }
.hp-seasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.hp-season-card a {
	position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink);
	background: var(--frost); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
	transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.hp-season-card a:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(20, 39, 31, .45); }
.hp-season-card.is-now a { border-color: var(--copper-2); }
.hp-vignette { display: block; width: 100%; height: auto; aspect-ratio: 320 / 140; background: linear-gradient(180deg, var(--sky1), var(--sky2)); }
.hp-vignette .r1 { fill: var(--r3); } .hp-vignette .r2 { fill: var(--r4); } .hp-vignette .r3 { fill: var(--r5); } .hp-vignette .r4 { fill: var(--r6); }
.hp-now { position: absolute; top: .8rem; left: .8rem; background: var(--spruce); color: var(--frost); font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: .4rem .65rem; border-radius: 999px; }
.hp-season-name { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; padding: 1.3rem 1.4rem 0; }
.hp-season-months { padding: .5rem 1.4rem 0; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.hp-season-text { padding: .9rem 1.4rem 0; font-size: .97rem; line-height: 1.55; color: var(--granite); flex: 1; }
.hp-more { display: inline-flex; align-items: center; gap: .5rem; padding: 1.2rem 1.4rem 1.4rem; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.hp-more::after { content: ""; width: .95rem; height: .95rem; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform .35s var(--ease); }
.hp-season-card a:hover .hp-more::after { transform: translateX(4px); }

/* Topics as trail blazes */
.hp-main > .hp-topics { margin-top: clamp(5rem, 10vw, 9rem); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.hp-topics h2 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); font-weight: 500; line-height: .98; margin: 0; letter-spacing: -.02em; }
.hp-topics h2 em { color: var(--copper); font-weight: 400; }
.hp-topics-intro p:not(.hp-kicker) { color: var(--granite); margin-top: 1.2rem; max-width: 26rem; }
.hp-topic-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.hp-topic-list a { display: grid; grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hp-topic-blaze { width: 10px; height: 24px; border-radius: 2px; background: var(--b, var(--copper-2)); transition: height .45s var(--ease), transform .45s var(--ease); }
.hp-topic-list li:nth-child(1) { --b: #6E8F45; } .hp-topic-list li:nth-child(2) { --b: #2F5A4E; } .hp-topic-list li:nth-child(3) { --b: #9AA06A; }
.hp-topic-list li:nth-child(4) { --b: #8FA7B3; } .hp-topic-list li:nth-child(5) { --b: #4E6B7C; } .hp-topic-list li:nth-child(6) { --b: #1F3A33; }
.hp-topic-name { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 500; line-height: 1.05; transition: transform .45s var(--ease), color .3s; }
.hp-topic-desc { color: var(--granite); font-size: .95rem; }
.hp-topic-list a:hover .hp-topic-blaze { height: 38px; }
.hp-topic-list a:hover .hp-topic-name { transform: translateX(8px); color: var(--copper); font-style: italic; }

/* Author note */
.hp-main > .hp-author-note { margin-top: clamp(5rem, 10vw, 9rem); margin-bottom: clamp(5rem, 9vw, 8rem); display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1080px; margin-inline: auto !important; }
.hp-author-arch { aspect-ratio: 3 / 4; border-radius: 999px 999px 8px 8px; background: linear-gradient(180deg, var(--sky1), var(--sky2)); display: grid; place-items: end center; overflow: hidden; position: relative; }
.hp-author-arch img { width: 92%; height: auto; margin-bottom: -7%; }
.hp-author-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.22; margin: 0; color: var(--ink); }
.hp-author-sign { margin-top: 1.4rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--granite); }
.hp-author-sign a { color: var(--copper); }

/* ==========================================================================
   Articles
   ========================================================================== */
.hp-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; pointer-events: none; }
.hp-progress span { display: block; height: 100%; background: var(--copper-2); transform: scaleX(0); transform-origin: 0 50%; }
.hp-article-head { padding-top: clamp(3rem, 7vw, 6rem); text-align: center; }
.hp-article-head > * { margin-inline: auto; }
.hp-article-title { font-size: clamp(2.7rem, 6.2vw, 5.6rem); line-height: .96; font-weight: 500; letter-spacing: -.022em; max-width: 17ch; margin-top: 1.1rem; }
.hp-deck { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.35; color: var(--granite); max-width: 40rem; margin-top: 1.4rem; text-wrap: balance; }
.hp-deck p { margin: 0; }
.hp-article-head .hp-byline { margin-top: 1.8rem; }
.hp-hero-figure { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.hp-hero-figure .wp-block-post-featured-image { margin: 0; overflow: hidden; border-radius: 6px 6px 0 0; }
.hp-hero-figure .wp-block-post-featured-image img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.hp-edge { display: block; position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(26px, 4.5vw, 68px); pointer-events: none; }
.hp-edge--paper path { fill: var(--paper); }

.hp-body { margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.hp-body > p { font-size: var(--wp--preset--font-size--medium); }
.hp-article .hp-body > p:first-of-type::first-letter, .hp-guide-body > p.hp-intro::first-letter {
	float: left; font-family: var(--serif); font-weight: 500; font-size: 5.4em; line-height: .76; margin: .06em .1em 0 0; color: var(--copper);
}
.hp-body h2 { font-size: clamp(1.9rem, 3vw, 2.55rem); font-weight: 500; margin-top: 3.4rem; margin-bottom: 0; position: relative; padding-top: 1.3rem; }
.hp-body h2::before { content: ""; position: absolute; left: 0; top: 0; width: 7px; height: 15px; border-radius: 1.5px; background: var(--copper-2); }
.hp-body h3 { font-size: 1.55rem; font-style: italic; font-weight: 500; margin-top: 2.4rem; }
.hp-body h2 + *, .hp-body h3 + * { margin-top: 1rem; }
.hp-body a { color: var(--spruce); text-decoration-color: var(--copper-2); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .25s, text-decoration-color .25s; }
.hp-body a:hover { color: var(--copper); text-decoration-color: currentColor; }
.hp-body ul { list-style: none; padding-left: 0; }
.hp-body ul > li { position: relative; padding-left: 1.6rem; margin-top: .55rem; }
.hp-body ul > li::before { content: ""; position: absolute; left: .25rem; top: .5em; width: 6px; height: 12px; border-radius: 1px; background: var(--copper-2); }
.hp-body ol { padding-left: 0; list-style: none; counter-reset: n; }
.hp-body ol > li { position: relative; padding-left: 2.4rem; margin-top: .7rem; counter-increment: n; }
.hp-body ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: -.05em; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--copper); }
.hp-body strong { font-weight: 700; color: var(--ink); }
.hp-body blockquote { margin: 2.5rem 0; padding-left: 1.6rem; border-left: 2px solid var(--copper-2); font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1.3; }

.hp-factbox { position: relative; isolation: isolate; overflow: hidden; background: var(--mist); color: var(--ink); border-radius: 10px; padding: 1.6rem 1.8rem; margin-block: 2.4rem !important; }
.hp-factbox::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--spruce); opacity: .07; -webkit-mask: url("assets/img/contours.svg") 0 0 / 900px auto no-repeat; mask: url("assets/img/contours.svg") 0 0 / 900px auto no-repeat; }
.hp-factbox h3, .hp-factbox .hp-factbox-title { font-family: var(--sans); font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); margin: 0 0 .8rem; }
.hp-factbox ul { margin: 0; }
.hp-factbox ul > li:first-child { margin-top: 0; }
.hp-factbox p { margin: .6rem 0 0; }

.hp-divider { display: flex; justify-content: center; margin: clamp(3rem, 6vw, 4.5rem) auto; }
.hp-divider svg { width: 150px; height: 20px; overflow: visible; }
.hp-divider path { fill: none; stroke: var(--granite); stroke-width: 1.2; stroke-linejoin: round; opacity: .7; }
.hp-divider circle { fill: var(--copper-2); }

.hp-author-box { display: grid !important; grid-template-columns: 72px minmax(0, 1fr); gap: 1.4rem; padding: 2rem; background: var(--paper-2); border-radius: 10px; }
.hp-author-box .hp-kicker { margin-bottom: .3rem; }
.hp-author-name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.hp-author-box .wp-block-post-author-biography { color: var(--granite); font-size: 1rem; margin-top: .4rem; }
.hp-author-more { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: .9rem; }
.hp-author-more a { color: var(--copper); }

.hp-main > .hp-related { margin-top: clamp(5rem, 9vw, 8rem); margin-bottom: clamp(5rem, 9vw, 8rem); }
.hp-cards-3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.75rem); list-style: none; padding: 0; margin: 0; }
.hp-cards-3 > li { margin: 0 !important; }

/* ==========================================================================
   Guides (pillar pages)
   ========================================================================== */
.hp-guide-head { background: var(--spruce); color: var(--frost); margin-top: 0 !important; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(6rem, 11vw, 9.5rem); }
.hp-guide-head::before { color: var(--copper-l); opacity: .12; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.hp-guide-head { padding-inline: max(var(--pad), calc((100% - 1320px) / 2 + var(--pad))); }
.hp-guide-head > * { margin-block: 0; }
.hp-guide-num { color: rgba(243, 247, 248, .7); margin-left: .8rem; }
.hp-guide-title { color: var(--frost); font-size: clamp(2.7rem, 6.4vw, 5.8rem); line-height: .96; font-weight: 500; letter-spacing: -.022em; max-width: 16ch; margin-top: 1.2rem !important; }
.hp-deck--light { color: rgba(243, 247, 248, .8); max-width: 38rem; margin-inline: 0; text-align: left; }
.hp-guide-head .hp-byline { margin-top: 2rem; }
.hp-guide-head .hp-dot { background: var(--copper-l); }
.hp-guide-head .wp-block-post-date { color: inherit; }
.hp-edge--guide { height: clamp(36px, 6vw, 96px); }
.hp-guide-head > .hp-edge { margin: 0 !important; }

.hp-guide-body {
	display: grid !important; grid-template-columns: minmax(190px, 250px) minmax(0, 720px); justify-content: center;
	column-gap: clamp(2.5rem, 6vw, 6.5rem); row-gap: 0; align-items: start;
}
.hp-guide-body > * { grid-column: 2; margin-top: 1.5rem; margin-bottom: 0; }
.hp-guide-body > :first-child, .hp-guide-body > .hp-toc + * { margin-top: 0; }
.hp-guide-body > .hp-toc { grid-column: 1; grid-row: 1 / span 300; position: sticky; top: 2rem; margin: .4rem 0 0; }
.hp-guide-body > p.hp-intro { font-size: 1.28rem; line-height: 1.6; color: var(--ink); }
.hp-toc { border-left: 1px solid var(--line); padding-left: 1.3rem; }
.hp-toc .hp-toc-title { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--copper); margin: 0 0 .9rem; }
.hp-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.hp-toc li { counter-increment: t; margin: 0; padding: 0; }
.hp-toc li::before { content: none !important; }
.hp-toc a { position: relative; display: block; padding: .42rem 0; color: var(--granite); text-decoration: none; font-size: .93rem; line-height: 1.35; transition: color .25s, transform .35s var(--ease); }
.hp-toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--copper); margin-right: .55rem; font-size: 1.02rem; }
.hp-toc a::after { content: ""; position: absolute; left: calc(-1.3rem - 4px); top: 50%; width: 7px; height: 15px; margin-top: -7.5px; border-radius: 1.5px; background: var(--copper-2); transform: scaleY(0); transition: transform .35s var(--ease); }
.hp-toc a:hover, .hp-toc a.is-active { color: var(--ink); }
.hp-toc a.is-active::after { transform: scaleY(1); }
.hp-guide-more { margin-top: clamp(5rem, 9vw, 8rem); margin-bottom: clamp(5rem, 9vw, 8rem); }
@media (max-width: 960px) {
	.hp-guide-body { grid-template-columns: minmax(0, 1fr); }
	.hp-guide-body > * { grid-column: 1; }
	.hp-guide-body > .hp-toc { grid-row: auto; position: static; margin: 0 0 2rem; background: var(--paper-2); border: 0; border-radius: 10px; padding: 1.4rem 1.5rem; }
	.hp-toc a::after { display: none; }
}

/* ==========================================================================
   Pages, archives, search, 404
   ========================================================================== */
.hp-page-head { background: var(--mist); color: var(--spruce); margin-top: 0 !important; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 7vw, 6.5rem); text-align: center; }
.hp-page-head::before { opacity: .07; }
.hp-page-head > * { margin-inline: auto !important; }
.hp-page-arch { width: 96px; aspect-ratio: 3 / 4; border-radius: 999px 999px 6px 6px; background: var(--paper); display: grid; place-items: end center; overflow: hidden; margin-bottom: 1.6rem; }
.hp-page-arch img { width: 92%; height: auto; margin-bottom: -6%; }
.hp-page-title { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 500; line-height: .98; letter-spacing: -.02em; color: var(--ink); }
.hp-page-head .hp-deck { color: var(--granite); }
.hp-page-head .hp-divider { margin-bottom: 0; }
.hp-page .hp-body { margin-bottom: clamp(5rem, 9vw, 8rem); }

.hp-archive-head { background: var(--mist); color: var(--spruce); margin-top: 0 !important; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(5.5rem, 9vw, 8rem); }
.hp-archive-head::before { -webkit-mask-position: 90% 30%; mask-position: 90% 30%; opacity: .1; }
.hp-archive-title { font-size: clamp(3rem, 7.5vw, 6.6rem); line-height: .94; font-weight: 500; letter-spacing: -.025em; margin: .4rem 0 0; color: var(--ink); }
.hp-archive-desc { max-width: 38rem; color: var(--granite); font-size: 1.15rem; margin-top: 1.4rem; }
.hp-archive-desc p { margin: 0; }
.hp-archive-q { margin-top: clamp(3rem, 6vw, 5rem) !important; margin-bottom: clamp(5rem, 9vw, 8rem); }
.hp-pagination { margin-top: 4rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hp-pagination a { color: var(--ink); }
.hp-empty { color: var(--granite); font-size: 1.15rem; }
.hp-search { margin-top: 1.8rem; max-width: 34rem; }
.hp-search .wp-block-search__input { border: 1px solid var(--line); border-radius: 999px; padding: .85rem 1.2rem; background: var(--frost); font: inherit; }
.hp-search .wp-block-search__button { border-radius: 999px; padding: .85rem 1.4rem; margin-left: .5rem; }
.hp-404 .hp-hero { min-height: clamp(560px, 80vh, 820px); }
.hp-hero--small .hp-footer-ridges { position: absolute; left: 0; bottom: -1px; width: 100%; height: 34%; }
.hp-hero--small .hp-footer-ridges .r1 { fill: var(--r2); } .hp-hero--small .hp-footer-ridges .r2 { fill: var(--r4); } .hp-hero--small .hp-footer-ridges .r3 { fill: var(--r6); } .hp-hero--small .hp-footer-ridges .r4 { fill: var(--paper); }
.hp-404-links { display: flex; flex-wrap: wrap; gap: .8rem; }
.hp-404 .hp-btn-link { margin-top: 1.2rem; background: var(--spruce); border-color: var(--spruce); color: var(--frost); }
.hp-404 .hp-btn-link--ghost { background: transparent; color: var(--ink); border-color: rgba(22, 32, 28, .35); }
.hp-search--404 { margin: 0 auto 6rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.hp-site-footer { margin-top: 0; }
.hp-footer-edge { line-height: 0; margin-top: clamp(2rem, 5vw, 4rem); }
.hp-footer-ridges { display: block; width: 100%; height: clamp(90px, 11vw, 180px); }
.hp-footer-ridges .r1 { fill: var(--r2); } .hp-footer-ridges .r2 { fill: var(--r4); } .hp-footer-ridges .r3 { fill: var(--r6); } .hp-footer-ridges .r4 { fill: var(--spruce); }
.hp-footer { background: var(--spruce); color: rgba(243, 247, 248, .82); padding: clamp(2rem, 4vw, 3.5rem) 0 2rem; margin-top: -1px; }
.hp-footer::before { color: var(--copper-l); opacity: .08; -webkit-mask-position: 100% 100%; mask-position: 100% 100%; }
.hp-footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2.5rem, 6vw, 7rem); }
.hp-footer-brand img { display: block; width: 72px; height: 72px; }
.hp-footer-title { font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 500; line-height: 1; color: var(--frost); margin: 1.2rem 0 0; }
.hp-footer-title em { color: var(--copper-l); font-weight: 400; }
.hp-footer-intro { font-size: .98rem; line-height: 1.6; margin-top: 1.1rem; max-width: 26rem; }
.hp-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.hp-footer-cols h2 { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-l); margin: .4rem 0 1.1rem; }
.hp-footer-cols ul { list-style: none; margin: 0; padding: 0; }
.hp-footer-cols li { margin: 0 0 .6rem; }
.hp-footer-cols a { color: var(--frost); text-decoration: none; font-size: .98rem; background: linear-gradient(var(--copper-l), var(--copper-l)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.hp-footer-cols a:hover { color: var(--copper-l); background-size: 100% 1px; }
.hp-footer-base { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-top: clamp(3rem, 6vw, 5rem) !important; padding-top: 1.6rem; border-top: 1px solid var(--line-l); }
.hp-disclaimer { font-size: .85rem; max-width: 40rem; margin: 0; color: rgba(243, 247, 248, .72); }
.hp-footer-meta { display: flex; gap: .6rem 1.6rem; flex-wrap: wrap; margin: 0; font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(243, 247, 248, .6); }

/* ==========================================================================
   Reveal
   ========================================================================== */
.js .hp-reveal.is-wait { opacity: 0; transform: translateY(26px); }
.js .hp-reveal.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.hp-guide-list a { grid-template-columns: 4rem minmax(0, 1fr) 3rem; }
	.hp-guide-desc { grid-column: 2; grid-row: 2; margin-top: -1.2rem; }
	.hp-guide-list a .hp-arrow { grid-row: 1 / span 2; grid-column: 3; }
	.hp-seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.hp-lead-grid { grid-template-columns: minmax(0, 1fr); }
	.hp-arch { max-width: 520px; aspect-ratio: 4 / 4.4; }
	.hp-notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hp-notes-grid > li:nth-child(n) { grid-column: auto; grid-row: auto; }
	.hp-notes-grid > li:nth-child(1) { grid-column: 1 / -1; }
	.hp-notes-grid > li:nth-child(1) .wp-block-post-featured-image { aspect-ratio: 16 / 10; }
	.hp-notes-grid > li .wp-block-post-featured-image { aspect-ratio: 4 / 3 !important; }
	.hp-notes-grid > li:nth-child(1) .wp-block-post-featured-image { aspect-ratio: 16 / 10 !important; }
	.hp-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hp-main > .hp-topics { grid-template-columns: minmax(0, 1fr); }
	.hp-footer-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.hp-notes-grid, .hp-cards-3 { grid-template-columns: minmax(0, 1fr); }
	.hp-seasons { grid-template-columns: minmax(0, 1fr); }
	.hp-guide-list a { grid-template-columns: 2.6rem minmax(0, 1fr) 2.4rem; gap: 1rem; }
	.hp-guide-no { font-size: 1.2rem; }
	.hp-arrow { width: 2.4rem; height: 2.4rem; }
	.hp-guide-desc { font-size: .92rem; margin-top: -.6rem; }
	.hp-topic-list a { grid-template-columns: 1.4rem minmax(0, 1fr); }
	.hp-topic-desc { grid-column: 2; font-size: .88rem; margin-top: -.6rem; }
	.hp-main > .hp-author-note { grid-template-columns: minmax(0, 1fr); text-align: left; }
	.hp-author-arch { width: 140px; }
	.hp-footer-cols { grid-template-columns: 1fr 1fr; }
	.hp-hero-figure .wp-block-post-featured-image img { aspect-ratio: 4 / 3; }
	.hp-author-box { grid-template-columns: minmax(0, 1fr); padding: 1.5rem; }
	.hp-author-box-mark img { width: 56px; height: 56px; }
	.hp-section-head--row .hp-divider { display: none; }
}
.hp-guide-head .hp-deck { margin-top: 1.4rem; }
.hp-guide-head .hp-kicker { margin-bottom: 0; }
.hp-lead-text .hp-byline .wp-block-post-date { color: rgba(243, 247, 248, .7); }

/* Guidehuvud i två spalter med bild i valv */
.hp-guide-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.hp-guide-head > :not(.hp-guide-arch):not(.hp-edge) { grid-column: 1; }
.hp-guide-arch { grid-column: 2; grid-row: 1 / span 5; align-self: end; margin: 0 0 clamp(-4rem, -5vw, -2rem) !important; aspect-ratio: 4 / 5; max-height: 560px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); position: relative; z-index: 1; }
.hp-guide-head .hp-edge { z-index: 2; }
@media (max-width: 900px) {
	.hp-guide-head { grid-template-columns: minmax(0, 1fr); }
	.hp-guide-arch { grid-column: 1; grid-row: auto; width: min(320px, 70%); margin: 2.5rem 0 -1rem !important; }
}
/* Artikel: inledning och byline */
.hp-article-title { max-width: 20ch; }
.hp-article .hp-body > p:first-of-type { font-size: clamp(1.15rem, 1.5vw, 1.32rem); line-height: 1.62; }
.hp-byline--center .wp-block-post-author-name::after { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--copper-2); margin: 0 .8rem; vertical-align: middle; }
.hp-body .hp-toc li { counter-increment: t; padding-left: 0; margin: 0; }
.hp-body .hp-toc li::before { content: none; }
.hp-body .hp-toc a { text-decoration: none; color: var(--granite); }
.hp-body .hp-toc a:hover, .hp-body .hp-toc a.is-active { color: var(--ink); }
.hp-body h2[id] { scroll-margin-top: 2rem; }

.hp-hero--small .hp-hero-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(9rem, 16vw, 14rem); }
@media (max-width: 781px) {
	.hp-hero--small .hp-hero-inner { padding-bottom: 1rem; }
	.hp-hero--small .hp-footer-ridges { position: relative; display: block; height: 140px; }
}
.hp-kicker--line { display: block; }
.hp-kicker--line::before { content: ""; display: inline-block; vertical-align: middle; width: 2.6rem; height: 1px; background: currentColor; margin: -.2em .9rem 0 0; }
@media (max-width: 781px) {
	.hp-hero-inner { padding-top: 5.2rem; }
	.hp-sun { width: 54px; right: 6%; top: 1.4rem; }
	.hp-ridges { height: 200px; margin-top: -1.5rem; }
	.hp-hero-title { font-size: clamp(3rem, 14vw, 4.2rem); }
}
.hp-lead-band, .hp-profile-band, .hp-footer, .hp-archive-head, .hp-page-head {
	padding-left: var(--wp--style--root--padding-left) !important; padding-right: var(--wp--style--root--padding-right) !important;
}
.hp-nav .is-menu-open .wp-block-navigation__container { gap: 1rem !important; }
.hp-nav .is-menu-open .wp-block-navigation-item__content { padding-block: .1rem; }
.hp-prof-axis li { right: auto; left: 0; }
.hp-prof-axis li:first-child { display: none; }

.hp-season { flex-wrap: nowrap; }
@media (max-width: 1180px) { .hp-season button { padding: .7rem .75rem; letter-spacing: .12em; } }


/* ==========================================================================
   Omfärgning 2026-10-19: dimblått, granskog, rimfrost och mossa.
   Karla bär etiketter och mellanrubriker; Cormorant bara för stora rubriker.
   ========================================================================== */
.hp-page-head, .hp-archive-head { background: var(--mist-3); color: var(--ridge); }
.hp-page-head::before, .hp-archive-head::before { opacity: .12; }
.hp-factbox { background: var(--frost); }
.hp-page-arch { background: var(--frost); }
.hp-author-arch { background: linear-gradient(180deg, var(--sky1), var(--sky2)); }

/* Blek, dimmig sol i stället för kopparskiva */
.hp-sun {
	background: radial-gradient(circle at 50% 50%, var(--sun) 0 58%, color-mix(in srgb, var(--sun) 70%, transparent) 64%, transparent 72%);
	box-shadow: 0 0 120px 60px color-mix(in srgb, var(--sun) 55%, transparent), 0 0 0 1px rgba(255, 255, 255, .35) inset;
}

/* Etiketter: Karla i gemener, inga spärrade versaler */
.hp-kicker, .hp-almanac-label, .hp-toc .hp-toc-title, .hp-factbox h3, .hp-factbox .hp-factbox-title, .hp-footer-cols h2 {
	font-family: var(--sans); font-size: .95rem; font-weight: 650; letter-spacing: -.005em; text-transform: none;
}
.hp-kicker { color: var(--copper); }
.hp-kicker--light, .hp-lead-text .hp-kicker, .hp-section-head--light .hp-kicker { color: var(--copper-l); }
.hp-footer-cols h2 { color: var(--copper-l); font-size: 1rem; }
.hp-byline, .hp-card .wp-block-post-date, .hp-season-months, .hp-more, .hp-now, .hp-footer-meta, .hp-coord, .hp-elev,
.hp-author-sign, .hp-author-more, .hp-pagination, .hp-prof-points span, .hp-prof-axis li, .hp-almanac-text a, .hp-btn, .hp-btn-link, .hp-season button {
	text-transform: none; letter-spacing: 0;
}
.hp-byline, .hp-card .wp-block-post-date { font-size: .9rem; font-weight: 500; }
.hp-season-months { font-size: .88rem; font-weight: 650; }
.hp-more, .hp-almanac-text a, .hp-btn, .hp-btn-link { font-size: .92rem; font-weight: 650; }
.hp-season button { font-size: .88rem; font-weight: 650; padding: .62rem 1.05rem; }
.hp-now { font-size: .78rem; font-weight: 650; }
.hp-coord, .hp-elev, .hp-footer-meta { font-size: .82rem; font-weight: 500; }
.hp-author-sign, .hp-author-more { font-size: .92rem; font-weight: 600; }
.hp-prof-points span { font-size: .8rem; font-weight: 600; }
.hp-prof-axis li { font-size: .75rem; }
.hp-blaze a, .hp-card .wp-block-post-terms, .hp-article-head .wp-block-post-terms { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 650; }
.hp-nav { text-transform: none; letter-spacing: 0; font-size: .98rem; font-weight: 550; }
.hp-nav .wp-block-navigation-item__content { text-transform: none; letter-spacing: 0; }

/* Mellanrubriker i Karla */
.hp-body h2 { font-family: var(--sans); font-weight: 680; font-size: clamp(1.45rem, 2.2vw, 1.8rem); letter-spacing: -.02em; line-height: 1.2; }
.hp-body h3 { font-family: var(--sans); font-style: normal; font-weight: 650; font-size: 1.2rem; letter-spacing: -.01em; }
.hp-card .wp-block-post-title { font-family: var(--sans); font-weight: 650; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.22; letter-spacing: -.015em; }
.hp-notes-grid > li:nth-child(1) .wp-block-post-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.04; letter-spacing: -.01em; }
.hp-topic-name { font-family: var(--sans); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -.015em; }
.hp-topic-list a:hover .hp-topic-name { font-style: normal; }
.hp-author-name { font-family: var(--sans); font-size: 1.3rem; font-weight: 700; }

/* Höjdprofilen i lav och rimfrost */
.hp-profile { color: var(--copper-l); }
.hp-prof-points .is-fall b { color: var(--frost); }
.hp-prof-points .is-fall span { color: rgba(191, 211, 148, .85); }
.hp-page-head .hp-deck, .hp-archive-desc { color: #3E4A47; }
.hp-w2 { font-size: .86rem; font-weight: 650; letter-spacing: .01em; text-transform: none; margin-top: .15rem; padding-left: .05em; }
@media (max-width: 599px) { .hp-w2 { font-size: .74rem; letter-spacing: .01em; } }
