/*
Theme Name:        S.O.G. Conglomerate
Theme URI:         https://example.com/
Author:            S.O.G. Conglomerate
Description:       Lightweight corporate theme for S.O.G. Conglomerate and its flagship subsidiary SOG Agribusiness. Works with the companion "SOG Core" plugin (projects, FAQs, inquiry forms, settings). No page builder or build step required.
Version:           1.0.1
Requires at least: 6.4
Tested up to:      6.8
Requires PHP:      7.4
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       sog-conglomerate
Tags:              business, custom-menu, custom-logo, featured-images, accessibility-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--c-forest-950: #0e2616;
	--c-forest-900: #133420;
	--c-forest-800: #183f27;
	--c-forest-700: #1f4a2b;
	--c-forest-600: #2f6b3d;
	--c-forest-500: #4e8b4f;
	--c-forest-100: #e3ece0;
	--c-forest-50: #f0f5ee;
	--c-gold-700: #7d5a1c;
	--c-gold-500: #c79a3b;
	--c-gold-300: #e2b85c;
	--c-gold-100: #f4e8c9;
	--c-cream: #f8f5ee;
	--c-sand: #f0e9da;
	--c-paper: #fffdf9;
	--c-ink: #1d2320;
	--c-ink-soft: #4a524d;
	--c-line: #ddd4c2;
	--c-field: #8c8473;
	--c-error: #b42318;
	--c-success: #1d6b38;

	--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-serif: "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", serif;

	--fs-small: 0.875rem;
	--fs-base: 1.0625rem;
	--fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	--fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
	--fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem);
	--fs-h1: clamp(1.875rem, 1.4rem + 2vw, 2.875rem);

	--container: 1200px;
	--narrow: 760px;
	--gutter: clamp(16px, 4vw, 40px);
	--section-y: clamp(56px, 8vw, 112px);
	--radius: 12px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgba(19, 52, 32, 0.06), 0 8px 24px rgba(19, 52, 32, 0.08);
	--shadow-lg: 0 2px 4px rgba(19, 52, 32, 0.06), 0 18px 40px rgba(19, 52, 32, 0.14);
	--header-h: 76px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	margin: 0;
	background: var(--c-cream);
	color: var(--c-ink);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

h1, h2, h3, h4 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--c-forest-900);
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

a { color: var(--c-forest-600); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--c-forest-800); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--c-gold-500); outline-offset: 3px; border-radius: 2px; }
.is-style-dark :focus-visible,
.sog-hero :focus-visible,
.site-footer :focus-visible,
.page-header :focus-visible { outline-color: var(--c-gold-300); }

code { font-size: 0.9em; background: var(--c-sand); padding: 0.1em 0.35em; border-radius: 4px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed !important; top: 12px; left: 12px; z-index: 1000;
	background: var(--c-paper); color: var(--c-forest-900);
	padding: 12px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	font-weight: 600;
}
.site-main:focus { outline: none; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.wp-block-button__link,
.sog-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 48px;
	padding: 0.8em 1.5em;
	border: 2px solid var(--c-forest-700);
	border-radius: var(--radius-sm);
	background: var(--c-forest-700);
	color: var(--c-cream);
	font: 600 1rem/1.2 var(--font-sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.wp-block-button__link:hover,
.sog-btn:hover { background: var(--c-forest-900); border-color: var(--c-forest-900); color: var(--c-cream); text-decoration: none; }
.wp-block-button__link:active,
.sog-btn:active { transform: translateY(1px); }

.is-style-outline .wp-block-button__link,
.sog-btn--outline { background: transparent; color: var(--c-forest-700); }
.is-style-outline .wp-block-button__link:hover,
.sog-btn--outline:hover { background: var(--c-forest-700); color: var(--c-cream); }

.sog-btn--block { width: 100%; }

/* Buttons on dark backgrounds */
.sog-hero .wp-block-button__link,
.is-style-dark .wp-block-button__link { background: var(--c-gold-300); border-color: var(--c-gold-300); color: var(--c-forest-950); }
.sog-hero .wp-block-button__link:hover,
.is-style-dark .wp-block-button__link:hover { background: #ecc878; border-color: #ecc878; color: var(--c-forest-950); }
.sog-hero .is-style-outline .wp-block-button__link,
.is-style-dark .is-style-outline .wp-block-button__link { background: transparent; border-color: rgba(248, 245, 238, 0.7); color: var(--c-cream); }
.sog-hero .is-style-outline .wp-block-button__link:hover,
.is-style-dark .is-style-outline .wp-block-button__link:hover { background: var(--c-cream); border-color: var(--c-cream); color: var(--c-forest-900); }

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 253, 249, 0.96);
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
/* Desktop only: backdrop-filter would make the header the containing block of the fixed mobile menu. */
@supports (backdrop-filter: blur(8px)) {
	@media (min-width: 1080px) {
		.site-header { background: rgba(255, 253, 249, 0.88); backdrop-filter: saturate(1.4) blur(10px); }
	}
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 20px rgba(19, 52, 32, 0.06); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 24px;
}
.site-header__brand { margin-right: auto; }

