/*
Theme Name: Sam Gravell Training & Consulting
Theme URI: https://samueltgravell.com
Author: Sam Gravell
Author URI: https://samueltgravell.com
Description: A custom block theme for Sam Gravell's workplace training, adult learning, communication, trainer development, consultancy, and learning-design work.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sam-gravell-training
Tags: block-patterns, full-site-editing, wide-blocks, accessibility-ready, blog, portfolio
*/

:root {
	--sg-ink: #10100f;
	--sg-paper: #f7f5ee;
	--sg-white: #fffef9;
	--sg-yellow: #f4c511;
	--sg-yellow-soft: #fbe47c;
	--sg-gray: #68675f;
	--sg-line: rgba(16, 16, 15, 0.18);
	--sg-max: 1280px;
}

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--sg-paper);
	color: var(--sg-ink);
	font-family: Arial, Helvetica, sans-serif;
	text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 0.18em; }

.sg-site-header {
	position: relative;
	z-index: 20;
	margin: 0;
	background: var(--sg-paper);
}

.sg-header-inner {
	width: min(calc(100% - 48px), var(--sg-max)) !important;
	max-width: var(--sg-max) !important;
	min-height: 98px;
	margin-right: auto !important;
	margin-left: auto !important;
	padding: 0;
	border-bottom: 1px solid var(--sg-line);
}

.sg-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--sg-ink);
	text-decoration: none;
}

.sg-logo {
	display: inline-block;
	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: url("assets/images/logo.webp") center / cover no-repeat;
}

