/* DataMartIn 2026 — bespoke layout CSS.
 * Theme.json owns: palette, font loading, base typography for headings/body.
 * This file owns: section layouts, hover animations, custom positioning that
 * block markup alone cannot express.
 */

/* Compatibility shim — legacy variable names mapped to theme.json presets so
   the mockup CSS can be ported almost verbatim. */
:root {
	--bg:          var(--wp--preset--color--bg);
	--bg-deep:     var(--wp--preset--color--bg-deep);
	--ink:         var(--wp--preset--color--ink);
	--ink-soft:    var(--wp--preset--color--ink-soft);
	--plum:        var(--wp--preset--color--plum);
	--plum-deep:   var(--wp--preset--color--plum-deep);
	--coral:       var(--wp--preset--color--coral);
	--coral-deep:  var(--wp--preset--color--coral-deep);
	--orange:      var(--wp--preset--color--orange);
	--steel:       var(--wp--preset--color--steel);
	--line:        rgba(26, 21, 48, 0.12);
	--line-strong: rgba(26, 21, 48, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ===== HEADER ===== */
.site-header {
	border-bottom: 1px solid var(--line);
	padding: 12px 32px;
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.92);
}
.site-header__logo,
.site-header__logo a { display: inline-block; }
.site-header__logo img {
	height: 140px;
	width: auto;
	display: block;
	max-width: 100%;
}
@media (max-width: 768px) {
	.site-header__logo img { height: 80px; }
}
.site-header__inner { width: 100%; }
.site-header__nav { margin-left: auto; }
.site-header__nav a {
	color: var(--ink-soft);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s;
}
.site-header__nav a:hover,
.site-header__nav .current-menu-item > a { color: var(--coral); }

/* ===== HERO ===== */
.hero {
	padding: 56px 32px 0;
	position: relative;
	overflow: hidden;
}
.hero-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 80px 80px;
	opacity: 0.4;
	pointer-events: none;
	mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}
.hero::after {
	content: '';
	position: absolute;
	bottom: -100px;
	right: -200px;
	width: 700px;
	height: 700px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(221, 81, 126, 0.12), transparent 70%);
	pointer-events: none;
}
.hero-meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--plum);
	margin-bottom: 28px;
	display: flex;
	align-items: center;
	gap: 16px;
	position: relative;
}
.hero-meta::before {
	content: '';
	width: 40px;
	height: 1px;
	background: var(--plum);
}
.hero-headline {
	font-size: clamp(48px, 8.5vw, 120px);
	line-height: 0.94;
	letter-spacing: -0.04em;
	margin-bottom: 32px;
	position: relative;
}
.hero-headline em { color: var(--coral); }
.hero-bottom {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 64px;
	align-items: end;
	padding-bottom: 56px;
	position: relative;
}
.hero-sub {
	font-size: 22px;
	line-height: 1.45;
	color: var(--ink-soft);
	font-weight: 300;
	max-width: 520px;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn .wp-block-button__link,
a.btn-primary,
a.btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 28px;
	border: 0;
	border-radius: 0;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.25s ease;
}
.btn-primary .wp-block-button__link { background: var(--ink); color: var(--bg); }
.btn-primary .wp-block-button__link:hover { background: var(--coral); transform: translateY(-2px); }
.btn-secondary .wp-block-button__link {
	background: transparent !important;
	color: var(--ink) !important;
	border: 1px solid var(--line-strong);
}
.btn-secondary .wp-block-button__link:hover { background: var(--ink) !important; color: var(--bg) !important; }

/* ===== BADGE STRIP ===== */
.badge-strip {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 36px 32px;
}
.badge-strip-inner { gap: 32px; flex-wrap: wrap; }
.badge-strip-label {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 500;
	padding-right: 24px;
	border-right: 1px solid var(--line-strong);
}
.badges-row { gap: 40px; flex: 1; }
.badge-placeholder {
	width: 130px;
	height: 130px;
	background: var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	transition: transform 0.25s ease;
}
.badge-placeholder:hover { transform: translateY(-4px); }
.badge-placeholder img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ===== SECTION HEADER (shared) ===== */
section.major,
.blog-section,
.difference {
	padding: 88px 32px;
	border-bottom: 1px solid var(--line);
}
.section-header {
	display: flex;
	align-items: baseline;
	gap: 24px;
	margin-bottom: 44px;
	flex-wrap: wrap;
}
.section-num {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 14px;
	font-weight: 500;
	color: var(--coral);
	letter-spacing: 0.05em;
	flex-shrink: 0;
}
.section-title {
	font-size: clamp(36px, 5.5vw, 72px);
	max-width: 900px;
}
.section-title em { color: var(--plum); }

/* ===== HELP / SERVICES GRID ===== */
.help-intro {
	font-size: 19px;
	color: var(--ink-soft);
	max-width: 600px;
	margin-bottom: 64px;
	font-weight: 300;
}
.help-grid {
	gap: 1px !important;
	background: var(--line);
	border: 1px solid var(--line);
}
.help-card {
	background: var(--bg);
	padding: 36px 32px;
	transition: background 0.3s ease;
	min-height: 320px;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.help-card > * {
	position: relative;
	z-index: 2;
}
.help-card__link {
	display: flex;
	flex-direction: column;
	min-height: inherit;
	text-decoration: none;
	color: inherit;
	position: relative;
	z-index: 1;
}
.help-card::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0;
	background: var(--ink);
	transition: height 0.4s ease;
	z-index: 0;
}
.help-card:hover::before,
.help-card__link:hover .help-card::before { height: 100%; }
.help-card:hover h3,
.help-card__link:hover h3 { color: var(--bg) !important; }
.help-card:hover p,
.help-card__link:hover p { color: rgba(255, 255, 255, 0.78) !important; }
.help-card:hover .help-num,
.help-card__link:hover .help-num { color: var(--coral) !important; }
.help-card:hover .help-arrow,
.help-card__link:hover .help-arrow { color: var(--coral) !important; transform: translateX(8px); }
.help-num {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 13px;
	color: var(--coral);
	margin-bottom: 32px;
}
.help-card h3 { font-size: 36px; margin-bottom: 20px; }
.help-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; flex: 1; }
.help-arrow {
	margin-top: 32px;
	font-size: 28px;
	color: var(--ink);
	transition: color 0.3s, transform 0.3s;
}