.site-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-forest-700); }
.site-brand:hover { color: var(--c-forest-800); }
.site-brand__mark { flex: none; width: 40px; height: 40px; }
.site-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.1875rem; color: var(--c-forest-900); letter-spacing: -0.01em; }
.custom-logo-link img { max-height: 56px; width: auto; }
.site-header .site-brand__name { white-space: nowrap; }
@media (max-width: 420px) {
	.site-header .site-brand__mark { width: 34px; height: 34px; }
	.site-header .site-brand__name { font-size: 1rem; }
	.nav-toggle { padding: 0 12px; }
}

.site-nav .menu,
.site-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--c-ink); font-weight: 500; }
.site-nav a:hover { color: var(--c-forest-600); }
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current_page_item > a { color: var(--c-forest-600); }

.submenu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; padding: 0;
	background: none; border: 0; border-radius: 4px;
	color: inherit; cursor: pointer;
}
.submenu-toggle svg { transition: transform 0.2s var(--ease); }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-toggle {
	display: none;
	align-items: center; gap: 10px;
	min-height: 44px; padding: 0 14px;
	background: transparent; color: var(--c-forest-900);
	border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	font: 600 0.9375rem var(--font-sans); cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Desktop navigation */
@media (min-width: 1080px) {
	.site-nav .menu { display: flex; align-items: center; gap: 4px; }
	.site-nav .menu > li { position: relative; display: flex; align-items: center; }
	.site-nav .menu > li > a { padding: 10px 12px; font-size: 0.96875rem; border-radius: var(--radius-sm); }
	.site-nav .menu > li.menu-item-has-children > a { padding-right: 2px; }
	.site-nav .menu > .menu-cta { margin-left: 10px; }
	.site-nav .menu > .menu-cta > a { background: var(--c-forest-700); color: var(--c-cream); padding: 11px 18px; }
	.site-nav .menu > .menu-cta > a:hover { background: var(--c-forest-900); color: var(--c-cream); }

	.site-nav .sub-menu {
		position: absolute; top: 100%; left: 0;
		min-width: 260px; padding: 10px;
		background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius);
		box-shadow: var(--shadow-lg);
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
	}
	.site-nav .menu-item-has-children:hover > .sub-menu,
	.site-nav .menu-item-has-children:focus-within > .sub-menu,
	.site-nav .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
	.site-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.9375rem; }
	.site-nav .sub-menu a:hover { background: var(--c-forest-50); }
}

/* Mobile navigation */
@media (max-width: 1079.98px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0;
		background: var(--c-paper);
		padding: 16px var(--gutter) 40px;
		overflow-y: auto;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
	.nav-open { overflow: hidden; }
	.site-nav .menu > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--c-line); }
	.site-nav .menu > li > a { flex: 1; padding: 16px 0; font-size: 1.125rem; }
	.site-nav .submenu-toggle { width: 44px; height: 44px; }
	.site-nav .sub-menu { display: none; width: 100%; padding: 0 0 12px 12px; }
	.site-nav .is-open > .sub-menu { display: block; }
	.site-nav .sub-menu a { display: block; padding: 10px 0; color: var(--c-ink-soft); }
	.site-nav .menu-cta { border-bottom: 0 !important; margin-top: 20px; }
	.site-nav .menu-cta > a { background: var(--c-forest-700); color: var(--c-cream) !important; text-align: center; border-radius: var(--radius-sm); padding: 14px !important; }
}

/* ==========================================================================
   5. Page header & breadcrumbs
   ========================================================================== */
.page-header {
	background-color: var(--c-forest-800);
	background-image: radial-gradient(rgba(248, 245, 238, 0.07) 1px, transparent 1px);
	background-size: 22px 22px;
	color: var(--c-cream);
	padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(44px, 6vw, 84px);
	position: relative;
	overflow: hidden;
}
.page-header::after {
	content: ""; position: absolute; right: -80px; bottom: -120px;
	width: 380px; height: 380px; border-radius: 50%;
	border: 1px solid rgba(226, 184, 92, 0.28);
	box-shadow: 0 0 0 40px rgba(226, 184, 92, 0.05), 0 0 0 90px rgba(226, 184, 92, 0.035);
	pointer-events: none;
}
.page-header__inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.page-header__title { color: var(--c-cream); max-width: 20ch; margin-bottom: 0.35em; }
.page-header__lead { font-size: var(--fs-lead); max-width: 60ch; margin: 0; color: rgba(248, 245, 238, 0.86); }

