/*
 * Alpenelle main stylesheet.
 * A deep-pine dark theme written from above the treeline: a trailhead-board
 * hero band, map-fold card corners, lichen trail-blaze buttons and badges,
 * and elevation-tick dividers under trail-signage slab headings.
 * Design tokens live on :root so Customizer colors can override them.
 */

:root {
	--al-accent: #a4bf6b;
	--al-accent-dark: #5c7332;
	--al-bg: #17201b;
	--al-band: #1e2a23;
	--al-blush: #24352b;
	--al-heading: #ecf1e4;
	--al-text: #c1ccc0;
	--al-muted: #8a998c;
	--al-line: #2c3a31;
	--al-white: #1c2820; /* card/panel surface color in Alpenelle's dark palette */

	--al-font-serif: "Zilla Slab", "Rockwell", Georgia, serif;
	--al-font-script: "Patrick Hand", "Comic Sans MS", cursive;
	--al-font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

	--al-container: 1200px;
	--al-radius: 0px;
	--al-fold: 26px;
	--al-shadow: 0 18px 40px -24px rgba(5, 10, 7, 0.85);
	--al-transition: 0.25s ease;
}

/* ---------- Reset-ish base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	/* clip (not hidden) contains .alignfull's 100vw without making body a scroll container, so buyer-added position:sticky and anchor scrolling keep working */
	overflow-x: clip;
	background: var(--al-bg);
	color: var(--al-text);
	font-family: var(--al-font-body);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--al-font-serif);
	color: var(--al-heading);
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: 0.01em;
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1.2em;
}

a {
	color: var(--al-accent);
	text-decoration: none;
	transition: color var(--al-transition);
}

a:hover {
	color: #bcd48a;
}

.al-container {
	max-width: var(--al-container);
	margin-inline: auto;
	padding-inline: 24px;
}

::selection {
	background: var(--al-accent);
	color: #17201b;
}

/* ---------- Accessibility helpers ---------- */

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--al-accent);
	color: #17201b;
	padding: 10px 18px;
	z-index: 999;
}

.skip-link:focus {
	left: 0;
	color: #17201b;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--al-accent);
	outline-offset: 2px;
}

/* ---------- Type helpers ---------- */

.al-eyebrow {
	display: inline-block;
	font-family: var(--al-font-body);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--al-accent);
	margin-bottom: 14px;
}

/* Trail-journal hand notes (Patrick Hand). */
.al-script-accent {
	display: block;
	font-family: var(--al-font-script);
	font-size: clamp(22px, 2.8vw, 30px);
	color: var(--al-accent);
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0.01em;
	margin-bottom: 6px;
}

.al-section-heading {
	text-align: center;
	margin-bottom: 56px;
}

.al-section-heading__title {
	font-size: clamp(30px, 3.8vw, 42px);
	margin: 0;
}

/* Elevation-tick divider: a row of short vertical rules, tall-short-tall. */
.al-section-heading__rule {
	display: block;
	width: 58px;
	height: 18px;
	margin: 20px auto 0;
	background-image:
		repeating-linear-gradient(90deg, var(--al-accent) 0 2px, transparent 2px 14px),
		repeating-linear-gradient(90deg, var(--al-accent) 0 2px, transparent 2px 14px);
	background-size: 100% 100%, 100% 55%;
	background-position: 0 0, 7px center;
	background-repeat: no-repeat;
}

/* ---------- Buttons: pine square with a lichen trail-blaze left bar ---------- */

.al-button {
	position: relative;
	display: inline-block;
	font-family: var(--al-font-body);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--al-heading);
	background: var(--al-blush);
	border: 1px solid var(--al-line);
	border-left: none;
	border-radius: 0;
	padding: 13px 28px 13px 32px;
	cursor: pointer;
	overflow: hidden;
	transition: transform var(--al-transition), color var(--al-transition);
}

/* The blaze: a 4px painted bar that widens on hover (transform only). */
.al-button::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--al-accent);
	transform-origin: left center;
	transition: transform var(--al-transition);
	pointer-events: none;
}

.al-button:hover {
	color: #f6f9f0;
	transform: translateY(-2px);
}

.al-button:hover::before {
	transform: scaleX(2.5);
}

.al-button--ghost {
	background: transparent;
	color: var(--al-accent);
	border-color: var(--al-line);
}

.al-button--ghost:hover {
	color: #bcd48a;
}

.al-textlink {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--al-accent);
	padding-bottom: 3px;
}

/* ---------- Icons ---------- */

.al-icon {
	width: 1.05em;
	height: 1.05em;
	vertical-align: -0.18em;
}

/* ---------- Header ---------- */

