/*
 * My Familia — the look, assembled from the tokens in style.css.
 * No colour or font name lives in this file; every value is a token.
 *
 * Second pass, 1 September 2026 — her words: "I hate beige," and
 * "it's a wall of words." Every ground is white or near-black now.
 * Scale and space carry the page; paragraphs do not.
 */

/* ---------- reset-ish ---------- */
.mf { color: var(--card-ink); }
.mf a { color: inherit; text-decoration: none; }
.mf img { max-width: 100%; display: block; }
.mf .inner { max-width: 68rem; margin-inline: auto; padding-inline: 1.5rem; }

/* ---------- the entrance — homepage only ---------- */
/*
 * Her own law: a narrow pane is also a TALL one, well over a thousand
 * pixels. 100svh from the parent's own base.css turned this into
 * acres of empty claret on a real phone-shaped screen. Capped rather
 * than left to the viewport, so her window's height stops mattering.
 */
.js-entrance .mf-entrance.entrance { height: min(100svh, 42rem); }
.mf-entrance {
	position: relative;
	color: #FFFFFF;
	text-align: center;
	padding: clamp(3rem, 10vw, 6rem) 1.5rem;
	background: radial-gradient(120% 100% at 50% 30%, var(--claret) 0%, var(--claret-deep) 100%);
	overflow: hidden;
}
/* A real photograph behind the words — love has a face, not a paint fill. */
.mf-entrance__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	opacity: 0.55;
	filter: saturate(1.05);
}
.mf-entrance--photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(122, 31, 35, 0.88) 0%,
		rgba(122, 31, 35, 0.55) 45%,
		rgba(122, 31, 35, 0.82) 100%
	);
}
.mf-entrance [data-entrance-screen] {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.1rem;
	height: 100%;
}
/*
 * Her words: "you need to be like a ray of hope." The truth lands
 * first, in the dark — then this is where it turns. A real warm
 * light blooms in behind Honour/Respect/Kindness/Communication,
 * rising rather than static, so the screen itself moves from honest
 * to hopeful instead of sitting in one held mood throughout.
 */
.mf-entrance [data-entrance-screen]:nth-of-type(2)::before {
	content: '';
	position: absolute;
	inset: -20%;
	background: radial-gradient(
		45% 40% at 50% 58%,
		rgba(255, 208, 140, 0.55) 0%,
		rgba(255, 208, 140, 0.22) 40%,
		rgba(255, 208, 140, 0) 72%
	);
	animation: mf-hope-rise 4s ease-in-out infinite;
	pointer-events: none;
}
@keyframes mf-hope-rise {
	0%, 100% { opacity: 0.7; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
	.mf-entrance [data-entrance-screen]:nth-of-type(2)::before { animation: none; opacity: 0.85; }
}
.mf-entrance__line {
	font-family: var(--font-util);
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--silver-bright);
	margin: 0;
}
.mf-entrance__statement {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(1.7rem, 6vw, 3rem);
	line-height: 1.2;
	max-width: 26rem;
	margin: 0;
}
.mf-entrance__tail {
	font-family: var(--font-head);
	font-style: italic;
	font-size: 1.05rem;
	color: var(--silver-bright);
	margin: 0;
}

/* ---------- top bar ---------- */
/*
 * Her words: "no one ever just goes straight to the website and the
 * menu." Held invisible while an entrance is running, revealed only
 * once .mf-arrived lands — watched, not timed, so it can never show a
 * moment early or get stuck hidden. Two mechanisms, same idea: the
 * parent's entrance.js on Pactum (.js-entrance), and My Familia's own
 * five-beat opening on the homepage (body.home), which entrance.js
 * cannot play — it only ever runs two screens, and hers is five.
 */
.js-entrance .mf-top {
	opacity: 0;
	pointer-events: none;
}
.js-entrance.mf-arrived .mf-top {
	opacity: 1;
	pointer-events: auto;
	transition: opacity 0.7s ease;
}
.home .mf-top {
	opacity: 0;
	pointer-events: none;
}
.home.mf-arrived .mf-top {
	opacity: 1;
	pointer-events: auto;
	transition: opacity 0.8s ease;
}