.sog-breadcrumbs { margin-bottom: 18px; font-size: var(--fs-small); }
.sog-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sog-breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: rgba(248, 245, 238, 0.75); }
.sog-breadcrumbs li + li::before { content: "/"; opacity: 0.5; }
.sog-breadcrumbs a { color: var(--c-gold-300); text-decoration: none; }
.sog-breadcrumbs a:hover { text-decoration: underline; color: var(--c-gold-300); }

/* ==========================================================================
   6. Content layout & sections
   ========================================================================== */
.entry-content > :not(.sog-section):not(.sog-hero):not(.alignfull) {
	max-width: calc(var(--narrow) + 2 * var(--gutter));
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}
.entry-content > :not(.sog-section):not(.sog-hero):first-child { margin-top: clamp(40px, 6vw, 72px); }
.entry-content > :not(.sog-section):not(.sog-hero):last-child { margin-bottom: clamp(56px, 8vw, 96px); }
.entry-content > h2:not(:first-child) { margin-top: 1.6em; }
.entry-content > ul,
.entry-content > ol { padding-left: calc(var(--gutter) + 1.25em); }

.entry-content--narrow > * { max-width: var(--narrow); }

.sog-section {
	padding: var(--section-y) max(var(--gutter), calc((100% - var(--container)) / 2));
	margin: 0 !important;
	position: relative;
}
.sog-section.is-style-tint { background: var(--c-sand); }
.sog-section.is-style-dark {
	background: var(--c-forest-700);
	color: rgba(248, 245, 238, 0.9);
}
.sog-texture {
	background-image: radial-gradient(rgba(248, 245, 238, 0.06) 1px, transparent 1px);
	background-size: 22px 22px;
}
.is-style-dark h2,
.is-style-dark h3 { color: var(--c-cream); }
.is-style-dark a:not(.wp-block-button__link) { color: var(--c-gold-300); }
.is-style-dark .sog-eyebrow { color: var(--c-gold-300); }

.sog-section > h2 { max-width: 24ch; }
.sog-section > .sog-lead { max-width: 62ch; margin-bottom: 2.25rem; }

.sog-eyebrow {
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-gold-700);
	margin-bottom: 0.9rem !important;
	display: flex; align-items: center; gap: 10px;
}
.sog-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }

.sog-lead { font-size: var(--fs-lead); color: var(--c-ink-soft); line-height: 1.6; }
.is-style-dark .sog-lead,
.sog-hero .sog-lead { color: rgba(248, 245, 238, 0.86); }
.sog-small { font-size: var(--fs-small); color: var(--c-ink-soft); margin-top: 2rem; }
.sog-subhead { font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-forest-600); margin: 2.75rem 0 1.25rem !important; }
.sog-subhead:first-of-type { margin-top: 1rem !important; }