.site-header {
	background: var(--al-white);
	border-bottom: 1px solid var(--al-line);
}

.al-header-top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
	padding-block: 24px;
}

.al-header-top__cta {
	justify-self: end;
}

.al-branding {
	text-align: center;
}

.al-logo-text {
	margin: 0;
	font-family: var(--al-font-serif);
	font-weight: 600;
	font-size: clamp(28px, 3.6vw, 40px);
	line-height: 1;
}

.al-logo-text a {
	color: var(--al-heading);
}

.custom-logo-link img {
	max-height: 90px;
	width: auto;
	margin-inline: auto;
}

.al-social {
	list-style: none;
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.al-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 0;
	color: var(--al-heading);
	transition: background var(--al-transition), color var(--al-transition);
}

.al-social a:hover {
	background: var(--al-blush);
	color: var(--al-accent);
}

/* Nav */

.al-nav {
	border-top: 1px solid var(--al-line);
	background: var(--al-white);
}

.al-nav__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.al-nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.al-nav li {
	position: relative;
}

.al-nav a {
	display: block;
	padding: 16px 18px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--al-heading);
}

.al-nav a:hover {
	color: var(--al-accent);
}

/* Dropdowns */

.al-nav ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--al-white);
	border: 1px solid var(--al-line);
	box-shadow: var(--al-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--al-transition), transform var(--al-transition), visibility var(--al-transition);
	z-index: 50;
	display: block;
}

.al-nav ul ul li {
	border-bottom: 1px solid var(--al-band);
}

.al-nav ul ul a {
	padding: 12px 18px;
	letter-spacing: 0.12em;
	text-transform: none;
	font-weight: 400;
	font-size: 14px;
}

.al-nav ul ul ul {
	top: 0;
	left: 100%;
}

.al-nav li:hover > ul,
.al-nav li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.al-search-toggle {
	background: none;
	border: none;
	color: var(--al-heading);
	cursor: pointer;
	padding: 10px;
	font-size: 16px;
}

.al-search-bar {
	border-top: 1px solid var(--al-line);
	padding-block: 18px;
	background: var(--al-band);
}

/* Mobile nav toggle */

.al-nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--al-line);
	padding: 10px;
	cursor: pointer;
	justify-self: end;
}

.al-nav-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--al-heading);
	margin: 4px 0;
	transition: transform var(--al-transition), opacity var(--al-transition);
}

.al-nav-toggle[aria-expanded="true"] .al-nav-toggle__bar:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.al-nav-toggle[aria-expanded="true"] .al-nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.al-nav-toggle[aria-expanded="true"] .al-nav-toggle__bar:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Front page: hero (full-bleed + trailhead board) ---------- */

.al-hero {
	position: relative;
	background: var(--al-bg);
}

.al-hero__media {
	position: relative;
	height: clamp(380px, 56vh, 560px);
	overflow: hidden;
	z-index: 1;
}

.al-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(23, 32, 27, 0.25), rgba(23, 32, 27, 0.55) 80%, rgba(23, 32, 27, 0.75));
}

.al-hero__media img,
.al-hero__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.al-hero__placeholder {
	background:
		radial-gradient(ellipse at 70% 25%, #2e4234 0%, transparent 55%),
		radial-gradient(ellipse at 25% 80%, #223228 0%, transparent 50%),
		var(--al-blush);
}

/* The trailhead board: a full-width dark band overlapping the image bottom. */
.al-hero__panel {
	position: relative;
	z-index: 2;
	margin-top: -96px;
	background: rgba(20, 29, 24, 0.96);
	border-top: 1px solid var(--al-line);
	border-bottom: 1px solid var(--al-line);
	padding: 44px 0 48px;
	display: block;
	text-align: left;
}

.al-hero__text {
	max-width: var(--al-container);
	margin-inline: auto;
	padding-inline: 24px;
}

/* Lichen blaze on the board's left edge of the text block. */
.al-hero__text-inner {
	border-left: 6px solid var(--al-accent);
	padding-left: 30px;
	max-width: 760px;
}

.al-hero .al-eyebrow {
	color: var(--al-accent);
	margin-bottom: 10px;
}

.al-hero__title {
	font-size: clamp(38px, 5.4vw, 68px);
	font-weight: 600;
	color: var(--al-heading);
	margin: 0 0 26px;
}

/* ---------- Front page: services ---------- */

.al-services {
	padding: 96px 0 80px;
}

.al-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	align-items: start;
}

.al-service {
	position: relative;
	text-align: left;
}

.al-service__media {
	position: relative;
	margin-bottom: 30px;
}

.al-service__media img,
.al-service__placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	box-shadow: var(--al-shadow);
}

