/* Koblano theme styles. Colors and fonts come from theme.json presets. */

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3 {
	text-wrap: balance;
}

a:focus-visible {
	outline: 2px solid var(--wp--preset--color--blue);
	outline-offset: 4px;
}

/* Header */
.k-header {
	padding-block: 28px;
	gap: 20px 40px;
}
.k-logo {
	margin: 0;
}
.k-logo img {
	display: block;
	width: 148px;
	height: auto;
}
.k-nav {
	font-size: 15px;
	font-weight: 500;
}
.k-nav .wp-block-navigation__container {
	gap: 8px 36px;
}
.k-nav a,
.k-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	padding-block: 10px;
	border-bottom: 1px solid transparent;
}
.k-nav a:hover {
	color: var(--wp--preset--color--blue);
}
.k-nav a.k-current {
	color: var(--wp--preset--color--blue);
	border-bottom-color: var(--wp--preset--color--blue);
}

/* Footer */
.k-footer-wrap {
	border-top: 1px solid var(--wp--preset--color--rule);
}
.k-footer {
	padding-block: 48px 40px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.k-footer > * {
	margin: 0 !important;
}
.k-footer-top.is-layout-flex {
	gap: 20px 40px;
}
.k-footer-logo {
	margin: 0;
}
.k-footer-logo img {
	display: block;
	width: 128px;
	height: auto;
}
.k-footer-links.is-layout-flex {
	gap: 8px 32px;
	font-size: 14px;
}
.k-footer-links p {
	margin: 0;
}
.k-footer-links a {
	color: var(--wp--preset--color--text);
	text-decoration: none;
	display: inline-block;
	padding-block: 8px;
}
.k-footer-links a:hover {
	color: var(--wp--preset--color--blue);
}
.k-footer-meta.is-layout-flex {
	gap: 6px 24px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
}
.k-footer-meta p {
	margin: 0;
}
.k-footer-meta a {
	color: var(--wp--preset--color--muted);
	margin-left: 20px;
}
.k-footer-meta a:hover {
	color: var(--wp--preset--color--blue);
}

/* Section rhythm */
.k-hero {
	padding-block: clamp(72px, 11vw, 160px) clamp(72px, 9vw, 128px);
}
.k-head {
	padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 64px);
}
.k-section {
	padding-block: clamp(64px, 8vw, 112px);
}
.k-section.k-tight-top {
	padding-top: 0;
}
.k-band {
	padding-block: clamp(64px, 8vw, 112px);
}
.k-hero > *,
.k-head > *,
.k-section > *,
.k-band > * {
	margin-top: 0;
}
.k-hero > * + *,
.k-head > * + * {
	margin-block-start: 28px;
}

/* Type */
.k-hero-title {
	font-size: clamp(40px, 5vw, 72px) !important;
	letter-spacing: -0.025em;
	line-height: 1.06;
	max-width: none;
}
.k-head h1 {
	max-width: 20ch;
}
.is-style-label {
	font-size: 12px !important;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	padding-top: 8px;
}
.k-head .is-style-label {
	padding-top: 0;
}
.is-style-cta a {
	font-size: 16px;
	font-weight: 500;
	color: var(--wp--preset--color--blue);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	display: inline-block;
	padding-block: 6px 4px;
}
.is-style-cta a:hover {
	color: var(--wp--preset--color--deep-blue);
}
.k-lead {
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.55;
	color: var(--wp--preset--color--text);
	max-width: 34em;
}
.k-statement {
	font-size: clamp(22px, 2.4vw, 32px);
	line-height: 1.35;
	text-wrap: pretty;
}
.k-statement-sm {
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.4;
	color: var(--wp--preset--color--ink);
	text-wrap: pretty;
}
.k-intro {
	font-size: clamp(18px, 1.7vw, 22px);
	line-height: 1.5;
	color: var(--wp--preset--color--ink);
}
.k-measure {
	max-width: 42em;
}
.k-text p,
.k-text li {
	color: var(--wp--preset--color--text);
}
.k-updated {
	font-size: 14px;
	color: var(--wp--preset--color--muted);
}

/* Blue band */
.k-band.has-blue-background-color .is-style-label {
	color: #DCE6F1;
}
.k-band.has-blue-background-color a,
.k-band.has-blue-background-color .is-style-cta a {
	color: #FFFFFF;
}
.k-band.has-blue-background-color .k-statement {
	color: #FFFFFF;
}

/* Columns */
.wp-block-columns.k-cols {
	gap: 24px 64px;
	margin-block: 0;
}
.k-cols .wp-block-column > *:first-child {
	margin-top: 0;
}

/* Rules */
.k-rule {
	border-top: 1px solid var(--wp--preset--color--rule);
	padding-top: 28px;
}
.k-rule-blue {
	border-top: 1px solid var(--wp--preset--color--blue);
	padding-top: 24px;
}
.k-rule > *:first-child,
.k-rule-blue > *:first-child {
	margin-top: 0;
}
.k-stack > * + * {
	margin-block-start: 40px;
}

/* People */
.k-grid-lg,
.k-grid-sm {
	display: grid;
}
.k-grid-lg {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 56px 48px;
}
.k-grid-sm {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(130px, 30vw, 180px)), 1fr));
	gap: 48px 32px;
}
.k-grid-lg > *,
.k-grid-sm > * {
	margin: 0 !important;
	min-width: 0;
}
.k-card > * {
	margin-top: 0;
}
.k-card .wp-block-image {
	margin: 0 0 20px;
}
.k-card .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	background: #EAF0F6;
}
.k-name {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 !important;
}
.k-role {
	font-size: 15px;
	font-weight: 500;
	color: var(--wp--preset--color--ink);
	margin-block: 2px 0 !important;
}
.k-bio {
	font-size: 16px;
	color: var(--wp--preset--color--text);
	margin-block-start: 14px !important;
}
.k-note {
	font-size: 14px;
	color: var(--wp--preset--color--muted);
	line-height: 1.5;
	margin-block-start: 2px !important;
}
.k-grid-sm .k-card .wp-block-image {
	margin-bottom: 14px;
}
.k-grid-sm .k-name {
	font-size: 18px;
}
.k-grid-sm .k-role {
	font-size: 14px;
}
.k-section-title {
	font-size: clamp(26px, 2.6vw, 34px) !important;
	font-weight: 500 !important;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--ink) !important;
	margin-bottom: 40px !important;
}
.k-team-section {
	border-top: 1px solid var(--wp--preset--color--rule);
}

/* Contact */
.k-email a {
	font-size: clamp(22px, 2.2vw, 28px);
	font-weight: 500;
	text-decoration: none;
}
.k-address {
	font-size: 18px;
	color: var(--wp--preset--color--ink);
}
.k-contact-photo {
	margin: 0;
}
.k-contact-photo img {
	display: block;
	width: 100%;
	height: auto;
	background: #EAF0F6;
}