/* Columns */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 64px); margin: 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > :first-child { margin-top: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
@media (max-width: 860px) {
	.wp-block-columns { flex-direction: column; }
	.wp-block-columns > .wp-block-column { flex-basis: 100% !important; width: 100%; }
}

/* Grids */
.sog-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.sog-grid.sog-grid > * { margin: 0; }
.sog-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.sog-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.sog-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.sog-grid--projects { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.sog-section > .sog-grid { margin-top: 2rem; }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.sog-hero {
	position: relative;
	min-height: min(86vh, 760px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(72px, 10vw, 140px) max(var(--gutter), calc((100% - var(--container)) / 2));
	margin: 0 !important;
	color: var(--c-cream);
	background-color: var(--c-forest-900);
	background-image:
		linear-gradient(90deg, rgba(14, 38, 22, 0.94) 0%, rgba(14, 38, 22, 0.78) 45%, rgba(14, 38, 22, 0.15) 100%),
		var(--sog-hero-image);
	background-size: cover;
	background-position: center right;
	isolation: isolate;
}
.sog-hero > * { max-width: 700px; position: relative; }
.sog-hero h1 { color: var(--c-cream); margin-bottom: 0.4em; }
.sog-hero .sog-eyebrow { color: var(--c-gold-300); }
.sog-hero .sog-lead { max-width: 58ch; }
.sog-hero__activities {
	margin-top: 2.5rem !important;
	font-size: var(--fs-small);
	color: rgba(248, 245, 238, 0.82);
	padding-top: 1.25rem;
	border-top: 1px solid rgba(248, 245, 238, 0.18);
	max-width: 520px !important;
}
.sog-hero__activities strong { color: var(--c-gold-300); font-weight: 600; }
@media (max-width: 700px) {
	.sog-hero { min-height: 0; background-image: linear-gradient(180deg, rgba(14, 38, 22, 0.88), rgba(14, 38, 22, 0.94)), var(--sog-hero-image); background-position: 70% center; }
	.sog-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: no-preference) {
	.sog-hero > * { animation: sog-rise 0.7s var(--ease) both; }
	.sog-hero > *:nth-child(2) { animation-delay: 0.06s; }
	.sog-hero > *:nth-child(3) { animation-delay: 0.12s; }
	.sog-hero > *:nth-child(4) { animation-delay: 0.18s; }
	.sog-hero > *:nth-child(5) { animation-delay: 0.24s; }
}
@keyframes sog-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   8. Cards & features
   ========================================================================== */
.sog-card {
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: clamp(22px, 2.5vw, 32px);
	margin: 0;
}
.sog-card > :last-child { margin-bottom: 0; }
.sog-card h3 { margin-bottom: 0.5em; }
.is-style-dark .sog-card { background: rgba(248, 245, 238, 0.05); border-color: rgba(248, 245, 238, 0.16); color: rgba(248, 245, 238, 0.88); }

.sog-subsidiaries { display: grid; gap: 16px; }
.sog-subsidiaries.sog-subsidiaries > * { margin: 0; }
.sog-subsidiary { position: relative; }
.sog-subsidiary.is-featured { background: var(--c-forest-700); border-color: var(--c-forest-700); color: rgba(248, 245, 238, 0.88); }
.sog-subsidiary.is-featured h3 { color: var(--c-cream); }
.sog-subsidiary.is-featured a { color: var(--c-gold-300); }
.sog-subsidiary .sog-badge { position: absolute; top: 20px; right: 20px; }

.sog-badge {
	display: inline-flex; align-items: center;
	font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	padding: 4px 10px; border-radius: 99px; line-height: 1.4;
	background: var(--c-gold-100); color: var(--c-gold-700);
	margin: 0;
}
.sog-subsidiary.is-featured .sog-badge { background: var(--c-gold-300); color: var(--c-forest-950); }
.sog-badge--ongoing { background: var(--c-forest-100); color: var(--c-forest-700); }
.sog-badge--planned { background: var(--c-gold-100); color: var(--c-gold-700); }
.sog-badge--completed { background: #e8e6e1; color: #3b3f3c; }
.sog-badge--on_hold { background: #f1e3df; color: #8a3b2a; }

.sog-link-arrow a,
a.sog-link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.sog-link-arrow a::after,
a.sog-link-arrow::after { content: "→"; transition: transform 0.2s var(--ease); }
.sog-link-arrow a:hover::after,
a.sog-link-arrow:hover::after { transform: translateX(3px); }

.sog-service { display: flex; flex-direction: column; }
.sog-service .sog-link-arrow { margin-top: auto; padding-top: 0.5rem; }
.sog-service__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-gold-700); margin-bottom: 0.5rem; }
.is-style-dark .sog-service__label { color: var(--c-gold-300); }
.is-style-dark .sog-service { padding: clamp(26px, 3vw, 40px); }
.sog-chooser { border-top: 4px solid var(--c-gold-500); }

.sog-role.is-featured { border-color: var(--c-forest-600); box-shadow: inset 0 4px 0 var(--c-forest-600); }

.sog-feature { padding: 4px 0 0; }
.sog-feature::before {
	content: "";
	display: block;
	width: 52px; height: 52px;
	margin-bottom: 18px;
	border-radius: 14px;
	background-color: var(--c-forest-100);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 26px;
}
.is-style-tint .sog-feature::before { background-color: var(--c-paper); }
.sog-feature p { color: var(--c-ink-soft); margin-bottom: 0; }
.sog-icon--document::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4a2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6M9 9h2'/%3E%3C/svg%3E"); }
.sog-icon--eye::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4a2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.sog-icon--chat::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4a2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M8.5 12h.01M12 12h.01M15.5 12h.01'/%3E%3C/svg%3E"); }
.sog-icon--contract::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4a2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E"); }
.sog-icon--leaf::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4a2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.5 19 2c1 2 2 4.2 2 8 0 5.5-4.8 10-10 10z'/%3E%3Cpath d='M2 21c0-3 1.9-5.4 5.1-6C9.5 14.5 12 13 13 12'/%3E%3C/svg%3E"); }
.sog-icon--pin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4a2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.sog-icon--shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4a2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }

.sog-statement { padding: clamp(28px, 3.5vw, 48px); }
.sog-statement__text { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); line-height: 1.4; color: var(--c-forest-900); }

.sog-facts-card { background: var(--c-forest-50); border-color: var(--c-forest-100); }
.sog-report { background: var(--c-paper); box-shadow: var(--shadow); }

.sog-phase__num { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--c-gold-700); margin-bottom: 0.25rem; }
.is-style-dark .sog-phase__num { color: var(--c-gold-300); }
.sog-phase p:last-child { margin-bottom: 0; }

