/*
Theme Name: Kiheo
Theme URI: https://kiheocreative.com
Author: Kiheo Creative Agency
Author URI: https://www.instagram.com/kiheocreativeagency/
Description: An editorial, social first theme built for Kiheo Creative Agency. Includes a full front page, About, Services, Portfolio, Careers and Contact templates, custom post types for projects, services, testimonials and open roles, plus a built in enquiry form.
Version: 1.4.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kiheo
Tags: two-columns, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, translation-ready, blog, portfolio
*/


/* ==========================================================================
   1. Design tokens
   Change the five colour values below to rebrand the whole site.
   ========================================================================== */

:root {
	/* Core palette */
	--k-bone:        #F5F1EB;   /* page background, warm off white  */
	--k-bone-deep:   #EAE3D8;   /* alternate band background        */
	--k-ink:         #17140F;   /* headings and body text           */
	--k-ink-soft:    #221E18;   /* dark panels                      */
	--k-clay:        #B15B34;   /* primary accent                   */

	/* Derived */
	--k-clay-tint:   rgba(177, 91, 52, 0.12);
	--k-muted:       #78705F;
	--k-line:        rgba(23, 20, 15, 0.14);
	--k-line-soft:   rgba(23, 20, 15, 0.07);
	--k-on-dark:     #F2ECE2;
	--k-on-dark-mut: rgba(242, 236, 226, 0.62);
	--k-line-dark:   rgba(242, 236, 226, 0.16);

	/* Type */
	--k-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--k-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--k-fs-hero:   clamp(2.9rem, 7.2vw, 6.1rem);
	--k-fs-h1:     clamp(2.4rem, 5.4vw, 4.25rem);
	--k-fs-h2:     clamp(2rem, 4.1vw, 3.35rem);
	--k-fs-h3:     clamp(1.4rem, 2.3vw, 1.95rem);
	--k-fs-h4:     clamp(1.15rem, 1.5vw, 1.35rem);
	--k-fs-lead:   clamp(1.05rem, 1.35vw, 1.28rem);
	--k-fs-body:   1.0125rem;
	--k-fs-small:  0.875rem;
	--k-fs-label:  0.72rem;

	/* Space */
	--k-gutter: clamp(1.25rem, 4vw, 2.75rem);
	--k-wrap: 1280px;
	--k-wrap-narrow: 860px;
	--k-section: clamp(4.5rem, 9vw, 8.5rem);

	--k-radius: 2px;
	--k-radius-lg: 4px;

	--k-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	/* Approximate height of the cream bar. The header is in normal flow, so
	   this is only used for anchor scroll offset and the mobile drawer,
	   never for pushing the hero down. */
	--k-header-h: 100px;
}


/* ==========================================================================
   2. Reset and base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--k-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--k-bone);
	color: var(--k-ink);
	font-family: var(--k-body);
	font-size: var(--k-fs-body);
	line-height: 1.68;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	/* clip, not hidden. overflow-x: hidden turns the body into a scroll
	   container, which stops the sticky header from sticking. clip contains
	   stray horizontal overflow without that side effect. */
	overflow-x: clip;
}

body.k-nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--k-display);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -0.018em;
	margin: 0 0 0.5em;
	font-variation-settings: "SOFT" 0, "WONK" 0;
	text-wrap: balance;
}

h1 { font-size: var(--k-fs-h1); }
h2 { font-size: var(--k-fs-h2); }
h3 { font-size: var(--k-fs-h3); }
h4 { font-size: var(--k-fs-h4); font-family: var(--k-body); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }

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

a { color: inherit; text-decoration-color: var(--k-clay); text-underline-offset: 0.22em; }
a:hover { color: var(--k-clay); }

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

ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }

blockquote {
	margin: 2rem 0;
	padding-left: 1.5rem;
	border-left: 2px solid var(--k-clay);
	font-family: var(--k-display);
	font-size: var(--k-fs-h3);
	line-height: 1.3;
}

hr { border: 0; border-top: 1px solid var(--k-line); margin: 3rem 0; }

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
pre { background: var(--k-bone-deep); padding: 1.25rem; overflow-x: auto; border-radius: var(--k-radius); }

::selection { background: var(--k-clay); color: var(--k-bone); }

:focus-visible {
	outline: 2px solid var(--k-clay);
	outline-offset: 3px;
}

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

.k-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--k-ink); color: var(--k-bone);
	padding: 0.85rem 1.5rem; font-size: var(--k-fs-small);
}
.k-skip:focus { left: 12px; top: 12px; }


/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

.k-wrap {
	width: 100%;
	max-width: var(--k-wrap);
	margin-inline: auto;
	padding-inline: var(--k-gutter);
}

.k-wrap--narrow { max-width: var(--k-wrap-narrow); }
.k-wrap--wide { max-width: 1520px; }

.k-section { padding-block: var(--k-section); position: relative; }
.k-section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.k-section--flush-top { padding-top: 0; }

.k-band-deep { background: var(--k-bone-deep); }
.k-band-dark { background: var(--k-ink); color: var(--k-on-dark); }
.k-band-dark h1, .k-band-dark h2, .k-band-dark h3 { color: var(--k-on-dark); }
.k-band-dark .k-lead, .k-band-dark p { color: var(--k-on-dark-mut); }

.k-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); }
.k-grid--2 { grid-template-columns: repeat(2, 1fr); }
.k-grid--3 { grid-template-columns: repeat(3, 1fr); }
.k-grid--4 { grid-template-columns: repeat(4, 1fr); }

.k-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.k-split--sticky > :first-child { position: sticky; top: calc(var(--k-header-h) + 3rem); }
.k-split--40-60 { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); }
.k-split--60-40 { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); }

@media (max-width: 900px) {
	.k-grid--3, .k-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.k-split, .k-split--40-60, .k-split--60-40 { grid-template-columns: 1fr; }
	.k-split--sticky > :first-child { position: static; }
}
@media (max-width: 600px) {
	.k-grid--2, .k-grid--3, .k-grid--4 { grid-template-columns: 1fr; }
}


/* ==========================================================================
   4. Type helpers
   ========================================================================== */

/* Eyebrow label. No leading rule or glyph of any kind, the tracking alone
   carries it. Nothing here may render as a dash. */
