/* =========================================================================
   HJ9 Interiors - main stylesheet
   Design language recreated from the original site.
   Website design & development by Dulakshi RB (https://dulakshi.com)
   ========================================================================= */

:root {
	--hj9-background: #fcfaf6;
	--hj9-foreground: #2d2823;
	--hj9-primary: #855f46;
	--hj9-secondary: #f5f0e6;
	--hj9-accent: #7b8c77;
	--hj9-taupe: #c4b9ac;
	--hj9-muted-foreground: #6c645e;
	--hj9-border: #e3ddd4;
	--hj9-heading-font: "Cormorant Garamond", Georgia, serif;
	--hj9-body-font: "Karla", ui-sans-serif, system-ui, sans-serif;
	--hj9-radius: 3px;
	--hj9-container: 1280px;
	--hj9-gutter: 20px;
	--hj9-section-y: 80px;
	--hj9-shadow-soft: 0 18px 40px -18px rgba(45, 40, 35, 0.25);
}

@media (min-width: 1024px) {
	:root {
		--hj9-gutter: 40px;
		--hj9-section-y: 112px;
	}
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }

body {
	margin: 0;
	background: var(--hj9-background);
	color: var(--hj9-foreground);
	font-family: var(--hj9-body-font);
	font-size: 16px;
	line-height: 1.625;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hj9-heading-font);
	font-weight: 500;
	color: var(--hj9-foreground);
	line-height: 1.15;
	margin: 0 0 0.4em;
}

h1 { font-size: 2.25rem; line-height: 1.08; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

@media (min-width: 640px) {
	h1 { font-size: 3rem; }
	h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
	h1 { font-size: 3.75rem; }
	h2 { font-size: 2.5rem; }
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--hj9-primary); text-decoration: none; }
a:hover { color: var(--hj9-primary); text-decoration: none; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* =========================================================================
   Layout
   ========================================================================= */
.hj9-container {
	max-width: var(--hj9-container);
	margin-inline: auto;
	padding-inline: var(--hj9-gutter);
	width: 100%;
}

.hj9-main { padding-bottom: 64px; }
@media (min-width: 1024px) { .hj9-main { padding-bottom: 0; } }

.hj9-section { padding: var(--hj9-section-y) var(--hj9-gutter); }
.hj9-section--cream { background: var(--hj9-secondary); }
.hj9-section--center { text-align: center; }

.hj9-eyebrow {
	font-family: var(--hj9-body-font);
	font-size: 0.6875rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--hj9-primary);
	margin: 0;
}

.hj9-section-head { max-width: 48rem; }
.hj9-section-head--center { margin-inline: auto; text-align: center; }
.hj9-section-head .hj9-eyebrow { margin-bottom: 1rem; }
.hj9-section-head h2 { margin-bottom: 0; }

/* Homepage section headings (original: text-4xl / lg:text-5xl) */
body.home .hj9-section-head h2 { font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 1024px) { body.home .hj9-section-head h2 { font-size: 3rem; } }
body.home .hj9-instagram .hj9-section-head h2 { font-size: 1.875rem; line-height: 1.15; }
@media (min-width: 1024px) { body.home .hj9-instagram .hj9-section-head h2 { font-size: 2.25rem; } }

.hj9-section-sub {
	margin-top: 1.25rem;
	color: var(--hj9-muted-foreground);
	max-width: 44rem;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.hj9-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 28px;
	font-family: var(--hj9-body-font);
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	border-radius: var(--hj9-radius);
	border: 1px solid transparent;
	transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	cursor: pointer;
	text-align: center;
}

.hj9-btn--primary {
	background: var(--hj9-primary);
	color: #fff;
}
.hj9-btn--primary:hover { opacity: 0.9; color: #fff; }

.hj9-btn--outline {
	border-color: rgba(45, 40, 35, 0.3);
	color: var(--hj9-foreground);
	background: transparent;
}
.hj9-btn--outline:hover { border-color: var(--hj9-primary); color: var(--hj9-primary); }

.hj9-btn--light {
	background: rgba(252, 250, 246, 0.9);
	color: var(--hj9-foreground);
}
.hj9-btn--light:hover { background: var(--hj9-background); }

.hj9-btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.25rem; }

/* =========================================================================
   Header — editorial masthead
   ========================================================================= */
.hj9-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid color-mix(in srgb, var(--hj9-border) 70%, transparent);
	background: color-mix(in srgb, var(--hj9-background) 92%, transparent);
	backdrop-filter: blur(10px);
	transition: box-shadow 0.3s ease;
}
.hj9-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(45, 40, 35, 0.35); }

/* Scroll progress line */

/* Utility strip */
.hj9-header__utility {
	display: none;
	background: var(--hj9-secondary);
	border-bottom: 1px solid color-mix(in srgb, var(--hj9-border) 60%, transparent);
}
@media (min-width: 1024px) {
	.hj9-header__utility { display: block; }
}
.hj9-header__utility-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 40px;
}
.hj9-header__utility-tag {
	margin: 0;
	font-size: 0.62rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hj9-muted-foreground);
}
.hj9-header__utility-list { display: flex; gap: 24px; }
.hj9-header__utility-list li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.62rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.hj9-header__utility-list svg { color: var(--hj9-primary); flex-shrink: 0; }
.hj9-header__utility-list a { color: var(--hj9-foreground); transition: color 0.25s ease; }
.hj9-header__utility-list a:hover { color: var(--hj9-primary); }

/* Main bar */
.hj9-header__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding-top: 14px;
	padding-bottom: 14px;
	transition: padding 0.3s ease;
}
.hj9-header.is-scrolled .hj9-header__inner { padding-top: 8px; padding-bottom: 8px; }
@media (min-width: 1024px) {
	.hj9-header__inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
}