.sog-risk { border-left: 4px solid var(--c-gold-500); }
.sog-risk p { color: var(--c-ink-soft); }

.sog-block > :last-child { margin-bottom: 0; }
.sog-block h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); }

/* Org chart */
.sog-orgchart { margin-top: 2.5rem; text-align: center; }
.sog-orgchart__parent {
	display: inline-block;
	background: var(--c-forest-700); color: rgba(248, 245, 238, 0.85);
	padding: 18px 32px; border-radius: var(--radius);
	font-size: var(--fs-small); margin-bottom: 0 !important; position: relative;
}
.sog-orgchart__parent strong { display: block; font-family: var(--font-serif); font-size: 1.375rem; color: var(--c-cream); }
.sog-orgchart__children { text-align: left; margin-top: 48px !important; position: relative; }
@media (min-width: 900px) {
	.sog-orgchart__parent::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 24px; background: var(--c-line); }
	.sog-orgchart__children::before { content: ""; position: absolute; top: -24px; left: 16.66%; right: 16.66%; height: 2px; background: var(--c-line); }
	.sog-orgchart__children > *::before { content: ""; position: absolute; top: -25px; left: 50%; width: 2px; height: 25px; background: var(--c-line); }
}

/* Visuals */
.sog-visual {
	position: relative;
	aspect-ratio: 5 / 4;
	border-radius: 16px;
	overflow: hidden;
	background-color: var(--c-forest-100);
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow-lg);
	margin: 0;
}
.sog-visual--farm { background-image: var(--sog-farm-image); }

.sog-image-caption,
.sog-visual__caption {
	position: absolute; left: 12px; bottom: 12px;
	margin: 0 !important;
	padding: 3px 9px;
	background: rgba(14, 38, 22, 0.78);
	color: var(--c-cream);
	font-size: 0.75rem; font-weight: 500;
	border-radius: 99px;
	line-height: 1.5;
}

/* ==========================================================================
   9. Lists, steps, notes
   ========================================================================== */