.k-label {
	display: block;
	font-family: var(--k-body);
	font-size: var(--k-fs-label);
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--k-clay);
	margin: 0 0 1.4rem;
}
.k-band-dark .k-label { color: var(--k-clay); }

.k-lead {
	font-size: var(--k-fs-lead);
	line-height: 1.62;
	color: var(--k-muted);
	max-width: 58ch;
}

.k-em {
	font-style: italic;
	font-variation-settings: "SOFT" 40, "WONK" 1;
	color: var(--k-clay);
}

.k-serif { font-family: var(--k-display); }
.k-center { text-align: center; }
.k-center .k-lead, .k-center .k-label { margin-inline: auto; }

.k-measure { max-width: 62ch; }
.k-mb-0 { margin-bottom: 0; }

.k-num {
	font-family: var(--k-body);
	font-size: var(--k-fs-label);
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--k-clay);
	font-variant-numeric: tabular-nums;
}


/* ==========================================================================
   5. Buttons and links
   ========================================================================== */

.k-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	padding: 1.02rem 2.1rem;
	font-family: var(--k-body);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid var(--k-ink);
	background: var(--k-ink);
	color: var(--k-bone);
	border-radius: var(--k-radius);
	cursor: pointer;
	transition: background 0.35s var(--k-ease), color 0.35s var(--k-ease), border-color 0.35s var(--k-ease), transform 0.35s var(--k-ease);
	line-height: 1;
}
.k-btn:hover {
	background: var(--k-clay);
	border-color: var(--k-clay);
	color: #fff;
	transform: translateY(-2px);
}

.k-btn--ghost { background: transparent; color: var(--k-ink); }
.k-btn--ghost:hover { background: var(--k-ink); border-color: var(--k-ink); color: var(--k-bone); }

.k-btn--light { background: var(--k-bone); border-color: var(--k-bone); color: var(--k-ink); }
.k-btn--light:hover { background: var(--k-clay); border-color: var(--k-clay); color: #fff; }

.k-btn--outline-light { background: transparent; border-color: var(--k-line-dark); color: var(--k-on-dark); }
.k-btn--outline-light:hover { background: var(--k-on-dark); border-color: var(--k-on-dark); color: var(--k-ink); }

.k-btn--clay { background: var(--k-clay); border-color: var(--k-clay); color: #fff; }
.k-btn--clay:hover { background: var(--k-ink); border-color: var(--k-ink); color: var(--k-bone); }

.k-btn--sm { padding: 0.78rem 1.5rem; font-size: 0.74rem; }
.k-btn--block { width: 100%; }

.k-btns { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.k-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--k-ink);
	padding-bottom: 0.3rem;
	border-bottom: 1px solid var(--k-line);
	transition: border-color 0.3s var(--k-ease), color 0.3s var(--k-ease), gap 0.3s var(--k-ease);
}
.k-arrow-link:hover { color: var(--k-clay); border-color: var(--k-clay); gap: 1rem; }
.k-arrow-link svg { width: 15px; height: 15px; flex: none; }
.k-band-dark .k-arrow-link { color: var(--k-on-dark); border-color: var(--k-line-dark); }


/* ==========================================================================
   6. Placeholder media
   Shown until a real image or video is uploaded.
   ========================================================================== */

.k-media {
	position: relative;
	overflow: hidden;
	background: var(--k-bone-deep);
	border-radius: var(--k-radius-lg);
}
.k-media > img,
.k-media > video {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.k-media--4x5 { aspect-ratio: 4 / 5; }
.k-media--1x1 { aspect-ratio: 1 / 1; }
.k-media--3x2 { aspect-ratio: 3 / 2; }
.k-media--16x9 { aspect-ratio: 16 / 9; }
.k-media--3x4 { aspect-ratio: 3 / 4; }
.k-media--tall { aspect-ratio: 5 / 7; }

.k-ph {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	text-align: center;
	padding: 1.5rem;
	color: rgba(23, 20, 15, 0.45);
	background:
		repeating-linear-gradient(135deg, rgba(23,20,15,0.035) 0 1px, transparent 1px 11px),
		linear-gradient(160deg, var(--k-bone-deep) 0%, #E2D9CB 100%);
}
.k-ph__mark {
	font-family: var(--k-display);
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	letter-spacing: -0.02em;
	color: rgba(23, 20, 15, 0.28);
	line-height: 1;
}
.k-ph__txt {
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	max-width: 22ch;
	line-height: 1.6;
}

.k-zoom { overflow: hidden; }
.k-zoom img, .k-zoom .k-ph {
	transition: transform 0.85s var(--k-ease);
}
a:hover .k-zoom img, a:hover .k-zoom .k-ph,
.k-zoom:hover img, .k-zoom:hover .k-ph { transform: scale(1.045); }


/* ==========================================================================
   7. Header and navigation
   ========================================================================== */

/* A solid light bar that sits above the page, the way both reference sites
   do it. The hero starts underneath it rather than behind it. */
/* Sticky, not fixed, so the bar occupies real layout space and the hero simply
   starts underneath it. No overlay, no padding arithmetic to keep in sync. */
.k-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--k-bone);
	border-bottom: 1px solid var(--k-line-soft);
	transition: box-shadow 0.4s var(--k-ease);
}
.k-header.is-stuck { box-shadow: 0 1px 18px rgba(23, 20, 15, 0.07); }

/* Three groups across the bar, the way both references do it:
   logo left, navigation centred, social icons and the Contact pill right. */
.k-header__inner {
	width: 100%;
	max-width: 1520px;
	margin-inline: auto;
	padding-inline: var(--k-gutter);
	padding-block: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1rem, 3vw, 2.5rem);
}

.k-header__end {
	display: flex;
	align-items: center;
	gap: clamp(0.9rem, 2vw, 1.75rem);
	flex: none;
}
.k-header__social { display: flex; align-items: center; gap: 0.9rem; }
.k-header__social a {
	color: var(--k-ink);
	opacity: 0.72;
	transition: color 0.25s var(--k-ease), opacity 0.25s var(--k-ease);
	display: grid;
	place-items: center;
}
.k-header__social a:hover { color: var(--k-clay); opacity: 1; }
.k-header__social svg { width: 19px; height: 19px; }

