/**
 * HT Portfolio — front-end styles
 *
 * Colors via Customizer (:root overrides in wp_head).
 */

/* ——— Base ——— */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.ht-portfolio-body {
	margin: 0;
	font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--ht-text, #1a1a1a);
	background-color: var(--ht-bg, #fdfbf4);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--ht-teal, #2d5f5d);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

:focus-visible {
	outline: 2px solid var(--ht-orange, #e85d44);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

:root {
	--ht-bg: #fdfbf4;
	--ht-teal: #2d5f5d;
	--ht-yellow: #f2b134;
	--ht-orange: #e85d44;
	--ht-text: #1a1a1a;
	--ht-muted: #5c5c5c;
	--ht-hero-blob: var(--ht-teal);
	--ht-hero-blob-accent: var(--ht-yellow);
	--ht-radius: 18px;
	--ht-radius-sm: 12px;
	--ht-shadow: 0 18px 50px rgba(45, 95, 93, 0.12);
}

.container {
	width: min(1180px, 100% - 3rem);
	margin-left: auto;
	margin-right: auto;
}

.site-main--narrow {
	max-width: 720px;
	padding: 4rem 0 5rem;
}

/* ——— Header ——— */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--ht-bg) 92%, white);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid color-mix(in srgb, var(--ht-teal) 12%, transparent);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	min-height: 72px;
}

.site-title {
	font-family: "Pacifico", cursive;
	font-size: 1.65rem;
	color: var(--ht-teal);
	text-decoration: none;
}

.site-title:hover {
	text-decoration: none;
	opacity: 0.9;
}

.site-logo .custom-logo-link {
	display: inline-block;
}

.site-logo img {
	max-height: 48px;
	width: auto;
}

.primary-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.primary-nav__link {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ht-text);
	text-decoration: none;
}

.primary-nav__link:hover {
	color: var(--ht-teal);
	text-decoration: none;
}

.site-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ht-teal);
	text-decoration: none;
	white-space: nowrap;
}

.site-header__phone:hover {
	text-decoration: none;
	color: var(--ht-orange);
}

.site-header__phone-icon {
	display: flex;
	color: var(--ht-orange);
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	border-radius: var(--ht-radius-sm);
}

.menu-toggle__bar {
	display: block;
	height: 2px;
	width: 24px;
	background: var(--ht-teal);
	border-radius: 2px;
}

@media (max-width: 900px) {
	.menu-toggle {
		display: flex;
	}

	.primary-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--ht-bg);
		border-bottom: 1px solid color-mix(in srgb, var(--ht-teal) 15%, transparent);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.35s ease;
	}

	.primary-nav.is-open {
		max-height: 320px;
	}

	.primary-nav__list {
		flex-direction: column;
		padding: 1rem 1.5rem 1.5rem;
		gap: 1rem;
	}

	.site-header__inner {
		position: relative;
		flex-wrap: wrap;
	}

	.site-header__phone {
		font-size: 0.85rem;
	}
}

/* ——— Hero ——— */
.hero {
	padding: 3rem 0 4rem;
	overflow: hidden;
}

.hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: center;
}

.hero__title {
	font-size: clamp(2.25rem, 4vw, 3.35rem);
	font-weight: 700;
	line-height: 1.12;
	color: var(--ht-teal);
	margin: 0 0 1rem;
}

.hero__sub {
	font-size: 1.15rem;
	color: var(--ht-muted);
	margin: 0 0 1.25rem;
	max-width: 36ch;
}

.hero__email {
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 0 2rem;
}

.hero__email a {
	color: var(--ht-orange);
	text-decoration: none;
	border-bottom: 2px solid color-mix(in srgb, var(--ht-orange) 45%, transparent);
}

.hero__email a:hover {
	border-bottom-color: var(--ht-orange);
}

.hero__exp {
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: color-mix(in srgb, var(--ht-teal) 85%, black);
	margin: 0;
	line-height: 1.2;
}

.hero__visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 420px;
}

.hero__blob-accent {
	position: absolute;
	width: 94%;
	height: 98%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) rotate(7deg);
	background: var(--ht-hero-blob-accent);
	opacity: 0.92;
	border-radius: 52% 48% 55% 45% / 48% 52% 48% 52%;
	z-index: 0;
}

