:root {
	--fj-bg: #f6f3ec;
	--fj-surface: #fffdf8;
	--fj-green: #234535;
	--fj-deep: #18372b;
	--fj-sage: #dce6d5;
	--fj-light-sage: #edf2e9;
	--fj-terracotta: #d86f4a;
	--fj-yellow: #f3c35d;
	--fj-text: #18211c;
	--fj-muted: #667068;
	--fj-line: #ddd8ce;
	--fj-radius: 8px;
	--fj-shadow: 0 18px 50px rgba(24, 33, 28, 0.08);
	--fj-soft-shadow: 0 10px 34px rgba(24, 33, 28, 0.06);
	--fj-serif: Georgia, "Times New Roman", serif;
	--fj-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--fj-bg);
	color: var(--fj-text);
	font-family: var(--fj-sans);
	font-size: 16px;
	line-height: 1.65;
	overflow-x: clip;
}

body.is-menu-open {
	overflow: hidden;
}

@supports not (overflow-x: clip) {
	html,
	body {
		overflow-x: hidden;
	}
}

a {
	color: var(--fj-green);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.22em;
}

a:hover {
	color: var(--fj-terracotta);
}

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

button,
input,
textarea {
	font: inherit;
}

:focus-visible {
	outline: 3px solid var(--fj-yellow);
	outline-offset: 3px;
}

.screen-reader-text,
.screen-reader-table {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	inset: 1rem auto auto 1rem;
	width: auto;
	height: auto;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--fj-deep);
	color: var(--fj-surface);
	clip: auto;
	white-space: normal;
}

.site-shell {
	min-height: 100vh;
}

.site-sidebar {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 20;
	display: flex;
	width: 238px;
	padding: 3.1rem 0 2rem;
	border-right: 1px solid var(--fj-line);
	background: linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(246, 243, 236, 0.72));
	backdrop-filter: blur(18px);
	flex-direction: column;
	justify-content: space-between;
}

.mobile-header,
.mobile-menu {
	display: none;
}

.site-main,
.site-footer {
	margin-left: 238px;
}

.site-main {
	width: calc(100% - 238px);
	max-width: 1120px;
	padding: clamp(1.25rem, 4vw, 4rem);
}

.site-footer {
	width: calc(100% - 238px);
	max-width: 1120px;
	padding: 1.5rem clamp(1.25rem, 4vw, 4.5rem) 2.5rem;
	color: var(--fj-muted);
}

.site-footer__actions {
	display: flex;
	justify-content: center;
	margin-bottom: 1.1rem;
}

.footer-return-link {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0.55rem 0.85rem;
	border: 1px solid rgba(35, 69, 53, 0.12);
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.36);
	color: var(--fj-deep);
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.075em;
	line-height: 1;
	opacity: 0.68;
	text-decoration: none;
	text-transform: uppercase;
}

.footer-return-link:hover {
	border-color: rgba(216, 111, 74, 0.42);
	background: var(--fj-surface);
	color: var(--fj-terracotta);
	opacity: 1;
}