/* ===== DIFFERENCE (DARK) ===== */
.difference {
	background: var(--ink);
	color: var(--bg);
	position: relative;
	overflow: hidden;
}
.difference::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(221, 81, 126, 0.18), transparent 60%);
	pointer-events: none;
}
.difference .section-title { color: var(--bg); }
.difference .section-title em { color: var(--coral); }
.diff-grid { gap: 48px 80px; }
.diff-item {
	border-top: 2px solid var(--coral);
	padding-top: 28px;
}
.diff-item:nth-child(2n) { border-top-color: var(--bg); }
.diff-num {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 13px;
	color: var(--coral);
	margin-bottom: 12px;
	letter-spacing: 0.05em;
}
.diff-item h3 { font-size: 28px; margin-bottom: 16px; }
.diff-item p { color: rgba(255, 255, 255, 0.7); font-size: 16px; line-height: 1.55; }

/* ===== BLOG TEASER ===== */
.blog-section { background: var(--bg-deep); }
.blog-grid { width: 100%; }
.blog-grid .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	margin: 0;
	padding: 0;
	list-style: none;
}
.blog-grid .wp-block-post-template > li {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
}
.blog-grid .wp-block-post-template > li > .blog-card {
	width: 100%;
}
.blog-card {
	background: var(--bg);
	border: 1px solid var(--line);
	padding: 28px 28px 32px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}
.blog-card .wp-block-post-date {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--steel);
	margin: 0;
}
.blog-card .wp-block-post-title {
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	font-size: 22px;
	line-height: 1.2;
	margin: 0;
	color: var(--ink);
	letter-spacing: -0.01em;
	word-break: normal;
	overflow-wrap: break-word;
}
.blog-card .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}
.blog-card .wp-block-post-title a:hover { color: var(--coral); }
.blog-card .wp-block-post-excerpt {
	color: var(--ink-soft);
	font-size: 14.5px;
	line-height: 1.55;
	margin: 0;
	flex: 1;
}
.blog-card .wp-block-post-excerpt p { margin: 0; }
.blog-card .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: 12px;
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	font-size: 13px;
	color: var(--coral);
	text-decoration: none;
}
.view-all-row { margin-top: 48px; }

@media (max-width: 900px) {
	.blog-grid .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}
}

/* ===== FINAL CTA ===== */
.final-cta {
	padding: 140px 32px;
	text-align: center;
	background: var(--plum-deep);
	color: var(--bg);
	position: relative;
	overflow: hidden;
}
.final-cta::before {
	content: '';
	position: absolute;
	top: -200px;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	height: 800px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(221, 81, 126, 0.15), transparent 60%);
	pointer-events: none;
}
.final-cta .section-num { color: var(--coral); margin-bottom: 24px; display: inline-block; }
.final-cta-headline {
	font-size: clamp(40px, 6.5vw, 88px);
	line-height: 1;
	letter-spacing: -0.035em;
	margin-bottom: 32px;
	color: var(--bg);
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
.final-cta-headline em { color: var(--coral); }
.final-cta p {
	font-size: 19px;
	color: rgba(255, 255, 255, 0.7);
	max-width: 540px;
	margin: 0 auto 48px;
	font-weight: 300;
}
.final-cta .btn-primary .wp-block-button__link { background: var(--coral); color: var(--bg); }
.final-cta .btn-primary .wp-block-button__link:hover { background: var(--bg); color: var(--ink); }
.final-cta .btn-secondary .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.3) !important;
	color: var(--bg) !important;
}
.final-cta .btn-secondary .wp-block-button__link:hover {
	background: var(--bg) !important;
	color: var(--ink) !important;
	border-color: var(--bg) !important;
}