/* ---------- the opening — editorial, monumental, still ---------- */
/*
 * Rebuilt a third time, 2 September — her words: "elegant,
 * sophisticated, epic, editorial... family is the cornerstone of the
 * heart." No gradient, no bouncing type — those read as decoration,
 * and this is not decorative. Warm bone paper, near-black ink, one
 * hairline rule as the only ornament, Fraunces given real editorial
 * scale. Each beat is a page turning — a slow, confident dissolve —
 * not a word popping in. Gravity, not a trick.
 */
:root {
	--dawn-ink: #1C1712;
	--dawn-paper: #F6F0E4;
	--dawn-gold: #A8813E;
	--dawn-quiet: #6E6558;
}
.mf-open {
	position: relative;
	overflow: hidden;
	height: min(100svh, 42rem);
	background: var(--dawn-paper);
}
.mf-open__rule {
	position: absolute;
	left: 50%;
	top: 14%;
	width: 1px;
	height: 0;
	background: var(--dawn-gold);
	transform: translateX(-50%);
	animation: mf-rule-draw 1.6s ease-out forwards;
	animation-delay: 0.1s;
	z-index: 1;
}
@keyframes mf-rule-draw {
	to { height: 4rem; }
}
.mf-open__beat {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: 0;
	padding: 0 1.75rem;
	font-family: 'Fraunces', serif;
	color: var(--dawn-ink);
	opacity: 0;
	max-width: 44rem;
	margin-inline: auto;
}
/* Each beat carries its own weight in the arc — a whisper, then a promise, then the landing. */
.mf-open__beat.b1 { font-style: italic; font-weight: 300; font-size: clamp(1.2rem, 3.4vw, 1.6rem); color: var(--dawn-quiet); letter-spacing: 0.01em; }
.mf-open__beat.b2 { font-weight: 400; font-size: clamp(1.2rem, 3.4vw, 1.6rem); }
.mf-open__beat.b3 { font-weight: 400; font-size: clamp(1.2rem, 3.4vw, 1.6rem); }
.mf-open__beat.b4 { font-weight: 400; font-size: clamp(1.2rem, 3.4vw, 1.6rem); }
.mf-open__beat b { display: inline; }
/*
 * Her reference, 2 September — matripair.com.au, lois.careers: real
 * type mixing weight against weight. Fraunces alone carries the full
 * range, from this whisper to the punch line at true editorial scale.
 */