/* Brand */
.hj9-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	justify-self: start;
}
.hj9-brand__logo {
	width: 60px;
	height: 60px;
	object-fit: contain;
	flex-shrink: 0;
}
@media (min-width: 1024px) {
	.hj9-brand__logo { width: 84px; height: 84px; }
}
.hj9-brand__text { display: flex; flex-direction: column; min-width: 0; }
.hj9-brand__title {
	font-family: var(--hj9-heading-font);
	font-size: 1.25rem;
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--hj9-foreground);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.hj9-brand__sub {
	font-size: 0.58rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--hj9-primary);
	margin-top: 4px;
	white-space: nowrap;
}

/* Desktop nav — centred */
.hj9-nav { display: none; justify-content: center; }
@media (min-width: 1024px) {
	.hj9-nav { display: flex; align-items: center; }
}
.hj9-nav__list { display: flex; align-items: center; gap: 34px; }
.hj9-nav__list a {
	position: relative;
	padding: 6px 0;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hj9-foreground);
	transition: color 0.25s ease;
}
.hj9-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 1px;
	background: var(--hj9-primary);
	transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hj9-nav__list a:hover, .hj9-nav__list a:focus-visible { color: var(--hj9-primary); }
.hj9-nav__list a:hover::after, .hj9-nav__list a:focus-visible::after { right: 0; }
.hj9-nav__list .current-menu-item > a,
.hj9-nav__list .current_page_item > a {
	color: var(--hj9-primary);
}
.hj9-nav__list .current-menu-item > a::after,
.hj9-nav__list .current_page_item > a::after { right: 0; }
.hj9-nav__list li { list-style: none; }

/* Actions (CTA + toggle) */
.hj9-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-self: end;
}
.hj9-header__cta { padding: 12px 22px; }
@media (max-width: 1023.98px) {
	.hj9-header__cta { display: none; }
}

/* Hamburger → X */
.hj9-nav-toggle {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: none;
	border: 0;
	padding: 0;
	color: var(--hj9-foreground);
	cursor: pointer;
}
.hj9-nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.3s ease, opacity 0.2s ease;
}
.hj9-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hj9-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hj9-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) {
	.hj9-nav-toggle { display: none; }
}

/* =========================================================================
   Mobile menu — full-screen overlay
   ========================================================================= */
.hj9-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: var(--hj9-secondary);
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}
.hj9-mobile-menu.is-open { opacity: 1; visibility: visible; }
.hj9-mobile-menu__inner {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: calc(96px + 1rem);
	padding-bottom: 48px;
}
.hj9-mobile-menu__list { display: flex; flex-direction: column; }
.hj9-mobile-menu__list a {
	display: block;
	font-family: var(--hj9-heading-font);
	font-size: clamp(1.25rem, 5vw, 2rem);
	line-height: 1.15;
	padding: 8px 0;
	color: var(--hj9-foreground);
	border-bottom: 1px solid color-mix(in srgb, var(--hj9-border) 60%, transparent);
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.hj9-mobile-menu__list li { list-style: none; }
.hj9-mobile-menu__list a:hover { color: var(--hj9-primary); }
.hj9-mobile-menu__list li:nth-child(1) a { transition-delay: 60ms; }
.hj9-mobile-menu__list li:nth-child(2) a { transition-delay: 120ms; }
.hj9-mobile-menu__list li:nth-child(3) a { transition-delay: 180ms; }
.hj9-mobile-menu__list li:nth-child(4) a { transition-delay: 240ms; }
.hj9-mobile-menu__list li:nth-child(5) a { transition-delay: 300ms; }
.hj9-mobile-menu__list li:nth-child(6) a { transition-delay: 360ms; }
.hj9-mobile-menu__list li:nth-child(7) a { transition-delay: 420ms; }
.hj9-mobile-menu.is-open .hj9-mobile-menu__list a {
	opacity: 1;
	transform: none;
}
.hj9-mobile-menu__foot {
	margin-top: 40px;
	display: grid;
	gap: 20px;
	justify-items: start;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}
.hj9-mobile-menu.is-open .hj9-mobile-menu__foot { opacity: 1; transform: none; }
.hj9-mobile-menu__cta { min-width: 200px; }
.hj9-mobile-menu__contact { display: grid; gap: 8px; font-size: 0.85rem; color: var(--hj9-muted-foreground); }
.hj9-mobile-menu__contact a { color: var(--hj9-foreground); }
.hj9-mobile-menu__contact a:hover { color: var(--hj9-primary); }
@media (min-width: 1024px) {
	.hj9-mobile-menu { display: none; }
}
body.hj9-menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
	.hj9-mobile-menu,
	.hj9-mobile-menu__list a,
	.hj9-mobile-menu__foot { opacity: 1 !important; transform: none !important; transition: none; }
	.hj9-nav-toggle span { transition: none; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hj9-hero { position: relative; overflow: hidden; }
.hj9-hero__media {
	width: 100%;
	height: 78vh;
	min-height: 520px;
	object-fit: cover;
	will-change: transform;
}
.hj9-hero__overlay { position: absolute; inset: 0; background: rgba(45, 40, 35, 0.35); }
.hj9-hero__content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding-inline: var(--hj9-gutter);
}
.hj9-hero__inner { max-width: var(--hj9-container); margin-inline: auto; width: 100%; }
.hj9-hero__text { max-width: 42rem; }
.hj9-hero__text h1 { color: var(--hj9-background); }
.hj9-hero__text p { margin-top: 1.5rem; max-width: 36rem; color: color-mix(in srgb, var(--hj9-background) 90%, transparent); }
.hj9-hero__cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 16px; }

/* =========================================================================
   Page header (interior pages)
   ========================================================================= */