/* ===== FOOTER ===== */
.site-footer { padding: 64px 32px 48px; }
.site-footer__cols { padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.site-footer__heading {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin-bottom: 20px;
}
.site-footer__bottom { padding-top: 32px; font-size: 13px; }

/* ===== ARCHIVE ===== */
.archive-hero { padding: 100px 32px 60px; border-bottom: 1px solid var(--line); }
.archive-hero .hero-meta { margin-bottom: 32px; }
.archive-grid { padding: 100px 32px; }
.article-card {
	background: var(--bg);
	padding: 48px;
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	min-height: 280px;
	transition: background 0.3s ease;
}
.article-card:hover { background: var(--bg-deep); }
.article-card .wp-block-post-title a { text-decoration: none; color: var(--ink); }
.article-card .wp-block-post-title a:hover { color: var(--coral); }
.article-meta {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-bottom: 24px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}
.hero-meta, .hero-headline, .hero-sub, .hero-cta-row {
	animation: fadeUp 1s ease backwards;
}
.hero-headline { animation-delay: 0.1s; }
.hero-sub      { animation-delay: 0.3s; }
.hero-cta-row  { animation-delay: 0.4s; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
	.hero { padding: 50px 20px 0; }
	.hero-headline { font-size: 52px; }
	.hero-bottom { grid-template-columns: 1fr; gap: 32px; padding-bottom: 50px; }
	.hero-sub { font-size: 18px; }
	section.major, .blog-section, .difference { padding: 70px 20px; }
	.help-grid { grid-template-columns: 1fr !important; }
	.help-card { min-height: auto; padding: 36px 28px; }
	.help-card h3 { font-size: 30px; }
	.diff-grid { grid-template-columns: 1fr !important; gap: 32px; }
	.final-cta { padding: 80px 20px; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { padding: 100px 32px 80px; }

.origin { padding: 120px 32px; border-bottom: 1px solid var(--line); }
.origin-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 96px;
	align-items: start;
	max-width: 1240px;
	margin: 0 auto;
}
.origin-meta { position: sticky; top: 120px; }
.origin-meta .section-num { display: block; margin-bottom: 24px; }
.origin-meta h2 {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: clamp(40px, 5.5vw, 64px);
	font-weight: 400; line-height: 1; letter-spacing: -0.03em;
}
.origin-meta h2 em { font-style: italic; color: var(--plum); }
.origin-body p {
	font-size: 19px; line-height: 1.6;
	margin-bottom: 24px; font-weight: 300;
}
.origin-body p:first-child {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 28px; font-weight: 400;
	line-height: 1.35; letter-spacing: -0.01em;
	margin-bottom: 32px;
}

.milestones {
	background: var(--bg-deep);
	padding: 120px 32px;
	border-bottom: 1px solid var(--line);
}
.milestones .container { padding: 0; max-width: 1240px; margin: 0 auto; }
.milestone-list { border-top: 2px solid var(--ink); margin-top: 24px; }
.milestone {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 48px;
	padding: 36px 0;
	border-bottom: 1px solid var(--line);
	align-items: baseline;
}
.milestone-year {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 36px; font-weight: 400;
	color: var(--coral); letter-spacing: -0.02em;
}
.milestone-content h3 {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 22px; font-weight: 500;
	line-height: 1.25; margin-bottom: 8px;
}
.milestone-content p { color: var(--ink-soft); font-size: 15px; max-width: 720px; }

.team-section {
	background: var(--ink); color: var(--bg);
	padding: 120px 32px;
	border-bottom: 1px solid var(--line);
	position: relative; overflow: hidden;
}
.team-section::before {
	content: ''; position: absolute; top: 0; right: 0;
	width: 500px; height: 500px;
	background: radial-gradient(circle, rgba(221, 81, 126, 0.15), transparent 60%);
	pointer-events: none;
}
.team-section .container { padding: 0; max-width: 1240px; margin: 0 auto; position: relative; }
.team-section .section-title { color: var(--bg); }
.team-section .section-title em { color: var(--coral); }
.team-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1px; background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.15);
}
.team-member {
	background: var(--ink); padding: 40px 32px;
	display: flex; flex-direction: column; gap: 16px;
	transition: background 0.3s;
}
.team-member:hover { background: var(--plum-deep); }
.team-photo {
	width: 80px; height: 80px; border-radius: 50%;
	background: var(--bg-deep); display: flex;
	align-items: center; justify-content: center;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 28px; color: var(--plum);
	font-style: italic; font-weight: 500;
	border: 2px solid rgba(221, 81, 126, 0.4);
}
.team-member h3 { font-size: 22px; font-weight: 500; color: var(--bg); }
.team-member-role { font-size: 13px; color: rgba(255, 255, 255, 0.7); line-height: 1.5; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-hero { padding: 100px 32px 80px; }

.service-index {
	background: var(--bg-deep);
	border-bottom: 1px solid var(--line);
	padding: 24px 32px;
}
.index-inner {
	display: flex; gap: 32px; flex-wrap: wrap; align-items: center;
	font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em;
	max-width: 1240px; margin: 0 auto;
}
.index-label { color: var(--ink-soft); font-weight: 500; }
.index-link { color: var(--ink); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.index-link:hover { color: var(--coral); }

.service { padding: 120px 32px; border-bottom: 1px solid var(--line); }
.service .container { max-width: 1240px; margin: 0 auto; }
.service-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.service-row.reverse { grid-template-columns: 1.2fr 1fr; direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-meta { position: sticky; top: 120px; }
.service-num {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 14px; color: var(--coral);
	letter-spacing: 0.05em; margin-bottom: 24px;
	display: block;
}
.service-tag {
	display: inline-block; padding: 6px 14px;
	background: var(--bg-deep); border: 1px solid var(--line);
	border-radius: 100px; font-size: 12px; font-weight: 500;
	color: var(--plum); margin-bottom: 24px;
	text-transform: uppercase; letter-spacing: 0.08em;
}
.service h2 {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: clamp(40px, 6vw, 80px); font-weight: 400;
	line-height: 0.98; letter-spacing: -0.035em;
	margin-bottom: 32px;
}
.service h2 em { font-style: italic; color: var(--plum); }
.service-blurb {
	font-size: 19px; color: var(--ink-soft);
	line-height: 1.5; font-weight: 300;
	margin-bottom: 32px; max-width: 480px;
}
.service-link {
	display: inline-flex; align-items: center; gap: 12px;
	color: var(--ink); text-decoration: none;
	font-weight: 500; font-size: 14px;
	text-transform: uppercase; letter-spacing: 0.1em;
	padding-bottom: 8px; border-bottom: 2px solid var(--ink);
	transition: color 0.2s, border-color 0.2s;
}
.service-link:hover { color: var(--coral); border-color: var(--coral); }
.service-link span { transition: transform 0.2s; }
.service-link:hover span { transform: translateX(4px); }

.service-detail { border-top: 2px solid var(--ink); padding-top: 32px; }
.service-detail h3 {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 14px; text-transform: uppercase;
	letter-spacing: 0.1em; margin-bottom: 28px;
	font-weight: 500;
}
.service-list { list-style: none; padding: 0; }
.service-list li {
	padding: 24px 0; border-top: 1px solid var(--line);
	display: grid; grid-template-columns: 32px 1fr;
	gap: 24px; align-items: baseline;
}
.service-list li:first-child { border-top: none; padding-top: 0; }
.service-list .li-num {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 13px; color: var(--coral); letter-spacing: 0.05em;
}
.service-list .li-content h4 {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 22px; font-weight: 500;
	line-height: 1.2; letter-spacing: -0.01em;
	margin-bottom: 8px;
}
.service-list .li-content p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

.service.alt { background: var(--bg-deep); }
.service.alt .service-tag { background: var(--bg); }
.service.dark { background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.service.dark::before {
	content: ''; position: absolute; top: -100px; right: -100px;
	width: 500px; height: 500px;
	background: radial-gradient(circle, rgba(221, 81, 126, 0.15), transparent 60%);
	pointer-events: none;
}
.service.dark .container { position: relative; }
.service.dark .service-num { color: var(--coral); }
.service.dark .service-tag {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	color: var(--bg);
}
.service.dark h2 { color: var(--bg); }
.service.dark h2 em { color: var(--coral); }
.service.dark .service-blurb { color: rgba(255, 255, 255, 0.7); }
.service.dark .service-link { color: var(--bg); border-bottom-color: var(--bg); }
.service.dark .service-link:hover { color: var(--coral); border-color: var(--coral); }
.service.dark .service-detail { border-top-color: var(--coral); }
.service.dark .service-detail h3 { color: var(--bg); }
.service.dark .service-list li { border-top-color: rgba(255, 255, 255, 0.15); }
.service.dark .service-list .li-content h4 { color: var(--bg); }
.service.dark .service-list .li-content p { color: rgba(255, 255, 255, 0.7); }

.engagement { padding: 120px 32px; border-bottom: 1px solid var(--line); }
.engagement .container { max-width: 1240px; margin: 0 auto; }
.engagement-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 32px; counter-reset: phase;
}
.phase {
	background: var(--bg); border: 1px solid var(--line);
	padding: 48px 40px; position: relative;
	counter-increment: phase; transition: transform 0.3s ease;
}
.phase:hover { transform: translateY(-6px); }
.phase::before {
	content: counter(phase, decimal-leading-zero);
	position: absolute; top: 24px; right: 32px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 64px; font-weight: 200;
	color: var(--bg-deep); line-height: 1;
}
.phase-tag {
	font-size: 12px; text-transform: uppercase;
	letter-spacing: 0.12em; color: var(--coral);
	margin-bottom: 24px; font-weight: 500;
	position: relative;
}
.phase h3 {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 28px; font-weight: 500;
	line-height: 1.15; letter-spacing: -0.015em;
	margin-bottom: 16px;
}
.phase p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; margin-bottom: 24px; }
.phase-duration {
	font-size: 13px; color: var(--plum);
	font-weight: 500; padding-top: 16px;
	border-top: 1px solid var(--line);
}

/* ============================================================
   TRAINING PAGE
   ============================================================ */
.training-hero { padding: 100px 32px 80px; }
.training-hero .hero-headline { font-size: clamp(48px, 8vw, 96px); }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 16px; background: var(--bg-deep);
	border: 1px solid var(--line); border-radius: 100px;
	font-size: 13px; color: var(--ink); font-weight: 500;
}
.hero-badge::before {
	content: ''; width: 6px; height: 6px;
	border-radius: 50%; background: var(--coral);
}

.course-grid {
	display: grid; grid-template-columns: repeat(2, 1fr);
	gap: 1px; background: var(--line);
	border: 1px solid var(--line);
}
.course {
	background: var(--bg); padding: 48px;
	transition: background 0.3s ease;
	display: flex; flex-direction: column;
	gap: 16px; min-height: 280px;
}
.course:hover { background: var(--bg-deep); }
.course-code {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 56px; font-weight: 300;
	letter-spacing: -0.02em; color: var(--plum);
	line-height: 1;
}
.course-code .v { color: var(--coral); font-style: italic; }
.course h3 {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 24px; font-weight: 500;
	line-height: 1.2; letter-spacing: -0.01em;
}
.course p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; flex: 1; }
.course-tag {
	font-size: 12px; text-transform: uppercase;
	letter-spacing: 0.12em; color: var(--steel);
	padding-top: 16px; border-top: 1px solid var(--line);
	margin-top: auto;
}