.mf-punch {
	display: block;
	font-family: 'Fraunces', serif;
	font-weight: 900;
	font-style: normal;
	font-size: clamp(2.6rem, 10vw, 5rem);
	line-height: 0.98;
	color: var(--dawn-ink);
	margin-top: 0.35em;
	letter-spacing: -0.015em;
}
.mf-punch--script {
	font-family: 'Fraunces', serif;
	font-style: italic;
	font-weight: 300;
	font-size: clamp(3.2rem, 13vw, 6.5rem);
	color: var(--dawn-gold);
	margin: 0.15em 0;
}
@keyframes mf-beat-hold {
	0%   { opacity: 0; transform: translateY(8px); }
	14%  { opacity: 1; transform: none; }
	86%  { opacity: 1; }
	100% { opacity: 0; }
}
.mf-open__beat.b1 { animation: mf-beat-hold 2.9s ease forwards; animation-delay: 0.3s; }
.mf-open__beat.b2 { animation: mf-beat-hold 4.2s ease forwards; animation-delay: 3.1s; }
.mf-open__beat.b3 { animation: mf-beat-hold 3.5s ease forwards; animation-delay: 7.2s; }
.mf-open__beat.b4 { animation: mf-beat-hold 4.6s ease forwards; animation-delay: 10.6s; }
/* The landing — a folio. Four words, one at a time, each its own still page. */
.mf-open__folio {
	opacity: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mf-open__folio span {
	position: absolute;
	font-family: 'Fraunces', serif;
	font-weight: 900;
	font-size: clamp(2.8rem, 12vw, 6rem);
	letter-spacing: -0.015em;
	color: var(--dawn-ink);
	opacity: 0;
	animation: mf-folio-turn 1.1s ease forwards;
}
.mf-open__folio span:nth-child(1) { animation-delay: 15.2s; }
.mf-open__folio span:nth-child(2) { animation-delay: 16.5s; }
.mf-open__folio span:nth-child(3) { animation-delay: 17.8s; }
.mf-open__folio span:nth-child(4) {
	animation-name: mf-folio-land;
	animation-duration: 1.1s;
	animation-delay: 19.1s;
	animation-fill-mode: forwards;
}
@keyframes mf-folio-turn {
	0%   { opacity: 0; transform: scale(1.04); }
	40%  { opacity: 1; transform: scale(1); }
	85%  { opacity: 1; }
	100% { opacity: 0; }
}
/* The last word only — turns in the same way, then stays, the sequence resting on it. */
@keyframes mf-folio-land {
	0%   { opacity: 0; transform: scale(1.04); }
	40%  { opacity: 1; transform: scale(1); }
	100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.mf-open__rule { animation: none; height: 4rem; }
	.mf-open__beat { animation: none !important; opacity: 0; }
	.mf-open__folio span { animation: none !important; opacity: 0; }
	.mf-open__folio span:last-child { opacity: 1; }
}

/* ---------- the word-open hero — no photograph, her words alone ---------- */
.mf-word-open {
	position: relative;
	overflow: hidden;
	background: var(--dawn-paper);
	padding: clamp(3.5rem, 10vw, 6rem) 1.5rem;
	text-align: center;
}
.mf-word-open__eyebrow {
	font-family: var(--font-util);
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dawn-gold);
	margin: 0 0 1.1rem;
}
.mf-word-open__head {
	font-family: 'Fraunces', serif;
	font-weight: 900;
	font-size: clamp(2.4rem, 9vw, 4.4rem);
	line-height: 1.03;
	color: var(--dawn-ink);
	margin: 0 0 0.9rem;
	letter-spacing: -0.01em;
}
.mf-word-open__sub {
	font-family: 'Fraunces', serif;
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1.1rem, 3.2vw, 1.5rem);
	color: var(--dawn-quiet);
	margin: 0;
}
.mf-top {
	background: var(--top-ground);
	border-bottom: 1px solid var(--top-rule);
	position: sticky;
	top: 0;
	z-index: 40;
}
.mf-top__in {
	max-width: 68rem;
	margin-inline: auto;
	padding: 0.85rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.mf-top__mark {
	width: 2.1rem;
	height: 2.1rem;
	background-image: var(--mark-image);
	background-size: cover;
	background-position: center;
	flex: none;
}
.mf-top__word {
	font-family: var(--font-head);
	font-size: 1.1rem;
	letter-spacing: 0.06em;
	font-weight: 600;
	white-space: nowrap;
}
.mf-top__nav {
	margin-inline-start: auto;
	display: flex;
	gap: 1rem;
	font-family: var(--font-util);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}
@media (min-width: 480px) {
	.mf-top__nav { gap: 1.5rem; font-size: 0.8rem; letter-spacing: 0.06em; }
}
.mf-top__nav a { border-bottom: 1px solid transparent; }
.mf-top__nav a:hover,
.mf-top__nav a:focus-visible { border-color: var(--anchor-ink); }

/* ---------- the menu — native <details>, cannot get stuck open or hidden ---------- */
.mf-menu { position: relative; }
.mf-menu summary {
	cursor: pointer;
	list-style: none;
	border-bottom: 1px solid transparent;
}
.mf-menu summary::-webkit-details-marker { display: none; }
.mf-menu[open] summary { color: var(--anchor-ink); border-color: var(--anchor-ink); }
.mf-menu__panel {
	position: fixed;
	inset: 3.6rem 0 0 0;
	background: #FFFFFF;
	overflow-y: auto;
	z-index: 50;
	padding: 2rem 1.5rem 3rem;
	border-top: 1px solid var(--chip-rule);
	animation: mf-menu-in 0.25s ease-out;
}
@keyframes mf-menu-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}
@media (min-width: 640px) {
	.mf-menu__panel {
		position: absolute;
		inset: auto;
		top: calc(100% + 1px);
		left: 50%;
		transform: translateX(-50%);
		width: min(90vw, 52rem);
		max-height: 80vh;
		box-shadow: 0 20px 60px var(--card-shadow-lift);
		border: 1px solid var(--chip-rule);
	}
}
.mf-menu__grid {
	max-width: 44rem;
	margin-inline: auto;
	display: grid;
	gap: 1.75rem;
}
@media (min-width: 640px) {
	.mf-menu__grid { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
}
.mf-menu__label {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid;
	border-image: linear-gradient(to right, var(--satin-silver), transparent 70%) 1;
}
.mf-menu__house ul { list-style: none; margin: 0; padding: 0; }
.mf-menu__house li { padding: 0.35rem 0; }
.mf-menu__house li span,
.mf-menu__house li a {
	font-family: var(--font-head);
	font-size: 1.05rem;
	color: var(--card-meta-ink);
}
.mf-menu__house li i,
.mf-menu__open i {
	font-style: normal;
	font-family: var(--font-util);
	font-size: 0.6rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--satin-silver);
	margin-left: 0.4rem;
}
.mf-menu__open { color: var(--anchor-ink) !important; font-weight: 600; }
.mf-menu__open i { color: var(--anchor-ink); opacity: 0.7; }