.sog-list-check { list-style: none; padding: 0 !important; margin: 0 0 1.25em; }
.sog-list-check li { position: relative; padding-left: 30px; margin-bottom: 0.6em; }
.sog-list-check li::before {
	content: ""; position: absolute; left: 0; top: 0.3em;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--c-forest-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4a2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.is-style-dark .sog-list-check li::before { background-color: rgba(226, 184, 92, 0.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b85c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.sog-list-plain { list-style: none; padding: 0 !important; margin: 0; }
.sog-list-plain li { padding: 10px 0; border-bottom: 1px solid var(--c-forest-100); }
.sog-list-plain li:last-child { border-bottom: 0; }

.sog-steps {
	list-style: none;
	counter-reset: sog-step;
	padding: 0 !important;
	margin: 2rem 0;
	display: grid;
	gap: 14px;
}
@media (min-width: 900px) { .sog-steps:not(.sog-steps--compact) { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; } }
.sog-steps > li {
	counter-increment: sog-step;
	position: relative;
	padding: 20px 22px 20px 78px;
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	color: var(--c-ink-soft);
	margin: 0;
}
.sog-steps > li strong { display: block; color: var(--c-forest-900); font-size: 1.0625rem; margin-bottom: 2px; }
.sog-steps > li::before {
	content: counter(sog-step, decimal-leading-zero);
	position: absolute; left: 20px; top: 18px;
	width: 42px; height: 42px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--c-forest-700); color: var(--c-gold-300);
	font: 600 0.9375rem/1 var(--font-serif);
}
.sog-steps--compact > li { padding: 12px 16px 12px 62px; color: var(--c-ink); }
.sog-steps--compact > li::before { width: 32px; height: 32px; left: 16px; top: 10px; font-size: 0.8125rem; }

.sog-note {
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-left: 4px solid var(--c-gold-500);
	border-radius: var(--radius-sm);
	padding: 16px 20px;
	font-size: 0.96875rem;
	color: var(--c-ink-soft);
	max-width: 80ch;
}
.sog-note strong { color: var(--c-ink); }

.sog-review-note {
	background: #fff6cc;
	border: 2px dashed #c49a00;
	color: #4a3a00;
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	margin: 1.25rem 0;
	font-size: 0.9375rem;
	line-height: 1.5;
}
.sog-review-note a { color: #4a3a00; }

.sog-draft-banner {
	background: var(--c-gold-100);
	border: 1px solid #e3cf98;
	border-radius: var(--radius-sm);
	padding: 14px 18px !important;
	font-size: 0.9375rem;
	color: #4b3a12;
}

/* ==========================================================================
   10. Projects
   ========================================================================== */
.sog-project-card {
	display: flex; flex-direction: column;
	padding: 0; overflow: hidden;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.sog-project-card[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.sog-project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
}
.sog-project-card__media { position: relative; display: block; aspect-ratio: 10 / 7; background: var(--c-forest-100); overflow: hidden; }
.sog-project-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sog-project-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.sog-project-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.sog-project-card__activity { font-size: var(--fs-small); color: var(--c-ink-soft); }
.sog-project-card__title { font-size: 1.25rem; margin-bottom: 0.4em; }
.sog-project-card__title a { color: inherit; text-decoration: none; }
.sog-project-card__title a:hover { color: var(--c-forest-600); }
.sog-project-card__excerpt { color: var(--c-ink-soft); font-size: 0.96875rem; }
.sog-project-card__location { font-size: var(--fs-small); color: var(--c-ink-soft); }
.sog-project-card .sog-link-arrow { margin-top: auto; font-size: 0.9375rem; }
.sog-project-card.is-planned { border-style: dashed; border-color: #cdb98a; background: #fffcf3; }
.sog-project-card.is-planned .sog-project-card__media img { filter: saturate(0.75); }
.sog-project-card.is-on_hold .sog-project-card__media img { filter: grayscale(0.6); }

.sog-filters { display: flex; flex-direction: column; gap: 12px; margin: 0 0 28px; }
.sog-filters__group { display: flex; flex-wrap: wrap; gap: 8px; }
.sog-chip {
	display: inline-flex; align-items: center;
	min-height: 40px; padding: 6px 16px;
	border: 1px solid var(--c-line); border-radius: 99px;
	background: var(--c-paper); color: var(--c-ink);
	font-size: 0.9375rem; font-weight: 500;
	text-decoration: none;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.sog-chip:hover { border-color: var(--c-forest-600); color: var(--c-forest-700); text-decoration: none; }
.sog-chip.is-active { background: var(--c-forest-700); border-color: var(--c-forest-700); color: var(--c-cream); }
.sog-filters__group--activity .sog-chip { min-height: 36px; font-size: 0.875rem; }
.sog-empty { color: var(--c-ink-soft); font-style: italic; }

/* Single project */
.project-single__layout {
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: clamp(32px, 5vw, 64px) var(--gutter) var(--section-y);
	display: grid;
	gap: clamp(28px, 4vw, 56px);
}
@media (min-width: 960px) {
	.project-single__layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
	.project-single__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.project-single__media { position: relative; margin: 0 0 2.5rem; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--c-forest-100); }
.project-single__media img { width: 100%; height: 100%; object-fit: cover; }
.project-single .entry-content > * { max-width: none; padding: 0; margin-left: 0; margin-right: 0; }
.project-single .entry-content > :first-child { margin-top: 0; }
.project-single .entry-content > :last-child { margin-bottom: 0; }

.sog-detail { padding: 28px 0; border-top: 1px solid var(--c-line); }
.sog-detail:first-of-type { border-top: 0; padding-top: 0; }
.sog-detail__title { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); }
.sog-detail__note { font-size: var(--fs-small); color: var(--c-ink-soft); margin-top: 1rem; }

.sog-milestones { list-style: none; padding: 0; margin: 0; }
.sog-milestones li { position: relative; padding: 0 0 18px 34px; }
.sog-milestones li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--c-forest-500); background: var(--c-paper); }
.sog-milestones li::after { content: ""; position: absolute; left: 8px; top: 24px; bottom: 0; width: 2px; background: var(--c-line); }
.sog-milestones li:last-child::after { display: none; }
.sog-milestones li.is-done::before { background: var(--c-forest-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--c-forest-600); }

.sog-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.sog-gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.sog-gallery img { width: 100%; height: 100%; object-fit: cover; }

.project-facts { box-shadow: var(--shadow); }
.project-facts__title { font-size: 1.25rem; }
.project-facts dl { margin: 0 0 20px; }
.project-facts__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: 0.96875rem; }
.project-facts dt { color: var(--c-ink-soft); }
.project-facts dd { margin: 0; font-weight: 600; text-align: right; }
.project-facts__note { font-size: var(--fs-small); color: var(--c-ink-soft); margin: 14px 0 0; }
.project-related h2 { margin-bottom: 1.5rem; }
.project-related .sog-link-arrow { margin-top: 1.5rem; }

/* ==========================================================================
   11. FAQ
   ========================================================================== */
.sog-faq { border-top: 1px solid var(--c-line); }
.sog-faq__item { border-bottom: 1px solid var(--c-line); }
.sog-faq__q {
	list-style: none;
	cursor: pointer;
	display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
	padding: 20px 0;
	font-weight: 600; font-size: 1.0625rem; color: var(--c-forest-900);
}
.sog-faq__q::-webkit-details-marker { display: none; }
.sog-faq__q::after {
	content: ""; flex: none; width: 28px; height: 28px; margin-top: -2px; border-radius: 50%;
	background: var(--c-forest-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4a2b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform 0.2s var(--ease);
}
.sog-faq__item[open] > .sog-faq__q::after { transform: rotate(45deg); }
.sog-faq__q:hover { color: var(--c-forest-600); }
.sog-faq__a { padding: 0 48px 18px 0; color: var(--c-ink-soft); }
.sog-faq__a > :last-child { margin-bottom: 0; }

.sog-faq-grouped { display: grid; gap: 32px; }
@media (min-width: 960px) {
	.sog-faq-grouped { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
	.sog-faq-nav { position: sticky; top: calc(var(--header-h) + 24px); }
}
.sog-faq-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 960px) { .sog-faq-nav ul { flex-direction: column; gap: 2px; } }
.sog-faq-nav a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--c-ink); font-size: 0.9375rem; background: var(--c-paper); border: 1px solid var(--c-line); }
@media (min-width: 960px) { .sog-faq-nav a { background: none; border: 0; border-left: 2px solid var(--c-line); border-radius: 0; } .sog-faq-nav a:hover { border-left-color: var(--c-forest-600); color: var(--c-forest-700); } }
.sog-faq-group + .sog-faq-group { margin-top: 48px; }
.sog-faq-group__title { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); }

