@font-face {
	font-family: "Fraunces";
	src: url("fonts/fraunces-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("fonts/instrument-sans-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("fonts/instrument-sans-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #1c1917;
	--muted: #6f6a63;
	--line: #e6e0d6;
	--paper: #f7f4ef;
	--card: #fffcf8;
	--clay: #9a4b2f;
}

body {
	background: var(--paper);
	color: var(--ink);
	font-family: "Instrument Sans", "Segoe UI", sans-serif;
	overflow-x: hidden;
}

h1, h2, h3, .main-title, .entry-title, .ftt-hero h1, .rank-math-question {
	font-family: Fraunces, Georgia, serif;
	font-weight: 600;
	letter-spacing: -0.03em;
}

a { color: var(--ink); }
a:hover { color: var(--clay); }

.site-header,
.main-navigation,
.main-navigation .main-nav ul ul {
	background: var(--paper) !important;
}
.site-header { border-bottom: 0; }
.inside-header { padding-top: .85rem; padding-bottom: .85rem; }
.site-description { display: none; }

.site-header .site-branding {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: .7rem;
}
.site-content { padding-top: 0 !important; }
.ftt-mark { width: 36px; height: 36px; flex: none; }
.site-header .main-title { margin: 0 !important; font-size: 1.2rem; line-height: 1; }
.main-title a { color: var(--ink); text-decoration: none; }

.main-navigation {
	box-shadow: none;
	border-bottom: 1px solid var(--line);
}
.main-navigation .main-nav ul li a,
.menu-toggle {
	color: var(--ink) !important;
	font-weight: 600;
	font-size: .92rem;
	text-transform: none;
	letter-spacing: 0;
	background: transparent !important;
}
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current_page_item > a {
	color: var(--clay) !important;
}

@media (min-width: 769px) {
	.nav-float-right .inside-header,
	.inside-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
	}
	.nav-float-right #site-navigation {
		background: transparent !important;
		border: 0;
	}
}

.site-content,
.one-container .site-content,
.inside-article,
.site-content .content-area {
	background: transparent !important;
}
.inside-article { padding-top: 0; }
.site-content { padding-top: 0; }