/* ---------- photographic hero — her own imagery, not a text stack ---------- */
.mf-photo-hero {
	position: relative;
	width: 100%;
	height: clamp(28rem, 78vw, 44rem);
	overflow: hidden;
	background: var(--claret-deep);
}
.mf-photo-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
	filter: saturate(1.05);
}
.mf-photo-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba(122, 31, 35, 0.92) 0%,
		rgba(122, 31, 35, 0.35) 42%,
		rgba(122, 31, 35, 0.05) 65%
	);
}
.mf-photo-hero__in {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	text-align: center;
	padding: 0 1.5rem clamp(2rem, 6vw, 3.5rem);
	color: #FFFFFF;
}
.mf-photo-hero__eyebrow {
	font-family: var(--font-util);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--silver-bright);
	margin: 0 0 1rem;
}
.mf-photo-hero__head {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(2.6rem, 11vw, 4.8rem);
	line-height: 1.02;
	margin: 0 0 0.75rem;
	letter-spacing: -0.01em;
	text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.mf-photo-hero__sub {
	font-family: var(--font-head);
	font-style: italic;
	font-size: clamp(1.05rem, 3.4vw, 1.35rem);
	color: #FFFFFF;
	opacity: 0.92;
	margin: 0;
}

/* ---------- word hero — claret, gold kintsugi cracks, no photograph yet ----------
 * No honest photograph exists yet for a couple who, right now, do not
 * like each other. Rather than a flat colour block standing in for
 * one, the mark and the mending are the image: PACTUM is the promise
 * that holds a crack together in gold rather than papering over it —
 * the same philosophy KINTSUGI already carries through this whole
 * business, brought forward a year early because the page needed it.
 */
.mf-word-hero {
	position: relative;
	overflow: hidden;
	background: var(--claret-deep);
	padding: clamp(4.5rem, 14vw, 8rem) 1.5rem clamp(3.5rem, 10vw, 5.5rem);
	text-align: center;
}
.mf-word-hero__mark {
	position: absolute;
	right: 5%;
	top: 50%;
	transform: translateY(-50%);
	width: 2.75rem;
	height: 2.75rem;
	background-image: var(--mark-image);
	background-size: cover;
	background-position: center;
	opacity: 0.35;
	filter: grayscale(1) brightness(2.4);
	pointer-events: none;
}
@media (max-width: 640px) { .mf-word-hero__mark { display: none; } }
.mf-word-hero__in { position: relative; z-index: 2; }
.mf-word-hero__eyebrow {
	font-family: var(--font-util);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--silver-bright);
	margin: 0 0 1rem;
}
.mf-word-hero__head {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(3.4rem, 15vw, 6.5rem);
	color: #FFFFFF;
	margin: 0 0 0.5rem;
	letter-spacing: -0.01em;
}
.mf-word-hero__sub {
	font-family: var(--font-head);
	font-style: italic;
	font-size: clamp(1.05rem, 3.4vw, 1.35rem);
	color: #FFFFFF;
	opacity: 0.9;
	margin: 0 0 1.5rem;
}
.mf-word-hero__whisper {
	font-family: var(--font-util);
	font-size: 0.85rem;
	color: var(--silver-bright);
	opacity: 0.8;
	max-width: 24rem;
	margin-inline: auto;
	line-height: 1.6;
}
.mf-word-hero__crack path {
	fill: none;
	stroke: #D4AF6A;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-dasharray: 620;
	stroke-dashoffset: 620;
	animation: mf-crack-draw 2.4s cubic-bezier(0.22,1,0.36,1) 0.3s forwards;
}
@keyframes mf-crack-draw {
	to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.mf-word-hero__crack path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- hero — one line, one line, done ---------- */
.mf-hero {
	padding: clamp(2.5rem, 7vw, 4rem) 1.5rem clamp(2.5rem, 6vw, 3.5rem);
	text-align: center;
}
.mf-hero__eyebrow {
	font-family: var(--font-util);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--card-meta-ink);
	margin: 0 0 1.5rem;
}
.mf-hero__head {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(2.4rem, 9vw, 4.6rem);
	line-height: 1.05;
	margin: 0 0 1rem;
	letter-spacing: -0.01em;
}
.mf-hero__sub {
	font-family: var(--font-head);
	font-style: italic;
	font-size: clamp(1.1rem, 3vw, 1.4rem);
	color: var(--anchor-ink);
	margin: 0 auto 3rem;
	max-width: 30rem;
}
.mf-hero__line {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(1.3rem, 3.6vw, 1.8rem);
	line-height: 1.45;
	max-width: 34rem;
	margin: 0 auto;
	color: var(--card-ink);
}