.sg-logo-large { width: 128px; height: 128px; }
.sg-brand-copy { display: flex; flex-direction: column; gap: 2px; }
.sg-brand-copy strong { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.sg-brand-copy small { font-size: 9px; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }

.sg-navigation { font-size: 13px; font-weight: 700; }
.sg-navigation .wp-block-navigation-item__content { position: relative; text-decoration: none; }
.sg-navigation .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	right: 100%;
	bottom: -8px;
	left: 0;
	height: 2px;
	background: var(--sg-yellow);
	transition: right .22s ease;
}
.sg-navigation .wp-block-navigation-item__content:hover::after,
.sg-navigation .wp-block-navigation-item__content:focus-visible::after { right: 0; }

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 0;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition: transform .2s ease, background .2s ease, color .2s ease;
}
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible { transform: translateY(-2px); }
.sg-button-small .wp-block-button__link { min-height: 48px; padding: 0 18px; }
.sg-button-dark .wp-block-button__link { background: var(--sg-ink); color: #fff; }
.sg-button-dark .wp-block-button__link:hover { background: #2b2b27; }
.sg-button-yellow .wp-block-button__link { background: var(--sg-yellow); color: var(--sg-ink); }
.sg-button-yellow .wp-block-button__link:hover { background: #ffdb37; }

.sg-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 30px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
}
.sg-kicker::before { content: ""; display: inline-block; flex: 0 0 28px; width: 28px; height: 3px; background: var(--sg-yellow); }

.sg-home { margin-top: 0; }

.sg-home > .alignwide,
.sg-section.alignwide {
	width: min(calc(100% - 48px), var(--sg-max)) !important;
	max-width: var(--sg-max) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.sg-hero {
	display: grid;
	grid-template-columns: 1.12fr .88fr;
	min-height: 690px;
	margin-top: 0;
	border-bottom: 1px solid var(--sg-line);
}
.sg-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 80px 70px 80px 0;
}
.sg-hero-copy > * {
	width: 100% !important;
	max-width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}
.sg-display {
	max-width: 770px;
	margin: 0;
	font-size: clamp(54px, 4.7vw, 70px);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -.055em;
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}
.sg-display em,
.sg-section h2 em,
.sg-method-section h2 em,
.sg-toolbox-section h2 em,
.sg-about-section h2 em,
.sg-testimonials h2 em,
.sg-contact-section h2 em {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
}
.sg-hero-intro { max-width: 650px; margin: 36px 0 0; color: #44433e; font-size: 18px; line-height: 1.65; }
.sg-hero-actions { gap: 34px; margin-top: 40px; }
.sg-text-link { width: fit-content; margin: 0; padding: 12px 0 8px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 800; }
.sg-text-link a { text-decoration: none; }

.sg-hero-visual {
	position: relative;
	min-height: 690px;
	overflow: hidden;
	background: var(--sg-yellow);
	border: 32px solid var(--sg-paper);
	border-right: 0;
}
.sg-hero-visual::before { content: ""; position: absolute; z-index: 2; inset: 14px; border: 1px solid rgba(16,16,15,.23); pointer-events: none; }
.sg-hero-photo { position: absolute; right: 4%; bottom: 0; width: 78%; height: 100%; margin: 0; }
.sg-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.sg-hero-note { position: absolute; z-index: 4; display: flex; align-items: center; gap: 13px; min-width: 200px; padding: 15px 18px; border: 1px solid var(--sg-ink); background: var(--sg-white); box-shadow: 7px 7px 0 var(--sg-ink); }
.sg-hero-note > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sg-yellow); font-size: 13px; font-weight: 900; }
.sg-hero-note strong, .sg-hero-note small { display: block; }
.sg-hero-note strong { font-size: 13px; }
.sg-hero-note small { margin-top: 3px; color: var(--sg-gray); font-size: 11px; font-weight: 400; }
.sg-note-one { top: 58px; left: 0; transform: rotate(-3deg); }
.sg-note-two { right: 4px; bottom: 44px; transform: rotate(2deg); }
.sg-note-two > span { background: var(--sg-ink); color: var(--sg-yellow); }

.sg-proof-strip { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 0; }
.sg-proof-strip > .wp-block-group { display: flex; flex-direction: column; justify-content: center; min-height: 126px; margin: 0; padding: 22px 28px; border-right: 1px solid var(--sg-line); }
.sg-proof-strip > .wp-block-group:first-child { border-left: 1px solid var(--sg-line); }
.sg-proof-strip h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.sg-proof-strip p { margin: 7px 0 0; color: var(--sg-gray); font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }

.sg-section { padding-top: 130px; padding-bottom: 130px; }
.sg-section-intro { gap: 90px; }
.sg-section h2,
.sg-method-section h2,
.sg-toolbox-section h2,
.sg-about-section h2,
.sg-testimonials h2,
.sg-contact-section h2,
.sg-archive-title,
.sg-page-title,
.sg-article-title {
	margin: 0;
	font-size: clamp(44px, 4.3vw, 64px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.055em;
}
.sg-section h1,
.sg-section h2,
.sg-section h3,
.sg-method-section h1,
.sg-method-section h2,
.sg-method-section h3,
.sg-toolbox-section h1,
.sg-toolbox-section h2,
.sg-toolbox-section h3,
.sg-about-section h1,
.sg-about-section h2,
.sg-about-section h3,
.sg-testimonials h1,
.sg-testimonials h2,
.sg-testimonials h3,
.sg-contact-section h1,
.sg-contact-section h2,
.sg-contact-section h3 {
	hyphens: none !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
}
.sg-section-lead { max-width: 600px; margin: 72px 0 0 auto; color: #4d4c46; font-size: 18px; line-height: 1.75; }

.sg-service-grid { gap: 0; margin-top: 78px; border-top: 1px solid var(--sg-ink); border-left: 1px solid var(--sg-line); }
.sg-service-card { display: flex; flex-direction: column; min-width: 0; min-height: 390px; padding: 28px; border-right: 1px solid var(--sg-line); border-bottom: 1px solid var(--sg-line); transition: background .25s ease, transform .25s ease; }
.sg-service-card:hover { z-index: 2; background: var(--sg-yellow); transform: translateY(-8px); }
.sg-service-card .sg-card-number { display: flex; justify-content: space-between; margin: 0; color: #6b6961; font-size: 12px; font-weight: 800; }
.sg-card-number span { font-size: 21px; font-weight: 400; }
.sg-service-card h3 { width: 100%; max-width: 100%; margin: 50px 0 18px; font-size: clamp(22px, 1.65vw, 28px); line-height: 1.08; letter-spacing: -.035em; }
.sg-service-card > p:not(.sg-card-number):not(.sg-card-label) { margin: 0; color: #55544e; font-size: 14px; line-height: 1.65; }
.sg-card-label { margin-top: auto !important; padding-top: 26px; border-top: 1px solid var(--sg-line); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.sg-method-section { padding: 120px max(24px, calc((100vw - var(--sg-max)) / 2)); }
.sg-method-section > .wp-block-columns { gap: 90px; }
.sg-method-copy { align-self: center; }
.sg-method-copy h2 { max-width: 600px; font-size: clamp(42px, 4vw, 58px); }
.sg-method-copy > p:not(.sg-kicker) { max-width: 560px; margin: 26px 0 0; color: #bfbbb0; font-size: 16px; line-height: 1.72; }
.sg-method-copy > .sg-method-lead { margin-top: 30px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.55; }
.sg-method-copy .wp-block-buttons { margin-top: 36px; }
.sg-method-copy .is-style-outline .wp-block-button__link { border-color: rgba(255,255,255,.45); color: #fff; }
.sg-method-copy .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--sg-ink); }
.sg-five-t { border-top: 1px solid rgba(255,255,255,.25); }
.sg-t-step { display: grid !important; grid-template-columns: 48px 1fr 34px !important; align-items: center; gap: 20px; min-height: 118px; margin: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.sg-t-step > p:first-child { color: var(--sg-yellow); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.sg-t-step h3 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.sg-t-step .wp-block-group p { max-width: 570px; margin: 8px 0 0; color: #a8a59d; font-size: 13px; line-height: 1.45; }
.sg-t-step > p:last-child { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }
.sg-method-context { margin-top: 105px; padding-top: 86px; border-top: 1px solid rgba(255,255,255,.25); }
.sg-method-context-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.sg-method-context-head h3 { max-width: 720px; margin: 0; font-size: clamp(42px, 4.6vw, 68px); line-height: .98; letter-spacing: -.055em; }
.sg-method-context-head h3 em { color: var(--sg-yellow); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.sg-method-context-copy { max-width: 720px; }
.sg-method-context-copy > p { margin: 0 0 20px; color: #c3c0b7; font-size: 16px; line-height: 1.75; }
.sg-method-context-copy > p:first-child { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.55; }
.sg-method-challenges { gap: 0; margin-top: 70px; border-top: 1px solid rgba(255,255,255,.25); border-left: 1px solid rgba(255,255,255,.25); }
.sg-method-card { display: flex; flex-direction: column; min-height: 315px; padding: 30px; border-right: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.sg-method-card:nth-child(2) { background: var(--sg-yellow); color: var(--sg-ink); }
.sg-method-card .sg-card-number { margin: 0; color: var(--sg-yellow); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.sg-method-card:nth-child(2) .sg-card-number { color: #6b5600; }
.sg-method-card h4 { margin: 54px 0 18px; font-size: 28px; line-height: 1.05; letter-spacing: -.04em; }
.sg-method-card > p:last-child { margin: 0; color: #aaa79e; font-size: 14px; line-height: 1.65; }
.sg-method-card:nth-child(2) > p:last-child { color: #4e420d; }
.sg-method-routes { gap: 28px; margin-top: 70px; }
.sg-method-route { position: relative; min-height: 280px; padding: 38px 40px 38px 78px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.035); }
.sg-method-route::before { position: absolute; top: 39px; left: 34px; color: var(--sg-yellow); font-size: 24px; content: "→"; }
.sg-method-route .sg-overline { color: var(--sg-yellow); }
.sg-method-route h4 { margin: 20px 0 16px; font-size: 31px; letter-spacing: -.04em; }
.sg-method-route > p:last-child { margin: 0; color: #aaa79e; font-size: 14px; line-height: 1.7; }
.sg-method-guide-cta { display: grid; grid-template-columns: 1fr auto; gap: 55px; align-items: center; margin-top: 70px; padding: 42px 46px; background: var(--sg-yellow); color: var(--sg-ink); }
.sg-method-guide-cta h3 { margin: 0; font-size: clamp(30px, 3vw, 46px); line-height: 1; letter-spacing: -.045em; }
.sg-method-guide-cta p { max-width: 730px; margin: 16px 0 0; color: #51430c; font-size: 14px; line-height: 1.65; }

.sg-toolbox-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; }
.sg-toolbox-art { position: relative; min-height: 700px; overflow: hidden; background-color: #e7b800; background-image: linear-gradient(rgba(16,16,15,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(16,16,15,.09) 1px, transparent 1px); background-size: 36px 36px; }
.sg-matrix { position: absolute; top: 105px; left: 12%; width: 300px; height: 260px; border: 4px solid var(--sg-ink); background: linear-gradient(90deg, transparent 49.5%, var(--sg-ink) 49.5%, var(--sg-ink) 50.5%, transparent 50.5%), linear-gradient(transparent 49.5%, var(--sg-ink) 49.5%, var(--sg-ink) 50.5%, transparent 50.5%), rgba(255,255,255,.72); transform: rotate(-5deg); box-shadow: 12px 12px 0 rgba(16,16,15,.22); }
.sg-matrix span { position: absolute; left: -45px; top: 47%; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-90deg); }
.sg-orbit { position: absolute; border: 4px solid var(--sg-ink); border-radius: 50%; }
.sg-orbit-one { right: -60px; bottom: 70px; width: 300px; height: 300px; }
.sg-orbit-two { right: 2px; bottom: 133px; width: 175px; height: 175px; }
.sg-sticky { position: absolute; display: grid; place-items: center; width: 118px; height: 96px; border: 2px solid var(--sg-ink); background: #fff7cf; box-shadow: 7px 8px 0 rgba(16,16,15,.24); font-family: Georgia, serif; font-size: 18px; font-style: italic; }
.sg-sticky-one { left: 9%; bottom: 120px; transform: rotate(4deg); }
.sg-sticky-two { left: 31%; bottom: 78px; transform: rotate(-2deg); }
.sg-sticky-three { left: 51%; bottom: 128px; transform: rotate(5deg); }
.sg-bulb { position: absolute; right: 12%; top: 110px; font-size: 92px; transform: rotate(12deg); filter: grayscale(1) contrast(1.4); }
.sg-toolbox-copy { display: flex; flex-direction: column; justify-content: center; padding: 90px max(48px, calc((100vw - var(--sg-max)) / 2)) 90px clamp(58px, 7vw, 120px); }
.sg-toolbox-copy > p:not(.sg-kicker) { max-width: 620px; margin: 30px 0 34px; font-size: 17px; line-height: 1.7; }
.sg-toolbox-stats { gap: 30px; margin: 0 0 38px; }
.sg-toolbox-stats h3 { margin: 0 0 5px; font-size: 28px; }
.sg-toolbox-stats p { max-width: 120px; margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .06em; line-height: 1.35; text-transform: uppercase; }

.sg-workshop-list { margin-top: 85px; border-top: 1px solid var(--sg-ink); }
.sg-workshops .sg-section-intro > .wp-block-column:first-child { flex-basis: 36% !important; }
.sg-workshops .sg-section-intro > .wp-block-column:last-child { flex-basis: 64% !important; }
.sg-workshops .sg-section-intro h2 { max-width: 720px; font-size: clamp(42px, 3.8vw, 56px); line-height: 1.02; }
.sg-workshop-row { display: grid !important; grid-template-columns: 55px 1.05fr 1fr .62fr !important; gap: 34px; align-items: center; min-height: 190px; margin: 0; border-bottom: 1px solid var(--sg-line); transition: padding .2s ease, background .2s ease; }
.sg-workshop-row:hover { padding-right: 20px; padding-left: 20px; background: #fff; }
.sg-workshop-row > p:first-child { align-self: start; padding-top: 45px; color: #77756c; font-size: 11px; font-weight: 800; }
.sg-overline { margin: 0 0 12px; color: #77756c; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.sg-workshop-row h3 { max-width: 390px; margin: 0; font-size: 28px; line-height: 1.08; letter-spacing: -.035em; }
.sg-workshop-row > p:nth-child(3) { color: #55544e; font-size: 13px; line-height: 1.65; }
.sg-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.sg-tags span { padding: 7px 9px; border: 1px solid var(--sg-line); border-radius: 100px; color: #65635b; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.sg-workshop-cta { gap: 40px; margin-top: 45px; }
.sg-workshop-cta > p:first-child { color: var(--sg-gray); font-size: 13px; }

.sg-about-section { min-height: 790px; margin: 0; }
.sg-about-image { position: relative; min-height: 790px; overflow: hidden; background: var(--sg-yellow); }
.sg-about-image figure { position: absolute; inset: 0; margin: 0; }
.sg-about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply; }
.sg-about-image::after { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(255,255,255,.55); pointer-events: none; }
.sg-about-caption { position: absolute; bottom: 42px; left: 44px; z-index: 2; margin: 0; padding: 12px 14px; background: #fff; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.sg-about-copy { display: flex; flex-direction: column; justify-content: center; padding: 100px max(48px, calc((100vw - var(--sg-max)) / 2)) 100px clamp(70px, 8vw, 140px); background: var(--sg-white); }
.sg-about-copy h2 em { color: #8e7410; }
.sg-about-copy > p:not(.sg-kicker) { max-width: 650px; margin: 24px 0 0; color: #55544e; font-size: 14px; line-height: 1.8; }
.sg-about-copy > .sg-about-intro { color: var(--sg-ink) !important; font-size: 18px !important; }
.sg-about-links { gap: 30px; margin-top: 40px; }
.sg-about-links p { margin: 0; }
.sg-about-links a { padding-bottom: 8px; border-bottom: 1px solid var(--sg-ink); font-size: 12px; font-weight: 800; text-decoration: none; }

.sg-philosophy-section {
	padding: 120px max(24px, calc((100vw - var(--sg-max)) / 2));
	background: var(--sg-paper);
}
.sg-philosophy-section > .wp-block-columns { gap: 90px; }
.sg-philosophy-intro { flex-basis: 36% !important; }
.sg-philosophy-intro h2 {
	max-width: 520px;
	margin: 0;
	font-size: clamp(44px, 4.3vw, 64px);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -.055em;
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}
.sg-philosophy-intro h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.sg-philosophy-copy { flex-basis: 64% !important; }
.sg-philosophy-lead { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 2.2vw, 32px); line-height: 1.45; }
.sg-philosophy-copy > p:not(.sg-philosophy-lead) { max-width: 760px; margin: 26px 0 0; color: #55544e; font-size: 15px; line-height: 1.75; }
.sg-philosophy-grid { gap: 0; margin-top: 72px; border-top: 1px solid var(--sg-ink); border-left: 1px solid var(--sg-line); }
.sg-philosophy-card { display: flex; flex-direction: column; min-height: 330px; padding: 30px; border-right: 1px solid var(--sg-line); border-bottom: 1px solid var(--sg-line); background: rgba(255,255,255,.25); }
.sg-philosophy-card:nth-child(2) { background: var(--sg-yellow); }
.sg-philosophy-card .sg-card-number { margin: 0; color: #6b6961; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.sg-philosophy-card h3 { margin: 54px 0 18px; font-size: clamp(25px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.04em; }
.sg-philosophy-card > p:last-child { margin: 0; color: #55544e; font-size: 14px; line-height: 1.65; }

.sg-testimonials { padding: 120px max(24px, calc((100vw - var(--sg-max)) / 2)); }
.sg-testimonials > .wp-block-columns { gap: 80px; }
.sg-testimonial-title h2 em { color: var(--sg-yellow); }
.sg-testimonial-grid { gap: 0; border-top: 1px solid rgba(255,255,255,.25); border-left: 1px solid rgba(255,255,255,.25); }
.sg-testimonial-card { display: flex; flex-direction: column; min-height: 450px; padding: 27px; border-right: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.sg-quote-mark { margin: 0; color: var(--sg-yellow); font-family: Georgia, serif; font-size: 70px; line-height: .7; }
.sg-testimonial-card > p:nth-child(2) { margin: 30px 0; color: #d5d2c8; font-family: Georgia, serif; font-size: 17px; line-height: 1.55; }
.sg-testimonial-person { margin-top: auto; }
.sg-testimonial-person p { margin: 0; font-size: 12px; }
.sg-testimonial-person small { color: #89877f; font-size: 10px; }
.sg-testimonial-more { margin: 34px 0 0; }
.sg-testimonial-more a { color: var(--sg-white); }

.sg-testimonials-page { margin-top: 0; }
.sg-testimonials-hero,
.sg-testimonial-library {
	width: min(calc(100% - 48px), var(--sg-max)) !important;
	max-width: var(--sg-max) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}
.sg-testimonials-hero {
	display: grid;
	grid-template-columns: .72fr 1.28fr;
	gap: 90px;
	padding-top: 118px;
	padding-bottom: 108px;
	border-bottom: 1px solid var(--sg-ink);
}
.sg-testimonials-hero h1 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(58px, 7vw, 104px);
	font-weight: 800;
	line-height: .92;
	letter-spacing: -.065em;
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}
.sg-testimonials-hero h1 em {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
}
.sg-testimonials-hero-copy { align-self: end; }
.sg-testimonials-hero-copy > p {
	max-width: 610px;
	margin: 30px 0 0;
	color: #4d4c46;
	font-size: 18px;
	line-height: 1.7;
}
.sg-testimonial-library { padding: 105px 0 130px; }
.sg-testimonial-feature {
	display: grid;
	grid-template-columns: .58fr 1.42fr;
	gap: 70px;
	margin: 0 0 105px;
	padding: 54px;
	background: var(--sg-yellow);
	box-shadow: 14px 14px 0 var(--sg-ink);
}
.sg-testimonial-feature-label { display: flex; flex-direction: column; justify-content: space-between; }
.sg-testimonial-feature-label p { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sg-testimonial-feature-label span { font-family: Georgia, serif; font-size: 118px; line-height: .7; }
.sg-testimonial-feature blockquote { margin: 0; }
.sg-testimonial-feature blockquote p {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(24px, 2.5vw, 36px);
	line-height: 1.35;
}
.sg-testimonial-feature cite { display: block; margin-top: 34px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; }
.sg-testimonial-feature cite small { display: block; margin-top: 5px; color: #5d4b00; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sg-testimonial-group { margin-top: 96px; }
.sg-testimonial-group:first-of-type { margin-top: 0; }
.sg-testimonial-group-heading {
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 22px;
	align-items: end;
	margin-bottom: 36px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--sg-ink);
}
.sg-testimonial-group-heading p { margin: 0; color: var(--sg-gray); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.sg-testimonial-group-heading h2 { margin: 0; font-size: clamp(32px, 3.4vw, 50px); line-height: 1; letter-spacing: -.045em; }
.sg-testimonial-page-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 0 !important;
	margin: 0;
	border-top: 1px solid var(--sg-line);
	border-left: 1px solid var(--sg-line);
}
.sg-testimonial-page-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 390px;
	margin: 0;
	padding: 34px;
	border-right: 1px solid var(--sg-line);
	border-bottom: 1px solid var(--sg-line);
	background: rgba(255,255,255,.28);
}
.sg-testimonial-page-card:nth-child(even) { background: var(--sg-white); }
.sg-testimonial-page-card .sg-quote-mark { color: #9d7e00; }
.sg-testimonial-page-card > p:nth-child(2) {
	margin: 32px 0;
	color: #34332f;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.6;
}
.sg-testimonial-page-card .sg-testimonial-person small { color: #6d6b63; }
.sg-testimonial-source {
	margin-top: 100px;
	padding: 46px;
	border: 1px solid var(--sg-ink);
	background: var(--sg-white);
}
.sg-testimonial-source h2 { max-width: 760px; margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1; letter-spacing: -.05em; }
.sg-testimonial-source p { max-width: 680px; margin: 24px 0 0; color: var(--sg-gray); font-size: 14px; line-height: 1.65; }
.sg-testimonial-source .wp-block-buttons { margin-top: 32px; }

.sg-latest-heading { align-items: flex-end; }
.sg-home-query { margin-top: 70px; }
.sg-home-query .wp-block-post-template { gap: 0; border-top: 1px solid var(--sg-ink); border-left: 1px solid var(--sg-line); }

.sg-contact-section { padding: 130px max(24px, calc((100vw - var(--sg-max)) / 2)); }
.sg-contact-section > .wp-block-columns { gap: 100px; }
.sg-contact-section h2 { font-size: clamp(53px, 6vw, 92px); }
.sg-contact-card { align-self: flex-end; padding: 38px; border: 2px solid var(--sg-ink); background: rgba(255,255,255,.48); box-shadow: 12px 12px 0 var(--sg-ink); }
.sg-contact-card > p:first-child { margin: 0 0 30px; font-size: 16px; line-height: 1.7; }
.sg-contact-email { width: fit-content; margin-top: 22px; padding-bottom: 3px; border-bottom: 1px solid var(--sg-ink); font-size: 12px; font-weight: 800; }
.sg-contact-email a { text-decoration: none; }

.sg-site-footer { margin: 0; padding: 80px max(24px, calc((100vw - var(--sg-max)) / 2)) 30px; background: var(--sg-white); }
.sg-footer-brand { gap: 40px; }
.sg-footer-brand h2 { margin: 0; font-size: clamp(32px, 4vw, 58px); line-height: .98; letter-spacing: -.045em; }
.sg-footer-links { max-width: 690px; margin: 75px 0 60px auto; }
.sg-footer-links > .wp-block-column { padding-left: 28px; border-left: 1px solid var(--sg-line); }
.sg-footer-links h3 { margin: 0 0 22px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.sg-footer-links ul { margin: 0; padding: 0; list-style: none; }
.sg-footer-links li, .sg-footer-links p { margin: 0 0 12px; color: #66645c; font-size: 12px; }
.sg-footer-links a { color: #66645c; text-decoration: none; }
.sg-footer-links a:hover { color: var(--sg-ink); }
.sg-footer-bottom { padding-top: 22px; border-top: 1px solid var(--sg-line); color: #77756c; font-size: 10px; }
.sg-footer-bottom p { margin: 0; }
.sg-impressum { position: relative; text-align: right; }
.sg-impressum summary { cursor: pointer; font-weight: 800; }
.sg-impressum > p { position: absolute; right: 0; bottom: 24px; z-index: 4; width: 260px; padding: 18px; border: 1px solid var(--sg-line); background: var(--sg-white); box-shadow: 6px 6px 0 var(--sg-ink); color: var(--sg-ink); font-size: 11px; line-height: 1.6; text-align: left; }

.sg-content-shell,
.sg-page-shell,
.sg-article-shell,
.sg-error-page { padding-top: 110px; padding-bottom: 110px; }
.sg-archive-title { max-width: 900px; margin-bottom: 70px; }
.sg-page-title, .sg-article-title { max-width: 940px; margin-bottom: 50px; }
.sg-article-title { font-size: clamp(48px, 6vw, 88px); }
.sg-post-meta { margin-bottom: 24px; color: var(--sg-gray); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sg-featured-image { margin-top: 20px; margin-bottom: 70px; }
.sg-featured-image img { width: 100%; max-height: 680px; object-fit: cover; }
.sg-article-shell .wp-block-post-content { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.75; }
.sg-article-shell .wp-block-post-content h2,
.sg-article-shell .wp-block-post-content h3 { font-family: Arial, Helvetica, sans-serif; }
.sg-post-query .wp-block-post-template { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--sg-ink); border-left: 1px solid var(--sg-line); }
.sg-post-card { display: flex; flex-direction: column; min-height: 310px; padding: 30px; border-right: 1px solid var(--sg-line); border-bottom: 1px solid var(--sg-line); }
.sg-post-card .wp-block-post-date { color: var(--sg-gray); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sg-post-card .wp-block-post-title { margin: 38px 0 18px; font-size: clamp(25px, 2.6vw, 38px); line-height: 1.08; }
.sg-post-card .wp-block-post-title a { text-decoration: none; }
.sg-post-card .wp-block-post-excerpt { margin-top: auto; color: #55544e; font-size: 14px; }
.sg-post-card .wp-block-post-excerpt__more-link { font-weight: 800; }
.sg-error-page { min-height: 650px; }
.sg-error-page h1 { max-width: 850px; font-size: clamp(54px, 8vw, 110px); line-height: .9; }
.sg-error-page > p:not(.sg-kicker) { max-width: 600px; font-size: 18px; }

:focus-visible { outline: 3px solid #315fd6; outline-offset: 4px; }

@media (max-width: 1250px) {
	.sg-header-cta { display: none; }
	.sg-navigation { margin-left: auto; }
	.sg-service-card { padding: 24px; }
	.sg-service-card h3 { font-size: 24px; }
}

@media (max-width: 1080px) {
	.sg-header-inner { padding: 0 20px; }
	.sg-navigation { display: none; }
	.sg-hero-copy { padding-right: 36px; }
	.sg-service-grid { flex-wrap: wrap !important; }
	.sg-service-grid > .wp-block-column { flex-basis: 50% !important; }
	.sg-method-section > .wp-block-columns { gap: 55px; }
	.sg-method-context-head { grid-template-columns: 1fr; gap: 32px; }
	.sg-method-guide-cta { grid-template-columns: 1fr; gap: 28px; }
	.sg-workshop-row { grid-template-columns: 45px 1fr 1fr !important; }
	.sg-workshop-row > .sg-tags { grid-column: 2 / -1; padding-bottom: 24px; }
	.sg-testimonials > .wp-block-columns { flex-wrap: wrap !important; }
	.sg-testimonials > .wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
	.sg-testimonials-hero { grid-template-columns: 1fr; gap: 35px; }
	.sg-testimonials-hero-copy { max-width: 760px; }
	.sg-testimonial-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.sg-philosophy-section > .wp-block-columns { gap: 55px; }
}

@media (max-width: 781px) {
	.sg-header-inner { min-height: 78px; padding: 0 14px; }
	.sg-logo { width: 46px; height: 46px; }
	.sg-brand-copy strong { font-size: 12px; }
	.sg-brand-copy small { font-size: 7px; }
	.sg-header-cta .wp-block-button__link { min-height: 42px; padding: 0 13px; font-size: 10px; }
	.sg-hero { grid-template-columns: 1fr; margin-right: 14px; margin-left: 14px; }
	.sg-hero-copy { padding: 80px 0 50px; }
	.sg-display { font-size: clamp(48px, 14vw, 68px); }
	.sg-hero-intro { font-size: 16px; }
	.sg-hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
	.sg-hero-visual { min-height: 560px; border: 12px solid var(--sg-paper); border-right: 0; }
	.sg-hero-photo { right: 2%; width: 91%; }
	.sg-note-one { top: 38px; }
	.sg-note-two { right: 1px; bottom: 28px; }
	.sg-proof-strip { grid-template-columns: repeat(2, 1fr); margin-right: 14px; margin-left: 14px; }
	.sg-proof-strip > .wp-block-group { min-height: 100px; padding: 17px; border-bottom: 1px solid var(--sg-line); }
	.sg-proof-strip > .wp-block-group:last-child { grid-column: 1 / -1; }
	.sg-section { padding: 90px 14px; }
	.sg-section-intro { flex-direction: column; gap: 10px; }
	.sg-section-lead { margin-top: 25px; font-size: 16px; }
	.sg-service-grid { flex-direction: column; margin-top: 50px; }
	.sg-service-grid > .wp-block-column { flex-basis: auto !important; }
	.sg-service-card { min-height: 330px; }
	.sg-method-section { padding: 90px 20px; }
	.sg-method-section > .wp-block-columns { flex-direction: column; gap: 65px; }
	.sg-t-step { grid-template-columns: 38px 1fr !important; padding: 18px 0; }
	.sg-t-step > p:last-child { display: none; }
	.sg-method-context { margin-top: 80px; padding-top: 68px; }
	.sg-method-context-head { gap: 26px; }
	.sg-method-context-copy > p:first-child { font-size: 20px; }
	.sg-method-challenges { flex-direction: column; margin-top: 52px; }
	.sg-method-card { min-height: 275px; }
	.sg-method-routes { flex-direction: column; margin-top: 52px; }
	.sg-method-route { min-height: auto; padding: 34px 28px 34px 64px; }
	.sg-method-route::before { top: 35px; left: 25px; }
	.sg-method-guide-cta { margin-top: 52px; padding: 32px 28px; }
	.sg-toolbox-section { grid-template-columns: 1fr; }
	.sg-toolbox-art { min-height: 560px; }
	.sg-matrix { left: 6%; transform: rotate(-4deg) scale(.82); transform-origin: left top; }
	.sg-sticky { width: 94px; height: 78px; font-size: 15px; }
	.sg-sticky-one { left: 5%; }
	.sg-sticky-two { left: 35%; }
	.sg-sticky-three { left: 64%; }
	.sg-toolbox-copy { padding: 80px 24px; }
	.sg-toolbox-stats { flex-wrap: nowrap !important; gap: 18px; }
	.sg-workshop-row { grid-template-columns: 35px 1fr !important; gap: 18px; padding: 32px 0; }
	.sg-workshop-row:hover { padding: 32px 12px; }
	.sg-workshop-row > p:first-child { padding-top: 2px; }
	.sg-workshop-row > p:nth-child(3), .sg-workshop-row > .sg-tags { grid-column: 2; margin: 0; }
	.sg-workshop-cta { align-items: flex-start; flex-direction: column; gap: 8px; }
	.sg-about-section { flex-direction: column; }
	.sg-about-image { min-height: 580px; }
	.sg-about-copy { padding: 85px 24px; }
	.sg-philosophy-section { padding: 85px 20px; }
	.sg-philosophy-section > .wp-block-columns { flex-direction: column; gap: 32px; }
	.sg-philosophy-intro,
	.sg-philosophy-copy { flex-basis: auto !important; }
	.sg-philosophy-grid { flex-direction: column; margin-top: 54px; }
	.sg-philosophy-card { min-height: 290px; }
	.sg-testimonials { padding: 85px 20px; }
	.sg-testimonial-grid { flex-direction: column; }
	.sg-testimonial-card { min-height: 340px; }
	.sg-testimonial-more { margin-top: 28px; }
	.sg-testimonials-hero,
	.sg-testimonial-library { width: calc(100% - 28px) !important; }
	.sg-testimonials-hero { gap: 28px; padding-top: 80px; padding-bottom: 76px; }
	.sg-testimonials-hero h1 { font-size: clamp(52px, 15vw, 78px); }
	.sg-testimonials-hero-copy > p { font-size: 16px; }
	.sg-testimonial-library { padding: 75px 0 90px; }
	.sg-testimonial-feature { grid-template-columns: 1fr; gap: 30px; margin-bottom: 80px; padding: 30px; box-shadow: 8px 8px 0 var(--sg-ink); }
	.sg-testimonial-feature-label { flex-direction: row; align-items: center; }
	.sg-testimonial-feature-label span { font-size: 80px; }
	.sg-testimonial-group { margin-top: 72px; }
	.sg-testimonial-group-heading { grid-template-columns: 44px 1fr; gap: 12px; }
	.sg-testimonial-page-grid { grid-template-columns: 1fr !important; }
	.sg-testimonial-page-card { min-height: 330px; padding: 28px; }
	.sg-testimonial-source { margin-top: 76px; padding: 30px; }
	.sg-latest-heading { align-items: flex-start; flex-direction: column; }
	.sg-home-query .wp-block-post-template { grid-template-columns: 1fr; }
	.sg-contact-section { padding: 90px 20px; }
	.sg-contact-section > .wp-block-columns { flex-direction: column; gap: 55px; }
	.sg-contact-section > .wp-block-columns > .wp-block-column { flex-basis: auto !important; }
	.sg-contact-card { padding: 27px; box-shadow: 8px 8px 0 var(--sg-ink); }
	.sg-site-footer { padding: 70px 20px 25px; }
	.sg-footer-brand { align-items: flex-start; flex-direction: column; }
	.sg-logo-large { width: 105px; height: 105px; }
	.sg-footer-links { flex-wrap: wrap !important; gap: 35px; margin-top: 60px; }
	.sg-footer-links > .wp-block-column { flex-basis: calc(50% - 18px) !important; }
	.sg-footer-links > .wp-block-column:last-child { flex-basis: 100% !important; }
	.sg-content-shell, .sg-page-shell, .sg-article-shell, .sg-error-page { padding: 80px 20px; }
	.sg-post-query .wp-block-post-template { grid-template-columns: 1fr; }
}

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