.hj9-page-head {
	padding: var(--hj9-section-y) var(--hj9-gutter);
	background: var(--hj9-secondary);
}
.hj9-page-head--cream { background: var(--hj9-secondary); }
.hj9-page-head h1 { margin: 1rem 0 0; max-width: 48rem; font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 1024px) { .hj9-page-head h1 { font-size: 3rem; } }
.hj9-page-head__intro { margin-top: 1.25rem; max-width: 48rem; color: var(--hj9-muted-foreground); }

/* =========================================================================
   Intro (two-column image + text)
   ========================================================================= */
.hj9-two-col {
	display: grid;
	align-items: center;
	gap: 56px;
}
@media (min-width: 1024px) { .hj9-two-col { grid-template-columns: 1fr 1fr; } }
.hj9-two-col__media { overflow: hidden; border-radius: var(--hj9-radius); box-shadow: var(--hj9-shadow-soft); }
.hj9-two-col__media img { width: 100%; object-fit: cover; transition: transform 1.1s ease; }
.hj9-two-col__media img.hj9-zoom { will-change: transform; }
.hj9-two-col__text .hj9-eyebrow { margin-bottom: 1rem; }
.hj9-two-col__text h2 { margin-bottom: 1.5rem; }
.hj9-two-col__text h2 { font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 1024px) { .hj9-two-col__text h2 { font-size: 3rem; } }
.hj9-intro .hj9-two-col__text h2 { font-size: 1.875rem; line-height: 1.15; }
@media (min-width: 1024px) { .hj9-intro .hj9-two-col__text h2 { font-size: 2.25rem; } }

/* About page: story + personality titles are text-3xl/lg:text-4xl in the original */
body.page-template-page-about .hj9-two-col__text h2 { font-size: 1.875rem; line-height: 1.15; }
@media (min-width: 1024px) { body.page-template-page-about .hj9-two-col__text h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { body.page-template-page-about .hj9-two-col { grid-template-columns: 0.9fr 1.1fr; } }
/* About page: philosophy + approach titles are text-4xl/lg:text-5xl in the original */
body.page-template-page-about .hj9-prose--center h2,
body.page-template-page-about .hj9-section-head h2 { font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 1024px) {
	body.page-template-page-about .hj9-prose--center h2,
	body.page-template-page-about .hj9-section-head h2 { font-size: 3rem; }
}
/* Interior-page closing section heads are text-3xl/lg:text-4xl in the original */
body.page-template-page-services .hj9-section-head h2,
body.page-template-page-process .hj9-section-head h2,
body.page-template-page-faq .hj9-section-head h2 { font-size: 1.875rem; line-height: 1.15; }
@media (min-width: 1024px) {
	body.page-template-page-services .hj9-section-head h2,
	body.page-template-page-process .hj9-section-head h2,
	body.page-template-page-faq .hj9-section-head h2 { font-size: 2.25rem; }
}
.hj9-two-col__text .hj9-prose { margin-top: 1.5rem; }
.hj9-prose p { color: var(--hj9-muted-foreground); margin-bottom: 1.25rem; }
.hj9-prose p:last-child { margin-bottom: 0; }

/* Philosophy (full-bleed split, like original) */
.hj9-philosophy-split__grid { display: grid; }
@media (min-width: 1024px) { .hj9-philosophy-split__grid { grid-template-columns: 1fr 1fr; } }
.hj9-philosophy-split__media { overflow: hidden; }
.hj9-philosophy-split__media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; }
.hj9-philosophy-split__content { display: flex; align-items: center; padding: var(--hj9-section-y) var(--hj9-gutter); }
@media (min-width: 1024px) { .hj9-philosophy-split__content { padding: var(--hj9-section-y) 64px; } }
.hj9-philosophy-split__inner { max-width: 32rem; }
.hj9-philosophy-split__inner .hj9-eyebrow { margin-bottom: 1rem; }
.hj9-philosophy-split__inner h2 { margin-bottom: 1.5rem; font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 1024px) { .hj9-philosophy-split__inner h2 { font-size: 3rem; } }
.hj9-philosophy-split__inner .hj9-prose { margin-top: 1.5rem; }

/* =========================================================================
   Pain points
   ========================================================================= */
.hj9-pain__list {
	margin: 3.5rem auto 0;
	max-width: 56rem;
	display: grid;
	gap: 24px;
}
@media (min-width: 768px) { .hj9-pain__list { grid-template-columns: 1fr 1fr; } }
.hj9-pain__item {
	border-left: 2px solid var(--hj9-taupe);
	padding-left: 20px;
	color: var(--hj9-muted-foreground);
}
.hj9-pain__closing { margin-top: 3.5rem; text-align: center; }
.hj9-pain__closing p { font-family: var(--hj9-heading-font); font-size: 1.875rem; color: var(--hj9-foreground); }

/* =========================================================================
   Services
   ========================================================================= */
.hj9-services { display: grid; gap: 32px; margin-top: 3.5rem; }
@media (min-width: 768px) { .hj9-services { grid-template-columns: repeat(3, 1fr); } }

.hj9-service-card {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--hj9-border);
	padding-top: 24px;
}
.hj9-service-card__num { font-family: var(--hj9-heading-font); font-size: 2.25rem; color: var(--hj9-taupe); }
.hj9-service-card h3 { margin: 12px 0 0; font-size: 1.5rem; line-height: 1.3; }
.hj9-service-card__desc { margin-top: 16px; color: var(--hj9-muted-foreground); }
.hj9-service-card__list { margin-top: 20px; }
.hj9-service-card__list li {
	display: flex;
	gap: 12px;
	margin-bottom: 8px;
	font-size: 0.875rem;
	color: var(--hj9-muted-foreground);
}
.hj9-service-card__list li::before { content: "—"; color: var(--hj9-muted-foreground); }

/* =========================================================================
   Portfolio
   ========================================================================= */