.hero__blob {
	position: absolute;
	width: 88%;
	height: 92%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) rotate(-8deg);
	background: var(--ht-hero-blob);
	opacity: 0.95;
	border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
	z-index: 0;
}

.hero__photo-wrap {
	position: relative;
	z-index: 1;
	width: 72%;
	max-width: 380px;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: var(--ht-shadow);
}

.hero__photo {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 4/5;
}

.hero__badge {
	position: absolute;
	right: 2%;
	top: 12%;
	z-index: 2;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--ht-yellow);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.5rem;
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ht-teal);
	box-shadow: var(--ht-shadow);
}

.hero__badge-line {
	display: block;
}

@media (max-width: 960px) {
	.hero__inner {
		grid-template-columns: 1fr;
	}

	.hero__visual {
		order: -1;
		min-height: 360px;
	}

	.hero__badge {
		right: 6%;
	}
}

/* ——— Sections ——— */
.section {
	padding: 4.5rem 0;
}

.section__title {
	font-size: clamp(1.75rem, 2.5vw, 2.25rem);
	font-weight: 700;
	color: var(--ht-teal);
	margin: 0 0 1.5rem;
}

.section__title--serif {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
	font-size: clamp(2rem, 3vw, 2.65rem);
}

.section__intro {
	max-width: 62ch;
	color: var(--ht-muted);
	margin: 0 0 2.5rem;
	font-size: 1.05rem;
}

/* ——— Services + skills (two columns) ——— */
.section--services {
	padding-top: 2rem;
}

.services-skills-grid {
	margin-bottom: 0;
}

.services-skills-grid--two {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 2.75rem);
	align-items: start;
	margin-bottom: 0;
}

.services-skills-grid__services .service-cards {
	max-width: none;
}

.service-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 520px;
}

.services-skills-grid:not(.services-skills-grid--two) .service-cards {
	margin-bottom: 0;
}

.service-card {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.25rem 1.5rem;
	background: #fff;
	border-radius: var(--ht-radius);
	box-shadow: var(--ht-shadow);
}

.service-card__icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
}

.service-card--teal .service-card__icon {
	background: var(--ht-teal);
}

.service-card--yellow .service-card__icon {
	background: var(--ht-yellow);
}

.service-card--orange .service-card__icon {
	background: var(--ht-orange);
}

.service-card__title {
	margin: 0 0 0.25rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ht-text);
}

.service-card__meta {
	margin: 0;
	font-size: 0.95rem;
	color: var(--ht-muted);
}

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: 2rem;
	max-width: 100%;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid color-mix(in srgb, var(--ht-teal) 18%, transparent);
}

.section--services .stats {
	clear: both;
}

.stats__item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.stats__num {
	font-size: clamp(2rem, 3vw, 2.75rem);
	font-weight: 700;
	color: var(--ht-teal);
}

.stats__label {
	font-size: 1rem;
	color: var(--ht-muted);
}

/* ——— Skills (aside next to services) ——— */
.skills-aside {
	position: sticky;
	top: calc(72px + 1rem);
	margin: 0;
	padding: 1.5rem 1.5rem 1.65rem;
	background: #fff;
	border-radius: var(--ht-radius);
	box-shadow: var(--ht-shadow);
	border: 1px solid color-mix(in srgb, var(--ht-teal) 12%, transparent);
}

.skills-aside__title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	font-weight: 700;
	color: var(--ht-teal);
	margin: 0 0 0.65rem;
	line-height: 1.2;
}

.skills-aside__lead {
	margin: 0 0 1.25rem;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--ht-muted);
}

.skills-bars {
	list-style: none;
	margin: 0;
	padding: 1.75rem 2rem;
	background: #fff;
	border-radius: var(--ht-radius);
	box-shadow: var(--ht-shadow);
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
}

.skills-aside .skills-bars {
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	gap: 1rem;
}

.skills-bars--compact {
	gap: 0.85rem;
}

.skills-bars--compact .skill-bar__track {
	height: 9px;
}

.skills-bars--compact .skill-bar__name {
	font-size: 0.9rem;
}

.skills-bars--compact .skill-bar__value {
	font-size: 0.75rem;
}

.skill-bar__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 0.45rem;
}

.skill-bar__name {
	font-weight: 600;
	font-size: 0.98rem;
	color: var(--ht-text);
}