/* The pill, as on Seventh House. Ink rather than the accent keeps it calm. */
.k-btn--pill {
	border-radius: 999px;
	padding: 1.05rem 2.3rem;
	background: var(--k-ink);
	border-color: var(--k-ink);
	color: var(--k-bone);
	font-size: 0.76rem;
	letter-spacing: 0.14em;
}
.k-btn--pill:hover { background: var(--k-clay); border-color: var(--k-clay); color: #fff; }

@media (max-width: 1200px) {
	.k-header__social { display: none; }
}

/* Brand, stacked wordmark over an optional tracked caption. */
.k-brand {
	display: inline-block;
	text-decoration: none;
	flex: none;
	padding-block: 0.4rem;
}
.k-brand img { max-height: 46px; width: auto; }
.k-brand__word {
	display: block;
	font-family: var(--k-display);
	font-size: 1.5rem;
	letter-spacing: -0.005em;
	color: var(--k-ink);
	line-height: 1.05;
	white-space: nowrap;
}
.k-brand__sub {
	display: block;
	font-family: var(--k-body);
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--k-muted);
	margin-top: 0.42rem;
}

.k-nav { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; }

.k-menu {
	display: flex;
	align-items: center;
	gap: clamp(1.4rem, 2.8vw, 2.8rem);
	list-style: none;
	margin: 0; padding: 0;
}
.k-menu li { margin: 0; position: relative; }

/* Sentence case, normal weight, underline on hover and on the current page.
   No uppercase shouting and no pill buttons in the bar. */
.k-menu > li > a {
	display: inline-block;
	padding: 0.35rem 0;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	color: var(--k-ink);
	transition: color 0.25s var(--k-ease);
	white-space: nowrap;
}
.k-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0.1rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--k-ease);
}
.k-menu > li > a:hover::after,
.k-menu > li:focus-within > a::after,
.k-menu > li.current-menu-item > a::after,
.k-menu > li.current-menu-ancestor > a::after,
.k-menu > li.current_page_item > a::after,
.k-menu > li.current_page_ancestor > a::after { transform: scaleX(1); }
.k-menu > li > a:hover { color: var(--k-clay); }

/* Hidden until Collaborate is hovered or focused, then a plain centred list
   on the cream background. No card outline, no radius, no caret. */
.k-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	min-width: max-content;
	list-style: none;
	margin: 0;
	padding: 0.85rem 1.5rem 1.15rem;
	background: var(--k-bone);
	border: 0;
	border-radius: 0;
	box-shadow: 0 16px 30px rgba(23, 20, 15, 0.07);
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(4px);
	transition: opacity 0.25s var(--k-ease), transform 0.25s var(--k-ease), visibility 0.25s;
	z-index: 20;
}
.k-menu li:hover > .sub-menu,
.k-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
.k-menu .sub-menu li { margin: 0; }
.k-menu .sub-menu a {
	display: inline-block;
	position: relative;
	padding: 0.26rem 0;
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0;
	text-decoration: none;
	color: var(--k-ink);
	transition: color 0.25s var(--k-ease);
}
.k-menu .sub-menu a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0.08rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--k-ease);
}
.k-menu .sub-menu a:hover { color: var(--k-clay); }
.k-menu .sub-menu a:hover::after,
.k-menu .sub-menu .current-menu-item > a::after,
.k-menu .sub-menu .current_page_item > a::after { transform: scaleX(1); }

/* Burger */
.k-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	align-items: flex-end;
}
.k-burger span {
	display: block;
	width: 26px; height: 1.5px;
	background: var(--k-ink);
	transition: transform 0.35s var(--k-ease), opacity 0.2s var(--k-ease), width 0.35s var(--k-ease);
}
.k-burger span:nth-child(2) { width: 18px; }
.k-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.k-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.k-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 26px; }

/* Mobile drawer */
/* Cream as well, so the whole navigation system reads as one surface. */
.k-drawer {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: var(--k-bone);
	color: var(--k-ink);
	padding: calc(var(--k-header-h) + 1.75rem) var(--k-gutter) 3rem;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-14px);
	transition: opacity 0.4s var(--k-ease), transform 0.4s var(--k-ease), visibility 0.4s;
	display: none;
}
.k-drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.k-drawer ul { list-style: none; margin: 0; padding: 0; }

/* The drawer always stacks. These override the desktop bar rules in case the
   horizontal menu markup ever ends up in here. */