.hj9-filter { display: flex; flex-wrap: wrap; gap: 24px 24px; margin-top: 32px; }
.hj9-filter__item {
	background: none;
	border: 0;
	padding: 0;
	font-family: var(--hj9-body-font);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hj9-muted-foreground);
	cursor: pointer;
	transition: color 0.25s ease;
}
.hj9-filter__item:hover, .hj9-filter__item.is-active { color: var(--hj9-primary); }
.hj9-filter--legend { gap: 8px 24px; }
.hj9-filter__label {
	font-family: var(--hj9-body-font);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hj9-muted-foreground);
}

.hj9-grid { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 768px) { .hj9-grid { grid-template-columns: repeat(3, 1fr); } }

.hj9-project-card { display: block; color: inherit; }
.hj9-project-card:hover { color: inherit; }
.hj9-project-card__media { overflow: hidden; border-radius: var(--hj9-radius); position: relative; }
.hj9-project-card__media img {
	width: 100%;
	aspect-ratio: 7 / 5;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.hj9-project-card:hover .hj9-project-card__media img { transform: scale(1.03); }
.hj9-project-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(45, 40, 35, 0.3);
	opacity: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 20px;
	transition: opacity 0.4s ease;
}
.hj9-project-card:hover .hj9-project-card__overlay { opacity: 1; }
.hj9-project-card__view {
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
}
.hj9-project-card h3 { margin: 16px 0 0; font-size: 1.25rem; }
.hj9-project-card__meta { margin-top: 4px; font-size: 0.875rem; color: var(--hj9-muted-foreground); }

.hj9-projects-empty { margin-top: 48px; color: var(--hj9-muted-foreground); }

/* =========================================================================
   Philosophy / centered prose
   ========================================================================= */
.hj9-prose--lead { margin-top: 1.5rem; max-width: 48rem; }
.hj9-prose--lead p { color: var(--hj9-muted-foreground); }

/* =========================================================================
   Process steps
   ========================================================================= */
.hj9-process-grid { display: grid; gap: 32px; margin-top: 3.5rem; }
@media (min-width: 640px) { .hj9-process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hj9-process-grid { grid-template-columns: repeat(3, 1fr); } }
.hj9-process-step { border-top: 1px solid var(--hj9-border); padding-top: 20px; }
.hj9-process-step__num { font-family: var(--hj9-heading-font); font-size: 1.875rem; color: var(--hj9-taupe); }
.hj9-process-step h3 { margin: 8px 0 0; font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hj9-process-step p { margin-top: 12px; font-size: 0.875rem; color: var(--hj9-muted-foreground); }

/* Process page: detailed steps */
.hj9-process-detail { max-width: 56rem; }
.hj9-process-detail__item { border-top: 1px solid var(--hj9-border); padding: 40px 0; display: grid; gap: 20px; }
@media (min-width: 768px) { .hj9-process-detail__item { grid-template-columns: 90px 1fr; gap: 40px; } }
.hj9-process-detail__num { font-family: var(--hj9-heading-font); font-size: 2.5rem; color: var(--hj9-taupe); }
.hj9-process-detail h2 { margin: 4px 0 12px; }
.hj9-process-detail p { color: var(--hj9-muted-foreground); }

/* =========================================================================
   Testimonials
   ========================================================================= */
.hj9-testimonials { display: grid; gap: 40px; margin-top: 3.5rem; }
@media (min-width: 768px) { .hj9-testimonials { grid-template-columns: repeat(3, 1fr); } }
.hj9-testimonial { border-top: 1px solid var(--hj9-border); padding-top: 24px; }
.hj9-testimonial blockquote { margin: 0; font-family: var(--hj9-body-font); font-size: 1.25rem; line-height: 1.625; color: var(--hj9-foreground); }
.hj9-testimonial blockquote::before, .hj9-testimonial blockquote::after { content: "\201C"; }
.hj9-testimonial blockquote::after { content: "\201D"; }
.hj9-testimonial figcaption { margin-top: 20px; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hj9-primary); }

/* =========================================================================
   Instagram grid
   ========================================================================= */
.hj9-instagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.hj9-instagram-item { position: relative; display: block; overflow: hidden; border-radius: var(--hj9-radius); }
.hj9-instagram-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.7s ease; }
.hj9-instagram-item:hover img { transform: scale(1.05); }
.hj9-instagram-item__icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(45, 40, 35, 0.3);
	opacity: 0;
	color: #fff;
	transition: opacity 0.35s ease;
}
.hj9-instagram-item:hover .hj9-instagram-item__icon { opacity: 1; }

/* =========================================================================
   CTA band
   ========================================================================= */
.hj9-cta { position: relative; overflow: hidden; }
.hj9-cta__media { width: 100%; height: 60vh; min-height: 420px; object-fit: cover; will-change: transform; }
.hj9-cta__overlay { position: absolute; inset: 0; background: rgba(45, 40, 35, 0.4); }
.hj9-cta__content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-inline: var(--hj9-gutter);
	text-align: center;
}
.hj9-cta__inner { max-width: 42rem; }
.hj9-cta__inner h2 { color: var(--hj9-background); font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 1024px) { .hj9-cta__inner h2 { font-size: 3rem; } }
.hj9-cta__inner .hj9-btn-row { justify-content: center; }
.hj9-cta__inner p { margin-top: 1.25rem; color: color-mix(in srgb, var(--hj9-background) 90%, transparent); }
.hj9-cta__btn { margin-top: 2.25rem; }

/* =========================================================================
   FAQ
   ========================================================================= */