.skill-bar__value {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--ht-muted);
}

.skill-bar__track {
	position: relative;
	height: 11px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ht-teal) 10%, var(--ht-bg));
	overflow: hidden;
}

.skill-bar__fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	border-radius: inherit;
	transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-bar--teal .skill-bar__fill {
	background: linear-gradient(
		90deg,
		var(--ht-teal),
		color-mix(in srgb, var(--ht-teal) 65%, var(--ht-yellow))
	);
}

.skill-bar--yellow .skill-bar__fill {
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--ht-yellow) 85%, var(--ht-teal)),
		var(--ht-yellow)
	);
}

.skill-bar--orange .skill-bar__fill {
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--ht-orange) 80%, var(--ht-teal)),
		var(--ht-orange)
	);
}

.skills-bars .skill-bar:nth-child(1) .skill-bar__fill {
	transition-delay: 0.05s;
}

.skills-bars .skill-bar:nth-child(2) .skill-bar__fill {
	transition-delay: 0.1s;
}

.skills-bars .skill-bar:nth-child(3) .skill-bar__fill {
	transition-delay: 0.15s;
}

.skills-bars .skill-bar:nth-child(4) .skill-bar__fill {
	transition-delay: 0.2s;
}

.skills-bars .skill-bar:nth-child(5) .skill-bar__fill {
	transition-delay: 0.25s;
}

.skills-bars .skill-bar:nth-child(6) .skill-bar__fill {
	transition-delay: 0.3s;
}

.skills-bars .skill-bar:nth-child(7) .skill-bar__fill {
	transition-delay: 0.35s;
}

.skills-bars .skill-bar:nth-child(8) .skill-bar__fill {
	transition-delay: 0.4s;
}

.skills-bars .skill-bar:nth-child(n + 9) .skill-bar__fill {
	transition-delay: 0.45s;
}

@media (max-width: 900px) {
	.services-skills-grid--two {
		grid-template-columns: 1fr;
	}

	.skills-aside {
		position: static;
		padding: 1.35rem 1.25rem 1.5rem;
	}

	.service-cards {
		max-width: none;
	}
}

/* ——— Timeline + education aside ——— */
.section--experience {
	background: color-mix(in srgb, var(--ht-teal) 6%, var(--ht-bg));
}

.experience-grid--two {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 2.75rem);
	align-items: start;
}

.experience-grid--two .experience-grid__timeline .timeline {
	max-width: none;
}

.experience-aside {
	position: sticky;
	top: calc(72px + 1rem);
	margin: 0;
	padding: 1.5rem 1.5rem 1.6rem;
	background: #fff;
	border-radius: var(--ht-radius);
	box-shadow: var(--ht-shadow);
	border: 1px solid color-mix(in srgb, var(--ht-teal) 12%, transparent);
}

.experience-aside__title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.3rem, 2vw, 1.55rem);
	font-weight: 700;
	color: var(--ht-teal);
	margin: 0 0 0.6rem;
	line-height: 1.25;
}

.experience-aside__lead {
	margin: 0 0 1.35rem;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ht-muted);
}

.experience-aside__bullets {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.experience-aside__bullet {
	position: relative;
	margin: 0;
	padding: 0 0 0 1.35rem;
	font-size: 1.04rem;
	line-height: 1.65;
	color: var(--ht-text);
}

.experience-aside__bullet::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ht-orange);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--ht-teal) 18%, var(--ht-bg));
}

.timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	max-width: 640px;
}

.timeline::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: color-mix(in srgb, var(--ht-teal) 35%, transparent);
}

.timeline__item {
	position: relative;
	padding-left: 2.75rem;
	padding-bottom: 2rem;
}

.timeline__marker {
	position: absolute;
	left: 3px;
	top: 6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--ht-orange);
	border: 3px solid var(--ht-bg);
	box-shadow: 0 0 0 2px var(--ht-teal);
}

.timeline__title {
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ht-text);
}

.timeline__company {
	margin: 0 0 0.25rem;
	color: var(--ht-muted);
	font-size: 0.98rem;
}

.timeline__dates {
	margin: 0;
	font-weight: 600;
	color: var(--ht-teal);
	font-size: 0.95rem;
}