.al-service__placeholder {
	background: linear-gradient(135deg, var(--al-band), var(--al-blush));
}

.al-service__badge {
	position: absolute;
	left: 18px;
	bottom: -20px;
	transform: none;
	width: 48px;
	height: 48px;
	border-radius: 0;
	border: 1px solid var(--al-accent);
	background: var(--al-bg);
	color: var(--al-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.al-service__num {
	display: block;
	font-family: var(--al-font-script);
	font-weight: 400;
	font-size: 22px;
	letter-spacing: 0.04em;
	line-height: 1;
	color: var(--al-accent);
	margin-bottom: 10px;
}

.al-service__title {
	font-size: 23px;
	margin-bottom: 10px;
}

.al-service__text {
	color: var(--al-muted);
	max-width: 340px;
	margin-inline: 0;
}

/* ---------- Front page: about ---------- */

.al-about {
	padding: 60px 0 90px;
}

.al-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 70px;
	align-items: center;
}

.al-about__media {
	position: relative;
	padding-left: 56px;
	padding-bottom: 40px;
}

.al-about__img-main,
.al-about__placeholder {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	box-shadow: var(--al-shadow);
}

.al-about__placeholder {
	background: linear-gradient(160deg, var(--al-blush), var(--al-band) 70%);
}

.al-about__inset {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46%;
	border: 8px solid var(--al-white);
	box-shadow: var(--al-shadow);
}

.al-about__inset img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.al-about__title {
	font-size: clamp(30px, 3.6vw, 44px);
	margin-bottom: 18px;
}

.al-about__text {
	color: var(--al-muted);
	margin-bottom: 30px;
}

/* ---------- Front page: category tiles (the routes board) ---------- */

.al-cats {
	position: relative;
	padding: 90px 0;
	background: var(--al-band);
}

.al-cats__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px;
	align-items: start;
}

.al-cat-tile {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background: linear-gradient(150deg, #2e4234, #1d2b22);
	background-size: cover;
	background-position: center;
	overflow: hidden;
	box-shadow: var(--al-shadow);
}

.al-cat-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 15, 12, 0.45);
	transition: background var(--al-transition);
}

.al-cat-tile:hover::before {
	background: rgba(10, 15, 12, 0.6);
}

/* Signpost plate pinned to the tile foot, blazed on its left edge. */
.al-cat-tile__frame {
	position: absolute;
	inset: auto 0 0;
	border-left: 6px solid var(--al-accent);
	background: rgba(20, 29, 24, 0.88);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 4px;
	text-align: left;
	padding: 16px 18px 16px 20px;
}

.al-cat-tile__name {
	font-family: var(--al-font-serif);
	font-weight: 600;
	font-size: 22px;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--al-heading);
}

.al-cat-tile__count {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(236, 241, 228, 0.8);
}

/* ---------- Front page: note ---------- */

.al-note {
	padding: 90px 0;
	background: var(--al-bg);
}

.al-note__inner {
	max-width: 680px;
	text-align: center;
}

.al-note__avatar img {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 22px;
	box-shadow: var(--al-shadow);
}

.al-note__title {
	font-size: 28px;
	color: var(--al-accent);
	margin-bottom: 16px;
}

.al-note__text {
	font-family: var(--al-font-script);
	font-size: 20px;
	font-style: normal;
	line-height: 1.6;
	color: var(--al-muted);
}

.al-note__signature {
	display: block;
	font-family: var(--al-font-script);
	font-size: 30px;
	color: var(--al-accent);
	margin-top: 18px;
}

/* ---------- Front page: latest ---------- */

.al-latest {
	padding: 20px 0 100px;
}

/* ---------- Page hero (blog/archive title band) ---------- */

.al-page-hero {
	background:
		linear-gradient(180deg, rgba(164, 191, 107, 0.1), rgba(164, 191, 107, 0.02)),
		linear-gradient(140deg, #22332a, #131b16);
	padding: 84px 0;
}

.al-page-hero__frame {
	max-width: 640px;
	margin-inline: auto;
	border-left: 6px solid var(--al-accent);
	background: rgba(20, 29, 24, 0.7);
	padding: 26px 30px;
	text-align: left;
}

.al-page-hero__title {
	margin: 0;
	color: var(--al-heading);
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 600;
}

.al-page-hero__desc {
	color: rgba(236, 241, 228, 0.85);
	margin-top: 10px;
	font-size: 15px;
}

/* ---------- Content area + sidebar ---------- */

.al-content-area {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 56px;
	padding-block: 72px;
}

.al-no-sidebar .al-content-area {
	grid-template-columns: minmax(0, 1fr);
	max-width: 900px;
}

/* ---------- Post cards: dark bordered, map-fold top-right corner ---------- */

.al-card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 44px 34px;
}