.workshops {
	background: var(--ink); color: var(--bg);
	padding: 100px 32px;
	border-bottom: 1px solid var(--line);
}
.workshops .container { max-width: 1240px; margin: 0 auto; padding: 0; }
.workshops .section-title { color: var(--bg); }
.workshops .section-title em { color: var(--coral); }
.workshops .section-num { color: var(--coral); }
.workshop-list { display: flex; flex-direction: column; }
.workshop {
	display: grid;
	grid-template-columns: 80px 1fr auto;
	gap: 40px;
	padding: 36px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	align-items: baseline;
	transition: padding 0.3s ease;
}
.workshop:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.workshop:hover { padding-left: 16px; }
.workshop-num {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 14px; color: var(--coral);
	letter-spacing: 0.05em;
}
.workshop-content h3 {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 28px; font-weight: 400;
	margin-bottom: 12px; letter-spacing: -0.015em;
}
.workshop-content p { color: rgba(255, 255, 255, 0.7); font-size: 15px; max-width: 640px; }
.workshop-duration {
	font-size: 12px; text-transform: uppercase;
	letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.5);
	white-space: nowrap;
}

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 80px; }
.why-item { border-top: 2px solid var(--ink); padding-top: 24px; }
.why-item:nth-child(2n) { border-top-color: var(--coral); }
.why-item h3 {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 26px; font-weight: 500;
	line-height: 1.2; letter-spacing: -0.015em;
	margin-bottom: 12px;
}
.why-item p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }

.formats {
	background: var(--bg-deep);
	padding: 100px 32px;
	border-bottom: 1px solid var(--line);
}
.formats .container { max-width: 1240px; margin: 0 auto; padding: 0; }
.formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.format {
	background: var(--bg); padding: 40px;
	border: 1px solid var(--line);
	position: relative; overflow: hidden;
	transition: transform 0.3s ease;
}
.format:hover { transform: translateY(-4px); }
.format::before {
	content: ''; position: absolute; top: 0; left: 0;
	width: 0; height: 4px; background: var(--coral);
	transition: width 0.4s ease;
}
.format:hover::before { width: 100%; }
.format-tag {
	font-size: 11px; text-transform: uppercase;
	letter-spacing: 0.18em; color: var(--steel);
	margin-bottom: 24px;
}
.format h3 {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 28px; font-weight: 500;
	line-height: 1.15; letter-spacing: -0.015em;
	margin-bottom: 16px;
}
.format p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; min-height: 90px; }
.format-best {
	font-size: 13px; color: var(--plum);
	font-weight: 500; padding-top: 16px;
	border-top: 1px solid var(--line);
}

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item details { padding: 32px 0; }
.faq-item summary {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 22px; font-weight: 500;
	letter-spacing: -0.01em; cursor: pointer;
	list-style: none; display: flex;
	justify-content: space-between; align-items: center;
	gap: 24px; transition: color 0.2s;
}
.faq-item summary:hover { color: var(--coral); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: '+';
	font-family: var(--wp--preset--font-family--geist);
	font-weight: 300; font-size: 28px;
	color: var(--coral); flex-shrink: 0;
	transition: transform 0.3s;
}
.faq-item details[open] summary::after { transform: rotate(45deg); }
.faq-item details p {
	margin-top: 20px; color: var(--ink-soft);
	font-size: 16px; line-height: 1.6; max-width: 720px;
}

/* ============================================================
   RESPONSIVE — about / services / training overrides
   ============================================================ */