.ftt-label {
	margin: 2.6rem 0 .85rem;
	color: var(--muted);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.ftt-hero {
	position: relative;
	width: 100vw;
	min-height: 78vh;
	margin: 0 0 1.5rem;
	margin-left: calc(50% - 50vw);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	color: #fff;
}
.ftt-hero-photo,
.ftt-hero-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}
.ftt-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(18, 14, 10, .72) 0%, rgba(18, 14, 10, .12) 48%, rgba(18, 14, 10, .18) 100%);
}
.ftt-hero-copy {
	position: relative;
	z-index: 1;
	max-width: 680px;
	padding: 0 6vw 7vh;
}
.ftt-hero .ftt-kicker {
	margin: 0 0 .7rem;
	color: #f3e6c4;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.ftt-hero h1 {
	margin: 0 0 .7rem;
	color: #fff;
	font-size: clamp(3rem, 6vw, 5.2rem);
	line-height: .92;
}
.ftt-hero .ftt-lead {
	max-width: 38ch;
	margin: 0 0 1.2rem;
	color: rgba(255, 252, 248, .9);
	font-size: 1.08rem;
}
.ftt-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.ftt-btn {
	display: inline-block;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
	border-radius: 999px;
	padding: .78rem 1.15rem;
}
.ftt-btn:hover { background: #f3e6c4; color: var(--ink); }
.ftt-btn-ghost {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85);
}
.ftt-btn-ghost:hover { background: #fff; color: var(--ink); }
.entry-content .ftt-btn:not(.ftt-btn-ghost) { background: var(--ink); color: #fff; }
.ftt-hero .ftt-btn:not(.ftt-btn-ghost) { background: #fff; color: var(--ink); }

.ftt-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.15rem 1rem;
	margin: 0 0 1rem;
}
.ftt-card {
	display: block;
	color: inherit;
	text-decoration: none;
}
.ftt-card-media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 16px;
	background: #ddd;
}
.ftt-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.ftt-card:hover img { transform: scale(1.05); }
.ftt-card-meta {
	display: flex;
	flex-direction: column;
	gap: .15rem;
	padding: .75rem .1rem 0;
}
.ftt-card-meta small {
	color: var(--muted);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.ftt-card-meta strong {
	font-family: Fraunces, Georgia, serif;
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.ftt-split {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 2.4rem;
	align-items: center;
	margin: 3.2rem 0;
}
.ftt-split-flip > figure { order: -1; }
.ftt-split h2 { margin: .2rem 0 .7rem; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.02; }
.ftt-split p { color: #3f3a34; }
.ftt-split figure { margin: 0; }
.ftt-split img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	border-radius: 18px;
}

.ftt-numbers {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin: 1rem 0 2rem;
	padding: 1.3rem 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.ftt-numbers strong {
	display: block;
	font-family: Fraunces, Georgia, serif;
	font-size: 2.3rem;
	line-height: 1;
	margin-bottom: .3rem;
}
.ftt-numbers span { color: var(--muted); font-size: .92rem; }

.entry-content { font-size: 1.05rem; line-height: 1.65; }
.entry-content h2 { font-size: clamp(1.7rem, 2.5vw, 2.2rem); margin: 2rem 0 .7rem; }
.entry-content ul:not(.ftt-route) {
	list-style: none;
	margin: 1rem 0 1.4rem;
	padding: 0;
	display: grid;
	gap: .65rem;
}
.entry-content ul:not(.ftt-route) > li {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: .9rem 1rem;
}
.rank-math-breadcrumb { color: var(--muted); font-size: .85rem; margin: .8rem 0 .4rem; }
.rank-math-breadcrumb a { text-decoration: none; }
.rank-math-faq-item {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: .3rem 1.1rem .85rem;
	margin: 0 0 .7rem;
}
.wp-element-caption, figcaption { color: var(--muted); font-size: .8rem; }

body:not(.home) .inside-article { position: relative; }
body:not(.home) .inside-article > .entry-header {
	position: absolute;
	z-index: 2;
	left: 50%;
	width: 100vw;
	height: min(72vw, 520px);
	margin: 0 0 0 -50vw;
	padding: 0 6vw 2.2rem;
	display: flex;
	align-items: flex-end;
	background: linear-gradient(to top, rgba(18, 14, 10, .68), rgba(18, 14, 10, .05) 58%);
	pointer-events: none;
}
body:not(.home) .entry-title {
	color: #fff;
	font-size: clamp(2.4rem, 5vw, 4.4rem);
	line-height: .95;
	max-width: 14ch;
	margin: 0;
}
body:not(.home) .entry-content > .wp-block-image:first-child,
body:not(.home) .entry-content > figure.wp-block-image:first-child {
	width: 100vw !important;
	max-width: none !important;
	margin: 0 0 1.4rem 0 !important;
	margin-left: calc(50% - 50vw) !important;
	position: relative;
}
body:not(.home) .entry-content > .wp-block-image:first-child img,
body:not(.home) .entry-content > figure.wp-block-image:first-child img {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: min(72vw, 520px) !important;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
}
body:not(.home) .entry-content > figure.wp-block-image:first-child figcaption {
	padding-left: max(1rem, calc((100vw - 1100px) / 2));
}

.ftt-route {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	list-style: none;
	margin: .4rem 0 1.5rem;
	padding: 0;
}
.ftt-route li {
	background: var(--ink);
	color: #fff;
	border-radius: 999px;
	padding: .4rem .7rem;
	font-size: .84rem;
	font-weight: 600;
}
.ftt-route li:not(:last-child)::after {
	content: "→";
	margin-left: .4rem;
	color: #e7c98a;
	font-weight: 400;
}
.ftt-meanings {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .8rem;
	margin: 1rem 0 1.4rem;
}
.ftt-meanings article {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 1rem 1rem .3rem;
}
.ftt-meanings b {
	font-family: Fraunces, Georgia, serif;
	font-size: 1.35rem;
}

.site-footer, .footer-widgets {
	background: #161311 !important;
	color: rgba(247, 244, 239, .75);
}
.site-footer { padding: 1.5rem 0; }
.ftt-foot { color: #f3e6c4; }
.site-footer a { color: #f3e6c4; }

.ftt-consent {
	position: fixed;
	z-index: 99990;
	left: 16px;
	right: 16px;
	bottom: 16px;
	max-width: 440px;
	background: #fffcf8;
	color: #1c1917;
	border: 1px solid #e6e0d6;
	box-shadow: 0 16px 40px rgba(28, 25, 23, .16);
	line-height: 1.45;
}
.ftt-consent[hidden] { display: none !important; }
.ftt-consent__panel { padding: 18px 18px 16px; }
.ftt-consent__kicker {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #9a4b2f;
}
.ftt-consent h2 {
	margin: 0 0 8px;
	font-family: Fraunces, Georgia, serif;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.2;
	color: #1c1917;
}
.ftt-consent p { margin: 0 0 12px; font-size: 14px; }
.ftt-consent__links { display: flex; gap: 12px; margin: 0 0 14px; font-size: 13px; }
.ftt-consent__links a { color: #1c1917; }
.ftt-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ftt-consent__actions button,
.ftt-consent__save {
	min-height: 44px;
	border-radius: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.ftt-consent__reject,
.ftt-consent__accept { border: 2px solid #1c1917; }
.ftt-consent__reject { background: #fffcf8; color: #1c1917; }
.ftt-consent__accept,
.ftt-consent__save { background: #1c1917; color: #f7f4ef; }
.ftt-consent__settings {
	grid-column: 1 / -1;
	background: transparent;
	border: 0;
	color: #1c1917;
	text-decoration: underline;
	font-weight: 600;
	min-height: 36px;
}
.ftt-consent__choices { display: none; margin: 0 0 12px; padding: 0; list-style: none; }
.ftt-consent.is-settings .ftt-consent__choices { display: block; }
.ftt-consent.is-settings .ftt-consent__settings { display: none; }
.ftt-consent__choices li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 8px 0;
	border-top: 1px solid #e6e0d6;
	font-size: 14px;
}
.ftt-consent__choices label { display: flex; gap: 10px; align-items: flex-start; }
.ftt-consent__choices strong { display: block; }
.ftt-consent__choices span { display: block; color: #6f6a63; font-size: 13px; }
.ftt-consent__save { display: none; width: 100%; border: 2px solid #1c1917; }
.ftt-consent.is-settings .ftt-consent__save { display: block; margin-top: 8px; }
.ftt-consent__reopen {
	position: fixed;
	z-index: 99980;
	left: 16px;
	bottom: 16px;
	background: #1c1917;
	color: #f7f4ef;
	border: 0;
	min-height: 36px;
	padding: 0 12px;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}
.ftt-consent__reopen[hidden] { display: none !important; }
@media (max-width: 640px) {
	.ftt-consent { left: 0; right: 0; bottom: 0; max-width: none; }
}

.ftt-btn:focus-visible,
.ftt-card:focus-visible,
.main-navigation a:focus-visible {
	outline: 2px solid var(--clay);
	outline-offset: 3px;
}

@media (max-width: 800px) {
	.ftt-hero { min-height: 86vw; }
	.ftt-grid, .ftt-split, .ftt-numbers, .ftt-meanings { grid-template-columns: 1fr; }
	.ftt-split img { height: 240px; }
	.ftt-split-flip > figure { order: 0; }
	body:not(.home) .entry-title { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ftt-card-media img { transition: none; }
}