.al-card-grid--three {
	grid-template-columns: repeat(3, 1fr);
}

.al-card {
	position: relative;
	background: var(--al-white);
	border: 1px solid var(--al-line);
	clip-path: polygon(0 0, calc(100% - var(--al-fold)) 0, 100% var(--al-fold), 100% 100%, 0 100%);
	transition: transform var(--al-transition);
}

/* The turned-back map corner. */
.al-card::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: var(--al-fold);
	height: var(--al-fold);
	background: var(--al-blush);
	border-left: 1px solid var(--al-line);
	border-bottom: 1px solid var(--al-line);
	clip-path: polygon(0 0, 0 100%, 100% 100%);
	opacity: 1;
	z-index: 2;
	pointer-events: none;
}

.al-card:hover {
	transform: translateY(-4px);
	border-color: var(--al-accent-dark);
}

.al-card__media {
	position: relative;
}

.al-card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.al-card__body {
	padding: 26px 26px 30px;
}

.al-card__title {
	font-size: 22px;
	margin-bottom: 12px;
}

.al-card__title a {
	color: var(--al-heading);
}

.al-card__title a:hover {
	color: var(--al-accent);
}

.al-card__excerpt {
	color: var(--al-muted);
	font-size: 15px;
}

.al-card__excerpt p {
	margin-bottom: 18px;
}

.al-card__more {
	font-size: 11px;
	padding: 10px 22px;
}

/* Vertical rounded "blaze" date badge, painted in lichen */

.al-date-badge {
	position: absolute;
	left: 18px;
	bottom: -16px;
	width: 36px;
	height: 62px;
	background: var(--al-accent);
	border: none;
	border-radius: 18px;
	transform: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 16px -8px rgba(5, 10, 7, 0.8);
}

.al-date-badge__day,
.al-date-badge__month {
	transform: none;
	line-height: 1;
}

.al-date-badge__day {
	font-family: var(--al-font-serif);
	font-weight: 600;
	font-size: 17px;
	color: #17201b;
	margin: 0 0 4px;
}

.al-date-badge__month {
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #23301f;
	position: static;
}

/* Format badge */

.al-format-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	right: auto;
	width: 40px;
	height: 40px;
	border-radius: 0;
	background: rgba(23, 32, 27, 0.75);
	color: var(--al-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(2px);
}

/* Entry meta */

.al-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: 12.5px;
	letter-spacing: 0.06em;
	color: var(--al-muted);
	margin-bottom: 14px;
}

.al-entry-meta a {
	color: var(--al-muted);
}

.al-entry-meta a:hover {
	color: var(--al-accent);
}

.al-entry-meta .al-icon {
	color: var(--al-accent);
	margin-right: 4px;
}

/* ---------- Single post ---------- */

.al-single__header {
	text-align: left;
	margin-bottom: 34px;
}

.al-single__cats a {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	margin: 0 12px 0 0;
}

.al-single__title {
	font-size: clamp(32px, 4.2vw, 49px);
	margin: 10px 0 16px;
}

.al-single__header .al-entry-meta {
	justify-content: flex-start;
}

.al-single__media {
	position: relative;
	margin-bottom: 40px;
}

.al-single__media .al-date-badge {
	bottom: 22px;
}

.entry-content {
	font-size: 17px;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.6em;
}

/* Trail-journal pull quote: hand-written on the board, blazed left. */
.entry-content blockquote {
	border: none;
	border-left: 6px solid var(--al-accent);
	position: relative;
	margin: 2.2em 0;
	padding: 28px 36px;
	background: var(--al-band);
	font-family: var(--al-font-script);
	font-size: 22px;
	font-style: normal;
	line-height: 1.55;
	color: var(--al-heading);
}

.entry-content blockquote p {
	margin-bottom: 0;
}

.entry-content img {
	box-shadow: var(--al-shadow);
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.wp-element-caption {
	font-size: 13px;
	color: var(--al-muted);
	text-align: center;
	margin-top: 8px;
}

.alignwide {
	margin-inline: -40px;
	max-width: calc(100% + 80px);
}

.alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
}

/* Tags + author box */

.al-single__tags {
	margin: 34px 0;
}

.al-single__tags a {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border: 1px solid var(--al-line);
	padding: 6px 14px;
	margin: 0 8px 8px 0;
	color: var(--al-muted);
}

.al-single__tags a:hover {
	border-color: var(--al-accent);
	color: var(--al-accent);
}

