/*
Theme Name: Floulex Growth
Theme URI: https://floulexgrowth.ddev.site:9443/
Author: Floulex
Description: Floulex brand: white, black and Floulex gold. Light and clean throughout, keynote-style type in Geist at the ends of its weight range.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.0
License: Proprietary
Text Domain: floulexgrowth
*/

/* ---------------------------------------------------------------------
   Tokens. Floulex brand palette: white, black, gold. Never dark grounds.
   ------------------------------------------------------------------ */
:root {
	--white: #FFFFFF;
	--soft: #F5F4F0;          /* the one tinted ground: panels, never a dark band */
	--ink: #111111;
	--muted: #5C6068;          /* 6.3:1 on white, 5.7:1 on soft */
	--gold: #C9A227;           /* Floulex gold: rules, marks, fills. Never body text (2.4:1). */
	--gold-text: #7C5F0A;      /* gold for small words: 5.5:1 on soft, higher on white */
	--gold-display: #A8830F;   /* gold for headline-size words: 3.6:1 on white, 3.2:1 on soft (AA large) */
	--line: #E4E2DC;
	--bubble: #ECECEE;         /* a received text message */

	--font: 'Geist', 'Helvetica Neue', Arial, sans-serif;

	--wrap: 76rem;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--section: clamp(5rem, 11vw, 9.5rem);
	--header-h: 4.25rem;
}

/* ---------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-weight: 400;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* WordPress spaces every top-level block with blockGap. This theme sets its own rhythm. */
.wp-site-blocks > * { margin-block: 0 !important; }
.fg-front > .wp-block-post-content > * { margin-block: 0; }

.fg-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.fg-h2 {
	font-weight: 700;
	font-size: clamp(2.25rem, 4.6vw, 3.75rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin: 0 0 1.25rem;
	max-width: 17ch;
	text-wrap: balance;
}
.fg-h2--big { font-size: clamp(2.4rem, 5vw, 4.25rem); max-width: 20ch; }
.fg-nowrap { white-space: nowrap; }
.fg-gold { color: var(--gold-display); }

.fg-kicker {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--gold-text);
	margin-bottom: 1.75rem;
}
.fg-kicker::before { content: ""; width: 2rem; height: 2px; background: var(--gold); }

.fg-sub { font-size: 1.3125rem; line-height: 1.5; color: var(--muted); max-width: 38rem; font-weight: 400; }

/* Buttons: black pill, white type. The only rounded thing on the page besides the text bubble. */
.fg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 1rem 1.6rem;
	background: var(--ink);
	color: var(--white);
	font-family: var(--font);
	font-weight: 600;
	font-size: 1.0625rem;
	line-height: 1;
	text-decoration: none;
	border: 0;
	border-radius: 999px;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.fg-btn:hover { background: #2A2A2A; transform: translateY(-1px); }
.fg-btn--sm { padding: 0.7rem 1.15rem; font-size: 0.9375rem; }

.fg-textlink {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
	text-decoration-color: var(--gold);
}
.fg-textlink:hover { text-decoration-color: var(--ink); }

.fg-missing {
	display: inline-block;
	padding: 0.1rem 0.45rem;
	background: #FFF3C4;
	color: #5A4600;
	font-weight: 600;
	font-size: 0.875em;
	border: 1px dashed #5A4600;
}

/* ---------------------------------------------------------------------
   Header: white, one hairline
   ------------------------------------------------------------------ */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }

.fg-header {
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}
.fg-header.is-scrolled { border-bottom-color: var(--line); }
.fg-header__in {
	display: flex;
	align-items: center;
	gap: 2rem;
	min-height: var(--header-h);
}
.fg-brand {
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.03em;
	line-height: 1;
	text-decoration: none;
	color: var(--ink);
	white-space: nowrap;
}
.fg-brand span { font-weight: 300; }
.fg-brand::after {
	content: "";
	display: inline-block;
	width: 0.4rem;
	height: 0.4rem;
	margin-left: 0.2rem;
	background: var(--gold);
	border-radius: 50%;
	vertical-align: baseline;
}
.fg-nav { margin-left: auto; }
.fg-nav__list { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.fg-nav__list a, .fg-menu__list a {
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9375rem;
	padding-block: 0.4rem;
	border-bottom: 2px solid transparent;
}
.fg-nav__list a:hover { border-bottom-color: var(--line); }
.fg-nav__list a[aria-current="page"], .fg-menu__list a[aria-current="page"] { border-bottom-color: var(--gold); }

.fg-menu { display: none; margin-left: auto; }
.fg-menu > summary {
	list-style: none;
	cursor: pointer;
	padding: 0.55rem 1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9375rem;
}
.fg-menu > summary::-webkit-details-marker { display: none; }
.fg-menu[open] > summary { background: var(--soft); }
.fg-menu__panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	padding: 0.5rem var(--gutter) 1.5rem;
}
.fg-menu__list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.fg-menu__list li { border-bottom: 1px solid var(--line); }
.fg-menu__list a { display: block; padding-block: 1rem; font-size: 1.125rem; border-bottom: 0; }
.fg-menu__list a[aria-current="page"] { color: var(--gold-text); }
.fg-menu__panel .fg-btn { width: 100%; }

@media (max-width: 60rem) {
	.fg-nav, .fg-header__cta { display: none; }
	.fg-menu { display: block; }
	.fg-header__in { position: relative; }
}

/* ---------------------------------------------------------------------
   Hero: white, the headline, and the text message on a soft panel
   ------------------------------------------------------------------ */
.fg-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(4.5rem, 9vw, 8rem); }
.fg-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: center;
}
.fg-hero__copy { min-width: 0; }
.fg-h1 {
	font-weight: 700;
	font-size: clamp(3rem, 6vw, 5.5rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
	margin: 0 0 1.75rem;
}
.fg-line { display: block; }
.fg-line--accent { color: var(--gold-display); font-weight: 400; }
.fg-lede {
	font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
	line-height: 1.55;
	color: var(--muted);
	max-width: 35rem;
}
.fg-lede strong { color: var(--ink); font-weight: 600; }
.fg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }

/* The lead summary, drawn as a text message: the signature element */
.fg-sms {
	margin: 0;
	justify-self: end;
	width: 100%;
	max-width: 27rem;
	box-sizing: border-box;
	background: var(--soft);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-top: 3px solid var(--gold);
}
.fg-sms__top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--muted);
	margin-bottom: 0.9rem;
}
.fg-sms__from { color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.fg-sms__bubble {
	background: var(--bubble);
	border-radius: 20px 20px 20px 6px;
	padding: 1rem 1.15rem 1.05rem;
}
.fg-sms__tag {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.7rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.fg-sms__tag span { padding: 0.22rem 0.55rem; background: var(--white); border-radius: 999px; }
.fg-sms__tag .fg-sms__hot { background: var(--gold); color: var(--ink); }
.fg-sms__name { font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.3; }
.fg-sms__line { font-size: 0.9375rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.fg-sms__rows { margin: 0.8rem 0 0; padding-top: 0.7rem; border-top: 1px solid rgba(17, 17, 17, 0.1); display: grid; gap: 0.3rem; }
.fg-sms__rows div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.75rem; font-size: 0.9375rem; }
.fg-sms__rows dt { font-weight: 500; color: var(--muted); }
.fg-sms__rows dd { margin: 0; }
.fg-sms__meta { margin-top: 0.9rem; font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
.fg-sms__meta span:first-child { color: var(--gold-text); font-weight: 600; }
.fg-sms__sample { display: block; }

@media (max-width: 60rem) {
	.fg-hero__grid { grid-template-columns: 1fr; }
	.fg-sms { justify-self: start; }
}

/* ---------------------------------------------------------------------
   How it works: the rail
   ------------------------------------------------------------------ */
.fg-how { padding-block: var(--section); border-top: 1px solid var(--line); }
.fg-how .fg-sub { margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }

.fg-rail {
	--fill: 0;
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
}
.fg-rail::before, .fg-rail::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5rem;
	height: 2px;
	width: 100%;
	background: var(--line);
}
.fg-rail::after {
	background: var(--gold);
	transform-origin: left center;
	transform: scaleX(var(--fill));
}
.fg-rail__stop { position: relative; padding-top: 2.5rem; }
.fg-rail__dot {
	position: absolute;
	top: 0;
	left: 0;
	width: 1.125rem;
	height: 1.125rem;
	background: var(--white);
	border: 2px solid var(--ink);
	border-radius: 50%;
	box-sizing: border-box;
	z-index: 1;
}
.fg-rail__stop:last-child .fg-rail__dot { background: var(--gold); border-color: var(--gold); }
.fg-rail__when { font-size: 0.875rem; font-weight: 600; color: var(--gold-text); margin-bottom: 0.5rem; }
.fg-rail__what {
	font-weight: 700;
	font-size: clamp(1.6rem, 2.4vw, 2rem);
	letter-spacing: -0.035em;
	line-height: 1.05;
	margin: 0 0 0.75rem;
}
.fg-rail__desc { color: var(--muted); max-width: 17rem; }

@media (max-width: 60rem) {
	.fg-rail { grid-template-columns: 1fr; gap: 2.25rem; padding-left: 2.5rem; }
	.fg-rail::before, .fg-rail::after { left: 0.5rem; top: 0; width: 2px; height: 100%; }
	.fg-rail::after { transform-origin: center top; transform: scaleY(var(--fill)); }
	.fg-rail__stop { padding-top: 0; }
	.fg-rail__dot { left: -2.5rem; top: 0.1rem; }
	.fg-rail__desc { max-width: 32rem; }
}

/* ---------------------------------------------------------------------
   The lead, field by field
   ------------------------------------------------------------------ */
.fg-lead { padding-block: 0 var(--section); }
.fg-lead__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
	position: relative;
	padding-top: var(--section);
}
.fg-lead__grid::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	border-top: 1px solid var(--line);
}
.fg-lead__grid--solo { grid-template-columns: minmax(0, 1fr); }
.fg-lead__grid--solo > div { max-width: 50rem; }
/* A day of missed calls: the texts as they arrive, with what counts toward the guarantee */
.fg-day { margin: 0; background: var(--soft); padding: clamp(1.25rem, 3vw, 2rem); border-top: 3px solid var(--gold); }
.fg-day__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8125rem; color: var(--muted); margin-bottom: 1rem; }
.fg-day__head span:first-child { color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.fg-day__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.fg-day__item { background: var(--white); border-radius: 16px 16px 16px 5px; padding: 0.85rem 1rem 0.8rem; }
.fg-day__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.3rem; }
.fg-day__time { color: var(--muted); font-variant-numeric: tabular-nums; }
.fg-day__kind { color: var(--ink); }
.fg-day__rank { padding: 0.12rem 0.5rem; border-radius: 999px; background: var(--bubble); color: var(--muted); }
.fg-day__rank.is-hot { background: var(--gold); color: var(--ink); }
.fg-day__who { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.fg-day__what { font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }
.fg-day__verdict { margin-top: 0.45rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.fg-day__item.is-counted .fg-day__verdict { color: var(--gold-text); }
.fg-day__item.is-counted .fg-day__verdict::before { content: ""; display: inline-block; width: 0.32rem; height: 0.62rem; margin: 0 0.5rem 0.1rem 0.1rem; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fg-lead .fg-day { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 60rem) { .fg-lead .fg-day { position: static; } }

.fg-lead__intro { font-size: 1.1875rem; color: var(--muted); max-width: 36rem; margin-bottom: 2rem; }
.fg-fields { margin: 0; border-top: 1px solid var(--line); }
.fg-fields > div {
	display: grid;
	grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
	gap: 1.5rem;
	padding-block: 1.05rem;
	border-bottom: 1px solid var(--line);
}
.fg-fields dt { font-weight: 600; }
.fg-fields dd { margin: 0; color: var(--muted); }
.fg-note { margin-top: 1.5rem; color: var(--muted); font-size: 0.9375rem; max-width: 36rem; }

.fg-slot { margin: 0; }
.fg-slot figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.fg-lead .fg-slot { position: sticky; top: calc(var(--header-h) + 2rem); }

@media (max-width: 60rem) {
	.fg-lead__grid { grid-template-columns: 1fr; }
	.fg-lead .fg-slot { position: static; }
}
@media (max-width: 36rem) {
	.fg-fields > div { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* Placeholder plates: the shot list, drawn at the right proportions */
.fg-plate {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.4rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--soft);
}
.fg-plate__marks::before, .fg-plate__marks::after {
	content: "";
	position: absolute;
	width: 1.4rem;
	height: 1.4rem;
	border-color: var(--gold);
	border-style: solid;
	border-width: 0;
}
.fg-plate__marks::before { top: 0.9rem; left: 0.9rem; border-top-width: 2px; border-left-width: 2px; }
.fg-plate__marks::after { right: 0.9rem; bottom: 0.9rem; border-bottom-width: 2px; border-right-width: 2px; }
.fg-plate__label { font-weight: 700; letter-spacing: -0.03em; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.1; }
.fg-plate__spec { font-size: 0.875rem; color: var(--muted); max-width: 30rem; }

/* ---------------------------------------------------------------------
   The guarantee: a soft panel with the number set huge and thin
   ------------------------------------------------------------------ */
.fg-guarantee { background: var(--soft); padding-block: var(--section); }
.fg-g__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: end;
	margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}
.fg-g__num {
	font-weight: 100;
	font-size: clamp(7rem, 17vw, 15rem);
	line-height: 0.78;
	letter-spacing: -0.07em;
	color: var(--gold-display);
	margin: 0;
	font-variant-numeric: lining-nums;
}
.fg-guarantee .fg-h2--big { margin: 0; max-width: 19ch; }
.fg-g__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	border-top: 1px solid var(--line);
	padding-top: 2.5rem;
}
.fg-g__grid h3 {
	font-weight: 600;
	font-size: 1.0625rem;
	letter-spacing: -0.01em;
	margin: 0 0 0.75rem;
}
.fg-g__grid p { color: var(--muted); max-width: 32rem; }
.fg-g__grid .fg-textlink { color: var(--ink); }
.fg-g__grid p + h3 { margin-top: 2rem; }
.fg-g__grid p + p { margin-top: 1.5rem; }
.fg-checks { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.fg-checks li {
	position: relative;
	padding: 0.9rem 0 0.9rem 2.4rem;
	border-bottom: 1px solid var(--line);
	font-size: 1.125rem;
	line-height: 1.45;
}
.fg-checks li::before {
	content: "";
	position: absolute;
	left: 0.35rem;
	top: 1.1rem;
	width: 0.45rem;
	height: 0.95rem;
	border: solid var(--gold);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}
.fg-small { font-size: 0.9375rem; }

@media (max-width: 60rem) {
	.fg-g__grid { grid-template-columns: 1fr; }
	.fg-g__head { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------------------------------------------------------------------
   Try it: the demo line. The number at display size, and what to say to it.
   Rendered only when a demo line exists ([fg_demo_line] in functions.php).
   On a phone the card comes straight after the heading, so the tap to call is on screen first.
   ------------------------------------------------------------------ */
.fg-try { background: var(--soft); padding-block: var(--section); }
.fg-try__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	grid-template-areas: "head card" "tries card";
	grid-template-rows: auto 1fr;
	gap: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
.fg-try__head { grid-area: head; }
.fg-try__tries { grid-area: tries; }
.fg-try .fg-call { grid-area: card; position: sticky; top: calc(var(--header-h) + 2rem); }
.fg-try__label { margin: 0 0 1rem; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em; }
.fg-tries { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fg-tries li { padding: 1.1rem 0 1.15rem; border-bottom: 1px solid var(--line); }
.fg-tries__say { font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.35; }
.fg-tries li p + p { margin-top: 0.3rem; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.fg-try .fg-note { margin-top: 1.25rem; }

.fg-call { background: var(--white); border-top: 3px solid var(--gold); padding: clamp(1.5rem, 3vw, 2.25rem); }
.fg-call__top { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; font-weight: 600; }
.fg-call__dot { flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--gold); }
.fg-call__num {
	display: block;
	margin: 1.25rem 0 1.5rem;
	font-weight: 200;
	font-size: clamp(2.1rem, 3.3vw, 3rem);
	line-height: 1;
	letter-spacing: -0.04em;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
	text-decoration: none;
	transition: color 0.2s ease;
}
.fg-call__num:hover { color: var(--gold-display); }
.fg-call__btn { width: 100%; }
.fg-call__fine { margin-top: 1rem; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }

/* The same line, as one sentence inside other copy. */
.fg-telnum { color: var(--ink); font-weight: 600; white-space: nowrap; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.fg-trynote { margin-top: clamp(2rem, 4vw, 3rem); max-width: 46rem; background: var(--soft); border-top: 3px solid var(--gold); padding: 1.25rem 1.5rem; }
.fg-trynote p { color: var(--muted); line-height: 1.55; }
.fg-trynote strong { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
	.fg-call__dot { animation: fg-ping 2.6s ease-out infinite; }
}
@keyframes fg-ping {
	0% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.55); }
	70%, 100% { box-shadow: 0 0 0 0.6rem rgba(201, 162, 39, 0); }
}

@media (max-width: 60rem) {
	.fg-try__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "tries"; grid-template-rows: auto; }
	.fg-try .fg-call { position: static; }
}

/* ---------------------------------------------------------------------
   Trades: one row per niche. A pivot adds a row and a page, nothing else.
   ------------------------------------------------------------------ */
.fg-trades { background: var(--soft); padding-block: var(--section); }
.fg-trades .fg-sub { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.fg-trades__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fg-trade {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
	gap: clamp(1.25rem, 3vw, 3rem);
	align-items: baseline;
	padding-block: clamp(1.75rem, 3vw, 2.5rem);
	border-bottom: 1px solid var(--line);
}
.fg-trade__name { margin: 0; font-weight: 700; font-size: clamp(1.75rem, 2.8vw, 2.25rem); letter-spacing: -0.035em; line-height: 1.05; }
.fg-trade__offer { font-size: 1.1875rem; line-height: 1.5; color: var(--muted); }
.fg-trade__link { justify-self: end; color: var(--ink); }
@media (max-width: 60rem) {
	.fg-trade { grid-template-columns: 1fr; gap: 0.75rem; }
	.fg-trade__link { justify-self: start; }
}

.fg-already { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--muted); }
.fg-already a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 0.25em; }

/* ---------------------------------------------------------------------
   Who you'll talk to: the trust check after the form
   ------------------------------------------------------------------ */
.fg-who { padding-block: var(--section); border-top: 1px solid var(--line); }
.fg-who__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: center;
}
.fg-who__photo { max-width: 24rem; }
.fg-who__text { font-size: 1.1875rem; color: var(--muted); max-width: 34rem; }
.fg-who__text + .fg-who__text { margin-top: 1.25rem; }
@media (max-width: 60rem) {
	.fg-who__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Questions
   ------------------------------------------------------------------ */
.fg-faq { padding-block: var(--section); border-top: 1px solid var(--line); }
.fg-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
.fg-faq__side { position: sticky; top: calc(var(--header-h) + 2rem); }
.fg-faq__side .fg-h2 { margin-bottom: 2rem; }
.fg-faq__ask { background: var(--soft); padding: 1.5rem; border-top: 3px solid var(--gold); max-width: 20rem; }
.fg-faq__ask p { color: var(--muted); font-size: 0.9375rem; }
.fg-faq__ask p:first-child { color: var(--ink); font-weight: 600; font-size: 1.0625rem; margin-bottom: 0.4rem; }
.fg-faq__ask .fg-btn { margin-top: 1.1rem; }
.fg-faq__ask .fg-faq__small { margin-top: 0.9rem; font-size: 0.875rem; }
.fg-faq__ask a:not(.fg-btn) { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
.fg-faq__list { border-top: 1px solid var(--line); }
.fg-faq__list details { border-bottom: 1px solid var(--line); }
.fg-faq__list summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.5rem;
	padding-block: 1.3rem;
	font-weight: 600;
	font-size: 1.1875rem;
	letter-spacing: -0.01em;
	line-height: 1.35;
}
.fg-faq__list summary::-webkit-details-marker { display: none; }
.fg-faq__list summary::after {
	content: "+";
	flex: none;
	font-weight: 300;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--gold-text);
}
.fg-faq__list details[open] summary::after { content: "\2212"; }
.fg-faq__list details p { padding-bottom: 1.5rem; color: var(--muted); max-width: 42rem; font-size: 1.0625rem; }
@media (max-width: 60rem) {
	.fg-faq__grid { grid-template-columns: 1fr; }
	.fg-faq__side { position: static; }
}

/* ---------------------------------------------------------------------
   Closing ask
   ------------------------------------------------------------------ */
.fg-close { background: var(--soft); padding-block: var(--section); }
.fg-close__in {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: end;
}
.fg-close p { font-size: 1.1875rem; color: var(--muted); max-width: 32rem; margin-bottom: 1.75rem; }
@media (max-width: 60rem) {
	.fg-close__in { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Footer: white, one hairline
   ------------------------------------------------------------------ */
.fg-footer {
	background: var(--white);
	color: var(--muted);
	border-top: 1px solid var(--line);
	padding-block: 3.5rem;
	font-size: 0.9375rem;
}
.fg-footer__in {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
	gap: 2.5rem;
	align-items: start;
}
.fg-footer__brand p { margin-top: 0.75rem; max-width: 22rem; }
.fg-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.fg-footer a { color: var(--ink); }
.fg-footer__links a { text-decoration: none; font-weight: 500; }
.fg-footer__links a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.fg-footer__meta p + p { margin-top: 0.6rem; }
@media (max-width: 48rem) {
	.fg-footer__in { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Document pages: guarantee terms, booking, privacy.
   Same left edge as the home page: the column sits in the wrap, not centered.
   ------------------------------------------------------------------ */
.fg-doc { padding-block: clamp(3rem, 7vw, 6rem) var(--section); }
.fg-doc__title {
	font-weight: 700;
	font-size: clamp(2.75rem, 6vw, 4.75rem);
	letter-spacing: -0.045em;
	line-height: 1;
	margin: 0 0 2rem;
	max-width: 16ch;
}
.fg-doc__body { max-width: 44rem; }
.fg-doc__body > * + * { margin-top: 1.1rem; }
.fg-doc__body h2 {
	font-weight: 700;
	font-size: 1.375rem;
	letter-spacing: -0.02em;
	line-height: 1.3;
	margin-top: 2.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}
.fg-doc__body h2 + * { margin-top: 0.75rem; }
.fg-doc__body ul, .fg-doc__body ol { padding-left: 1.25rem; }
.fg-doc__body li + li { margin-top: 0.5rem; }
.fg-doc__body li::marker { color: var(--gold-text); }
.fg-doc__body a { text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
.fg-doc__lede { font-size: 1.3125rem; line-height: 1.5; }
.fg-doc__meta { font-size: 0.9375rem; color: var(--muted); }

.fg-booking { margin-block: 2rem; }
.fg-booking__frame { width: 100%; min-height: 44rem; border: 1px solid var(--line); background: var(--white); }

/* ---------------------------------------------------------------------
   Sales page (/call/): no menu, one goal, the calendar on the page
   ------------------------------------------------------------------ */
.fg-header__book { margin-left: auto; }
/* The sales page has no menu on purpose: one goal, no exits. The logo still links home.
   This is the one deliberate exception to the Worpress Portfolio "Home in the menu" rule. */
.fg-sales { display: block; }
.fg-header--min .fg-header__in { gap: 1rem; }
.fg-calc__result[hidden], .fg-calc__empty[hidden] { display: none !important; }

.fg-problem { padding-block: var(--section); border-top: 1px solid var(--line); }
.fg-problem__in {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: start;
}
.fg-problem__text p { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; letter-spacing: -0.01em; }
.fg-problem__text p + p { margin-top: 1.25rem; }
.fg-problem__text p:last-child { font-weight: 600; }

.fg-worth { background: var(--soft); padding-block: var(--section); }
.fg-worth .fg-sub { margin-bottom: clamp(2rem, 4vw, 3rem); }
.fg-calc {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: stretch;
}
.fg-calc__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; align-content: start; align-items: end; }
.fg-calc__field input::-webkit-outer-spin-button, .fg-calc__field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fg-calc__field input[type=number] { -moz-appearance: textfield; }
.fg-calc__field { display: grid; gap: 0.5rem; }
.fg-calc__field span { font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.fg-calc__field input, .fg-calc__field select {
	box-sizing: border-box;
	width: 100%;
	font: inherit;
	font-size: 1.125rem;
	padding: 0.85rem 1rem;
	color: var(--ink);
	background: var(--white);
	border: 1px solid #CFCCC4;
	border-radius: 10px;
	appearance: none;
	-webkit-appearance: none;
}
.fg-calc__field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
	background-position: calc(100% - 1.25rem) 55%, calc(100% - 0.9rem) 55%;
	background-size: 0.35rem 0.35rem;
	background-repeat: no-repeat;
}
.fg-calc__field input:focus, .fg-calc__field select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.fg-calc__out {
	background: var(--white);
	border-top: 3px solid var(--gold);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.fg-calc__emptyhead { font-weight: 600; font-size: 1.0625rem; }
.fg-calc__how { margin-top: 0.75rem; color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
.fg-calc__big { font-weight: 200; font-size: clamp(3rem, 7vw, 5rem); letter-spacing: -0.05em; line-height: 1; color: var(--gold-display); font-variant-numeric: tabular-nums; }
.fg-calc__label { margin-top: 0.5rem; font-weight: 600; }
.fg-calc__lines { list-style: none; margin: 1.25rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; color: var(--muted); }
.fg-calc__lines strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.fg-calc__note { margin-top: 1rem; font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 60rem) {
	.fg-problem__in, .fg-calc { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
	.fg-calc__fields { grid-template-columns: 1fr; }
}

.fg-get { padding-block: var(--section); }
.fg-get__list {
	list-style: none;
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 clamp(1.5rem, 4vw, 3rem);
}
.fg-get__list li { border-top: 1px solid var(--line); padding-block: 1.5rem 2rem; }
.fg-get__list h3 { margin: 0 0 0.5rem; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.fg-get__list p { color: var(--muted); }
@media (max-width: 60rem) { .fg-get__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .fg-get__list { grid-template-columns: 1fr; } }

.fg-steps { padding-block: var(--section); border-top: 1px solid var(--line); }
.fg-steps__list {
	list-style: none;
	counter-reset: fgs;
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
}
.fg-steps__list li { counter-increment: fgs; }
.fg-steps__list li::before {
	content: counter(fgs);
	display: block;
	font-weight: 100;
	font-size: clamp(3.5rem, 6vw, 5rem);
	line-height: 1;
	letter-spacing: -0.05em;
	color: var(--gold-display);
	margin-bottom: 1rem;
}
.fg-steps__list h3 { margin: 0 0 0.5rem; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.fg-steps__list p { color: var(--muted); }
@media (max-width: 48rem) { .fg-steps__list { grid-template-columns: 1fr; } }

.fg-bookblock { background: var(--soft); padding-block: var(--section); scroll-margin-top: var(--header-h); }
.fg-bookblock__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.fg-bookblock__note { margin-top: 1.25rem; color: var(--muted); font-size: 0.9375rem; max-width: 22rem; }
.fg-bookblock .fg-booking { margin: 0; }
.fg-bookblock .fg-plate { background: var(--white); }
.fg-bookblock .fg-booking__frame { min-height: 46rem; border: 0; }
@media (max-width: 60rem) { .fg-bookblock__grid { grid-template-columns: 1fr; } }

.fg-footer--min .fg-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.fg-footer--min { padding-block: 2.25rem; }

/* Small screens: one button that follows the reader, hidden once the calendar is in view */
.fg-stickybook { display: none; }
@media (max-width: 60rem) {
	.fg-stickybook {
		display: block;
		position: fixed;
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.75rem;
		z-index: 60;
		padding: 1rem 1.25rem;
		background: var(--ink);
		color: var(--white);
		text-align: center;
		font-weight: 600;
		text-decoration: none;
		border-radius: 999px;
		box-shadow: 0 6px 24px rgba(17, 17, 17, 0.18);
		transition: transform 0.3s ease, opacity 0.3s ease;
	}
	.fg-stickybook.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
	body:has(.fg-stickybook) { padding-bottom: 5rem; }
}

/* ---------------------------------------------------------------------
   Booking page (/call/): short. Headline, three points, the calendar on the first screen.
   ------------------------------------------------------------------ */
.fg-h1--sm { font-size: clamp(2.6rem, 4.8vw, 4.4rem); }
.fg-bookhero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); }
.fg-bookhero__grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.fg-bookhero__copy { min-width: 0; }
.fg-bookhero .fg-lede { margin-bottom: 1.75rem; }
.fg-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fg-points li {
	position: relative;
	padding: 0.85rem 0 0.85rem 2.1rem;
	border-bottom: 1px solid var(--line);
	font-size: 1.0625rem;
	line-height: 1.5;
}
.fg-points li::before {
	content: "";
	position: absolute;
	left: 0.3rem;
	top: 1.05rem;
	width: 0.4rem;
	height: 0.85rem;
	border: solid var(--gold);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}
.fg-points a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 0.2em; white-space: nowrap; }
.fg-bookhero__who { margin-top: 1.5rem; font-size: 0.9375rem; color: var(--muted); }
.fg-bookhero__cal { scroll-margin-top: calc(var(--header-h) + 1rem); }
.fg-bookhero__cal .fg-booking { margin: 0; }
.fg-bookhero__cal .fg-booking__frame { min-height: 44rem; border: 1px solid var(--line); }
@media (max-width: 60rem) {
	.fg-bookhero__grid { grid-template-columns: 1fr; }
}

.fg-minifaq { background: var(--soft); padding-block: clamp(3rem, 6vw, 5rem); }
.fg-minifaq__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.fg-minifaq h2 { margin: 0 0 0.5rem; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.015em; }
.fg-minifaq p { color: var(--muted); font-size: 0.9875rem; }
@media (max-width: 48rem) { .fg-minifaq__grid { grid-template-columns: 1fr; } }

/* Confirmation page (/booked/) */
.fg-booked { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); }
.fg-booked .fg-lede { max-width: 38rem; }
.fg-booked .fg-steps__list { margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------------------------------------------------------------------
   Motion: one load sequence, one signature, reveals that fire once.
   Everything is visible without JS, and a failsafe in site.js shows it all.
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
	.js .fg-hero .fg-line,
	.js .fg-hero .fg-kicker,
	.js .fg-hero .fg-lede,
	.js .fg-hero .fg-actions {
		opacity: 0;
		transform: translateY(0.5em);
		animation: fg-up 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
	}
	.js .fg-hero .fg-kicker { animation-delay: 0.05s; }
	.js .fg-hero .fg-line:nth-child(1) { animation-delay: 0.14s; }
	.js .fg-hero .fg-line:nth-child(2) { animation-delay: 0.23s; }
	.js .fg-hero .fg-lede { animation-delay: 0.32s; }
	.js .fg-hero .fg-actions { animation-delay: 0.41s; }

	/* The signature: the text message bubble arrives the way a text does. */
	.js .fg-hero .fg-sms__bubble {
		opacity: 0;
		transform: translateY(14px) scale(0.97);
		transform-origin: left bottom;
		animation: fg-arrive 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards;
	}

	.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
	.js [data-reveal].is-in { opacity: 1; transform: none; }

	.fg-rail::after { transition: transform 1.4s cubic-bezier(0.3, 0.6, 0.2, 1); }
	.js .fg-rail__stop { opacity: 0.35; transition: opacity 0.4s ease; transition-delay: calc(var(--i) * 0.3s + 0.1s); }
	.js .fg-rail.is-in .fg-rail__stop { opacity: 1; }
}
.fg-rail.is-in { --fill: 1; }
html:not(.js) .fg-rail { --fill: 1; }

@keyframes fg-up { to { opacity: 1; transform: none; } }
@keyframes fg-arrive { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.fg-rail { --fill: 1; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Text for screen readers only (the huge "12" is decoration; the heading says it in words). */
.fg-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