/* ---------- the seventeen — a list, not a wall ---------- */
.mf-seventeen {
	padding: clamp(3.5rem, 9vw, 6rem) 0;
	border-top: 1px solid var(--chip-rule);
	max-width: 56rem;
	margin-inline: auto;
	padding-inline: 1.5rem;
}
.mf-seventeen__head {
	font-family: var(--font-util);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-align: center;
	color: var(--card-meta-ink);
	margin: 0 0 3.5rem;
}
.mf-house {
	margin-bottom: 3rem;
	display: grid;
	grid-template-columns: 3.5rem 1fr;
	gap: 0 1.5rem;
	align-items: start;
}
.mf-house:last-child { margin-bottom: 0; }
.mf-house__label {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 3.5rem 1fr;
	align-items: baseline;
	gap: 0 1.5rem;
	margin-bottom: 1.1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid;
	border-image: linear-gradient(to right, var(--satin-silver), transparent 70%) 1;
}
.mf-house__num {
	font-family: var(--font-head);
	font-style: italic;
	font-size: 1.6rem;
	color: var(--anchor-ink);
	line-height: 1;
}
.mf-house__name {
	font-family: var(--font-util);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--card-meta-ink);
}
.mf-house__list {
	grid-column: 2 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
}
@media (max-width: 520px) {
	.mf-house, .mf-house__label { grid-template-columns: 2.4rem 1fr; }
}
.mf-spiritus {
	font-family: var(--font-head);
	font-size: clamp(1.05rem, 2.8vw, 1.3rem);
	color: var(--card-meta-ink);
	padding: 0.3rem 0;
	text-align: left;
}
.mf-spiritus i {
	display: block;
	font-style: normal;
	font-family: var(--font-util);
	font-size: 0.58rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--satin-silver);
	margin-top: 0.2rem;
}
.mf-spiritus--held { opacity: 0.6; }
.mf-spiritus--open {
	color: var(--anchor-ink);
	font-weight: 600;
	position: relative;
}
.mf-spiritus--open::before {
	content: 'Open Now';
	display: block;
	font-family: var(--font-util);
	font-size: 0.6rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--anchor-ink);
	margin-bottom: 0.15rem;
}