.site-branding {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.site-branding__mark {
	display: grid;
	width: 88px;
	height: 72px;
	border-radius: 0;
	background: transparent;
	color: var(--fj-text);
	font-weight: 600;
	text-decoration: none;
	place-items: center;
}

.site-branding__fallback-logo {
	width: 88px;
	height: 72px;
	object-fit: contain;
}

.site-branding__mark .custom-logo {
	width: 58px;
	height: 58px;
	border-radius: 8px;
	object-fit: cover;
}

.site-sidebar .site-branding {
	padding: 0 1.2rem;
	flex-direction: column;
	text-align: center;
}

.site-title {
	margin: 0.15rem 0 0;
	font-size: 0.98rem;
	font-weight: 600;
	letter-spacing: 0.075em;
	line-height: 1.1;
	text-transform: uppercase;
}

.site-title a {
	color: var(--fj-deep);
	text-decoration: none;
}

.site-description {
	margin: 0.72rem 0 0;
	color: var(--fj-text);
	font-size: 0.56rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.primary-navigation {
	margin-top: 3.9rem;
}

.primary-menu,
.social-menu {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu {
	gap: 0;
	flex-direction: column;
}

.primary-menu a {
	position: relative;
	display: flex;
	min-height: 54px;
	gap: 1rem;
	align-items: center;
	padding: 0.72rem 1.8rem;
	border-radius: 0;
	color: var(--fj-text);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-menu__icon {
	display: block;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	opacity: 0.88;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	background: rgba(221, 216, 206, 0.42);
	color: var(--fj-deep);
}

.social-menu {
	gap: 0.7rem;
	padding: 0 1.8rem;
	flex-wrap: wrap;
}

.social-menu a {
	display: inline-grid;
	width: 36px;
	height: 36px;
	border: 1px solid var(--fj-line);
	border-radius: 999px;
	color: var(--fj-muted);
	text-decoration: none;
	place-items: center;
}

.social-menu a:hover {
	border-color: rgba(35, 69, 53, 0.35);
	background: rgba(221, 216, 206, 0.35);
	color: var(--fj-deep);
}

.social-menu__icon {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.social-menu__fallback {
	font-size: 0.78rem;
	font-weight: 700;
}

h1,
h2,
h3 {
	margin: 0;
	color: var(--fj-deep);
	font-family: var(--fj-serif);
	font-weight: 500;
	line-height: 1.05;
}

h1 {
	font-size: clamp(3rem, 5.15vw, 4.85rem);
	letter-spacing: 0;
}

h2 {
	font-size: clamp(1.25rem, 2.4vw, 2.2rem);
}

.eyebrow {
	margin: 0 0 0.7rem;
	color: var(--fj-terracotta);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

.button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.25rem;
	border-radius: 7px;
	background: linear-gradient(135deg, var(--fj-green), var(--fj-deep));
	color: var(--fj-surface);
	box-shadow: 0 10px 22px rgba(35, 69, 53, 0.18);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.075em;
	text-decoration: none;
	text-transform: uppercase;
}

.button:hover,
.wp-block-button__link:hover {
	background: var(--fj-terracotta);
	color: var(--fj-surface);
}

.hero-section {
	min-height: 0;
	padding: 1.1rem 0 0;
}

.hero-section__content {
	max-width: 700px;
}

.hero-section h1 {
	max-width: 700px;
	font-size: clamp(2.45rem, 3.75vw, 3.55rem);
}

.hero-section__intro {
	max-width: 530px;
	margin: 0 0 1.35rem;
	color: var(--fj-text);
	font-size: 0.98rem;
}

.hero-section__stroke {
	display: block;
	width: 72px;
	height: 3px;
	margin: 0.85rem 0 1.1rem;
	border-radius: 999px;
	background: var(--fj-terracotta);
	content: "";
	opacity: 0.85;
}

.stats-overview {
	display: grid;
	margin: 2rem 0 1.5rem;
	border: 1px solid rgba(221, 216, 206, 0.78);
	border-radius: var(--fj-radius);
	background: linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(246, 243, 236, 0.82));
	box-shadow: var(--fj-soft-shadow);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chart-card,
.training-card,
.post-card,
.not-found,
.entry-page,
.entry-single,
.comments-area {
	border: 1px solid rgba(221, 216, 206, 0.75);
	border-radius: var(--fj-radius);
	background: var(--fj-surface);
	box-shadow: var(--fj-soft-shadow);
}

.stat-card {
	display: grid;
	min-height: 104px;
	padding: 1.15rem 1rem;
	border-right: 1px solid var(--fj-line);
	align-content: center;
	gap: 0.18rem;
	text-align: left;
}

.stat-card:last-child {
	border-right: 0;
}

.stat-card p {
	margin: 0;
	color: var(--fj-text);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.stat-card strong {
	font-family: var(--fj-serif);
	font-size: clamp(1.75rem, 2.3vw, 2.35rem);
	font-weight: 400;
	line-height: 1;
}

.stat-card span {
	color: var(--fj-muted);
	font-size: 0.78rem;
}

.dashboard-grid {
	display: grid;
	gap: 1.5rem;
	align-items: stretch;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-card,
.training-card {
	padding: clamp(1.4rem, 2.15vw, 1.8rem);
	margin-top: 1.5rem;
}

.section-heading {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.section-heading a {
	flex-shrink: 0;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
}

.chart-filters {
	display: flex;
	gap: 0.25rem;
	flex-shrink: 0;
	flex-wrap: nowrap;
}

.chart-filters button {
	border: 0;
	border-radius: 999px;
	padding: 0.32rem 0.55rem;
	background: transparent;
	color: var(--fj-muted);
	cursor: pointer;
	font-size: 0.82rem;
}

.chart-filters button.is-active {
	background: rgba(35, 69, 53, 0.09);
	color: var(--fj-deep);
}

.chart-card {
	display: flex;
	flex-direction: column;
}

.chart-card .section-heading {
	align-items: flex-start;
	margin-bottom: 1rem;
}

.chart-card h2 {
	font-size: clamp(1.85rem, 2.6vw, 3rem);
}

.weight-chart {
	display: flex;
	flex: 1;
	min-height: 285px;
}

.weight-chart canvas {
	width: 100%;
	height: 100%;
	min-height: 285px;
}

.training-card {
	background: var(--fj-surface);
	box-shadow: none;
}

.training-list {
	display: grid;
	gap: 0;
	padding: 0;
	border-top: 1px solid var(--fj-line);
	background: transparent;
	grid-template-columns: 1fr;
}

.training-row {
	display: grid;
	gap: 1rem;
	align-items: center;
	padding: 0.72rem 0;
	border-bottom: 1px solid var(--fj-line);
	background: transparent;
	grid-template-columns: minmax(0, 1fr) auto;
}

.training-row:last-child {
	border-bottom: 0;
}

.training-row p {
	margin: 0.05rem 0 0;
	color: var(--fj-muted);
	font-size: 0.92rem;
}

.training-row strong {
	font-weight: 600;
}

.training-row time {
	font-size: 0.9rem;
	font-weight: 500;
}

.journal-latest {
	margin-top: 2.7rem;
}

.post-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
	overflow: hidden;
}

.post-card__image {
	display: block;
	background: var(--fj-sage);
}

.post-card__image img {
	width: 100%;
	aspect-ratio: 1.45;
	object-fit: cover;
}

.post-card__body {
	padding: 1.15rem;
}

.post-card h2 {
	margin: 0.35rem 0 0.65rem;
	font-family: var(--fj-serif);
	font-size: 1.55rem;
}

.post-card h2 a {
	color: var(--fj-deep);
	text-decoration: none;
}

.post-card p {
	margin: 0;
	color: var(--fj-muted);
}

.entry-meta {
	display: flex;
	gap: 0.5rem;
	color: var(--fj-muted);
	font-size: 0.88rem;
	font-weight: 500;
	flex-wrap: wrap;
}

.archive-header,
.entry-page,
.entry-single,
.not-found {
	max-width: 980px;
	margin: 0 auto 2rem;
	padding: clamp(1.5rem, 4vw, 3rem);
}

.archive-header {
	border-bottom: 1px solid var(--fj-line);
}

.archive-header p,
.entry-lead {
	max-width: 680px;
	color: var(--fj-muted);
	font-size: 1.16rem;
}

.entry-content {
	width: 100%;
	max-width: 760px;
	margin: 2rem auto 0;
	overflow-wrap: anywhere;
}

.entry-content > * {
	max-width: 100%;
	margin-top: 0;
	margin-bottom: 1.4rem;
}

.entry-content img,
.entry-content video,
.entry-content iframe,
.entry-content embed,
.entry-content object {
	max-width: 100%;
}

.entry-content pre,
.entry-content table {
	max-width: 100%;
	overflow-x: auto;
}

.entry-content .alignwide,
.entry-content .alignfull {
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.entry-featured {
	max-width: 1040px;
	margin: 2rem auto;
}

.entry-featured img {
	width: 100%;
	border-radius: var(--fj-radius);
}

.journal-full-list {
	display: grid;
	gap: 2rem;
	max-width: 920px;
	margin: 0 auto;
}

.journal-full-entry {
	border: 1px solid rgba(221, 216, 206, 0.75);
	border-radius: var(--fj-radius);
	background: var(--fj-surface);
	box-shadow: var(--fj-soft-shadow);
	padding: clamp(1.5rem, 4vw, 3rem);
}

.journal-full-entry h2 {
	margin-top: 0.4rem;
	font-size: clamp(2rem, 4vw, 3rem);
}

.journal-full-entry h2 a {
	color: var(--fj-deep);
	text-decoration: none;
}

.journal-full-entry__image {
	margin: 1.5rem 0;
}

.journal-full-entry .entry-content {
	margin-top: 1.5rem;
}

.training-archive-list {
	display: grid;
	gap: 1rem;
	max-width: 920px;
	margin: 0 auto;
}

.training-archive-entry {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--fj-line);
}

.training-archive-entry:first-child {
	border-top: 1px solid var(--fj-line);
}

.training-archive-entry header {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	justify-content: space-between;
}

.training-archive-entry time,
.training-archive-entry header p {
	margin: 0;
	color: var(--fj-muted);
	font-size: 0.86rem;
	font-weight: 550;
}

.training-archive-entry h2 {
	margin: 0.22rem 0 0;
	font-family: var(--fj-sans);
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.25;
}

.training-archive-entry__summary {
	max-width: 620px;
	margin: 0.45rem 0 0;
	color: var(--fj-muted);
}

.training-archive-entry > a {
	display: inline-block;
	margin-top: 0.65rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.pagination {
	max-width: 920px;
	margin: 2.6rem auto 0;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	gap: 0.45rem;
	align-items: center;
	justify-content: center;
	padding: 0.45rem;
	border: 1px solid rgba(221, 216, 206, 0.8);
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.72);
	box-shadow: var(--fj-soft-shadow);
	flex-wrap: wrap;
}

.page-numbers {
	display: inline-flex;
	min-width: 2.65rem;
	min-height: 2.65rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	color: var(--fj-deep);
	font-size: 1.08rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--fj-deep);
	color: var(--fj-surface);
}

.page-numbers.dots {
	min-width: auto;
	padding: 0 0.35rem;
	color: var(--fj-muted);
}

.page-numbers.next,
.page-numbers.prev {
	min-width: auto;
	padding: 0 1rem;
}

a.page-numbers:hover {
	background: var(--fj-light-sage);
	color: var(--fj-deep);
}

.entry-footer,
.post-navigation,
.comments-area {
	max-width: 760px;
	margin: 2rem auto;
}

.post-navigation {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-navigation__item:empty {
	display: none;
}

.post-navigation a {
	display: grid;
	padding: 0.2rem 0;
	color: rgba(35, 69, 53, 0.72);
	text-decoration: none;
	gap: 0.25rem;
}

.post-navigation a:hover {
	color: var(--fj-terracotta);
}

.post-navigation span {
	color: rgba(216, 111, 74, 0.78);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-navigation strong {
	color: currentColor;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.3;
}

.post-navigation__item--next a {
	text-align: right;
}

.comments-area {
	padding: 2rem;
}

.comment-list {
	padding-left: 1.25rem;
}

.wp-caption,
.gallery-caption,
.bypostauthor {
	color: inherit;
}

.alignwide {
	max-width: 1120px;
}

.alignfull {
	width: calc(100vw - 238px);
	max-width: none;
	margin-left: calc(50% - 50vw + 119px);
}

@media (max-width: 1100px) {
	.site-sidebar {
		display: none;
	}

	.mobile-header {
		position: sticky;
		top: 0;
		z-index: 30;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0.85rem 1rem;
		border-bottom: 1px solid var(--fj-line);
		background: rgba(255, 253, 248, 0.94);
		backdrop-filter: blur(16px);
	}

	.mobile-header .site-branding__mark {
		width: 56px;
		height: 48px;
	}

	.mobile-header .site-branding__fallback-logo {
		width: 56px;
		height: 48px;
	}

	.mobile-header .site-branding__mark .custom-logo {
		width: 56px;
		height: 48px;
		object-fit: contain;
	}

	.mobile-header .site-branding {
		align-items: center;
		flex-direction: row;
		gap: 0.85rem;
		text-align: left;
	}

	.menu-toggle {
		display: grid;
		width: 44px;
		height: 44px;
		border: 1px solid var(--fj-line);
		border-radius: 7px;
		background: var(--fj-surface);
		place-items: center;
	}

	.menu-toggle__bar,
	.menu-toggle__bar::before,
	.menu-toggle__bar::after {
		display: block;
		width: 20px;
		height: 2px;
		background: var(--fj-deep);
		content: "";
	}

	.menu-toggle__bar {
		position: relative;
	}

	.menu-toggle__bar::before,
	.menu-toggle__bar::after {
		position: absolute;
		left: 0;
	}

	.menu-toggle__bar::before {
		top: -7px;
	}

	.menu-toggle__bar::after {
		top: 7px;
	}

	.mobile-menu {
		position: fixed;
		inset: 74px 1rem auto;
		z-index: 29;
		display: block;
		padding: 1rem;
		border: 1px solid var(--fj-line);
		border-radius: var(--fj-radius);
		background: var(--fj-surface);
		box-shadow: var(--fj-shadow);
	}

	.mobile-menu[hidden] {
		display: none;
	}

	.site-main,
	.site-footer {
		width: auto;
		margin-left: 0;
	}

	.alignfull {
		width: 100vw;
		margin-left: calc(50% - 50vw);
	}

	.hero-section {
		min-height: auto;
	}

	.dashboard-grid {
		grid-template-columns: 1fr;
	}

	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.training-list {
		grid-template-columns: 1fr;
	}

}

@media (max-width: 640px) {
	.site-main {
		padding: 1.1rem;
	}

	.site-title {
		font-size: 1rem;
	}

	.site-description {
		display: none;
	}

	h1 {
		font-size: clamp(2.55rem, 16vw, 4rem);
	}

	.hero-section h1 {
		font-size: clamp(2.35rem, 12vw, 3.2rem);
	}

	.post-grid {
		grid-template-columns: 1fr;
	}

	.stats-overview {
		grid-template-columns: 1fr;
	}

	.stat-card {
		min-height: 0;
		padding: 0.95rem 1rem;
		border-right: 0;
		border-bottom: 1px solid var(--fj-line);
	}

	.stat-card:last-child {
		border-bottom: 0;
	}

	.section-heading {
		display: block;
	}

	.chart-filters {
		flex-wrap: wrap;
		margin-top: 0.85rem;
	}

	.weight-chart,
	.weight-chart canvas {
		min-height: 260px;
	}

	.training-row {
		align-items: start;
		grid-template-columns: 1fr;
	}

	.training-row time {
		justify-self: start;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

	.archive-header,
	.entry-page,
	.entry-single,
	.not-found,
	.comments-area {
		padding: 1.25rem;
	}
}

.chart-filters {
	margin-right: 1.25rem;
}

.archive-header--blog h1 {
	font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.journal-full-entry .entry-header h2,
.entry-single .entry-header h1,
.not-found--404 h1 {
	font-size: clamp(1.85rem, 3vw, 2.75rem);
}

.not-found--404 .button {
	margin-top: 1.35rem;
}

@media (max-width: 1100px) {
	.mobile-header .site-branding__text {
		display: flex;
		min-height: 48px;
		flex-direction: column;
		justify-content: center;
		transform: translateY(-0.28rem);
	}

	.mobile-header .site-title {
		margin: 0;
		font-size: clamp(0.98rem, 4vw, 1.18rem);
		line-height: 1.05;
	}

	.mobile-header .site-description {
		display: block;
		margin: 0.28rem 0 0;
		font-size: 0.5rem;
		line-height: 1.1;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
	}
}