@media (max-width: 900px) {
	.experience-grid--two {
		grid-template-columns: 1fr;
	}

	.experience-aside {
		position: static;
		order: 2;
	}

	.experience-grid__timeline {
		order: 1;
	}

	.timeline {
		max-width: none;
	}
}

/* ——— Certifications ——— */
.section--certifications {
	background: linear-gradient(
		180deg,
		var(--ht-bg) 0%,
		color-mix(in srgb, var(--ht-teal) 6%, var(--ht-bg)) 50%,
		var(--ht-bg) 100%
	);
}

.certs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.certs-grid--single {
	grid-template-columns: 1fr;
	max-width: min(420px, 100%);
	margin-inline: auto;
	justify-items: stretch;
}

.cert-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--ht-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	box-shadow: var(--ht-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.cert-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 60px rgba(45, 95, 93, 0.16);
	text-decoration: none;
}

.cert-card__media {
	position: relative;
	aspect-ratio: 4/3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.25rem;
	overflow: hidden;
}

.cert-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cert-card--teal .cert-card__media {
	background: color-mix(in srgb, var(--ht-teal) 10%, white);
}

.cert-card--yellow .cert-card__media {
	background: color-mix(in srgb, var(--ht-yellow) 18%, white);
}

.cert-card--orange .cert-card__media {
	background: color-mix(in srgb, var(--ht-orange) 12%, white);
}

.cert-card__body {
	padding: 1.1rem 1.25rem 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.cert-card__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ht-text);
	line-height: 1.3;
}

.cert-card__issuer {
	font-size: 0.88rem;
	color: var(--ht-muted);
	line-height: 1.4;
}

.ht-carousel--certs .ht-carousel__slide {
	flex-basis: min(100% - 2rem, 300px);
}

.ht-carousel__slide .cert-card {
	height: 100%;
}

@media (max-width: 900px) {
	.certs-grid {
		grid-template-columns: 1fr;
	}
}

/* ——— Works ——— */
.works-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.work-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--ht-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	box-shadow: var(--ht-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 60px rgba(45, 95, 93, 0.18);
	text-decoration: none;
}

.work-card__media {
	position: relative;
	aspect-ratio: 16/10;
	overflow: hidden;
}

.work-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.work-card--teal .work-card__media {
	background: color-mix(in srgb, var(--ht-teal) 22%, white);
}

.work-card--yellow .work-card__media {
	background: color-mix(in srgb, var(--ht-yellow) 35%, white);
}

.work-card--orange .work-card__media {
	background: color-mix(in srgb, var(--ht-orange) 28%, white);
}

.work-card__body {
	padding: 1.25rem 1.35rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.work-card__label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ht-muted);
}

.work-card__title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ht-text);
}

@media (max-width: 900px) {
	.works-grid {
		grid-template-columns: 1fr;
	}
}

/* ——— Carousels (works & testimonials when > 3 items) ——— */
.ht-carousel {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.75rem;
	align-items: center;
}