/* ==========================================================================
   12. Forms
   ========================================================================== */
.sog-form-card { box-shadow: var(--shadow); }
.sog-form-wrap { scroll-margin-top: calc(var(--header-h) + 16px); }
.sog-form__grid { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .sog-form__grid { grid-template-columns: 1fr 1fr; } }
.sog-form__required-note { font-size: var(--fs-small); color: var(--c-ink-soft); }
.sog-form__context { background: var(--c-forest-50); border-radius: var(--radius-sm); padding: 10px 14px; }

.sog-field { margin-bottom: 18px; }
.sog-field label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 6px; color: var(--c-ink); }
.sog-req { color: var(--c-error); }
.sog-opt { font-weight: 400; color: var(--c-ink-soft); font-size: 0.875rem; }
.sog-field input:not([type="checkbox"]),
.sog-field select,
.sog-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--c-field);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--c-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.sog-field select {
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d2320' stroke-width='1.8'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
	padding-right: 40px;
}
.sog-field textarea { min-height: 150px; resize: vertical; }
.sog-field input:focus,
.sog-field select:focus,
.sog-field textarea:focus { outline: none; border-color: var(--c-forest-600); box-shadow: 0 0 0 3px rgba(47, 107, 61, 0.25); }
.sog-field.has-error input,
.sog-field.has-error select,
.sog-field.has-error textarea { border-color: var(--c-error); }
.sog-field__help { font-size: var(--fs-small); color: var(--c-ink-soft); margin: 6px 0 0; }
.sog-field__error { font-size: var(--fs-small); color: var(--c-error); font-weight: 600; margin: 6px 0 0; }
.sog-field__error::before { content: "⚠ "; }

.sog-field--checkbox { display: flex; gap: 12px; align-items: flex-start; }
.sog-field--checkbox input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-forest-700); }
.sog-field--checkbox label { font-weight: 400; margin: 0; }
.sog-field--checkbox .sog-field__error { flex-basis: 100%; }
.sog-field--checkbox { flex-wrap: wrap; }

.sog-form__disclaimer { font-size: var(--fs-small); color: var(--c-ink-soft); }
.sog-form button[type="submit"] { min-width: 200px; }
@media (max-width: 520px) { .sog-form button[type="submit"] { width: 100%; } }