.k-drawer ul,
.k-drawer .k-menu {
	display: block;
	gap: 0;
}
.k-drawer .k-menu > li > a {
	font-size: 1.85rem;
	font-weight: 400;
	text-transform: none;
	padding: 1.05rem 0;
}
.k-drawer .k-menu > li > a::after { display: none; }
.k-drawer .sub-menu {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
	min-width: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.k-drawer > ul > li { border-bottom: 1px solid var(--k-line); }
.k-drawer > ul > li > a {
	display: block;
	padding: 1.05rem 0;
	font-family: var(--k-display);
	font-size: 1.85rem;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: var(--k-ink);
}
.k-drawer .sub-menu { padding: 0 0 1.2rem 0.15rem; }
.k-drawer .sub-menu a {
	display: block;
	padding: 0.5rem 0;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: var(--k-muted);
}
.k-drawer .sub-menu a::after { display: none; }
.k-drawer .sub-menu a:hover { color: var(--k-clay); }
.k-drawer__foot { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.k-drawer__social { display: flex; gap: 0.6rem; }
.k-drawer__social a {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border: 1px solid var(--k-line);
	border-radius: 50%;
	color: var(--k-muted);
	transition: all 0.3s var(--k-ease);
}
.k-drawer__social a:hover { background: var(--k-clay); border-color: var(--k-clay); color: #fff; }
.k-drawer__social svg { width: 17px; height: 17px; }

/* The full cream bar holds down to 900px. The Customizer preview pane is
   around 980px wide on a normal laptop, so a 1024px breakpoint made the
   preview show the phone menu and look like the desktop design was missing. */
@media (max-width: 899px) {
	/* One row only, so the offset shrinks with it. */
	:root { --k-header-h: 92px; }
	.k-nav { display: none; }
	.k-header__end { display: none; }
	.k-burger { display: flex; }
	.k-drawer { display: block; }
	.k-header__inner { align-items: center; padding-block: 1.1rem; }
}


/* ==========================================================================
   8. Hero
   ========================================================================== */

.k-hero {
	position: relative;
	min-height: min(78vh, 800px);
	display: flex;
	align-items: flex-end;
	padding-top: clamp(3.5rem, 8vw, 6.5rem);
	padding-bottom: clamp(3rem, 7vw, 6rem);
	overflow: hidden;
	background: var(--k-ink);
	color: var(--k-on-dark);
	isolation: isolate;
}
.k-hero__bg { position: absolute; inset: 0; z-index: -2; }
.k-hero__bg img, .k-hero__bg video { width: 100%; height: 100%; object-fit: cover; }
.k-hero__bg .k-ph {
	background:
		repeating-linear-gradient(135deg, rgba(242,236,226,0.035) 0 1px, transparent 1px 14px),
		linear-gradient(150deg, #2A241C 0%, #17140F 55%, #3A2A20 100%);
	color: rgba(242, 236, 226, 0.4);
}
.k-hero__bg .k-ph__mark { color: rgba(242, 236, 226, 0.25); }
.k-hero::after {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(23,20,15,0.58) 0%, rgba(23,20,15,0.3) 42%, rgba(23,20,15,0.85) 100%);
}

.k-hero__inner { width: 100%; }
.k-hero__title {
	font-size: var(--k-fs-hero);
	line-height: 0.98;
	letter-spacing: -0.028em;
	color: var(--k-on-dark);
	margin: 0 0 1.5rem;
	max-width: 17ch;
}
.k-hero__title .k-em { color: var(--k-clay-soft, #E0A184); }
.k-hero__sub {
	font-size: var(--k-fs-lead);
	color: rgba(242, 236, 226, 0.78);
	max-width: 48ch;
	margin-bottom: 2.25rem;
}
.k-hero__label { color: rgba(242, 236, 226, 0.75); }

.k-hero__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	margin-top: clamp(3rem, 7vw, 5.5rem);
	padding-top: 1.75rem;
	border-top: 1px solid var(--k-line-dark);
}
.k-hero__stats { display: flex; gap: clamp(1.75rem, 5vw, 4rem); flex-wrap: wrap; }
.k-hero__stat strong {
	display: block;
	font-family: var(--k-display);
	font-size: clamp(1.9rem, 3.4vw, 2.75rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--k-on-dark);
}
.k-hero__stat span {
	display: block;
	margin-top: 0.55rem;
	font-size: var(--k-fs-label);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(242, 236, 226, 0.55);
}

/* Page hero (interior pages) */
.k-phero {
	position: relative;
	padding-top: clamp(4rem, 9vw, 7.5rem);
	padding-bottom: clamp(3rem, 6vw, 5.5rem);
	background: var(--k-ink);
	color: var(--k-on-dark);
	overflow: hidden;
	isolation: isolate;
}
.k-phero__bg { position: absolute; inset: 0; z-index: -2; opacity: 0.42; }
.k-phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.k-phero::after {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(23,20,15,0.72) 0%, rgba(23,20,15,0.9) 100%);
}
.k-phero__title {
	font-size: var(--k-fs-h1);
	color: var(--k-on-dark);
	max-width: 18ch;
	margin-bottom: 1.15rem;
}
.k-phero__sub { color: rgba(242, 236, 226, 0.72); max-width: 54ch; font-size: var(--k-fs-lead); }
.k-phero .k-label { color: rgba(242, 236, 226, 0.7); }

.k-crumbs {
	font-size: var(--k-fs-small);
	color: rgba(242, 236, 226, 0.5);
	margin-top: 2.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--k-line-dark);
}
.k-crumbs a { text-decoration: none; }
.k-crumbs a:hover { color: var(--k-clay); }


/* ==========================================================================
   9. Marquee
   ========================================================================== */

.k-marquee {
	background: var(--k-ink);
	color: var(--k-on-dark);
	padding: 1.15rem 0;
	overflow: hidden;
	border-block: 1px solid var(--k-line-dark);
}
.k-marquee__track {
	display: flex;
	width: max-content;
	animation: k-slide 42s linear infinite;
}
.k-marquee__group {
	display: flex;
	align-items: center;
	gap: 3rem;
	padding-right: 3rem;
	flex: none;
}
.k-marquee span {
	font-family: var(--k-display);
	font-size: clamp(1.05rem, 2vw, 1.5rem);
	letter-spacing: -0.01em;
	white-space: nowrap;
}
.k-marquee i {
	display: block;
	width: 6px; height: 6px;
	background: var(--k-clay);
	border-radius: 50%;
	flex: none;
}
@keyframes k-slide { to { transform: translateX(-50%); } }
.k-marquee:hover .k-marquee__track { animation-play-state: paused; }

.k-marquee--light { background: var(--k-bone-deep); color: var(--k-ink); border-color: var(--k-line-soft); }


/* ==========================================================================
   10. Section heading block
   ========================================================================== */

.k-shead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2.5rem;
	flex-wrap: wrap;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.k-shead__text { max-width: 44ch; }
.k-shead h2 { margin-bottom: 0; }
.k-shead__text .k-lead { margin-top: 1.1rem; }


/* ==========================================================================
   11. Contrast block (managing vs building)
   ========================================================================== */

.k-contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--k-line); border-radius: var(--k-radius-lg); overflow: hidden; }
.k-contrast__col { padding: clamp(2rem, 4vw, 3.25rem); }
.k-contrast__col + .k-contrast__col { border-left: 1px solid var(--k-line); }
.k-contrast__col--a { background: transparent; color: var(--k-muted); }
.k-contrast__col--b { background: var(--k-ink); color: var(--k-on-dark); }
.k-contrast h3 { font-size: var(--k-fs-h3); margin-bottom: 1.5rem; }
.k-contrast__col--a h3 { color: var(--k-muted); }
.k-contrast__col--b h3 { color: var(--k-on-dark); }
.k-contrast ul { list-style: none; padding: 0; margin: 0; }
.k-contrast li {
	position: relative;
	padding: 0.85rem 0 0.85rem 1.85rem;
	margin: 0;
	font-size: 0.97rem;
	line-height: 1.55;
	border-top: 1px solid var(--k-line);
}
.k-contrast__col--b li { border-color: var(--k-line-dark); }
/* A dot, never a bar. A short horizontal rule here reads as a dash. */
.k-contrast li::before {
	content: "";
	position: absolute;
	left: 1px; top: 1.35rem;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.35;
}
.k-contrast__col--b li::before {
	width: 9px; height: 9px;
	top: 1.15rem;
	background: none;
	border-left: 1.5px solid var(--k-clay);
	border-bottom: 1.5px solid var(--k-clay);
	transform: rotate(-45deg);
	opacity: 1;
}
@media (max-width: 800px) {
	.k-contrast { grid-template-columns: 1fr; }
	.k-contrast__col + .k-contrast__col { border-left: 0; border-top: 1px solid var(--k-line); }
}