.ht-carousel__track {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0.35rem 0 0.85rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.ht-carousel__track::-webkit-scrollbar {
	height: 6px;
}

.ht-carousel__track::-webkit-scrollbar-thumb {
	background: color-mix(in srgb, var(--ht-teal) 35%, transparent);
	border-radius: 3px;
}

.ht-carousel__slide {
	flex: 0 0 min(100% - 2rem, 360px);
	scroll-snap-align: start;
	min-width: 0;
}

.ht-carousel--works .ht-carousel__slide {
	flex-basis: min(100% - 2rem, 380px);
}

.ht-carousel--testimonials .ht-carousel__slide {
	flex-basis: min(100% - 2rem, 340px);
}

.ht-carousel__slide .work-card,
.ht-carousel__slide .testimonial {
	height: 100%;
}

.ht-carousel__btn {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid color-mix(in srgb, var(--ht-teal) 45%, transparent);
	border-radius: 50%;
	background: #fff;
	color: var(--ht-teal);
	cursor: pointer;
	font-size: 1.35rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	flex-shrink: 0;
}

.ht-carousel__btn--prev::after {
	content: "‹";
	font-size: 1.85rem;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 2px;
}

.ht-carousel__btn--next::after {
	content: "›";
	font-size: 1.85rem;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 2px;
}

.ht-carousel__btn:hover,
.ht-carousel__btn:focus-visible {
	background: var(--ht-teal);
	color: #fff;
	border-color: var(--ht-teal);
}

@media (max-width: 600px) {
	.ht-carousel {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.ht-carousel__btn {
		display: none;
	}
}

/* ——— Experience timeline scroll (many roles) ——— */
.experience-grid__timeline--scroll {
	max-height: min(70vh, 540px);
	overflow-y: auto;
	padding-right: 0.35rem;
	scrollbar-gutter: stable;
}

.experience-grid__timeline--scroll .timeline {
	max-width: none;
}

/* ——— Testimonials ——— */
.section--testimonials {
	background: linear-gradient(
		180deg,
		var(--ht-bg) 0%,
		color-mix(in srgb, var(--ht-yellow) 12%, var(--ht-bg)) 100%
	);
}

.testimonials {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.testimonial {
	margin: 0;
	padding: 1.75rem;
	background: #fff;
	border-radius: var(--ht-radius);
	box-shadow: var(--ht-shadow);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.testimonial__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid color-mix(in srgb, var(--ht-teal) 25%, transparent);
}

.testimonial__avatar--placeholder {
	background: linear-gradient(135deg, var(--ht-teal), var(--ht-yellow));
}

.testimonial__quote {
	margin: 0;
	font-size: 0.98rem;
	color: var(--ht-muted);
	flex: 1;
}

.testimonial__footer {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.testimonial__name {
	font-style: normal;
	font-weight: 700;
	color: var(--ht-text);
}

.testimonial__role {
	font-size: 0.88rem;
	color: var(--ht-muted);
}

@media (max-width: 900px) {
	.testimonials {
		grid-template-columns: 1fr;
	}
}

/* ——— Notes ——— */
.section--notes {
	border-top: 1px solid color-mix(in srgb, var(--ht-teal) 15%, transparent);
}

.notes-content {
	max-width: 65ch;
	color: var(--ht-muted);
}

.notes-content p {
	margin-top: 0;
}

/* ——— Footer ——— */
.site-footer {
	padding: 4rem 0 2rem;
	background: color-mix(in srgb, var(--ht-teal) 9%, var(--ht-bg));
	border-top: 1px solid color-mix(in srgb, var(--ht-teal) 15%, transparent);
}

.site-footer__cta {
	text-align: center;
	margin-bottom: 3rem;
}

.site-footer__heading {
	font-size: clamp(1.75rem, 2.8vw, 2.5rem);
	font-weight: 700;
	color: var(--ht-teal);
	margin: 0 0 1rem;
}

.site-footer__sub {
	margin: 0;
	font-size: 1.35rem;
}

.site-footer__sub-link {
	color: var(--ht-orange);
	text-decoration: none;
	border-bottom: 2px solid color-mix(in srgb, var(--ht-orange) 45%, transparent);
	font-weight: 600;
}

.site-footer__sub-link:hover {
	border-bottom-color: var(--ht-orange);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
	align-items: start;
}

.site-footer__address {
	color: var(--ht-muted);
	white-space: pre-line;
}

.site-footer__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.site-footer__nav-list a {
	font-weight: 600;
	color: var(--ht-text);
	text-decoration: none;
}

.site-footer__nav-list a:hover {
	color: var(--ht-teal);
}

.site-footer__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 1rem;
	align-items: center;
	padding-top: 2rem;
	border-top: 1px solid color-mix(in srgb, var(--ht-teal) 18%, transparent);
	font-size: 0.9rem;
	color: var(--ht-muted);
}

.site-footer__logo-text {
	font-family: "Pacifico", cursive;
	font-size: 1.35rem;
	color: var(--ht-teal);
}

.site-footer__brand .custom-logo-link img {
	max-height: 36px;
	width: auto;
}

.site-footer__copy {
	margin: 0;
	text-align: center;
}

.site-footer__credit {
	margin: 0;
	text-align: right;
}

@media (max-width: 700px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.site-footer__bar {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.site-footer__credit {
		text-align: center;
	}
}

/* ——— Inner pages ——— */
.post-article__title {
	font-size: 2rem;
	color: var(--ht-teal);
	margin: 0 0 0.5rem;
}

.post-article__meta {
	color: var(--ht-muted);
	margin: 0 0 2rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
	color: var(--ht-teal);
}