.sog-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.sog-alert { border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 24px; }
.sog-alert:focus { outline: 3px solid var(--c-gold-500); }
.sog-alert p { margin: 0 0 0.4em; }
.sog-alert ul { margin: 0.4em 0 0; padding-left: 1.25em; }
.sog-alert--success { background: #e8f4ec; border: 1px solid #a9d3b6; color: #123d22; }
.sog-alert--error { background: #fdecea; border: 1px solid #f1b4ad; color: #6e1610; }
.sog-alert--error a { color: #6e1610; }

/* Contact */
.sog-contact-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.sog-contact-list__item { padding: 12px 0; border-bottom: 1px solid var(--c-line); display: flex; flex-direction: column; }
.sog-contact-list__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-gold-700); }
.sog-contact-list__value { font-weight: 500; }
.sog-map { margin-top: 1.5rem; padding: 20px; border: 1px dashed var(--c-field); border-radius: var(--radius); background: var(--c-paper); font-size: var(--fs-small); }
.sog-map.is-loaded { padding: 0; border: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.sog-map iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   13. CTA band
   ========================================================================== */
.sog-cta { background: var(--c-gold-100); text-align: center; }
.sog-cta > * { margin-left: auto !important; margin-right: auto !important; }
.sog-cta h2 { max-width: 22ch; }
.sog-cta .sog-lead { max-width: 56ch; margin-bottom: 0; }
.sog-cta .wp-block-buttons { justify-content: center; }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer { background: var(--c-forest-950); color: rgba(248, 245, 238, 0.78); font-size: 0.9375rem; }
.site-footer a { color: rgba(248, 245, 238, 0.86); text-decoration: none; }
.site-footer a:hover { color: var(--c-gold-300); text-decoration: underline; }
.site-footer__inner {
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: clamp(48px, 7vw, 88px) var(--gutter) 40px;
	display: grid;
	gap: 40px;
	grid-template-columns: 1fr;
}
@media (min-width: 700px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer .site-brand,
.site-footer .site-brand__name { color: var(--c-cream); }
.site-footer .site-brand__mark { color: var(--c-forest-600); }
.site-footer__about { margin: 18px 0 0; max-width: 40ch; }
.site-footer__heading { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-gold-300); margin-bottom: 16px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.site-footer .sog-contact-list { margin-bottom: 1rem; }
.site-footer .sog-contact-list__item { border-color: rgba(248, 245, 238, 0.12); padding: 8px 0; }
.site-footer .sog-contact-list__label { color: rgba(248, 245, 238, 0.6); }
.site-footer__cta { font-weight: 600; color: var(--c-gold-300) !important; }
.site-footer .sog-review-note { font-size: 0.8125rem; }
.social-links { list-style: none; display: flex; gap: 8px; padding: 0; margin: 20px 0 0; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(248, 245, 238, 0.08); }
.social-links a:hover { background: var(--c-gold-300); color: var(--c-forest-950); }

.site-footer__legal { border-top: 1px solid rgba(248, 245, 238, 0.1); }
.site-footer__legal-inner { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 36px; }
.site-footer__disclaimer { font-size: 0.8125rem; line-height: 1.6; color: rgba(248, 245, 238, 0.62); max-width: 110ch; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 0.8125rem; margin-top: 16px; }
.site-footer__copy { margin: 0; }
.legal-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }

/* ==========================================================================
   15. Blog / misc
   ========================================================================== */
.post-card { padding: 0; overflow: hidden; }
.post-card__media img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card__date { font-size: var(--fs-small); color: var(--c-ink-soft); margin-bottom: 6px; }
.post-card__title { font-size: 1.25rem; }
.post-card__title a { color: inherit; text-decoration: none; }
.entry-media { max-width: var(--container); margin: 40px auto 0; padding: 0 var(--gutter); }
.entry-media img { border-radius: 16px; }
.pagination, .nav-links { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); text-decoration: none; background: var(--c-paper); }
.page-numbers.current { background: var(--c-forest-700); color: var(--c-cream); border-color: var(--c-forest-700); }
.search-form { display: flex; gap: 8px; margin-top: 24px; max-width: 480px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--c-field); border-radius: var(--radius-sm); font: inherit; }
.search-submit { min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--radius-sm); background: var(--c-forest-700); color: var(--c-cream); font: 600 1rem var(--font-sans); cursor: pointer; }
.wp-block-image img { border-radius: var(--radius); }
.alignwide { max-width: var(--container); margin-left: auto; margin-right: auto; }

/* ==========================================================================
   16. Reduced motion & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .sog-form-wrap, .nav-toggle, .sog-review-note { display: none !important; }
	body { background: #fff; }
	.sog-section, .page-header { padding: 16px 0 !important; background: none !important; color: #000 !important; }
}