.hj9-faq { max-width: 48rem; margin-inline: auto; }
.hj9-faq__item { border-bottom: 1px solid var(--hj9-border); }
.hj9-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 16px;
	background: none;
	border: 0;
	padding: 20px 0;
	cursor: pointer;
	text-align: left;
	font-family: var(--hj9-heading-font);
	font-size: 1.25rem;
	color: var(--hj9-foreground);
}
.hj9-faq__icon {
	flex-shrink: 0;
	color: var(--hj9-muted-foreground);
	transition: transform 0.3s ease;
}
.hj9-faq__item.is-open .hj9-faq__icon { transform: rotate(180deg); }
.hj9-faq__a { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.hj9-faq__a-inner { padding: 0 0 24px; color: var(--hj9-muted-foreground); font-size: 0.9375rem; }

/* =========================================================================
   Blog
   ========================================================================= */
.hj9-blog-grid { display: grid; gap: 40px; margin-top: 48px; }
@media (min-width: 768px) { .hj9-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.hj9-post-card { display: block; color: inherit; }
.hj9-post-card:hover { color: inherit; }
.hj9-post-card__media { overflow: hidden; border-radius: var(--hj9-radius); }
.hj9-post-card__media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.hj9-post-card:hover .hj9-post-card__media img { transform: scale(1.03); }
.hj9-post-card__meta { margin-top: 16px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hj9-primary); }
.hj9-post-card h3 { margin: 10px 0 0; font-size: 1.375rem; }
.hj9-post-card__excerpt { margin-top: 8px; color: var(--hj9-muted-foreground); font-size: 0.9375rem; }
.hj9-post-card__more { display: inline-block; margin-top: 12px; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hj9-primary); }

.hj9-post-single__head { padding: var(--hj9-section-y) var(--hj9-gutter) 0; }
.hj9-post-single__meta { margin-top: 20px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hj9-muted-foreground); }
.hj9-post-single__head .hj9-eyebrow { margin-bottom: 1rem; }
.hj9-post-single__media { margin-top: 40px; }
.hj9-post-single__media img { width: 100%; max-height: 70vh; object-fit: cover; border-radius: var(--hj9-radius); }
.hj9-post-single__body { margin-top: 48px; }
.hj9-post-single__body .hj9-entry-content { max-width: 48rem; margin-inline: auto; }

.hj9-entry-content h2, .hj9-entry-content h3 { margin-top: 2rem; }
.hj9-entry-content p { color: var(--hj9-muted-foreground); margin-bottom: 1.25rem; }
.hj9-entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.hj9-entry-content ul, .hj9-entry-content ol { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--hj9-muted-foreground); }
.hj9-entry-content ol { list-style: decimal; }
.hj9-entry-content img { border-radius: var(--hj9-radius); margin: 1.5rem 0; }
.hj9-entry-content blockquote { border-left: 2px solid var(--hj9-taupe); margin: 2rem 0; padding-left: 1.5rem; font-family: var(--hj9-heading-font); font-size: 1.5rem; color: var(--hj9-foreground); }

.hj9-pagination { display: flex; gap: 12px; margin-top: 56px; justify-content: center; }
.hj9-pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--hj9-border); border-radius: var(--hj9-radius); color: var(--hj9-foreground); font-size: 0.875rem; }
.hj9-pagination .page-numbers.current { background: var(--hj9-primary); border-color: var(--hj9-primary); color: #fff; }

.hj9-post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; border-top: 1px solid var(--hj9-border); padding-top: 28px; }
.hj9-post-nav a { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hj9-muted-foreground); }
.hj9-post-nav a:hover { color: var(--hj9-primary); }

/* =========================================================================
   Single project
   ========================================================================= */
.hj9-project-hero { background: var(--hj9-secondary); padding: calc(var(--hj9-section-y) * 0.6) var(--hj9-gutter) calc(var(--hj9-section-y) * 0.75); }
.hj9-project-hero .hj9-eyebrow { margin-bottom: 1rem; }
.hj9-project-hero h1 { margin: 0 0 1.5rem; max-width: 48rem; font-size: 2.5rem; }
@media (min-width: 1024px) { .hj9-project-hero h1 { font-size: 3.75rem; } }
.hj9-project-meta { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.hj9-project-meta dt { font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hj9-primary); margin-bottom: 4px; }
.hj9-project-meta dd { margin: 0; color: var(--hj9-foreground); font-size: 0.9375rem; }

.hj9-project-hero__media { background: var(--hj9-secondary); padding: 0 var(--hj9-gutter) var(--hj9-section-y); }
.hj9-project-hero__media img { margin-inline: auto; max-width: var(--hj9-container); width: 100%; border-radius: var(--hj9-radius); box-shadow: var(--hj9-shadow-soft); }

/* =========================================================================
   Contact form
   ========================================================================= */
.hj9-contact-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .hj9-contact-grid { grid-template-columns: 1fr 1.1fr; } }
.hj9-contact-info p { color: var(--hj9-muted-foreground); max-width: 24rem; }
.hj9-contact-info__list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.hj9-contact-info__item { display: flex; align-items: center; gap: 12px; color: var(--hj9-muted-foreground); font-size: 0.9375rem; }
.hj9-contact-info__item svg { color: var(--hj9-primary); flex-shrink: 0; }