@media (max-width: 768px) {
	.origin { padding: 70px 20px; }
	.origin-grid { grid-template-columns: 1fr; gap: 32px; }
	.origin-meta { position: static; }
	.milestones { padding: 70px 20px; }
	.milestone { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
	.team-section { padding: 70px 20px; }
	.team-grid { grid-template-columns: 1fr; }
	.service { padding: 70px 20px; }
	.service-row, .service-row.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
	.service-meta { position: static; }
	.engagement { padding: 70px 20px; }
	.engagement-grid { grid-template-columns: 1fr; }
	.course-grid { grid-template-columns: 1fr; }
	.workshops, .formats { padding: 70px 20px; }
	.workshop { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
	.formats-grid { grid-template-columns: 1fr; }
	.why-grid { grid-template-columns: 1fr; gap: 32px; }
	.faq-item summary { font-size: 18px; }
}

/* ============================================================
   FABRIC ICONS (homepage decoration)
   ============================================================ */

/* Hero eyebrow — small Fabric mark before "Microsoft Solutions Partner" */
.hero-meta__icon {
	display: inline-block;
	vertical-align: -5px;
	margin-right: 4px;
	width: 22px;
	height: 22px;
}
.hero .hero-meta {
	gap: 12px;
}

/* Services-grid cards — three Fabric workload icons at top */
.help-icons {
	display: flex;
	gap: 10px;
	margin-bottom: 28px;
	transition: filter 0.3s ease;
}
.help-icons img {
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
}
/* On dark hover state, brighten icons against dark background */
.help-card:hover .help-icons img {
	filter: brightness(1.15);
}

/* Workloads strip — between hero and services */
.fabric-workloads {
	padding: 56px 32px;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}
.fabric-workloads__inner {
	max-width: 1240px;
	margin: 0 auto;
}
.fabric-workloads__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--plum);
	margin-bottom: 40px;
	font-weight: 500;
}
.fabric-workloads__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 0;
	border: 1px solid var(--line);
	background: var(--line);
	gap: 1px;
}
.fabric-workload {
	background: var(--bg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 32px 16px;
	transition: background 0.3s ease, transform 0.3s ease;
	min-height: 200px;
}
.fabric-workload:hover {
	background: var(--bg-deep);
	transform: translateY(-2px);
}
.fabric-workload img {
	width: 48px;
	height: 48px;
	transition: transform 0.3s ease;
}
.fabric-workload:hover img {
	transform: scale(1.1);
}
.fabric-workload__name {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
	letter-spacing: 0.02em;
	text-align: center;
	line-height: 1.3;
}
.fabric-workload__desc {
	font-size: 12px;
	color: var(--ink-soft);
	text-align: center;
	line-height: 1.45;
	max-width: 22ch;
}

@media (max-width: 768px) {
	.fabric-workloads { padding: 60px 20px; }
	.fabric-workloads__grid {
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	}
	.fabric-workload { min-height: 160px; padding: 24px 12px; }
	.fabric-workload img { width: 40px; height: 40px; }
	.fabric-workload__desc { font-size: 11px; }
	.help-icons img { width: 36px; height: 36px; }
}

/* ==========================================================================
   Medallion architecture
   ========================================================================== */
.medallion {
	padding: 72px 32px;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
.medallion__inner {
	max-width: 1240px;
	margin: 0 auto;
}
.medallion__intro {
	max-width: 760px;
	margin: 0 auto 40px;
	text-align: center;
}
.medallion__intro .section-num {
	display: block;
	margin-bottom: 16px;
}
.medallion__intro .section-title {
	margin-bottom: 20px;
}
.medallion__lede {
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink-soft);
}
.medallion__diagram {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	gap: 24px;
	align-items: stretch;
	margin-bottom: 32px;
}
.medallion__layer {
	border: 1px solid var(--line);
	background: var(--bg);
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.medallion__layer:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.medallion__chip {
	display: inline-block;
	align-self: flex-start;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
	color: #fff;
}
.medallion__layer--bronze {
	border-top: 4px solid #c47a4a;
}
.medallion__layer--bronze .medallion__chip { background: #c47a4a; }
.medallion__layer--silver {
	border-top: 4px solid #9aa1a8;
}
.medallion__layer--silver .medallion__chip { background: #6b7480; }
.medallion__layer--gold {
	border-top: 4px solid #d4a85a;
}
.medallion__layer--gold .medallion__chip { background: #b88836; }
.medallion__layer h3 {
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	font-size: 22px;
	line-height: 1.2;
	margin: 4px 0 4px;
	color: var(--ink);
}
.medallion__layer p {
	font-size: 14px;
	line-height: 1.55;
	color: var(--ink-soft);
	margin: 0 0 8px;
}
.medallion__layer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--line);
	padding-top: 12px;
}
.medallion__layer li {
	font-size: 12px;
	color: var(--ink-soft);
	letter-spacing: 0.04em;
	padding: 4px 0;
	position: relative;
	padding-left: 18px;
}
.medallion__layer li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--ink);
	font-weight: 600;
}
.medallion__arrow {
	align-self: center;
	font-size: 32px;
	color: var(--ink-soft);
	font-weight: 300;
}
.medallion__note {
	text-align: center;
	font-size: 13px;
	color: var(--ink-soft);
	letter-spacing: 0.02em;
	margin-top: 32px;
}

@media (max-width: 960px) {
	.medallion { padding: 64px 20px; }
	.medallion__diagram {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.medallion__arrow {
		transform: rotate(90deg);
		justify-self: center;
	}
}

/* ==========================================================================
   Team — solo founder layout
   ========================================================================== */
.team-grid--solo {
	grid-template-columns: 1fr;
	max-width: 640px;
	margin: 0 auto;
}
.team-member--solo {
	text-align: center;
	padding: 48px 32px;
}
.team-photo--img {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 24px;
	background: var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	font-size: 64px;
	color: var(--ink-soft);
}
.team-photo--img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.team-member-bio {
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink-soft);
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 600px) {
	.team-photo--img { width: 160px; height: 160px; }
}

/* ==========================================================================
   Team — credential badges row
   ========================================================================== */
.team-member-credentials {
	list-style: none;
	padding: 0;
	margin: 32px auto 0;
	display: flex;
	gap: 28px;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 600px;
}
.team-member-credentials li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	transition: transform 0.25s ease;
}
.team-member-credentials li:hover {
	transform: translateY(-3px);
}
.team-member-credentials img {
	width: 96px;
	height: 96px;
	object-fit: contain;
	display: block;
}
.team-member-credentials span {
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

@media (max-width: 600px) {
	.team-member-credentials { gap: 16px; }
	.team-member-credentials img { width: 72px; height: 72px; }
}

/* ==========================================================================
   Whitespace tightening overrides + LinkedIn link
   ========================================================================== */
.help-num { margin-bottom: 24px; }
.help-card h3 { font-size: 32px; margin-bottom: 16px; }
.help-arrow { margin-top: 24px; }
.help-icons { margin-bottom: 20px; }
.help-intro { margin-bottom: 44px; }
.section-title { font-size: clamp(32px, 4.5vw, 60px); }

.team-section--solo .container { padding: 0 32px; }
.team-member--solo { padding: 24px 24px; }
.team-photo--img { width: 200px; height: 200px; margin-bottom: 20px; }
.team-member-bio { margin-top: 12px; font-size: 16px; }

.team-member-links {
	margin: 18px 0 0;
	font-size: 14px;
}
.team-linkedin {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-soft);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
	padding-bottom: 2px;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.team-linkedin:hover {
	color: var(--coral);
	border-color: var(--coral);
}
.team-linkedin svg { color: #0A66C2; flex-shrink: 0; }
.team-linkedin:hover svg { color: var(--coral); }

.team-member-credentials { margin-top: 24px; gap: 24px; }

.medallion__layer { padding: 24px 22px; gap: 10px; }
.medallion__layer h3 { font-size: 20px; }
.medallion__layer p { font-size: 13px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-hero {
	border-bottom: 1px solid var(--line);
	padding-bottom: 56px;
}
.contact-hero .hero-headline {
	font-size: clamp(40px, 6.5vw, 88px);
	margin-bottom: 24px;
}
.contact-hero .hero-sub {
	max-width: 640px;
}
.contact-section {
	padding: 80px 32px;
	background: var(--bg);
}
.contact-section .container {
	max-width: 1240px;
	margin: 0 auto;
}
.contact-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 80px;
	align-items: start;
}
.contact-form-col h2,
.contact-info-col h2 {
	font-size: clamp(28px, 3.5vw, 44px);
	margin: 12px 0 28px;
}
.contact-form-col h2 em,
.contact-info-col h2 em {
	color: var(--coral);
}
.contact-info-col {
	border-left: 1px solid var(--line);
	padding-left: 48px;
}
.contact-info-item {
	margin-bottom: 28px;
}
.contact-info-label {
	display: block;
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	font-size: 12px;
	color: var(--coral);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.contact-info-item a {
	color: var(--ink);
	text-decoration: none;
	font-size: 17px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 2px;
	transition: color 0.2s, border-color 0.2s;
}
.contact-info-item a:hover {
	color: var(--coral);
	border-color: var(--coral);
}
.contact-info-item p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 15px;
	line-height: 1.55;
}
.contact-credentials ul {
	list-style: none;
	padding: 0;
	margin: 6px 0 0;
}
.contact-credentials li {
	font-size: 14px;
	color: var(--ink-soft);
	padding: 4px 0 4px 18px;
	position: relative;
}
.contact-credentials li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--coral);
}