/* ---------- pactum spotlight (home) ---------- */
.mf-spotlight {
	background: var(--dawn-paper);
	color: var(--dawn-ink);
	padding: clamp(4rem, 10vw, 7rem) 1.5rem;
	text-align: center;
	border-top: 1px solid rgba(168, 129, 62, 0.25);
}
.mf-spotlight__eyebrow {
	font-family: var(--font-util);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dawn-gold);
	margin: 0 0 1rem;
}
.mf-spotlight__head {
	font-family: 'Fraunces', serif;
	font-weight: 900;
	font-size: clamp(2.4rem, 9vw, 4rem);
	margin: 0 0 1.25rem;
}
.mf-spotlight__say {
	font-family: 'Fraunces', serif;
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1.1rem, 3vw, 1.4rem);
	max-width: 26rem;
	margin: 0 auto 2rem;
	opacity: 0.9;
}
.mf-go {
	display: inline-block;
	background: var(--dawn-ink);
	color: #FFF6EA;
	font-family: var(--font-util);
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.9rem 2rem;
}

/* ---------- footer — a real close ---------- */
.mf-foot {
	background: var(--claret-deep);
	color: #FFFFFF;
	text-align: center;
	padding: clamp(2.5rem, 6vw, 3.5rem) 1.5rem;
}
.mf-foot__mark {
	width: 2.75rem;
	height: 2.75rem;
	margin: 0 auto 1rem;
	background-image: var(--mark-image);
	background-size: cover;
	background-position: center;
	border-radius: 50%;
	filter: grayscale(1) brightness(1.9);
	opacity: 0.85;
}
.mf-foot__word {
	font-family: var(--font-head);
	font-size: 1.1rem;
	letter-spacing: 0.08em;
	margin: 0 0 0.35rem;
}
.mf-foot__say {
	font-family: var(--font-head);
	font-style: italic;
	font-size: 0.9rem;
	opacity: 0.75;
	margin: 0;
}

/* ---------- hero photo — a whisper of parallax on scroll ---------- */
.mf-photo-hero__img { will-change: transform; }

/* ---------- personal guidance track (home) ---------- */
.mf-guidance {
	padding: clamp(3rem, 7vw, 4.5rem) 1.5rem;
	border-top: 1px solid var(--chip-rule);
}
.mf-guidance__head {
	font-family: var(--font-util);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	color: var(--card-meta-ink);
	margin: 0 0 2.25rem;
}
.mf-guidance__row {
	max-width: 44rem;
	margin-inline: auto;
	display: grid;
	gap: 1.25rem;
}
@media (min-width: 640px) {
	.mf-guidance__row { grid-template-columns: repeat(3, 1fr); }
}
.mf-guidance__one { text-align: center; }
.mf-guidance__step {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 1.3rem;
	color: var(--anchor-ink);
	margin: 0 0 0.4rem;
}
.mf-guidance__for {
	font-family: var(--font-util);
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--card-meta-ink);
	margin: 0;
}

/* ================= PACTUM page ================= */
.mf-pactum-open {
	padding: clamp(4rem, 12vw, 7rem) 1.5rem clamp(2.5rem, 6vw, 3.5rem);
	text-align: center;
}
.mf-pactum-open__jp {
	font-family: var(--font-util);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--card-meta-ink);
}
.mf-pactum-open__word {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(3.2rem, 13vw, 6.5rem);
	margin: 0.5rem 0 0.1rem;
	letter-spacing: -0.01em;
}
.mf-pactum-open__phon {
	font-family: var(--font-util);
	font-style: italic;
	color: var(--card-meta-ink);
	margin-bottom: 2rem;
	font-size: 0.95rem;
}
.mf-pactum-open__def {
	font-family: var(--font-head);
	font-style: italic;
	font-size: clamp(1.2rem, 3.6vw, 1.6rem);
	color: var(--anchor-ink);
	max-width: 28rem;
	margin-inline: auto;
	line-height: 1.4;
}