.hj9-contact-form { display: grid; gap: 32px; }
.hj9-contact-form .hj9-field { display: flex; flex-direction: column; gap: 8px; }
.hj9-form-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .hj9-form-grid { grid-template-columns: repeat(2, 1fr); } }
.hj9-contact-form label, .hj9-contact-form legend { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hj9-foreground); }
.hj9-contact-form input[type="text"],
.hj9-contact-form input[type="email"],
.hj9-contact-form input[type="tel"],
.hj9-contact-form input[type="date"],
.hj9-contact-form select,
.hj9-contact-form textarea {
	width: 100%;
	background: #fff;
	border: 1px solid var(--hj9-border);
	border-radius: var(--hj9-radius);
	padding: 14px 16px;
	font-family: var(--hj9-body-font);
	font-size: 0.9375rem;
	color: var(--hj9-foreground);
	transition: border-color 0.25s ease;
}
.hj9-contact-form input:focus, .hj9-contact-form select:focus, .hj9-contact-form textarea:focus {
	outline: none;
	border-color: var(--hj9-primary);
}
.hj9-contact-form textarea { resize: vertical; }
.hj9-check-grid { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 640px) { .hj9-check-grid { grid-template-columns: repeat(2, 1fr); } }
.hj9-check { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--hj9-muted-foreground); cursor: pointer; }
.hj9-check input { accent-color: var(--hj9-primary); }
.hj9-form-actions .hj9-btn { width: 100%; justify-content: center; }
@media (min-width: 640px) { .hj9-form-actions .hj9-btn { width: auto; } }
.hj9-form-actions { margin-top: 8px; }
.hj9-form-note { padding: 16px 20px; border-radius: var(--hj9-radius); margin-bottom: 24px; font-size: 0.9375rem; }
.hj9-form-note--success { background: color-mix(in srgb, var(--hj9-accent) 15%, var(--hj9-background)); color: var(--hj9-foreground); border: 1px solid var(--hj9-accent); }
.hj9-form-note--error { background: color-mix(in srgb, #b5654d 12%, var(--hj9-background)); color: #7a3a2a; border: 1px solid #b5654d; }

/* =========================================================================
   Footer
   ========================================================================= */
.hj9-footer { border-top: 1px solid var(--hj9-border); background: var(--hj9-secondary); }
.hj9-footer__grid { display: grid; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 1024px) { .hj9-footer__grid { grid-template-columns: repeat(3, 1fr); } }
.hj9-footer__logo-img { width: 64px; height: 64px; object-fit: contain; }
.hj9-footer__logo-text { font-family: var(--hj9-heading-font); font-size: 1.5rem; color: var(--hj9-foreground); }
.hj9-footer__tagline { margin-top: 20px; max-width: 22rem; font-size: 0.875rem; color: var(--hj9-muted-foreground); }
.hj9-footer__menu { margin-top: 20px; display: grid; gap: 12px 24px; }
@media (min-width: 1024px) { .hj9-footer__menu { grid-template-columns: 1fr 1fr; } }
.hj9-footer__menu a { font-size: 0.875rem; color: var(--hj9-foreground); transition: color 0.25s ease; }
.hj9-footer__menu a:hover { color: var(--hj9-primary); }
.hj9-footer__contact { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.hj9-footer__contact-item { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--hj9-muted-foreground); }
.hj9-footer__contact-item svg { color: var(--hj9-primary); flex-shrink: 0; }
.hj9-footer__contact-item a { color: var(--hj9-muted-foreground); }
.hj9-footer__contact-item a:hover { color: var(--hj9-primary); }
.hj9-footer__cta { margin-top: 28px; }
.hj9-footer__bottom { border-top: 1px solid var(--hj9-border); padding: 20px 0; }
.hj9-footer__bottom p { margin: 0; font-size: 0.8125rem; color: var(--hj9-muted-foreground); }

/* Footer mobile CTA bar (like original fixed bottom bar) */
.hj9-footer__bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	padding: 12px;
	border-top: 1px solid var(--hj9-border);
	background: rgba(252, 250, 246, 0.95);
	backdrop-filter: blur(4px);
	display: none;
}
@media (max-width: 1023px) { .hj9-footer__bar { display: block; } }
.hj9-footer__bar .hj9-btn { width: 100%; }
@media (max-width: 1023px) { body { padding-bottom: 64px; } }

/* =========================================================================
   Entry / generic page content
   ========================================================================= */
.hj9-page-body { padding-top: var(--hj9-section-y); }

/* =========================================================================
   Animations (driven by GSAP via .hj9-reveal)
   ========================================================================= */
.hj9-reveal {
	opacity: 0;
	transform: translateY(28px);
}
.hj9-reveal-in {
	opacity: 1;
	transform: none;
}
.hj9-reveal-stagger > * {
	opacity: 0;
	transform: translateY(24px);
}
.hj9-reveal-stagger.hj9-reveal-in > * {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.hj9-reveal, .hj9-reveal-stagger > * {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* =========================================================================
   Media queries for small screens
   ========================================================================= */
@media (max-width: 640px) {
	.hj9-hero__media { height: 68vh; }
}

/* =========================================================================
   Template supplement
   ========================================================================= */

/* Narrow container (FAQ list, single post body) */
.hj9-container--narrow { max-width: 56rem; }

/* Centered prose block used on sub-pages */
.hj9-prose--center { max-width: 48rem; margin-inline: auto; text-align: center; }
.hj9-prose--center h2 { text-align: center; margin-bottom: 1.5rem; }

/* Philosophy list (About) */
.hj9-philosophy { max-width: 56rem; margin: 3rem auto 0; }
.hj9-philosophy__item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: baseline; border-top: 1px solid var(--hj9-border); padding: 24px 0; }
.hj9-philosophy__num { font-family: var(--hj9-heading-font); font-size: 1.875rem; color: var(--hj9-taupe); }
.hj9-philosophy__item p { margin: 0; color: var(--hj9-foreground); font-size: 1.0625rem; }

/* Services page: detailed rows */
.hj9-services-detail { max-width: 60rem; }
.hj9-service-detail { display: grid; gap: 24px; padding: 48px 0; border-top: 1px solid var(--hj9-border); }
.hj9-service-detail:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 768px) { .hj9-service-detail { grid-template-columns: 90px 1fr; gap: 48px; } }
.hj9-service-detail__num { font-family: var(--hj9-heading-font); font-size: 2.5rem; color: var(--hj9-taupe); }
.hj9-service-detail h2 { margin: 4px 0 16px; }
.hj9-service-detail__best { font-size: 0.9375rem; color: var(--hj9-muted-foreground); }
.hj9-service-detail__best strong { color: var(--hj9-foreground); }
.hj9-service-detail__desc { margin-top: 12px; color: var(--hj9-muted-foreground); }
.hj9-service-detail__list { margin-top: 20px; display: grid; gap: 10px; }
.hj9-service-detail__list li { display: flex; gap: 12px; font-size: 0.9375rem; color: var(--hj9-muted-foreground); }
.hj9-service-detail__list li::before { content: "—"; color: var(--hj9-muted-foreground); }
.hj9-service-card__faq { margin-top: 20px; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hj9-primary); }