/* ==========================================================================
   12. Services list (numbered rows with sticky preview)
   ========================================================================== */

.k-svclist { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.k-svclist__rows { border-top: 1px solid var(--k-line); }
.k-svcrow {
	display: grid;
	grid-template-columns: 54px 1fr auto;
	align-items: center;
	gap: 1rem;
	padding: clamp(1.4rem, 2.6vw, 2.1rem) 0;
	border-bottom: 1px solid var(--k-line);
	text-decoration: none;
	color: inherit;
	transition: padding-left 0.4s var(--k-ease);
}
.k-svcrow:hover { padding-left: 0.85rem; color: inherit; }
.k-svcrow__n { font-size: var(--k-fs-label); font-weight: 600; letter-spacing: 0.14em; color: var(--k-clay); font-variant-numeric: tabular-nums; }
.k-svcrow__t {
	font-family: var(--k-display);
	font-size: clamp(1.35rem, 2.5vw, 2.05rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	transition: color 0.3s var(--k-ease);
}
.k-svcrow:hover .k-svcrow__t { color: var(--k-clay); }
.k-svcrow__d { grid-column: 2; font-size: 0.94rem; color: var(--k-muted); margin-top: 0.45rem; max-width: 46ch; }
.k-svcrow__a {
	width: 34px; height: 34px;
	border: 1px solid var(--k-line);
	border-radius: 50%;
	display: grid; place-items: center;
	flex: none;
	transition: background 0.3s var(--k-ease), border-color 0.3s var(--k-ease), transform 0.3s var(--k-ease);
}
.k-svcrow__a svg { width: 13px; height: 13px; }
.k-svcrow:hover .k-svcrow__a { background: var(--k-clay); border-color: var(--k-clay); color: #fff; transform: rotate(-45deg); }

.k-svclist__panel { position: sticky; top: calc(var(--k-header-h) + 3rem); }
.k-svclist__stack { position: relative; aspect-ratio: 4 / 5; border-radius: var(--k-radius-lg); overflow: hidden; background: var(--k-bone-deep); }
.k-svclist__stack .k-svcimg {
	position: absolute; inset: 0;
	opacity: 0;
	transition: opacity 0.6s var(--k-ease), transform 1.2s var(--k-ease);
	transform: scale(1.06);
}
.k-svclist__stack .k-svcimg.is-active { opacity: 1; transform: scale(1); }
.k-svclist__stack .k-svcimg img { width: 100%; height: 100%; object-fit: cover; }
.k-svclist__stack .k-ph { position: absolute; inset: 0; }

@media (max-width: 960px) {
	.k-svclist { grid-template-columns: 1fr; }
	.k-svclist__panel { display: none; }
}
@media (max-width: 520px) {
	.k-svcrow { grid-template-columns: 40px 1fr; }
	.k-svcrow__a { display: none; }
}


/* ==========================================================================
   13. Service cards (services page)
   ========================================================================== */

.k-svc {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	padding-block: clamp(2.75rem, 6vw, 5rem);
	border-top: 1px solid var(--k-line);
}
.k-svc:nth-child(even) .k-svc__media { order: 2; }
.k-svc__body h3 { margin-bottom: 1rem; }
.k-svc__list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.15rem 1.5rem; }
.k-svc__list li {
	position: relative;
	padding: 0.5rem 0 0.5rem 1.35rem;
	font-size: 0.92rem;
	border-top: 1px solid var(--k-line-soft);
	margin: 0;
}
.k-svc__list li::before {
	content: "";
	position: absolute; left: 0; top: 1.05rem;
	width: 5px; height: 5px;
	background: var(--k-clay);
	border-radius: 50%;
}
@media (max-width: 860px) {
	.k-svc { grid-template-columns: 1fr; }
	.k-svc:nth-child(even) .k-svc__media { order: 0; }
	.k-svc__list { grid-template-columns: 1fr; }
}


/* ==========================================================================
   14. Work / portfolio grid
   ========================================================================== */

.k-work { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.25rem, 2.6vw, 2.25rem); }
.k-work__item { grid-column: span 6; text-decoration: none; color: inherit; display: block; }
.k-work__item--wide { grid-column: span 12; }
.k-work__item--third { grid-column: span 4; }
.k-work__item:nth-child(6n+1) { grid-column: span 7; }
.k-work__item:nth-child(6n+2) { grid-column: span 5; }
.k-work__item:nth-child(6n+3) { grid-column: span 5; }
.k-work__item:nth-child(6n+4) { grid-column: span 7; }

.k-work__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; }
.k-work__title { font-family: var(--k-display); font-size: var(--k-fs-h3); line-height: 1.12; letter-spacing: -0.02em; margin: 0; transition: color 0.3s var(--k-ease); }
.k-work__item:hover .k-work__title { color: var(--k-clay); }
.k-work__cat { font-size: var(--k-fs-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--k-muted); flex: none; }
.k-work__ex { margin-top: 0.5rem; color: var(--k-muted); font-size: 0.94rem; max-width: 52ch; }

@media (max-width: 860px) {
	.k-work__item,
	.k-work__item--third,
	.k-work__item:nth-child(6n+1),
	.k-work__item:nth-child(6n+2),
	.k-work__item:nth-child(6n+3),
	.k-work__item:nth-child(6n+4) { grid-column: span 12; }
}