.al-author-box {
	display: flex;
	gap: 26px;
	align-items: center;
	background: var(--al-band);
	border-left: 6px solid var(--al-accent);
	padding: 30px;
	margin-top: 26px;
}

.al-author-box__avatar img {
	border-radius: 50%;
}

.al-author-box__name {
	margin: 2px 0 6px;
	font-size: 22px;
}

.al-author-box__bio {
	margin: 0;
	color: var(--al-muted);
	font-size: 15px;
}

/* Prev/next */

.al-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid var(--al-line);
	border-bottom: 1px solid var(--al-line);
	padding: 22px 0;
	margin: 44px 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* ---------- Comments ---------- */

.comments-area {
	margin-top: 30px;
}

.comments-title,
.comment-reply-title {
	font-size: 26px;
	text-align: left;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-list .comment-body {
	border: 1px solid var(--al-line);
	background: var(--al-white);
	padding: 24px;
	margin-bottom: 22px;
}

.comment-list .children {
	list-style: none;
	padding-left: 40px;
}

.comment-author .avatar {
	border-radius: 50%;
	float: left;
	margin-right: 14px;
}

.comment-metadata {
	font-size: 12px;
	color: var(--al-muted);
}

.comment-metadata a {
	color: var(--al-muted);
}

.reply a {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.comment-form label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 6px;
	color: var(--al-heading);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--al-line);
	background: var(--al-white);
	padding: 12px 14px;
	font-family: var(--al-font-body);
	font-size: 15px;
	color: var(--al-text);
	margin-bottom: 16px;
}

.comment-form .submit {
	position: relative;
	display: inline-block;
	font-family: var(--al-font-body);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--al-heading);
	background: var(--al-blush);
	border: 1px solid var(--al-line);
	border-left: 4px solid var(--al-accent);
	padding: 13px 28px;
	cursor: pointer;
	transition: transform var(--al-transition);
}

.comment-form .submit:hover {
	transform: translateY(-2px);
}

/* ---------- Search form ---------- */

.al-searchform {
	display: flex;
	border: 1px solid var(--al-line);
	background: var(--al-white);
	max-width: 460px;
}

.al-searchform__field {
	flex: 1;
	border: none;
	background: transparent;
	padding: 12px 16px;
	font-family: var(--al-font-body);
	font-size: 15px;
	color: var(--al-text);
}

.al-searchform__field:focus {
	outline: none;
}

.al-searchform__submit {
	border: none;
	background: var(--al-accent);
	color: #17201b;
	padding: 0 18px;
	cursor: pointer;
	transition: background var(--al-transition);
}

.al-searchform__submit:hover {
	background: #bcd48a;
}

/* ---------- Widgets ---------- */

.widget {
	background: var(--al-white);
	border: 1px solid var(--al-line);
	padding: 28px;
	margin-bottom: 34px;
}

.widget-title {
	font-size: 19px;
	margin-bottom: 22px;
	position: relative;
	padding-left: 26px;
}

.widget-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 16px;
	background: var(--al-accent);
	border-radius: 2px;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid var(--al-band);
	font-size: 15px;
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget ul li a {
	color: var(--al-text);
}

.widget ul li a:hover {
	color: var(--al-accent);
}

/* About widget */

.al-about-widget {
	text-align: center;
}

.al-about-widget__image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	margin-bottom: 18px;
}

.al-about-widget__name {
	font-size: 21px;
	margin-bottom: 2px;
}

.al-about-widget__role {
	display: block;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--al-accent);
	margin-bottom: 12px;
}

.al-about-widget__bio {
	color: var(--al-muted);
	font-size: 14.5px;
}

/* Mini posts widget */

.al-mini-posts .al-mini-post {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 10px 0;
}

.al-mini-post__thumb img {
	width: 68px;
	height: 68px;
	object-fit: cover;
}

.al-mini-post__title {
	display: block;
	font-family: var(--al-font-serif);
	font-weight: 500;
	font-size: 15.5px;
	line-height: 1.35;
	color: var(--al-heading);
}

.al-mini-post__title:hover {
	color: var(--al-accent);
}

.al-mini-post__date {
	font-size: 12px;
	color: var(--al-muted);
}

/* Photo grid widget */

.al-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.al-photo-grid img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: opacity var(--al-transition);
}

.al-photo-grid img:hover {
	opacity: 0.8;
}

.al-photo-grid__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--al-heading);
}

/* ---------- Pagination ---------- */

.pagination,
.navigation.pagination {
	margin-top: 56px;
}

.nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 12px;
	border: 1px solid var(--al-line);
	color: var(--al-heading);
	font-size: 13px;
	letter-spacing: 0.1em;
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
	background: var(--al-accent);
	border-color: var(--al-accent);
	color: #17201b;
}