/* Pain closing CTA centered */
.hj9-pain__cta { justify-content: center; }

/* FAQ list */
.hj9-faq__list { border-top: 1px solid var(--hj9-border); margin-top: 2rem; }
.hj9-faq__list--teaser { margin-top: 0; }
.hj9-faq__a p { padding: 0 0 24px; margin: 0; color: var(--hj9-muted-foreground); font-size: 0.9375rem; }
.hj9-faq__list--teaser { max-width: 48rem; margin-inline: auto; }

/* Interactive portfolio filter */
.hj9-filter--interactive { justify-content: center; margin-bottom: 8px; }

/* CTA band media wrapper */
.hj9-cta__media-wrap { height: 60vh; min-height: 420px; }
.hj9-cta__media { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

/* Instagram grid (section partial) */
.hj9-instagram { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.hj9-instagram__item { position: relative; display: block; overflow: hidden; border-radius: var(--hj9-radius); }
.hj9-instagram__item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.7s ease; }
.hj9-instagram__item:hover img { transform: scale(1.05); }
.hj9-instagram__item__icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(45, 40, 35, 0.3);
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.hj9-instagram__item:hover .hj9-instagram__item__icon { opacity: 1; }

/* Project cards grid behaviour */
.hj9-project-card__link { display: block; }
.hj9-project-card.is-tall .hj9-project-card__media img { aspect-ratio: 4 / 5; }

/* Single project page */
.hj9-project-title { max-width: 48rem; font-size: 2.25rem; line-height: 1.1; margin-bottom: 0; }
@media (min-width: 1024px) { .hj9-project-title { font-size: 3rem; } }
.hj9-project-facts { margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 32px 56px; }
.hj9-project-fact dd { margin: 4px 0 0; color: var(--hj9-foreground); font-size: 0.9375rem; }

.hj9-project-hero-wrap { padding-top: 0; padding-bottom: 80px; }
.hj9-project-hero { width: 100%; border-radius: var(--hj9-radius); object-fit: cover; box-shadow: var(--hj9-shadow-soft); }

.hj9-project-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .hj9-project-grid { grid-template-columns: 1.2fr 0.8fr; gap: 56px; } }
.hj9-project-main { min-width: 0; }
.hj9-project-story { margin-top: 48px; }
.hj9-project-story:first-child { margin-top: 0; }
.hj9-project-story h2 { font-size: 1.875rem; margin-bottom: 16px; }
.hj9-project-story p { color: var(--hj9-muted-foreground); font-size: 1rem; line-height: 1.625; }

.hj9-project-sidebar { border-top: 1px solid var(--hj9-border); padding-top: 32px; }
@media (min-width: 1024px) { .hj9-project-sidebar { border-top: 0; border-left: 1px solid var(--hj9-border); padding-top: 0; padding-left: 48px; } }
.hj9-project-services { margin-top: 24px; }
.hj9-project-services li { padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--hj9-border) 70%, transparent); font-size: 0.9375rem; color: var(--hj9-foreground); }
.hj9-project-services li + li { margin-top: 12px; }
.hj9-project-cta { margin-top: 36px; }
.hj9-more-projects .hj9-section-head h2 { font-size: 1.875rem; }
.hj9-more-projects .hj9-grid { margin-top: 40px; }

/* Single blog post */
.hj9-single__head { padding: var(--hj9-section-y) var(--hj9-gutter) 0; text-align: center; }
.hj9-single__head h1 { margin: 1rem 0 0; }
.hj9-single__meta { margin-top: 20px; display: flex; justify-content: center; gap: 10px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hj9-muted-foreground); }
.hj9-single__hero { margin-top: 40px; padding-inline: var(--hj9-gutter); }
.hj9-single__hero img { width: 100%; max-height: 70vh; object-fit: cover; border-radius: var(--hj9-radius); box-shadow: var(--hj9-shadow-soft); }
.hj9-single__content { max-width: 48rem; margin-inline: auto; }

/* Blog post cards (current markup) */
.hj9-post-card__body { padding-top: 16px; }
.hj9-post-card__body time { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hj9-primary); }
.hj9-post-card__body h3 { margin: 10px 0 0; font-size: 1.375rem; }
.hj9-post-card__body p { margin-top: 8px; color: var(--hj9-muted-foreground); font-size: 0.9375rem; }

/* Contact sidebar card */
.hj9-contact-form-wrap { min-width: 0; }
.hj9-contact-aside { min-width: 0; }
.hj9-contact-form-wrap--center { max-width: 48rem; margin-inline: auto; }
.hj9-contact-card { border: 1px solid var(--hj9-border); border-radius: var(--hj9-radius); background: var(--hj9-secondary); padding: 32px; }
.hj9-contact-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--hj9-radius); margin-bottom: 24px; }
.hj9-contact-card h2 { font-size: 1.5rem; margin-bottom: 12px; }
.hj9-contact-card > p { color: var(--hj9-muted-foreground); font-size: 0.9375rem; }
.hj9-contact-card__list { margin-top: 24px; display: grid; gap: 16px; }
.hj9-contact-card__list li { display: flex; flex-direction: column; gap: 2px; }
.hj9-contact-card__list span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hj9-primary); }
.hj9-contact-card__list a, .hj9-contact-card__list li { font-size: 0.9375rem; color: var(--hj9-foreground); }