/* Filters */
.k-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.k-filters button {
	padding: 0.6rem 1.25rem;
	font-family: var(--k-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: transparent;
	border: 1px solid var(--k-line);
	border-radius: 100px;
	color: var(--k-muted);
	cursor: pointer;
	transition: all 0.28s var(--k-ease);
}
.k-filters button:hover { border-color: var(--k-ink); color: var(--k-ink); }
.k-filters button.is-active { background: var(--k-ink); border-color: var(--k-ink); color: var(--k-bone); }


/* ==========================================================================
   15. Process steps
   ========================================================================== */

.k-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--k-line); }
.k-step { padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2vw, 2rem) clamp(1.75rem, 3vw, 2.5rem) 0; border-right: 1px solid var(--k-line); }
.k-step:last-child { border-right: 0; }
.k-step:not(:first-child) { padding-left: clamp(1.25rem, 2vw, 2rem); }
.k-step__n {
	font-family: var(--k-display);
	font-size: 2.6rem;
	line-height: 1;
	color: var(--k-clay);
	opacity: 0.35;
	display: block;
	margin-bottom: 1.1rem;
	letter-spacing: -0.04em;
}
.k-step h4 { margin-bottom: 0.65rem; }
.k-step p { font-size: 0.94rem; color: var(--k-muted); margin: 0; }
.k-band-dark .k-steps { border-color: var(--k-line-dark); }
.k-band-dark .k-step { border-color: var(--k-line-dark); }

@media (max-width: 900px) { .k-steps { grid-template-columns: repeat(2, 1fr); } .k-step:nth-child(2n) { border-right: 0; } .k-step:nth-child(n+3) { border-top: 1px solid var(--k-line); } }
@media (max-width: 560px) { .k-steps { grid-template-columns: 1fr; } .k-step { border-right: 0; padding-left: 0 !important; } .k-step:not(:first-child) { border-top: 1px solid var(--k-line); } }


/* ==========================================================================
   16. Testimonials
   ========================================================================== */

.k-quotes { position: relative; }
.k-quote {
	display: none;
	text-align: center;
	max-width: 880px;
	margin-inline: auto;
}
.k-quote.is-active { display: block; animation: k-fade 0.6s var(--k-ease); }
@keyframes k-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.k-quote blockquote {
	border: 0;
	padding: 0;
	margin: 0 0 2rem;
	font-family: var(--k-display);
	font-size: clamp(1.4rem, 3vw, 2.3rem);
	line-height: 1.26;
	letter-spacing: -0.02em;
}
.k-quote__who { font-size: var(--k-fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.k-quote__role { display: block; margin-top: 0.5rem; letter-spacing: 0.1em; color: var(--k-muted); font-weight: 500; }
.k-band-dark .k-quote__role { color: var(--k-on-dark-mut); }
.k-quotes__dots { display: flex; justify-content: center; gap: 0.55rem; margin-top: 2.75rem; }
.k-quotes__dots button {
	width: 8px; height: 8px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid currentColor;
	background: transparent;
	cursor: pointer;
	opacity: 0.4;
	transition: opacity 0.3s var(--k-ease), background 0.3s var(--k-ease);
	color: inherit;
}
.k-quotes__dots button.is-active { opacity: 1; background: var(--k-clay); border-color: var(--k-clay); }

.k-stars { color: var(--k-clay); letter-spacing: 0.18em; font-size: 0.8rem; margin-bottom: 1.5rem; }


/* ==========================================================================
   17. Logo / press strip
   ========================================================================== */

.k-press { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.75rem, 5vw, 4rem); }
.k-press span {
	font-family: var(--k-display);
	font-size: clamp(1.05rem, 2vw, 1.5rem);
	letter-spacing: 0.02em;
	color: var(--k-ink);
	opacity: 0.42;
	transition: opacity 0.3s var(--k-ease);
}
.k-press span:hover { opacity: 0.85; }
.k-band-dark .k-press span { color: var(--k-on-dark); }


/* ==========================================================================
   18. Value / feature tiles
   ========================================================================== */

.k-tile { padding: clamp(1.6rem, 3vw, 2.25rem); border: 1px solid var(--k-line); border-radius: var(--k-radius-lg); background: rgba(255,255,255,0.35); transition: transform 0.4s var(--k-ease), border-color 0.4s var(--k-ease); }
.k-tile:hover { transform: translateY(-4px); border-color: var(--k-ink); }
.k-tile h4 { margin-bottom: 0.6rem; }
.k-tile p { color: var(--k-muted); font-size: 0.94rem; margin: 0; }
.k-tile__n { display: block; font-size: var(--k-fs-label); font-weight: 600; letter-spacing: 0.16em; color: var(--k-clay); margin-bottom: 1.5rem; }
.k-band-dark .k-tile { background: rgba(242,236,226,0.035); border-color: var(--k-line-dark); }
.k-band-dark .k-tile:hover { border-color: var(--k-on-dark-mut); }

/* Stat row */
.k-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.k-stat strong {
	display: block;
	font-family: var(--k-display);
	font-size: clamp(2.1rem, 4vw, 3.15rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.035em;
}
.k-stat span { display: block; margin-top: 0.7rem; font-size: var(--k-fs-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--k-muted); }
.k-band-dark .k-stat span { color: var(--k-on-dark-mut); }
@media (max-width: 800px) { .k-stats { grid-template-columns: repeat(2, 1fr); } }


/* ==========================================================================
   19. Packages / tiers
   ========================================================================== */

.k-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.k-tier {
	display: flex;
	flex-direction: column;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border: 1px solid var(--k-line);
	border-radius: var(--k-radius-lg);
	background: rgba(255,255,255,0.4);
}
.k-tier--feature { background: var(--k-ink); color: var(--k-on-dark); border-color: var(--k-ink); }
.k-tier--feature h3 { color: var(--k-on-dark); }
.k-tier__tag { display: inline-block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--k-clay); margin-bottom: 1.25rem; }
.k-tier h3 { font-size: var(--k-fs-h3); margin-bottom: 0.5rem; }
.k-tier__price { font-family: var(--k-body); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--k-muted); margin-bottom: 1.5rem; }
.k-tier--feature .k-tier__price { color: var(--k-on-dark-mut); }
.k-tier__desc { font-size: 0.95rem; color: var(--k-muted); margin-bottom: 1.75rem; }
.k-tier--feature .k-tier__desc { color: var(--k-on-dark-mut); }
.k-tier ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.k-tier li { position: relative; padding: 0.6rem 0 0.6rem 1.5rem; font-size: 0.92rem; border-top: 1px solid var(--k-line); margin: 0; }
.k-tier--feature li { border-color: var(--k-line-dark); }
.k-tier li::before {
	content: "";
	position: absolute; left: 0; top: 1.05rem;
	width: 8px; height: 5px;
	border-left: 1.5px solid var(--k-clay);
	border-bottom: 1.5px solid var(--k-clay);
	transform: rotate(-45deg);
}
.k-tier .k-btn { margin-top: auto; }
@media (max-width: 900px) { .k-tiers { grid-template-columns: 1fr; } }