/* ---------- 404 / none ---------- */

.al-none {
	text-align: center;
	padding: 60px 20px;
}

.al-none .al-searchform {
	margin: 26px auto;
}

.al-404__code {
	font-size: clamp(90px, 14vw, 160px);
	line-height: 1;
	color: var(--al-blush);
	-webkit-text-stroke: 1px var(--al-accent);
	margin-bottom: 0;
}

.al-none .al-button {
	margin-top: 10px;
}

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

.site-footer {
	background: #111813;
	color: #9dab9e;
	margin-top: 40px;
}

.al-front + .site-footer,
.al-fullwidth + .site-footer {
	margin-top: 0;
}

.al-footer-widgets {
	padding: 70px 0 50px;
}

.al-footer-widgets__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
}

.site-footer .widget {
	background: transparent;
	border: none;
	padding: 0;
	margin-bottom: 30px;
}

.site-footer .widget-title {
	color: var(--al-heading);
	font-size: 20px;
}

.site-footer .widget ul li {
	border-color: rgba(164, 191, 107, 0.14);
}

.site-footer .widget a {
	color: #9dab9e;
}

.site-footer .widget a:hover {
	color: var(--al-accent);
}

.site-footer .al-photo-grid__link {
	color: var(--al-heading);
}

.site-footer .al-social a {
	color: #9dab9e;
}

.site-footer .al-social a:hover {
	background: rgba(164, 191, 107, 0.12);
	color: var(--al-accent);
}

.al-footer-bottom {
	border-top: 1px solid rgba(164, 191, 107, 0.16);
	padding: 22px 0;
}

.al-footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.al-footer-credit {
	margin: 0;
	font-size: 13.5px;
}

/* Back to top */

.al-to-top {
	position: fixed;
	right: 26px;
	bottom: 26px;
	width: 44px;
	height: 44px;
	border-radius: 0;
	border: none;
	background: var(--al-accent);
	color: #17201b;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity var(--al-transition), transform var(--al-transition), visibility var(--al-transition);
	z-index: 90;
	box-shadow: var(--al-shadow);
}

.al-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* ---------- WooCommerce light touch ---------- */

.al-woo {
	padding-block: 60px;
}

.al-woo ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--al-font-serif);
	font-size: 19px;
}

.al-woo .button,
.woocommerce .al-woo a.button {
	background: var(--al-accent);
	color: #17201b;
	border-radius: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.al-card-grid--three {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 960px) {
	.al-content-area {
		grid-template-columns: minmax(0, 1fr);
	}

	.al-hero__media {
		height: 340px;
	}

	.al-hero__panel {
		margin-top: -64px;
		padding: 34px 0 38px;
	}

	.al-services__grid,
	.al-cats__grid {
		grid-template-columns: 1fr;
		max-width: 460px;
		margin-inline: auto;
	}

	.al-about__grid {
		grid-template-columns: 1fr;
		gap: 46px;
	}

	.al-footer-widgets__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.al-header-top {
		grid-template-columns: auto 1fr auto;
		padding-block: 18px;
	}

	.al-header-top__social {
		display: none;
	}

	.al-header-top__cta {
		display: none;
	}

	.al-branding {
		text-align: left;
	}

	.al-nav-toggle {
		display: block;
	}

	.al-nav {
		display: none;
	}

	.al-nav.is-open {
		display: block;
	}

	.al-nav__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.al-nav ul {
		flex-direction: column;
	}

	.al-nav a {
		padding: 13px 6px;
		border-bottom: 1px solid var(--al-band);
	}

	.al-nav ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: none;
		box-shadow: none;
		background: var(--al-band);
		min-width: 0;
	}

	.al-card-grid,
	.al-card-grid--three {
		grid-template-columns: 1fr;
	}

	.al-author-box {
		flex-direction: column;
		text-align: center;
	}

	.al-post-nav {
		flex-direction: column;
		text-align: center;
	}

	.alignwide {
		margin-inline: 0;
		max-width: 100%;
	}
}

/* ---------- WordPress core classes ---------- */

.sticky .al-card__title::after {
	content: "★";
	color: var(--al-accent);
	font-size: 0.6em;
	vertical-align: super;
	margin-left: 6px;
}

.gallery-caption {
	font-size: 13px;
	color: var(--al-muted);
	text-align: center;
}

.bypostauthor > .comment-body {
	border-left: 2px solid var(--al-accent);
}