.mf-pactum-say {
	max-width: 34rem;
	margin: 0 auto;
	padding: 0 1.5rem clamp(3rem, 7vw, 4.5rem);
	text-align: center;
}
.mf-pactum-say__lead {
	font-family: var(--font-head);
	font-size: clamp(1.2rem, 3.2vw, 1.5rem);
	line-height: 1.5;
	margin: 0 0 2rem;
}
.mf-close-line {
	font-family: var(--font-head);
	font-style: italic;
	font-size: clamp(1.3rem, 3.6vw, 1.7rem);
	color: var(--anchor-ink);
	margin: 0;
}

.mf-carry {
	max-width: 38rem;
	margin: 0 auto;
	padding: clamp(3rem, 7vw, 4.5rem) 1.5rem;
	border-top: 1px solid var(--chip-rule);
}
.mf-carry__head {
	font-family: var(--font-util);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	color: var(--card-meta-ink);
	margin: 0 0 2.25rem;
}
.mf-carry__one {
	font-family: var(--font-head);
	font-style: italic;
	font-size: clamp(1.15rem, 3.2vw, 1.4rem);
	line-height: 1.5;
	color: var(--card-ink);
	text-align: center;
	padding: 1.5rem 0;
}
.mf-carry__one:not(:last-child) { border-bottom: 1px solid var(--chip-rule); }

.mf-pactum-hers {
	background: var(--foot-ground);
	color: var(--foot-ink);
	padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem;
	text-align: center;
}
.mf-pactum-hers__head {
	font-family: var(--font-util);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--satin-silver);
	margin: 0 0 1.5rem;
}
.mf-pactum-hers__amt {
	font-family: var(--font-head);
	font-size: clamp(3rem, 10vw, 4.5rem);
	color: var(--foot-ink);
	margin: 0;
	line-height: 1;
}
.mf-pactum-hers__amt span {
	font-family: var(--font-util);
	font-size: 0.85rem;
	color: var(--satin-silver);
	display: block;
	margin-top: 0.6rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.mf-pactum-hers__first {
	font-family: var(--font-util);
	font-size: 0.9rem;
	color: var(--satin-silver);
	margin: 1.5rem 0 0;
}

.mf-ask {
	padding: clamp(3rem, 7vw, 4.5rem) 1.5rem;
}
.mf-ask__in { max-width: 30rem; margin-inline: auto; }
.mf-ask__head {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(1.6rem, 4.5vw, 2.1rem);
	text-align: center;
	margin: 0 0 0.6rem;
}
.mf-ask__say {
	text-align: center;
	font-family: var(--font-head);
	font-style: italic;
	font-size: 1.05rem;
	color: var(--card-meta-ink);
	margin: 0 0 2.25rem;
}
.mf-ask__field { margin-bottom: 1.1rem; }
.mf-ask__field label {
	display: block;
	font-family: var(--font-util);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--card-meta-ink);
	margin-bottom: 0.4rem;
}
.mf-ask__field input,
.mf-ask__field textarea {
	width: 100%;
	background: var(--ground);
	border: 1px solid var(--chip-rule);
	padding: 0.7rem 0.85rem;
	color: var(--card-ink);
	font-family: var(--font-util);
	font-size: 0.95rem;
}
.mf-ask__field input::placeholder,
.mf-ask__field textarea::placeholder { color: var(--seek-placeholder); }
.mf-ask__go {
	width: 100%;
	background: var(--anchor-ink);
	color: #FFFFFF;
	border: none;
	padding: 0.9rem;
	font-family: var(--font-util);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}
.mf-ask__note {
	text-align: center;
	font-size: 0.78rem;
	color: var(--card-meta-ink);
	margin-top: 1rem;
}
.mf-ask__done {
	text-align: center;
	font-family: var(--font-head);
	font-style: italic;
	font-size: 1.3rem;
	max-width: 26rem;
	margin-inline: auto;
}