/* Fluent Forms — match design */
.dm-form-wrap {
	margin-top: 8px;
}
.dm-form-wrap .ff-el-group {
	margin-bottom: 22px;
}
.dm-form-wrap .ff-el-input--label label,
.dm-form-wrap .ff_t_container label {
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	font-size: 13px !important;
	letter-spacing: 0.04em;
	color: var(--ink) !important;
	font-weight: 500;
	margin-bottom: 8px !important;
}
.dm-form-wrap input[type="text"],
.dm-form-wrap input[type="email"],
.dm-form-wrap select,
.dm-form-wrap textarea {
	width: 100%;
	border: 0 !important;
	border-bottom: 1px solid var(--line-strong) !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 10px 0 !important;
	font-size: 16px !important;
	font-family: inherit !important;
	color: var(--ink) !important;
	transition: border-color 0.25s ease;
	box-shadow: none !important;
}
.dm-form-wrap input[type="text"]:focus,
.dm-form-wrap input[type="email"]:focus,
.dm-form-wrap select:focus,
.dm-form-wrap textarea:focus {
	outline: 0 !important;
	border-bottom-color: var(--coral) !important;
	box-shadow: none !important;
}
.dm-form-wrap textarea {
	min-height: 140px;
	resize: vertical;
	border: 1px solid var(--line-strong) !important;
	padding: 14px !important;
}
.dm-form-wrap textarea:focus {
	border-color: var(--coral) !important;
}
.dm-form-wrap .ff-btn-submit,
.dm-form-wrap button[type="submit"] {
	background: var(--ink) !important;
	color: var(--bg) !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 16px 32px !important;
	font-size: 15px !important;
	font-weight: 500;
	font-family: inherit !important;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
	letter-spacing: 0.02em;
}
.dm-form-wrap .ff-btn-submit:hover,
.dm-form-wrap button[type="submit"]:hover {
	background: var(--coral) !important;
	transform: translateY(-2px);
}
.dm-form-wrap .ff-message-success {
	border-left: 3px solid var(--coral);
	padding: 16px 20px;
	background: var(--bg-deep);
	color: var(--ink);
	font-size: 16px;
}

@media (max-width: 960px) {
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 56px;
	}
	.contact-info-col {
		border-left: 0;
		border-top: 1px solid var(--line);
		padding-left: 0;
		padding-top: 32px;
	}
}

/* ==========================================================================
   Blog — home / archive listing
   ========================================================================== */
.blog-home,
.archive {
	padding-bottom: 96px;
}
.blog-hero,
.archive-hero {
	padding: 56px 32px 48px;
	max-width: 1240px;
	margin: 0 auto;
	border-bottom: 1px solid var(--line);
}
.blog-hero .hero-meta,
.archive-hero .hero-meta {
	margin-bottom: 18px;
}
.blog-hero-title,
.archive-hero .wp-block-query-title {
	font-size: clamp(40px, 6.5vw, 88px);
	line-height: 0.96;
	letter-spacing: -0.03em;
	margin: 0 0 16px;
}
.blog-hero-title em {
	color: var(--coral);
	font-style: italic;
}
.blog-hero-sub {
	font-size: 19px;
	line-height: 1.5;
	color: var(--ink-soft);
	max-width: 640px;
	margin: 0;
}
.archive-grid {
	max-width: 1240px;
	margin: 0 auto;
	padding: 56px 32px;
}
.archive-grid .wp-block-post-template {
	gap: 56px 40px !important;
}
.article-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: transform 0.25s ease;
}
.article-card:hover { transform: translateY(-3px); }
.article-card .article-card__thumb,
.article-card .wp-block-post-featured-image {
	margin: 0 0 8px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--bg-deep);
}
.article-card .wp-block-post-featured-image a,
.article-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.article-card:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}
.article-card .article-meta {
	gap: 12px;
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.article-card .article-meta a { text-decoration: none; }
.article-card .wp-block-post-title {
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	font-size: 26px;
	line-height: 1.2;
	margin: 0;
}
.article-card .wp-block-post-title a {
	color: var(--ink);
	text-decoration: none;
	transition: color 0.2s ease;
}
.article-card .wp-block-post-title a:hover { color: var(--coral); }
.article-card .wp-block-post-excerpt {
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink-soft);
	margin: 0;
}
.article-card .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: 6px;
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	color: var(--coral);
	text-decoration: none;
	font-size: 14px;
}
.archive-grid .wp-block-query-pagination {
	margin-top: 56px;
	gap: 8px;
}
.archive-grid .wp-block-query-pagination a,
.archive-grid .wp-block-query-pagination .page-numbers {
	color: var(--ink);
	text-decoration: none;
	padding: 8px 14px;
	border: 1px solid var(--line);
	transition: all 0.2s ease;
}
.archive-grid .wp-block-query-pagination .current,
.archive-grid .wp-block-query-pagination a:hover {
	background: var(--ink);
	color: var(--bg);
	border-color: var(--ink);
}