.alignleft {
	float: left;
	margin: 0.5em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ===== Premium sections (v1.1.0) ===== */

/* ---------- Portfolio ---------- */

.al-portfolio {
	padding: 96px 0;
}

.al-portfolio__grid {
	/* CSS columns, not CSS grid. A 3-column grid of 2 tall + 4 short tiles needs
	   8 cells but offers 9, so one interior cell is always left empty. Columns
	   pack 3, 4 or 6 tiles with no hole. */
	columns: 3;
	column-gap: 22px;
	margin-bottom: -22px;
}

.al-portfolio__tile {
	position: relative;
	margin: 0 0 22px;
	break-inside: avoid;
	overflow: hidden;
	box-shadow: var(--al-shadow);
	background: linear-gradient(150deg, var(--al-band), var(--al-blush));
	clip-path: polygon(0 0, calc(100% - var(--al-fold)) 0, 100% var(--al-fold), 100% 100%, 0 100%);
}

.al-portfolio__tile::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: var(--al-fold);
	height: var(--al-fold);
	background: var(--al-blush);
	clip-path: polygon(0 0, 0 100%, 100% 100%);
	z-index: 2;
	pointer-events: none;
}

.al-portfolio__media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.al-portfolio__tile--tall .al-portfolio__media {
	aspect-ratio: 3 / 4;
}
.al-portfolio__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--al-transition);
}

.al-portfolio__tile:hover .al-portfolio__media img {
	transform: scale(1.04);
}

.al-portfolio__actions {
	text-align: center;
	margin-top: 44px;
}

/* ---------- Reviews ---------- */

.al-reviews {
	padding: 96px 0;
	background: var(--al-band);
}

.al-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.al-review {
	position: relative;
	background: var(--al-white);
	border: 1px solid var(--al-line);
	clip-path: polygon(0 0, calc(100% - var(--al-fold)) 0, 100% var(--al-fold), 100% 100%, 0 100%);
	padding: 38px 32px 34px;
	text-align: left;
}

.al-review::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: var(--al-fold);
	height: var(--al-fold);
	background: var(--al-blush);
	border-left: 1px solid var(--al-line);
	border-bottom: 1px solid var(--al-line);
	clip-path: polygon(0 0, 0 100%, 100% 100%);
	z-index: 2;
	pointer-events: none;
}

.al-review__avatar {
	display: block;
	width: 72px;
	height: 72px;
	margin: 0 0 16px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--al-line);
}

.al-review__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.al-review__quote {
	display: block;
	font-family: var(--al-font-script);
	font-size: 54px;
	line-height: 0.6;
	color: var(--al-accent);
	opacity: 0.5;
}

.al-review__text {
	font-family: var(--al-font-script);
	font-size: 19px;
	font-style: normal;
	line-height: 1.55;
	color: var(--al-text);
	margin: 14px 0 20px;
}

.al-review__name {
	display: block;
	font-family: var(--al-font-serif);
	font-weight: 600;
	font-size: 19px;
	color: var(--al-heading);
}

.al-review__role {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--al-muted);
}

/* ---------- Pricing ---------- */

.al-pricing {
	padding: 96px 0;
}

.al-pricing__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	align-items: start;
}

.al-plan {
	position: relative;
	background: var(--al-white);
	border: 1px solid var(--al-line);
	clip-path: polygon(0 0, calc(100% - var(--al-fold)) 0, 100% var(--al-fold), 100% 100%, 0 100%);
	padding: 44px 34px;
	text-align: left;
	transition: transform var(--al-transition);
}

.al-plan::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: var(--al-fold);
	height: var(--al-fold);
	background: var(--al-blush);
	border-left: 1px solid var(--al-line);
	border-bottom: 1px solid var(--al-line);
	clip-path: polygon(0 0, 0 100%, 100% 100%);
	z-index: 2;
	pointer-events: none;
}

.al-plan--featured {
	border: 2px solid var(--al-accent);
	transform: scale(1.04);
	z-index: 1;
}

.al-plan__name {
	font-size: 22px;
	margin-bottom: 8px;
}

.al-plan__amount {
	font-family: var(--al-font-serif);
	font-weight: 600;
	font-size: 40px;
	line-height: 1;
	color: var(--al-accent);
	margin-bottom: 26px;
}

.al-plan__features {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	text-align: left;
}

.al-plan__features li {
	position: relative;
	padding: 9px 0 9px 26px;
	border-bottom: 1px solid var(--al-line);
	color: var(--al-text);
	font-size: 15px;
}

.al-plan__features li:last-child {
	border-bottom: none;
}

.al-plan__features li::before {
	content: "\2713";
	position: absolute;
	left: 2px;
	color: var(--al-accent);
	font-weight: 700;
}