/* ==========================================================================
   20. Accordion / FAQ
   ========================================================================== */

.k-acc { border-top: 1px solid var(--k-line); }
.k-acc__item { border-bottom: 1px solid var(--k-line); }
.k-acc__btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.45rem 0;
	background: none;
	border: 0;
	text-align: left;
	cursor: pointer;
	font-family: var(--k-display);
	font-size: clamp(1.05rem, 1.8vw, 1.35rem);
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--k-ink);
	transition: color 0.3s var(--k-ease);
}
.k-acc__btn:hover { color: var(--k-clay); }
/* Chevron, not a plus and minus. An open minus icon is a horizontal bar,
   which reads as a dash. */
.k-acc__icon { position: relative; width: 16px; height: 16px; flex: none; }
.k-acc__icon::before {
	content: "";
	position: absolute;
	left: 3px; top: 3px;
	width: 9px; height: 9px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transform-origin: center;
	transition: transform 0.35s var(--k-ease);
}
.k-acc__btn[aria-expanded="true"] .k-acc__icon::before { transform: rotate(-135deg); }
.k-acc__panel { overflow: hidden; max-height: 0; transition: max-height 0.45s var(--k-ease); }
.k-acc__panel > div { padding: 0 0 1.6rem; color: var(--k-muted); max-width: 68ch; }
.k-band-dark .k-acc, .k-band-dark .k-acc__item { border-color: var(--k-line-dark); }
.k-band-dark .k-acc__btn { color: var(--k-on-dark); }


/* ==========================================================================
   21. Careers / roles
   ========================================================================== */

.k-roles { border-top: 1px solid var(--k-line); }
.k-role {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 1.5rem;
	padding: clamp(1.4rem, 2.6vw, 2rem) 0;
	border-bottom: 1px solid var(--k-line);
}
.k-role h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); margin: 0 0 0.4rem; }
.k-role__meta { font-size: var(--k-fs-small); color: var(--k-muted); }
.k-role__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.k-pill {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--k-line);
	border-radius: 100px;
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--k-muted);
}
.k-empty {
	padding: clamp(2.5rem, 5vw, 4rem);
	border: 1px dashed var(--k-line);
	border-radius: var(--k-radius-lg);
	text-align: center;
	color: var(--k-muted);
}
@media (max-width: 700px) {
	.k-role { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
}


/* ==========================================================================
   22. Contact
   ========================================================================== */

.k-contact {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
@media (max-width: 900px) { .k-contact { grid-template-columns: 1fr; } }

.k-contact__aside .k-lead { margin-bottom: 2.5rem; }
.k-contact__details { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--k-line); }
.k-contact__details li { margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--k-line); display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.k-contact__details dt, .k-contact__k { font-size: var(--k-fs-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--k-muted); }
.k-contact__v { font-size: 1rem; text-align: right; }
.k-contact__v a { text-decoration: none; border-bottom: 1px solid var(--k-line); }
.k-band-dark .k-contact__details, .k-band-dark .k-contact__details li { border-color: var(--k-line-dark); }

/* Form */
.k-form { display: grid; gap: 1.6rem; }
.k-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 560px) { .k-form__row { grid-template-columns: 1fr; } }

.k-field { display: flex; flex-direction: column; gap: 0.55rem; }
.k-field label {
	font-size: var(--k-fs-label);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--k-muted);
}
.k-field .k-req { color: var(--k-clay); }

.k-form input[type="text"],
.k-form input[type="email"],
.k-form input[type="tel"],
.k-form input[type="url"],
.k-form select,
.k-form textarea {
	width: 100%;
	padding: 0.9rem 0;
	font-family: var(--k-body);
	font-size: 1rem;
	color: var(--k-ink);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--k-line);
	border-radius: 0;
	transition: border-color 0.3s var(--k-ease);
	appearance: none;
	-webkit-appearance: none;
}
.k-form textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.k-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2378705F' stroke-width='1.4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2px center;
	background-size: 10px 6px;
	padding-right: 24px;
	cursor: pointer;
}
.k-form input::placeholder, .k-form textarea::placeholder { color: rgba(120, 112, 95, 0.55); }
.k-form input:focus, .k-form select:focus, .k-form textarea:focus {
	outline: none;
	border-bottom-color: var(--k-clay);
	border-bottom-width: 1.5px;
}

.k-band-dark .k-form input,
.k-band-dark .k-form select,
.k-band-dark .k-form textarea { color: var(--k-on-dark); border-bottom-color: var(--k-line-dark); }
.k-band-dark .k-field label { color: var(--k-on-dark-mut); }
.k-band-dark .k-form input::placeholder, .k-band-dark .k-form textarea::placeholder { color: rgba(242,236,226,0.4); }

.k-checks { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.k-check { position: relative; }
.k-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.k-check span {
	display: inline-block;
	padding: 0.62rem 1.2rem;
	border: 1px solid var(--k-line);
	border-radius: 100px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--k-muted);
	cursor: pointer;
	transition: all 0.25s var(--k-ease);
	user-select: none;
}
.k-check input:checked + span { background: var(--k-clay); border-color: var(--k-clay); color: #fff; }
.k-check input:focus-visible + span { outline: 2px solid var(--k-clay); outline-offset: 3px; }
.k-band-dark .k-check span { border-color: var(--k-line-dark); color: var(--k-on-dark-mut); }

.k-hp { position: absolute !important; left: -9999px; top: 0; }

.k-note { font-size: var(--k-fs-small); color: var(--k-muted); }

.k-alert {
	padding: 1.1rem 1.4rem;
	border-radius: var(--k-radius);
	font-size: 0.94rem;
	margin-bottom: 1.75rem;
	border-left: 3px solid var(--k-clay);
	background: var(--k-clay-tint);
}
.k-alert--ok { border-left-color: #4E7A52; background: rgba(78, 122, 82, 0.12); }


/* ==========================================================================
   23. CTA band
   ========================================================================== */

.k-cta {
	position: relative;
	background: var(--k-ink);
	color: var(--k-on-dark);
	padding-block: clamp(4rem, 8vw, 7rem);
	overflow: hidden;
	isolation: isolate;
}
.k-cta__bg { position: absolute; inset: 0; z-index: -2; opacity: 0.3; }
.k-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.k-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(23,20,15,0.95) 30%, rgba(23,20,15,0.65) 100%); }
.k-cta h2 { color: var(--k-on-dark); font-size: var(--k-fs-h1); max-width: 16ch; margin-bottom: 1.35rem; }
.k-cta p { color: var(--k-on-dark-mut); max-width: 48ch; margin-bottom: 2.25rem; font-size: var(--k-fs-lead); }