/* ==========================================================================
   Single post
   ========================================================================== */
.single-post .single-hero {
	padding: 56px 32px 32px;
}
.single-meta {
	gap: 16px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 24px;
}
.single-meta a { text-decoration: none; }
.single-title {
	font-size: clamp(36px, 5.5vw, 64px) !important;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 20px !important;
}
.single-byline {
	gap: 10px;
	color: var(--ink-soft);
	font-size: 14px;
}
.single-byline .wp-block-post-author-name {
	color: var(--ink);
	font-weight: 500;
}
.single-byline .wp-block-post-author-name a { text-decoration: none; color: inherit; }
.single-byline__tags a {
	color: var(--ink-soft);
	text-decoration: none;
	margin-right: 6px;
}
.single-byline__sep { margin: 0; opacity: 0.5; }

.single-thumb {
	margin: 0 auto 48px;
	max-width: 1240px;
	padding: 0 32px;
}
.single-thumb img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	display: block;
}

.single-content {
	padding: 0 32px 64px;
	font-size: 18px;
	line-height: 1.7;
	color: var(--ink);
}
.single-content p,
.single-content li {
	font-size: 18px;
	line-height: 1.7;
}
.single-content h2 {
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	font-size: clamp(26px, 3.5vw, 36px);
	margin: 56px 0 16px;
	letter-spacing: -0.01em;
}
.single-content h3 {
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	font-size: clamp(22px, 3vw, 28px);
	margin: 36px 0 12px;
}
.single-content a {
	color: var(--coral);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.single-content a:hover { color: var(--coral-deep); }
.single-content blockquote {
	border-left: 3px solid var(--coral);
	margin: 32px 0;
	padding: 8px 0 8px 24px;
	font-style: italic;
	color: var(--ink-soft);
}
.single-content code {
	background: var(--bg-deep);
	padding: 2px 6px;
	font-size: 0.92em;
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.single-content pre {
	background: var(--ink);
	color: var(--bg);
	padding: 20px 24px;
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.55;
}
.single-content pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}
.single-content img,
.single-content figure {
	max-width: 100%;
	height: auto;
	margin: 32px 0;
}
.single-content figure figcaption {
	font-size: 13px;
	color: var(--ink-soft);
	margin-top: 8px;
	text-align: center;
}
.single-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 28px 0;
	font-size: 15px;
}
.single-content table th,
.single-content table td {
	border: 1px solid var(--line);
	padding: 10px 14px;
	text-align: left;
}
.single-content table th {
	background: var(--bg-deep);
	font-weight: 600;
}
.single-content ul,
.single-content ol {
	padding-left: 24px;
	margin: 18px 0;
}
.single-content li { margin-bottom: 6px; }

.single-footer {
	border-top: 1px solid var(--line);
	padding: 28px 32px;
	margin-top: 24px;
}
.single-footer__back a {
	color: var(--ink-soft);
	text-decoration: none;
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
}
.single-footer__back a:hover { color: var(--coral); }

@media (max-width: 760px) {
	.archive-grid .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}
	.single-content { font-size: 17px; }
}

/* ==========================================================================
   Blog filter bar
   ========================================================================== */
.blog-filter-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 32px 32px 0;
}
.blog-filter {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr auto;
	gap: 20px;
	align-items: end;
	padding: 24px 28px;
	background: var(--bg);
	border: 1px solid var(--line);
}
.blog-filter__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.blog-filter__label {
	font-family: var(--wp--preset--font-family--fraunces, Fraunces, serif);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--coral);
}
.blog-filter input[type="search"],
.blog-filter select {
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--line-strong);
	background: transparent;
	padding: 8px 0;
	font-size: 15px;
	font-family: inherit;
	color: var(--ink);
	border-radius: 0;
	transition: border-color 0.2s ease;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.blog-filter select {
	background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
	background-position: calc(100% - 12px) center, calc(100% - 7px) center;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	padding-right: 22px;
	cursor: pointer;
}
.blog-filter input[type="search"]:focus,
.blog-filter select:focus {
	outline: 0;
	border-bottom-color: var(--coral);
}
.blog-filter__actions {
	display: flex;
	gap: 12px;
	align-items: center;
}
.blog-filter__submit {
	background: var(--ink);
	color: var(--bg);
	border: 0;
	padding: 12px 22px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
	letter-spacing: 0.02em;
	font-family: inherit;
}
.blog-filter__submit:hover {
	background: var(--coral);
	transform: translateY(-2px);
}
.blog-filter__reset {
	color: var(--ink-soft);
	text-decoration: none;
	font-size: 13px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 2px;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.blog-filter__reset:hover {
	color: var(--coral);
	border-color: var(--coral);
}

@media (max-width: 760px) {
	.blog-filter {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.blog-filter__actions { justify-content: flex-start; }
}