/* ---------- CTA banner ---------- */

.al-cta-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 460px;
	overflow: hidden;
	text-align: center;
}

.al-cta-banner__img,
.al-cta-banner__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.al-cta-banner__placeholder {
	background: linear-gradient(150deg, var(--al-blush), var(--al-band));
}

/* Overlay tuned for WCAG-AA light text over any image, on Alpenelle's pine base. */
.al-cta-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(23, 32, 27, 0.62), rgba(23, 32, 27, 0.82));
}

.al-cta-banner__content {
	position: relative;
	z-index: 1;
	max-width: 640px;
	padding: 60px 24px;
	color: var(--al-heading);
}

.al-cta-banner .al-eyebrow {
	color: var(--al-accent);
}

.al-cta-banner__title {
	color: var(--al-heading);
	font-size: clamp(30px, 4vw, 48px);
	margin-bottom: 16px;
}

.al-cta-banner__text {
	color: var(--al-text);
	margin-bottom: 30px;
}

.al-cta-banner .al-button {
	background: rgba(20, 29, 24, 0.85);
}

/* ---------- Instagram strip ---------- */

.al-insta {
	padding: 84px 0 0;
}

.al-insta__head {
	text-align: center;
	margin-bottom: 34px;
	padding-inline: 24px;
}

.al-insta__title {
	font-size: clamp(26px, 3.2vw, 36px);
	margin-bottom: 6px;
}

.al-insta__handle {
	display: inline-block;
	font-family: var(--al-font-script);
	font-size: 19px;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--al-accent);
}

.al-insta__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
}

.al-insta__tile {
	position: relative;
	display: block;
	overflow: hidden;
}

.al-insta__tile img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.al-insta__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(23, 32, 27, 0.6);
	color: var(--al-heading);
	opacity: 0;
	transition: opacity var(--al-transition);
}

.al-insta__overlay .al-icon {
	width: 26px;
	height: 26px;
}

.al-insta__tile:hover .al-insta__overlay,
.al-insta__tile:focus-visible .al-insta__overlay {
	opacity: 1;
}

/* ---------- Footer newsletter band ---------- */

.al-newsletter {
	background: var(--al-accent);
	color: #17201b;
	padding: 56px 0;
}

.al-newsletter__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 34px;
	flex-wrap: wrap;
}

.al-newsletter__intro {
	flex: 1 1 320px;
}

.al-newsletter__title {
	color: #17201b;
	font-size: 28px;
	margin-bottom: 6px;
}

.al-newsletter__text {
	margin: 0;
	color: rgba(23, 32, 27, 0.82);
}

.al-newsletter__form {
	display: flex;
	flex: 1 1 360px;
	gap: 12px;
	flex-wrap: wrap;
}

.al-newsletter__input {
	flex: 1 1 220px;
	border: 1px solid var(--al-accent-dark);
	background: #f7faf0;
	padding: 13px 16px;
	font-family: var(--al-font-body);
	font-size: 15px;
	color: #17201b;
}

/* Pine ink button so it stays legible on the lichen band. */
.al-newsletter .al-button {
	background: #17201b;
	border-color: #17201b;
	color: var(--al-heading);
}

.al-newsletter .al-button::before {
	background: #f7faf0;
}

.al-newsletter .al-button:hover {
	background: #101711;
	border-color: #101711;
	color: #f7faf0;
}

/* ---------- Premium sections: responsive ---------- */

@media (max-width: 860px) {
	.al-portfolio__grid {
		/* Two columns of three tiles cannot balance a 3-tall / 3-short mix:
		   one column always takes two tall tiles and ends ~200px lower. Give
		   every tile the same ratio here so the columns stay flush. */
		columns: 2;
	}

	.al-portfolio__tile--tall .al-portfolio__media {
		aspect-ratio: 4 / 3;
	}

	.al-reviews__grid,
	.al-pricing__grid {
		grid-template-columns: 1fr;
		max-width: 440px;
		margin-inline: auto;
	}

	.al-plan--featured {
		transform: none;
	}

	.al-insta__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 700px) {
	.al-newsletter__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.al-newsletter__form {
		justify-content: center;
	}
}

@media (max-width: 560px) {
	.al-portfolio__grid {
		columns: 1;
	}

	.al-portfolio__tile--tall .al-portfolio__media {
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 480px) {
	.al-insta__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* ---------- Tap targets ---------- */

/* These are compact text buttons, so we grow the padding rather than set a
   min-height: the label stays where it is while the touch area reaches the
   44px platform minimum. */
.al-card__more {
	padding-top: 13px;
	padding-bottom: 13px;
}

/* ===== End premium sections ===== */