/* ==========================================================================
   24. Footer
   ========================================================================== */

.k-footer { background: var(--k-ink); color: var(--k-on-dark); padding-top: clamp(3.5rem, 7vw, 6rem); }
.k-footer a { text-decoration: none; }
.k-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.k-footer__brand .k-brand__word { color: var(--k-on-dark); font-size: 1.8rem; }
.k-footer__blurb { color: var(--k-on-dark-mut); margin: 1.4rem 0 2rem; max-width: 38ch; font-size: 0.96rem; }
.k-footer h5 {
	font-family: var(--k-body);
	font-size: var(--k-fs-label);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--k-clay);
	margin: 0 0 1.35rem;
}
.k-footer ul { list-style: none; margin: 0; padding: 0; }
.k-footer ul li { margin-bottom: 0.72rem; }
.k-footer ul a { color: var(--k-on-dark-mut); font-size: 0.95rem; transition: color 0.25s var(--k-ease), padding-left 0.25s var(--k-ease); display: inline-block; }
.k-footer ul a:hover { color: var(--k-on-dark); padding-left: 0.3rem; }

.k-social { display: flex; gap: 0.6rem; }
.k-social a {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border: 1px solid var(--k-line-dark);
	border-radius: 50%;
	color: var(--k-on-dark-mut);
	transition: all 0.3s var(--k-ease);
}
.k-social a:hover { background: var(--k-clay); border-color: var(--k-clay); color: #fff; transform: translateY(-3px); }
.k-social svg { width: 17px; height: 17px; }

.k-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	padding-block: 1.75rem;
	border-top: 1px solid var(--k-line-dark);
	font-size: var(--k-fs-small);
	color: rgba(242, 236, 226, 0.45);
}
.k-footer__bottom a { color: inherit; }
.k-footer__bottom a:hover { color: var(--k-on-dark); }
.k-footer__bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 900px) { .k-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .k-footer__top { grid-template-columns: 1fr; } }


/* ==========================================================================
   25. Editorial / blog content
   ========================================================================== */

.k-entry { padding-block: var(--k-section); }
.k-entry__content { max-width: 70ch; margin-inline: auto; }
.k-entry__content h2 { margin-top: 2.5rem; }
.k-entry__content h3 { margin-top: 2rem; }
.k-entry__content img { margin-block: 2rem; border-radius: var(--k-radius-lg); }

.k-postlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 3vw, 2.75rem); }
@media (max-width: 900px) { .k-postlist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .k-postlist { grid-template-columns: 1fr; } }
.k-post a { text-decoration: none; }
.k-post h3 { font-size: var(--k-fs-h4); font-family: var(--k-display); font-weight: 400; letter-spacing: -0.015em; margin: 1.1rem 0 0.5rem; }
.k-post time { font-size: var(--k-fs-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--k-muted); }
.k-post p { color: var(--k-muted); font-size: 0.94rem; }

.k-pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 4rem; }
.k-pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 42px; height: 42px;
	padding-inline: 0.75rem;
	border: 1px solid var(--k-line);
	border-radius: var(--k-radius);
	text-decoration: none;
	font-size: 0.86rem;
	transition: all 0.25s var(--k-ease);
}
.k-pagination .page-numbers:hover,
.k-pagination .page-numbers.current { background: var(--k-ink); border-color: var(--k-ink); color: var(--k-bone); }

/* WordPress core classes */
.alignleft { float: left; margin: 0.5rem 2rem 1.5rem 0; }
.alignright { float: right; margin: 0.5rem 0 1.5rem 2rem; }
.aligncenter { margin-inline: auto; display: block; }
.alignwide { width: min(1100px, 100%); margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: var(--k-fs-small); color: var(--k-muted); margin-top: 0.7rem; }
.sticky { position: relative; }
.bypostauthor { display: block; }
.k-entry__content > * { margin-bottom: 1.4rem; }

/* Comments */
.k-comments { max-width: var(--k-wrap-narrow); margin: 4rem auto 0; padding-top: 3rem; border-top: 1px solid var(--k-line); }
.comment-list { list-style: none; padding: 0; }
.comment-list li { margin-bottom: 2rem; }
.comment-body { padding: 1.5rem; border: 1px solid var(--k-line); border-radius: var(--k-radius-lg); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 0.85rem 0; background: transparent;
	border: 0; border-bottom: 1px solid var(--k-line); font-family: var(--k-body); font-size: 1rem;
}
.comment-form .submit { all: unset; }
.comment-form input[type="submit"] {
	display: inline-flex; padding: 1rem 2rem; background: var(--k-ink); color: var(--k-bone);
	border: 0; border-radius: var(--k-radius); font-family: var(--k-body); font-size: 0.8rem;
	font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}


/* ==========================================================================
   26. Reveal on scroll
   ========================================================================== */

.k-rv { opacity: 0; transform: translateY(22px); transition: opacity 0.85s var(--k-ease), transform 0.85s var(--k-ease); }
.k-rv.is-in { opacity: 1; transform: none; }
.k-rv--d1 { transition-delay: 0.08s; }
.k-rv--d2 { transition-delay: 0.16s; }
.k-rv--d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.k-rv { opacity: 1; transform: none; }
}


/* ==========================================================================
   27. Admin bar offset
   ========================================================================== */

.admin-bar .k-header { top: 32px; }
.admin-bar .k-drawer { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .k-header { top: 46px; }
	.admin-bar .k-drawer { top: 46px; }
}