/* 404 */
.hj9-404 { max-width: 48rem; margin-inline: auto; text-align: center; }
.hj9-404 h1 { margin: 1rem 0; }
.hj9-404 p { color: var(--hj9-muted-foreground); }
.hj9-404 .hj9-btn-row { justify-content: center; }

/* Search */
.hj9-search-form { margin-top: 2rem; max-width: 28rem; }
.hj9-search-form input[type="search"] { width: 100%; padding: 14px 16px; border: 1px solid var(--hj9-border); border-radius: var(--hj9-radius); background: #fff; font-family: var(--hj9-body-font); font-size: 0.9375rem; }
.hj9-search-form input[type="search"]:focus { outline: none; border-color: var(--hj9-primary); }

/* =========================================================================
   Page template content (About / Services / Process / FAQ / Contact)
   ========================================================================= */
.hj9-page-head .hj9-container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hj9-page-head__intro { font-size: 1rem; line-height: 1.7; }
.hj9-page-head__intro p + p { margin-top: 0.75rem; }

/* About: approach steps */
.hj9-approach { margin-top: 3.5rem; display: grid; gap: 24px; }
@media (min-width: 768px) {
	.hj9-approach { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
	.hj9-approach { grid-template-columns: repeat(5, 1fr); }
}
.hj9-approach__item { border-top: 1px solid var(--hj9-border); padding-top: 20px; }
.hj9-approach__num { font-family: var(--hj9-heading-font); font-size: 1.5rem; color: var(--hj9-primary); }
.hj9-approach__item h3 { margin: 10px 0 0; font-size: 1.25rem; }
.hj9-approach__item p { margin-top: 10px; font-size: 0.875rem; line-height: 1.6; color: var(--hj9-muted-foreground); }

/* Services page: alternating rows */
.hj9-service-row { display: grid; gap: 48px; }
@media (min-width: 1024px) { .hj9-service-row { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }
.hj9-service-row__num { font-family: var(--hj9-heading-font); font-size: 3rem; line-height: 1; color: var(--hj9-taupe); }
.hj9-service-row__main h2 { margin: 16px 0 0; font-size: 1.875rem; line-height: 1.15; }
@media (min-width: 1024px) { .hj9-service-row__main h2 { font-size: 2.25rem; } }
.hj9-service-row__best-for { margin-top: 24px; }
.hj9-service-row__best-value { margin-top: 6px; font-family: var(--hj9-heading-font); font-size: 1.25rem; color: var(--hj9-primary); }
.hj9-service-row__desc { margin-top: 18px; color: var(--hj9-muted-foreground); line-height: 1.7; }
.hj9-service-row__main .hj9-btn-row { margin-top: 32px; }
.hj9-service-row__includes { border-top: 1px solid var(--hj9-border); padding-top: 32px; }
@media (min-width: 1024px) {
	.hj9-service-row__includes { border-top: 0; border-left: 1px solid var(--hj9-border); padding-top: 0; padding-left: 48px; }
}
.hj9-service-row__list { margin-top: 24px; display: grid; gap: 10px 32px; }
@media (min-width: 640px) { .hj9-service-row__list { grid-template-columns: repeat(2, 1fr); } }
.hj9-service-row__list li { padding-bottom: 12px; border-bottom: 1px solid color-mix(in srgb, var(--hj9-border) 70%, transparent); font-size: 0.9375rem; color: var(--hj9-foreground); }

/* Process page: divider rows */
.hj9-process-list { max-width: 56rem; }
.hj9-process-list__item { display: grid; gap: 24px; border-bottom: 1px solid var(--hj9-border); padding: 48px 0; }
.hj9-process-list__item:first-child { border-top: 1px solid var(--hj9-border); }
@media (min-width: 768px) { .hj9-process-list__item { grid-template-columns: auto 1fr; gap: 48px; } }
.hj9-process-list__num { font-family: var(--hj9-heading-font); font-size: 3rem; line-height: 1; color: var(--hj9-taupe); }
.hj9-process-list__body h2 { font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hj9-process-list__short { margin-top: 12px; font-family: var(--hj9-heading-font); font-size: 1.25rem; color: var(--hj9-primary); }
.hj9-process-list__long { margin-top: 16px; color: var(--hj9-muted-foreground); line-height: 1.7; }

/* Center buttons inside centered section heads (page closing bands) */
.hj9-section-head--center .hj9-btn-row { justify-content: center; }

/* =========================================================================
   Social share (single blog post)
   ========================================================================= */
.hj9-share {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--hj9-border);
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}
.hj9-share__label {
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hj9-muted-foreground);
}
.hj9-share__list { display: flex; gap: 10px; flex-wrap: wrap; }
.hj9-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--hj9-border);
	border-radius: 50%;
	color: var(--hj9-muted-foreground);
	transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.hj9-share__link:hover {
	color: #fff;
	background: var(--hj9-primary);
	border-color: var(--hj9-primary);
}
.hj9-share__link:focus-visible {
	outline: 2px solid var(--hj9-primary);
	outline-offset: 2px;
}



/* =========================================================================
   Title line reveal (SplitText)
   ========================================================================= */
.hj9-line { display: block; }
.hj9-hero__text h1,
.hj9-section-head h2,
.hj9-two-col__text h2,
.hj9-philosophy-split__content h2 {
	perspective: 600px;
}
@media (prefers-reduced-motion: reduce) {
	.hj9-hero__text h1,
	.hj9-section-head h2,
	.hj9-two-col__text h2,
	.hj9-philosophy-split__content h2 { perspective: none; }
}
