/* ==========================================================================
   Figlantis — field journal of a fig collector
   Palette: paper (fig latex), leaf, ink, pulp (fig flesh), skin (fig skin), sun (atlas pins)
   ========================================================================== */

:root {
	/* Desert night: warm dark ground, sand text, dune accents. */
	--paper: #15120F;
	--paper-2: #1C1814;
	--paper-3: #2A241E;
	--surface: #211C17;
	--ink: #EDE3D1;
	--ink-2: #C2B49C;
	--ink-3: #93876F;
	--sand: #D8B98A;
	--dune: #C9965E;
	--leaf: #D8B98A;     /* primary action colour */
	--leaf-2: #E9CFA3;
	--leaf-3: #8DB580;
	--pulp: #E0707F;
	--pulp-2: #C9566A;
	--skin: #B48BC4;
	--sun: #E6B655;
	--night: #0D0B09;
	--on-light: #15120F;
	--line: rgba(237, 227, 209, .13);
	--line-strong: rgba(237, 227, 209, .36);

	/* Topic colours (overridden per topic in the admin). */
	--c-expeditions: #E6B655;
	--c-wild: #8DB580;
	--c-collection: #B48BC4;
	--c-growing: #7FB5A8;
	--c-tasting: #E0707F;

	--serif: Fraunces, Georgia, "Times New Roman", serif;
	--sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--measure: 680px;
	--radius: 4px;

	--step--1: .875rem;
	--step-0: 1rem;
	--step-1: 1.2rem;
	--step-2: clamp(1.4rem, 1.2rem + .8vw, 1.75rem);
	--step-3: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
	--step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.75rem);
	--step-5: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem);

	--fl-pulp-mark: #E0707F;
	--fl-seed-mark: #F2D9A0;
	color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--serif);
	font-size: var(--step-1);
	font-variation-settings: "opsz" 14;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--pulp); }
:focus-visible { outline: 2px solid var(--pulp); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	font-variation-settings: "opsz" 96;
	line-height: 1.1;
	letter-spacing: -.012em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.fl-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; font-family: var(--sans); }
.fl-skip:focus { left: 8px; }

.fl-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- UI type ---------- */

.fl-topic, .fl-meta, .fl-filter label, .fl-tabs, .fl-filterbar__count, .fl-label__facts,
.fl-facts dt, .fl-button, .fl-chips, .fl-menu, .fl-botanical, .fl-status, .fl-result__kind,
.fl-atlas__count, .fl-viewswitch, .fl-table, .fl-flag, .fl-sheet__crumbs, .fl-buybox {
	font-family: var(--sans);
}

.fl-topic {
	display: inline-block;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--pulp);
	text-decoration: none;
	margin-bottom: .55rem;
}
.fl-topic:hover { text-decoration: underline; }
.fl-topic--light { color: var(--sun); }

.fl-meta {
	display: flex; flex-wrap: wrap; gap: .25rem 1.1rem;
	font-size: var(--step--1);
	color: var(--ink-2);
	margin: 0;
}
.fl-meta__place { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink); font-weight: 500; }
.fl-pin { width: 10px; height: 14px; flex: none; color: var(--pulp); display: inline-block; }

.fl-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .8rem 1.35rem;
	background: var(--leaf); color: var(--paper);
	border: 1px solid var(--leaf); border-radius: var(--radius);
	font-size: .95rem; font-weight: 600; line-height: 1.1;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s;
}
.fl-button:hover { background: var(--leaf-2); color: var(--paper); }
.fl-button--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.fl-button--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fl-button--small { padding: .5rem .8rem; font-size: .85rem; }
.fl-textlink { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--pulp); }

/* ---------- Header ---------- */

.fl-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 94%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .fl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fl-header { top: 0; position: relative; } }

.fl-header__inner {
	max-width: var(--wrap); margin-inline: auto; padding: .7rem var(--gutter);
	display: flex; align-items: center; gap: 1.5rem;
}
.fl-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--skin); }
.fl-logo:hover { color: var(--skin); }
.fl-mark { width: 26px; height: auto; color: var(--skin); }
.fl-logo__word {
	font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
	font-variation-settings: "opsz" 144; letter-spacing: -.02em; color: var(--ink);
}
.custom-logo { max-height: 44px; width: auto; }

.fl-nav { margin-left: auto; }
.fl-menu { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; font-size: .98rem; font-weight: 500; }
.fl-menu a { text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.fl-menu a:hover, .fl-menu .current-menu-item > a, .fl-menu .current_page_item > a, .fl-menu .current-menu-parent > a { border-bottom-color: var(--pulp); color: var(--ink); }
.fl-menu .sub-menu { display: none; }

.fl-header__tools { display: flex; align-items: center; gap: .9rem; font-family: var(--sans); font-size: .95rem; }
.fl-search-open, .fl-menu-toggle {
	background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--ink);
	display: inline-flex; align-items: center; gap: .45rem; font: inherit; font-weight: 500;
}
.fl-search-open svg { width: 18px; height: 18px; }
.fl-cart { text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: .35rem; }
.fl-cart__count {
	min-width: 1.45rem; height: 1.45rem; padding: 0 .35rem; border-radius: 99px;
	background: var(--pulp); color: var(--on-light); font-size: .78rem; font-weight: 700;
	display: inline-grid; place-items: center;
}
.fl-menu-toggle { display: none; width: 40px; height: 40px; justify-content: center; }
.fl-menu-toggle__bars, .fl-menu-toggle__bars::before, .fl-menu-toggle__bars::after {
	display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.fl-menu-toggle__bars::before, .fl-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.fl-menu-toggle__bars::before { top: -7px; }
.fl-menu-toggle__bars::after { top: 7px; }
.fl-menu-toggle[aria-expanded="true"] .fl-menu-toggle__bars { background: transparent; }
.fl-menu-toggle[aria-expanded="true"] .fl-menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.fl-menu-toggle[aria-expanded="true"] .fl-menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
	.fl-header__inner { gap: .75rem; }
	.fl-header__tools { margin-left: auto; gap: .35rem; }
	.fl-search-open span, .fl-cart > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.fl-menu-toggle { display: inline-flex; }
	.fl-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--paper); border-bottom: 1px solid var(--line); margin: 0;
		padding: .5rem var(--gutter) 1.25rem;
	}
	.fl-nav.is-open { display: block; }
	.fl-menu { flex-direction: column; gap: 0; font-family: var(--serif); font-size: 1.5rem; }
	.fl-menu a { display: block; padding: .55rem 0; border: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Lead story (home hero) ---------- */

.fl-lead { position: relative; color: #fff; background: var(--paper-2); min-height: min(88vh, 860px); display: grid; isolation: isolate; }
.fl-lead__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.fl-lead__media img { width: 100%; height: 100%; object-fit: cover; }
.fl-lead__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(13, 11, 9, .1) 30%, rgba(13, 11, 9, .6) 62%, rgba(13, 11, 9, .96) 100%);
}
.fl-lead__text {
	align-self: end; width: 100%; max-width: var(--wrap); margin-inline: auto;
	padding: 8rem var(--gutter) clamp(2rem, 5vw, 4rem);
}
.fl-lead__title {
	font-size: var(--step-5); font-weight: 400; max-width: 15ch; margin-bottom: .35em;
	font-variation-settings: "opsz" 144; letter-spacing: -.025em; line-height: .98;
}
.fl-lead__title a { text-decoration: none; color: inherit; }
.fl-lead__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.fl-lead__dek { font-size: var(--step-2); max-width: 36ch; line-height: 1.35; margin-bottom: 1.2rem; color: rgba(255,255,255,.92); font-variation-settings: "opsz" 36; }
.fl-lead .fl-meta { color: rgba(255,255,255,.82); }
.fl-lead .fl-meta__place { color: #fff; }
.fl-lead .fl-pin { color: var(--sun); }

.fl-intro { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.fl-intro h1 { font-size: var(--step-5); }
.fl-intro p { font-size: var(--step-2); color: var(--ink-2); max-width: 32ch; margin-inline: auto; }
.fl-mark--hero { width: 64px; margin: 0 auto 1.5rem; }

/* ---------- Atlas (globe) ---------- */

.fl-atlas {
	--globe-sea: #1E1914;
	--globe-land: #D8B98A;
	--globe-pin: #E6B655;
	--globe-glow: #C9965E;
	background: radial-gradient(120% 90% at 75% 40%, #2A2017 0%, var(--night) 62%); color: var(--ink);
	padding-block: clamp(3.5rem, 8vw, 6.5rem);
	overflow: clip; /* not hidden: hidden would stop the globe from sticking */
}
.fl-atlas__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.fl-atlas h2 { font-size: var(--step-4); font-weight: 400; font-variation-settings: "opsz" 144; }
.fl-atlas__intro { color: rgba(238, 240, 230, .8); max-width: 38ch; }
.fl-atlas__list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid rgba(238,240,230,.18); counter-reset: none; }
.fl-atlas__list li { border-bottom: 1px solid rgba(238,240,230,.18); }
.fl-atlas__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; text-decoration: none; }
.fl-atlas__name { font-size: var(--step-2); font-variation-settings: "opsz" 48; transition: color .15s; }
.fl-atlas__count { font-size: .85rem; color: rgba(238,240,230,.65); white-space: nowrap; }
.fl-atlas__list li.is-active .fl-atlas__name, .fl-atlas__list a:hover .fl-atlas__name { color: var(--sun); }
.fl-atlas__list a:hover { color: inherit; }
.fl-atlas__empty { color: rgba(238,240,230,.7); font-style: italic; }

.fl-atlas__stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 680px; justify-self: center; }
.fl-atlas__canvas { position: absolute; inset: 0; cursor: grab; }
.fl-atlas__canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.fl-atlas__stage::before {
	/* Placeholder disc shown until WebGL is ready (and if it never is). */
	content: ""; position: absolute; inset: 9%; border-radius: 50%;
	background: radial-gradient(circle at 38% 35%, #3A2E22, #1E1914 70%);
	box-shadow: 0 0 90px rgba(201, 150, 94, .22);
	transition: opacity .6s;
}
.fl-atlas.is-ready .fl-atlas__stage::before { opacity: 0; }
.fl-atlas__tip {
	position: absolute; left: 0; top: 0; pointer-events: none; z-index: 2;
	background: var(--paper); color: var(--ink); padding: .5rem .75rem; border-radius: var(--radius);
	font-family: var(--sans); font-size: .85rem; line-height: 1.3; box-shadow: 0 6px 24px rgba(0,0,0,.25);
	display: grid;
}
.fl-atlas__tip strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.fl-atlas__hint { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-family: var(--sans); font-size: .8rem; color: rgba(238,240,230,.55); margin: 0; }

@media (max-width: 900px) {
	.fl-atlas__grid { grid-template-columns: 1fr; }
	.fl-atlas__stage { order: -1; max-width: 460px; }
}

/* ---------- Sections ---------- */

.fl-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.fl-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.fl-section__head h2, .fl-section__title { font-size: var(--step-3); margin: 0; }
.fl-section__title { margin-bottom: 1.75rem; }
.fl-section__head p { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: 1.05rem; }
.fl-section__more { margin: 2.5rem 0 0; }

.fl-topics { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-family: var(--sans); font-size: .95rem; }
.fl-topics a { text-decoration: none; color: var(--ink-2); }
.fl-topics a:hover { color: var(--pulp); text-decoration: underline; }

/* ---------- Story cards ---------- */

.fl-story { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.fl-story__media { display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; border-radius: var(--radius); }
.fl-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fl-story:hover .fl-story__media img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .fl-story:hover .fl-story__media img { transform: none; } }
.fl-story__title { font-size: var(--step-2); margin: 0 0 .5rem; font-variation-settings: "opsz" 48; }
.fl-story__title a { text-decoration: none; }
.fl-story__title a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; }
.fl-story__dek { color: var(--ink-2); font-size: 1.05rem; line-height: 1.5; margin-bottom: .75rem; }

.fl-story--lead .fl-story__title { font-size: var(--step-4); font-weight: 400; font-variation-settings: "opsz" 144; }
.fl-story--lead .fl-story__media { aspect-ratio: 3 / 2; }
.fl-story--lead .fl-story__dek { font-size: var(--step-1); }

.fl-story--compact { flex-direction: row; gap: .9rem; align-items: start; }
.fl-story--compact .fl-story__media { width: 96px; flex: none; aspect-ratio: 1; }
.fl-story--compact .fl-story__title { font-size: 1.15rem; }

.fl-feature-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) {
	.fl-feature-grid { grid-template-columns: 1.7fr 1fr; grid-template-rows: auto auto auto; column-gap: 3rem; row-gap: 2rem; }
	.fl-feature-grid > .fl-story--lead { grid-row: 1 / span 3; padding-right: 3rem; border-right: 1px solid var(--line); }
	.fl-feature-grid > .fl-story:not(.fl-story--lead) { flex-direction: row; gap: 1.1rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
	.fl-feature-grid > .fl-story:not(.fl-story--lead):last-child { border-bottom: 0; padding-bottom: 0; }
	.fl-feature-grid > .fl-story:not(.fl-story--lead) .fl-story__media { width: 40%; flex: none; aspect-ratio: 1; }
	.fl-feature-grid > .fl-story:not(.fl-story--lead) .fl-story__title { font-size: 1.3rem; }
	.fl-feature-grid > .fl-story:not(.fl-story--lead) .fl-story__dek { display: none; }
}

.fl-story-grid { display: grid; gap: 2.75rem 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* ---------- Variety specimens ---------- */

.fl-register-band { background: var(--paper-2); }
.fl-specimen-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.fl-specimen-grid--small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.fl-specimen { display: flex; flex-direction: column; min-width: 0; }
.fl-specimen__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); border-radius: var(--radius) var(--radius) 0 0; }
.fl-specimen__media img { width: 100%; height: 100%; object-fit: cover; }
.fl-flag { position: absolute; left: .6rem; top: .6rem; background: var(--sun); color: var(--on-light); font-size: .75rem; font-weight: 700; padding: .25rem .5rem; border-radius: 2px; }

/* The label: modelled on a herbarium sheet label — ruled fields, botanical name in italic. */
.fl-label {
	background: var(--surface); border: 1px solid var(--line); border-top: 0;
	padding: .9rem 1rem 1rem; flex: 1;
	border-radius: 0 0 var(--radius) var(--radius);
}
.fl-label__name { font-size: 1.35rem; margin: 0; font-variation-settings: "opsz" 48; }
.fl-label__name a { text-decoration: none; }
.fl-label__name a:hover { color: var(--pulp); }
.fl-botanical { display: block; font-size: .85rem; color: var(--ink-2); margin: .1rem 0 .75rem; }
.fl-botanical i { font-family: var(--serif); font-size: 1.02em; }
.fl-label__facts { margin: 0; font-size: .82rem; }
.fl-label__facts > div { display: grid; grid-template-columns: 4.6rem 1fr; gap: .5rem; padding: .3rem 0; border-top: 1px dotted var(--line-strong); }
.fl-label__facts dt { color: var(--ink-3); }
.fl-label__facts dd { margin: 0; font-weight: 500; }

/* ---------- Page heads, tabs, filters ---------- */

.fl-page-head { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: 1.5rem; }
.fl-page-head h1 { font-size: var(--step-5); font-weight: 400; font-variation-settings: "opsz" 144; letter-spacing: -.025em; margin-bottom: .3em; }
.fl-page-head__intro { font-size: var(--step-2); color: var(--ink-2); max-width: 40ch; line-height: 1.35; font-variation-settings: "opsz" 36; }
.fl-page-head__intro a { color: var(--pulp); }

.fl-tabs {
	display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none;
	border-bottom: 1px solid var(--ink); margin-bottom: 1.25rem; padding-bottom: 0;
	-webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
	mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.fl-tabs::-webkit-scrollbar { display: none; }
.fl-tabs a {
	white-space: nowrap; text-decoration: none; padding: .7rem .9rem; font-size: .98rem; font-weight: 500;
	border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--ink-2);
}
.fl-tabs a:hover { color: var(--ink); }
.fl-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--pulp); }
.fl-tabs a:first-child { padding-left: 0; }

.fl-filterbar { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem 1.25rem; margin-bottom: 2.5rem; }
.fl-filter { display: grid; gap: .25rem; }
.fl-filter label { font-size: .8rem; color: var(--ink-3); font-weight: 500; }
.fl-filter select, .fl-form input, .fl-form select, .fl-form textarea, .fl-searchpage-form input {
	font: 500 .95rem/1.2 var(--sans); color: var(--ink);
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
	padding: .6rem 2rem .6rem .75rem; min-height: 42px;
}
.fl-filter select {
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D8B98A' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right .7rem center; background-size: 11px;
	min-width: 10rem;
}
.fl-filterbar__end { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.fl-filterbar__count { font-size: .9rem; color: var(--ink-2); margin: 0 0 .6rem auto; }
.fl-filterbar__end .fl-filterbar__count { margin: 0; }
.fl-viewswitch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; font-size: .88rem; }
.fl-viewswitch a { padding: .5rem .85rem; text-decoration: none; }
.fl-viewswitch a[aria-current] { background: var(--ink); color: var(--paper); }

.fl-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; font-size: .9rem; }
.fl-chips a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border: 1px solid var(--line-strong); border-radius: 99px; text-decoration: none; }
.fl-chips a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fl-chips a:hover .fl-pin { color: var(--sun); }
.fl-chips span { color: var(--ink-3); }

.fl-empty { padding: 3rem 0; font-size: var(--step-1); color: var(--ink-2); }
.fl-empty .fl-button { margin-top: .5rem; }

.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3.5rem; font-family: var(--sans); }
.nav-links .page-numbers { padding: .5rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; min-width: 2.6rem; text-align: center; }
.nav-links .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-links .page-numbers:hover:not(.current) { border-color: var(--ink); color: var(--ink); }
.pagination .screen-reader-text { display: none; }

/* ---------- Register table ---------- */

.fl-table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.fl-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 760px; }
.fl-table th, .fl-table td { text-align: left; padding: .7rem .8rem .7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fl-table thead th { border-bottom: 1px solid var(--ink); }
.fl-table thead button { all: unset; cursor: pointer; font-weight: 600; font-size: .82rem; color: var(--ink-2); display: inline-flex; gap: .3rem; align-items: center; }
.fl-table thead button:focus-visible { outline: 2px solid var(--pulp); }
.fl-table thead button::after { content: "↕"; opacity: .35; font-size: .8em; }
.fl-table thead button[data-dir="asc"]::after { content: "↑"; opacity: 1; }
.fl-table thead button[data-dir="desc"]::after { content: "↓"; opacity: 1; }
.fl-table tbody th { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.fl-table tbody th a { text-decoration: none; }
.fl-table tbody tr:hover { background: var(--paper-2); }

/* ---------- Article ---------- */

.fl-article__head { max-width: calc(var(--measure) + 2 * var(--gutter) + 160px); padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: 2rem; }
.fl-article__title { font-size: var(--step-5); font-weight: 400; font-variation-settings: "opsz" 144; letter-spacing: -.025em; line-height: 1; margin-bottom: .4em; }
.fl-article__dek { font-size: var(--step-2); line-height: 1.35; color: var(--ink-2); max-width: 34ch; margin: 0; font-variation-settings: "opsz" 36; }
.fl-article__hero { margin: 0; }
.fl-article__hero img { width: 100%; max-height: 86vh; object-fit: cover; }
.fl-article__hero figcaption { font-family: var(--sans); font-size: .85rem; color: var(--ink-2); padding-top: .6rem; }
.fl-article__byline { max-width: calc(var(--measure) + 2 * var(--gutter)); padding-top: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); margin-bottom: 2.25rem; }
.fl-article__location { font-family: var(--sans); font-size: .9rem; color: var(--ink-2); margin: .4rem 0 0; }

.fl-prose { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.fl-prose > * { margin-block: 0 1.3em; }
.fl-prose p { font-size: 1.22rem; line-height: 1.72; }
.fl-prose > p:first-of-type::first-letter {
	float: left; font-size: 4.4em; line-height: .82; padding: .06em .08em 0 0;
	font-variation-settings: "opsz" 144; font-weight: 500; color: var(--c, var(--sand));
}
.fl-page .fl-prose > p:first-of-type::first-letter, .fl-sheet__notes > p:first-of-type::first-letter { all: unset; }
.fl-prose h2 { font-size: var(--step-3); margin-top: 2em; }
.fl-prose h3 { font-size: var(--step-2); margin-top: 1.6em; }
.fl-prose a { color: var(--c, var(--sand)); }
.fl-prose blockquote, .fl-prose .wp-block-pullquote { margin: 2.2em 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--c, var(--sand)); font-size: var(--step-2); line-height: 1.35; font-style: italic; }
.fl-prose .wp-block-pullquote { border: 0; border-block: 1px solid var(--ink); padding: 1.5rem 0; text-align: left; }
.fl-prose cite { display: block; font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--ink-2); margin-top: .5rem; }
.fl-prose figure { margin-block: 2em; }
.fl-prose figcaption, .fl-prose .wp-element-caption { font-family: var(--sans); font-size: .85rem; color: var(--ink-2); margin-top: .6rem; line-height: 1.45; }
.fl-prose ul, .fl-prose ol { padding-left: 1.3em; }
.fl-prose li { margin-bottom: .4em; }
.fl-prose hr { border: 0; border-top: 1px solid var(--line-strong); margin: 3em auto; width: 30%; }
.fl-prose .alignwide { width: min(1120px, calc(100vw - 2 * var(--gutter))); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.fl-prose .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.fl-prose .alignfull img, .fl-prose .alignwide img { width: 100%; }
.fl-prose .wp-block-gallery { gap: .6rem; }
.fl-prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .95rem; }
.fl-prose td, .fl-prose th { padding: .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.fl-prose img { border-radius: var(--radius); }

.fl-in-story { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ink); }
.fl-in-story h2 { font-size: var(--step-2); margin-bottom: 1.25rem; }
.fl-article__foot { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-top: 2.5rem; margin-bottom: 3rem; }

.fl-comments { max-width: calc(var(--measure) + 2 * var(--gutter)); padding-bottom: 4rem; font-family: var(--sans); font-size: 1rem; }
.fl-comments .comment-list { list-style: none; padding: 0; }
.fl-comments textarea, .fl-comments input[type="text"], .fl-comments input[type="email"], .fl-comments input[type="url"] { width: 100%; font: inherit; padding: .6rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.fl-comments .submit { background: var(--leaf); color: var(--paper); border: 0; padding: .8rem 1.3rem; border-radius: var(--radius); font: 600 .95rem var(--sans); cursor: pointer; }

/* ---------- Variety sheet ---------- */

.fl-sheet__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: 3rem; align-items: start; }
.fl-sheet__media { margin: 0; position: sticky; top: 90px; }
.fl-sheet__media img, .fl-sheet__media .fl-noimg { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.fl-sheet__crumbs { font-size: .88rem; margin-bottom: 1.5rem; }
.fl-sheet__crumbs a { color: var(--ink-2); }
.fl-sheet__label .fl-botanical { font-size: 1rem; margin-bottom: .2rem; }
.fl-sheet__title { font-size: var(--step-5); font-weight: 400; font-variation-settings: "opsz" 144; letter-spacing: -.025em; line-height: 1; margin-bottom: .35em; }
.fl-sheet__dek { font-size: var(--step-2); line-height: 1.35; color: var(--ink-2); font-variation-settings: "opsz" 36; }
.fl-status { display: inline-block; font-size: .82rem; font-weight: 600; padding: .25rem .6rem; border-radius: 2px; background: var(--paper-3); margin-bottom: 1.2rem; }
.fl-status--wild-find { background: var(--sun); color: var(--on-light); }
.fl-status--on-my-wishlist { background: var(--skin); color: var(--on-light); }
.fl-status--in-my-collection { background: var(--leaf-3); color: var(--on-light); }

.fl-facts { margin: 2rem 0 0; border-top: 1px solid var(--ink); font-family: var(--sans); }
.fl-facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.fl-facts dt { font-size: .88rem; color: var(--ink-3); }
.fl-facts dd { margin: 0; font-family: var(--serif); font-size: 1.1rem; }
.fl-facts dd a { color: var(--pulp); }

.fl-buybox { margin-top: 2.25rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.fl-buybox h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 .75rem; }
.fl-buybox ul { list-style: none; margin: 0; padding: 0; }
.fl-buybox li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.fl-buybox__name { flex: 1 1 10rem; font-weight: 500; text-decoration: none; }
.fl-buybox__price { font-weight: 600; color: var(--pulp); }
.fl-buybox__out { font-size: .88rem; color: var(--ink-3); }
.fl-buybox .added_to_cart { font-size: .85rem; color: var(--pulp); }

.fl-sheet__notes { padding-bottom: 3rem; }
.fl-sheet__notes > h2 { font-size: var(--step-3); border-top: 1px solid var(--ink); padding-top: 1.25rem; }

@media (max-width: 800px) {
	.fl-sheet__grid { grid-template-columns: 1fr; }
	.fl-sheet__media { position: static; }
	.fl-facts > div { grid-template-columns: 7.5rem 1fr; }
}

/* ---------- Placeholder image ---------- */

.fl-noimg { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; background: var(--paper-3); aspect-ratio: 4 / 3; }
.fl-noimg--tall { aspect-ratio: 4 / 5; }
.fl-noimg--wide { aspect-ratio: auto; position: absolute; inset: 0; background: var(--paper-3); }
.fl-noimg--square { aspect-ratio: 1; }
.fl-noimg__mark { width: 18%; max-width: 64px; color: var(--paper-2); opacity: .9; }

/* ---------- Search overlay ---------- */

.fl-search { position: fixed; inset: 0; z-index: 200; background: rgba(8, 6, 4, .72); backdrop-filter: blur(6px); display: grid; align-items: start; justify-items: center; padding: clamp(0px, 8vh, 90px) 0 0; }
.fl-search[hidden] { display: none; }
.fl-search__panel { width: min(760px, 100%); max-height: min(80vh, 760px); overflow: auto; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
@media (max-width: 760px) { .fl-search { padding: 0; } .fl-search__panel { border-radius: 0; max-height: 100vh; height: 100vh; } }
.fl-search__form { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper-2); }
.fl-search__form input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 var(--step-2) var(--serif); font-variation-settings: "opsz" 36; color: var(--ink); padding: .3rem 0; }
.fl-search__form input:focus { outline: none; }
.fl-search__form input::-webkit-search-cancel-button { display: none; }
.fl-search__close { background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .4rem .7rem; font: 500 .85rem var(--sans); color: var(--ink); cursor: pointer; }
.fl-search__chips { display: flex; gap: .4rem; padding: .85rem 1.25rem; flex-wrap: wrap; font-family: var(--sans); }
.fl-search__chips button { background: none; border: 1px solid var(--line-strong); border-radius: 99px; padding: .35rem .8rem; font: 500 .85rem var(--sans); color: var(--ink); cursor: pointer; }
.fl-search__chips button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fl-search__results { padding: 0 1.25rem 1.25rem; font-family: var(--sans); }
.fl-search__group { margin-top: .75rem; }
.fl-search__group h3 { font: 600 .8rem var(--sans); color: var(--ink-3); margin: .5rem 0; }
.fl-search__item { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: .85rem; padding: .55rem .5rem; margin: 0 -.5rem; border-radius: var(--radius); text-decoration: none; }
.fl-search__item:hover, .fl-search__item.is-active { background: var(--paper-3); color: var(--ink); }
.fl-search__thumb { width: 52px; height: 52px; border-radius: 2px; background: var(--paper-3); overflow: hidden; }
.fl-search__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fl-search__title { font-family: var(--serif); font-size: 1.1rem; line-height: 1.25; display: block; }
.fl-search__meta { font-size: .82rem; color: var(--ink-2); }
.fl-search__kind { font-size: .75rem; color: var(--ink-3); }
.fl-search__places { display: flex; flex-wrap: wrap; gap: .4rem; }
.fl-search__note { color: var(--ink-2); font-size: .95rem; padding: 1rem 0 .25rem; }
.fl-search__note a, .fl-search__all { color: var(--pulp); font-weight: 600; }
.fl-search__all { display: inline-block; margin-top: 1rem; }
mark.fl-hl { background: rgba(227, 169, 59, .45); color: inherit; padding: 0 .05em; }
body.fl-noscroll { overflow: hidden; }

/* Search page */
.fl-searchpage-form { display: flex; gap: .6rem; max-width: 640px; }
.fl-searchpage-form input { flex: 1; padding-right: .75rem; font-size: 1.05rem; }
.fl-result-list { list-style: none; padding: 0; margin: 0; }
.fl-result { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.fl-result__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); }
.fl-result__img img { width: 100%; height: 100%; object-fit: cover; }
.fl-result__kind { font-size: .8rem; color: var(--pulp); font-weight: 600; }
.fl-result__title { font-size: var(--step-2); margin: .1rem 0 .35rem; }
.fl-result__title a { text-decoration: none; }
.fl-result p { font-size: 1rem; color: var(--ink-2); margin: 0; }

/* ---------- Forms ---------- */

.fl-form label { display: block; font-family: var(--sans); font-size: .88rem; font-weight: 500; margin-bottom: .3rem; }
.fl-form input, .fl-form select, .fl-form textarea { width: 100%; padding-right: .75rem; }
.fl-form p { margin-bottom: 1.1rem; }
.fl-hp { position: absolute !important; left: -9999px; }
.fl-form-status { font-family: var(--sans); font-size: .95rem; padding: .75rem 1rem; border-radius: var(--radius); }
.fl-form-status.is-ok { background: rgba(141, 181, 128, .18); color: var(--ink); }
.fl-form-status.is-error { background: rgba(224, 112, 127, .18); color: var(--ink); }

/* ---------- Newsletter band ---------- */

.fl-newsletter-band { background: linear-gradient(120deg, #2A1B2B, #3B2433 60%, #4A2C2A); color: #F3EAF0; padding-block: clamp(3rem, 6vw, 4.5rem); }
.fl-newsletter-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
.fl-newsletter-band h2 { font-size: var(--step-3); font-weight: 400; margin-bottom: .3em; }
.fl-newsletter-band p { margin: 0; color: rgba(243, 234, 240, .8); max-width: 44ch; }
.fl-newsletter { display: flex; gap: .5rem; }
.fl-newsletter input { flex: 1; min-width: 0; padding: .85rem .9rem; border: 1px solid rgba(243,234,240,.4); background: rgba(255,255,255,.08); color: #fff; font: 1rem var(--sans); border-radius: var(--radius); }
.fl-newsletter input::placeholder { color: rgba(243, 234, 240, .6); }
.fl-newsletter .fl-button { background: var(--sun); border-color: var(--sun); color: var(--on-light); }
.fl-newsletter .fl-button:hover { background: #F0C46A; color: var(--on-light); }
.fl-newsletter-band .fl-form-status { grid-column: 1 / -1; }
@media (max-width: 760px) { .fl-newsletter-band__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.fl-footer { background: var(--night); color: var(--ink-2); padding-top: clamp(3rem, 6vw, 4.5rem); font-family: var(--sans); font-size: .95rem; }
.fl-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem 2rem; }
.fl-footer h2 { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 1rem; }
.fl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fl-footer .fl-menu { flex-direction: column; gap: .45rem; font-size: .95rem; font-family: var(--sans); }
.fl-footer .fl-menu a { border: 0; padding: 0; }
.fl-footer a { text-decoration: none; }
.fl-footer a:hover { color: var(--ink); text-decoration: underline; }
.fl-mark--footer { width: 34px; color: var(--skin); margin-bottom: .75rem; }
.fl-footer__name { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin: 0 0 .3rem; }
.fl-footer__brand p { max-width: 30ch; }
.fl-social { display: flex !important; flex-wrap: wrap; gap: .5rem 1.1rem !important; margin-top: 1.1rem !important; }
.fl-social a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); }
.fl-footer__legal { border-top: 1px solid var(--line); margin-top: 3rem; padding-block: 1.25rem; font-size: .85rem; }
@media (max-width: 900px) { .fl-footer__grid { grid-template-columns: 1fr 1fr; } .fl-footer__brand { grid-column: 1 / -1; } }

/* ---------- Pages / 404 ---------- */

.fl-page { padding-bottom: 4rem; }
.fl-page--shop .fl-page-head h1 { font-size: var(--step-4); }
.fl-shop-page { padding-bottom: 3rem; }
.fl-404 { text-align: center; padding-block: clamp(4rem, 12vw, 9rem); }
.fl-404 h1 { font-size: var(--step-4); }
.fl-404 p { color: var(--ink-2); }
.fl-404__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

/* WordPress core alignments */
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.wp-block-image figcaption { text-align: left; }
.sticky, .bypostauthor, .gallery-caption { }
.fl-atlas__tip[hidden] { display: none; }
.fl-page-head + .fl-wrap { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
@media (max-width: 560px) {
	.fl-specimen-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem .75rem; }
	.fl-label { padding: .7rem .7rem .8rem; }
	.fl-label__name { font-size: 1.1rem; }
	.fl-label__facts > div { grid-template-columns: 1fr; gap: 0; }
	.fl-botanical { font-size: .78rem; }
	.fl-filterbar { gap: .75rem; }
	.fl-filter { flex: 1 1 45%; }
	.fl-filter select { min-width: 0; width: 100%; }
	.fl-filterbar__end { margin-left: 0; width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   Motion layer (only active with html.fl-motion; skipped for reduced motion)
   ========================================================================== */

/* Lead headline: words rise out of a baseline mask, one after another. */
.fl-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.fl-w > span { display: inline-block; }
.fl-motion [data-split] .fl-w > span { transform: translateY(105%); transition: transform .9s cubic-bezier(.2, .75, .15, 1) calc(var(--i) * 70ms + 150ms); }
.fl-motion [data-split].is-in .fl-w > span { transform: none; }
.fl-motion .fl-lead__dek, .fl-motion .fl-lead .fl-meta, .fl-motion .fl-lead .fl-topic { opacity: 0; transform: translateY(12px); animation: fl-rise .8s cubic-bezier(.2,.75,.15,1) .75s forwards; }
.fl-motion .fl-lead .fl-meta { animation-delay: .9s; }
@keyframes fl-rise { to { opacity: 1; transform: none; } }

/* Hero photo drifts slower than the page. */
.fl-motion .fl-lead__media img { transform: scale(1.08) translateY(calc(var(--fl-parallax, 0) * 1px)); will-change: transform; }

/* Photos unroll from the top, like a print coming out of a sleeve. */
.fl-motion .fl-reveal.fl-story__media, .fl-motion .fl-reveal.fl-article__hero, .fl-motion .fl-reveal.fl-sheet__media, .fl-motion .fl-prose figure.fl-reveal {
	clip-path: inset(0 0 100% 0);
	transition: clip-path 1.1s cubic-bezier(.65, 0, .2, 1) var(--d, 0ms);
}
.fl-motion .fl-reveal.is-in.fl-story__media, .fl-motion .fl-reveal.is-in.fl-article__hero, .fl-motion .fl-reveal.is-in.fl-sheet__media, .fl-motion .fl-prose figure.fl-reveal.is-in { clip-path: inset(0 0 0 0); }
.fl-motion .fl-reveal.fl-story__media img { transform: scale(1.12); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.fl-motion .fl-reveal.is-in.fl-story__media img { transform: scale(1); }
.fl-motion .fl-story:hover .fl-reveal.is-in.fl-story__media img { transform: scale(1.03); transition-duration: .6s; transition-delay: 0s; }

/* Variety labels: dropped onto the sheet, then pinned slightly askew. */
.fl-specimen { transform: rotate(var(--tilt, 0deg)); transition: transform .35s ease; }
.fl-specimen:hover { transform: rotate(0deg) translateY(-3px); }
.fl-motion .fl-reveal.fl-specimen { opacity: 0; transform: translateY(40px) rotate(calc(var(--tilt, 0deg) * 6)); transition: opacity .6s ease var(--d, 0ms), transform .9s cubic-bezier(.2, .9, .25, 1.15) var(--d, 0ms); }
.fl-motion .fl-reveal.fl-specimen.is-in { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
.fl-motion .fl-reveal.fl-specimen.is-in:hover { transform: rotate(0deg) translateY(-3px); transition-delay: 0s; }
.fl-specimen .fl-label { box-shadow: 0 18px 30px -18px rgba(0,0,0,.7); }

/* Section rules draw across. */
.fl-motion .fl-reveal.fl-section__head { border-bottom-color: transparent; background: linear-gradient(var(--ink), var(--ink)) left bottom / 0% 1px no-repeat; transition: background-size 1.2s cubic-bezier(.65, 0, .2, 1); }
.fl-motion .fl-reveal.fl-section__head.is-in { background-size: 100% 1px; }

/* Atlas: globe stays in place while the country list scrolls past it. */
@media (min-width: 901px) {
	.fl-atlas.is-story .fl-atlas__grid { align-items: start; }
	.fl-atlas.is-story .fl-atlas__stage { position: sticky; top: max(80px, calc(50vh - min(24vw, 300px))); max-width: min(600px, calc(100vh - 120px)); }
	.fl-atlas.is-story .fl-atlas__list { margin-top: 3rem; }
	.fl-atlas.is-story .fl-atlas__list li { min-height: 26vh; display: flex; align-items: center; }
	.fl-atlas.is-story .fl-atlas__list li a { width: 100%; }
	.fl-atlas.is-story .fl-atlas__list li .fl-atlas__name { font-size: var(--step-3); transition: color .3s, transform .4s; transform-origin: left center; }
	.fl-atlas.is-story .fl-atlas__list li.is-active .fl-atlas__name { transform: scale(1.12); }
	.fl-atlas.is-story .fl-atlas__list li:not(.is-active) { opacity: .55; transition: opacity .3s; }
	.fl-atlas.is-story .fl-atlas__list li.is-active { opacity: 1; }
}

/* The growing fig branch in the left margin. */
[data-branch] { position: relative; }
.fl-branch { position: absolute; top: 0; left: max(8px, calc((100vw - var(--wrap)) / 2 - 130px)); pointer-events: none; z-index: 1; overflow: visible; }
.fl-branch path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fl-branch__stem { stroke: var(--dune); stroke-width: 2; opacity: .85; }
.fl-branch__leaf { stroke: var(--leaf-3); stroke-width: 1.3; fill: rgba(141, 181, 128, 0); transition: fill .8s ease; }
.fl-branch__vein { stroke: var(--leaf-3); stroke-width: .8; opacity: .6; }
.fl-branch__fig { stroke: var(--skin); stroke-width: 1.5; fill: rgba(180, 139, 196, 0); transition: fill .8s ease; }
.fl-branch__node.is-ripe .fl-branch__leaf { fill: rgba(141, 181, 128, .14); }
.fl-branch__node.is-ripe .fl-branch__fig { fill: rgba(180, 139, 196, .85); }
/* On dark bands the branch switches to pale lines. */
.fl-atlas, .fl-newsletter-band, .fl-footer, .fl-lead { position: relative; z-index: 2; }

/* ==========================================================================
   Colour coding by topic (--c is set per topic in the templates)
   ========================================================================== */

.fl-dot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--c, var(--sand)); margin-right: .5em; vertical-align: .08em; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--sand)) 22%, transparent); }
.fl-topic, .fl-topic--light { color: var(--c, var(--sand)); }
.fl-topic::before { content: ""; display: inline-block; width: 1.4rem; height: 2px; background: currentColor; vertical-align: .3em; margin-right: .55rem; }

/* Story cards carry their topic colour along the bottom edge of the photo and in the title hover. */
.fl-story__media { position: relative; }
.fl-story__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c, var(--sand)); transform: scaleX(.18); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.fl-story:hover .fl-story__media::after { transform: scaleX(1); }
.fl-story__title a:hover { color: var(--c, var(--ink)); text-decoration-color: var(--c, var(--ink)); }
.fl-story--lead .fl-story__title { background: linear-gradient(90deg, var(--ink), color-mix(in srgb, var(--c, var(--sand)) 70%, var(--ink))); -webkit-background-clip: text; background-clip: text; }

/* Tabs light up in their topic colour. */
.fl-tabs a { display: inline-flex; align-items: center; }
.fl-tabs a[aria-current] { border-bottom-color: var(--c, var(--sand)); }
.fl-tabs a:hover .fl-dot, .fl-tabs a[aria-current] .fl-dot { transform: scale(1.25); }
.fl-tabs .fl-dot { transition: transform .2s; }
.fl-topics a { display: inline-flex; align-items: center; color: var(--ink-2); }
.fl-topics a:hover { color: var(--c, var(--ink)); }
.fl-footer__col a .fl-dot { margin-right: .6em; }

/* Topic pages: the big title wears the topic colour. */
main[style*="--c"] .fl-page-head h1 { color: var(--c); }

/* Reading progress on stories, in the story's topic colour. */
.fl-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.fl-progress span { display: block; height: 100%; width: 100%; background: var(--c, var(--sand)); transform: scaleX(var(--p, 0)); transform-origin: left; box-shadow: 0 0 12px var(--c, var(--sand)); }

/* Atlas list: each country in the colour of what happened there. */
.fl-atlas__list li .fl-atlas__name::before { content: ""; display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--c, var(--sand)); margin-right: .6em; vertical-align: .18em; }
.fl-atlas__list li.is-active .fl-atlas__name, .fl-atlas__list a:hover .fl-atlas__name { color: var(--c, var(--sun)); }

/* Headings and chrome on dark */
.fl-section__head { border-bottom-color: var(--line-strong); }
.fl-motion .fl-reveal.fl-section__head { background-image: linear-gradient(90deg, var(--sand), var(--dune) 40%, transparent); }
.fl-tabs { border-bottom-color: var(--line-strong); }
.fl-table-wrap, .fl-facts, .fl-in-story, .fl-sheet__notes > h2 { border-top-color: var(--line-strong) !important; }
.fl-table thead th { border-bottom-color: var(--line-strong); }
.fl-button { color: var(--on-light); }
.fl-button:hover { color: var(--on-light); }
.fl-button--ghost { color: var(--ink); }
.fl-button--ghost:hover { background: var(--sand); color: var(--on-light); border-color: var(--sand); }
.fl-viewswitch a[aria-current], .nav-links .page-numbers.current, .fl-search__chips button.is-on { background: var(--sand); color: var(--on-light); border-color: var(--sand); }
.fl-chips a:hover { background: var(--sand); color: var(--on-light); border-color: var(--sand); }
.fl-header { border-bottom-color: var(--line); }
.fl-logo__word { color: var(--ink); }

/* Grain: a faint sand texture over the dark ground, so it never reads flat. */
body::before {
	content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }
.fl-header { z-index: 50; position: sticky; }
.fl-search { position: fixed; z-index: 200; }
.fl-progress { position: fixed; }

/* ==========================================================================
   Figlantis hero: a sunken temple reclaimed by figs
   ========================================================================== */

:root { --abyss: #0B2A29; --abyss-2: #0F3B39; --abyss-deep: #051312; --sea-glow: #7FD1C2; }
body.home .fl-header { background: color-mix(in srgb, var(--abyss-deep) 72%, transparent); border-bottom-color: rgba(127, 209, 194, .12); }

.fl-abyss {
	--globe-sea: #2A1E0E;
	--globe-land: #F2C978;
	--globe-pin: #FFE2A6;
	--globe-glow: #E8B464;
	position: relative; overflow: clip; isolation: isolate;
	min-height: max(680px, 100svh); margin-top: -1px;
	display: grid; place-items: center;
	background:
		radial-gradient(60% 45% at 50% 0%, rgba(127, 209, 194, .28), transparent 70%),
		radial-gradient(90% 70% at 50% 35%, var(--abyss-2) 0%, var(--abyss) 45%, var(--abyss-deep) 100%);
	color: #F5E6C8;
}

/* Light shafts falling from the surface, swaying slowly. */
.fl-abyss__rays { position: absolute; inset: -10% 0 0; z-index: -3; pointer-events: none; mix-blend-mode: screen; }
.fl-abyss__rays span {
	position: absolute; top: -10%; width: 14vw; height: 120%; left: calc(30% + var(--x, 0%));
	background: linear-gradient(180deg, rgba(190, 240, 225, .32), rgba(190, 240, 225, .06) 55%, transparent 80%);
	filter: blur(18px); transform-origin: top center; transform: rotate(var(--r, 8deg));
	animation: fl-sway 14s ease-in-out infinite alternate; animation-delay: var(--d, 0s);
}
.fl-abyss__rays span:nth-child(1) { --x: -6%; --r: 14deg; width: 9vw; }
.fl-abyss__rays span:nth-child(2) { --x: 8%; --r: 6deg; --d: -4s; }
.fl-abyss__rays span:nth-child(3) { --x: 22%; --r: -4deg; width: 7vw; --d: -8s; opacity: .7; }
.fl-abyss__rays span:nth-child(4) { --x: 34%; --r: -12deg; width: 11vw; --d: -2s; opacity: .55; }
.fl-abyss__rays span:nth-child(5) { --x: 15%; --r: 2deg; width: 4vw; --d: -6s; opacity: .9; }
@keyframes fl-sway { from { transform: rotate(calc(var(--r) - 3deg)); opacity: .65; } to { transform: rotate(calc(var(--r) + 3deg)); opacity: 1; } }

.fl-abyss__motes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Ruins */
.fl-abyss__ruins { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.fl-root { fill: none; stroke: url(#fl-root); stroke-width: 9; stroke-linecap: round; }
.fl-root--thin { stroke-width: 4; }
.fl-abyss__arch { opacity: .9; }
.fl-glowleaf { animation: fl-bob 7s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.3s); transform-box: fill-box; }
.fl-glowleaf circle { animation: fl-pulse 4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.7s); }
@keyframes fl-bob { to { translate: 0 -10px; } }
@keyframes fl-pulse { from { opacity: .18; } to { opacity: .5; } }

/* Sand floor */
.fl-abyss__floor {
	position: absolute; left: -5%; right: -5%; bottom: -2px; height: 26%; z-index: -1; pointer-events: none;
	background:
		radial-gradient(50% 120% at 50% 100%, rgba(242, 214, 160, .55), transparent 70%),
		radial-gradient(40% 90% at 15% 100%, rgba(216, 185, 138, .4), transparent 70%),
		radial-gradient(40% 90% at 88% 100%, rgba(216, 185, 138, .35), transparent 70%);
	filter: blur(2px);
}
.fl-abyss::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, var(--paper)); z-index: -1; }

/* Out-of-focus fig blossoms in the foreground */
.fl-abyss__bokeh { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fl-abyss__bokeh i { position: absolute; border-radius: 50%; filter: blur(28px); opacity: .55; animation: fl-drift 18s ease-in-out infinite alternate; }
.fl-abyss__bokeh i:nth-child(1) { width: 260px; height: 220px; left: -60px; bottom: 6%; background: #C9566A; }
.fl-abyss__bokeh i:nth-child(2) { width: 200px; height: 200px; right: -40px; bottom: 10%; background: #E0707F; animation-delay: -6s; }
.fl-abyss__bokeh i:nth-child(3) { width: 140px; height: 120px; right: 18%; top: 6%; background: #D69A5A; opacity: .35; animation-delay: -3s; }
.fl-abyss__bokeh i:nth-child(4) { width: 180px; height: 150px; left: 22%; top: -40px; background: #B47A3C; opacity: .3; animation-delay: -9s; }
.fl-abyss__bokeh i:nth-child(5) { width: 120px; height: 120px; left: 8%; top: 38%; background: #E6B655; opacity: .2; animation-delay: -12s; }
@keyframes fl-drift { to { transform: translate(20px, -26px) scale(1.08); } }

/* Content */
.fl-abyss__inner { position: relative; z-index: 1; text-align: center; padding: 7rem var(--gutter) 5rem; display: grid; justify-items: center; }
.fl-abyss__kicker { font-family: var(--serif); font-style: italic; font-size: clamp(1rem, .9rem + .5vw, 1.3rem); color: #E8D5AE; margin: 0 0 .5rem; letter-spacing: .01em; }
.fl-abyss__title {
	font-size: clamp(4rem, 2rem + 11vw, 11.5rem); line-height: .9; margin: 0; font-weight: 500;
	font-variation-settings: "opsz" 144, "SOFT" 30; letter-spacing: -.02em;
	background: linear-gradient(180deg, #FFF3D6 10%, #F2D29A 55%, #C99A55 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .5));
}
.fl-abyss__title .fl-w > span { background: linear-gradient(180deg, #FFF3D6 10%, #F2D29A 55%, #C99A55 100%); background-size: 100% 1em; -webkit-background-clip: text; background-clip: text; color: transparent; }
.fl-abyss__title .fl-w { padding-bottom: .12em; }
.fl-abyss__globe { position: relative; width: min(340px, 62vw); aspect-ratio: 1; margin-top: -1.5rem; }
.fl-abyss__globe::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #FFE4A3, #B07A2E 45%, #3B2610 85%); box-shadow: 0 0 80px rgba(242, 201, 120, .45); transition: opacity .8s; }
.fl-abyss.is-ready .fl-abyss__globe::before { opacity: 0; }
.fl-abyss__globe::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -6%; height: 12%; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.45), transparent 70%); filter: blur(6px); }
.fl-abyss__lede { max-width: 40ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: rgba(245, 230, 200, .82); margin: 1rem 0 1.75rem; line-height: 1.5; }
.fl-abyss__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 0; }
.fl-abyss .fl-button { background: linear-gradient(180deg, #F2D29A, #D8A85E); border-color: #D8A85E; color: #1A1309; box-shadow: 0 8px 30px -10px rgba(242, 201, 120, .6); }
.fl-abyss .fl-button--ghost { background: rgba(5, 19, 18, .35); color: #F5E6C8; border-color: rgba(245, 230, 200, .4); box-shadow: none; backdrop-filter: blur(6px); }
.fl-abyss .fl-button--ghost:hover { background: #F5E6C8; color: #1A1309; }

@media (max-width: 700px) {
	/* On a phone only the middle of the scene is visible, so bring the arches in and make them slimmer. */
	.fl-abyss__arch--l { transform: translate(560px, 110px) scale(.5); opacity: .5; }
	.fl-abyss__arch--r { transform: translate(895px, 120px) scale(.5); opacity: .5; }
	.fl-glowleaf { display: none; }
	.fl-abyss__inner { padding-top: 5.5rem; }
	.fl-abyss__bokeh i { opacity: .28; }
	.fl-abyss__bokeh i:nth-child(1) { width: 160px; height: 140px; bottom: -40px; left: -70px; }
	.fl-abyss__bokeh i:nth-child(2) { width: 140px; height: 140px; bottom: -30px; right: -60px; }
	.fl-abyss__bokeh i:nth-child(n+3) { display: none; }
	.fl-abyss__globe { margin-top: -.5rem; }
}
@media (prefers-reduced-motion: reduce) {
	.fl-abyss__rays span, .fl-glowleaf, .fl-glowleaf circle, .fl-abyss__bokeh i { animation: none; }
}

/* The rest of the site picks up the sea: deep teal-black ground instead of brown-black. */
:root { --paper: #0E1514; --paper-2: #132020; --paper-3: #1C2B2A; --surface: #162322; --night: #081010; }
.fl-atlas { background: radial-gradient(120% 90% at 75% 40%, #12302E 0%, var(--night) 65%); }
.fl-lead { background: var(--paper-2); }

/* Country pages: a gold globe turned to face the country. */
.fl-place { position: relative; }
.fl-place__globe {
	--globe-sea: #2A1E0E; --globe-land: #F2C978; --globe-pin: #FFE2A6; --globe-glow: #E8B464;
	position: absolute; z-index: 0; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
	top: clamp(1rem, 2.5vw, 2rem); width: clamp(150px, 18vw, 240px); aspect-ratio: 1; pointer-events: none;
}
.fl-place__globe .fl-atlas__canvas { cursor: default; }
.fl-place__globe::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #FFE4A3, #B07A2E 45%, #3B2610 85%); opacity: .6; transition: opacity .8s; }
.fl-place__globe.is-ready::before { opacity: 0; }
.fl-place .fl-page-head, .fl-place .fl-page-head + .fl-wrap { position: relative; z-index: 1; }
.fl-place .fl-page-head h1 { max-width: 60%; }
.fl-place .fl-page-head { min-height: clamp(180px, 22vw, 290px); }
@media (max-width: 700px) { .fl-place__globe { width: 120px; opacity: .85; top: 1rem; } .fl-place .fl-page-head { min-height: 0; } .fl-place .fl-page-head h1 { max-width: 70%; } }

/* ---------- Hero depth: every layer moves at its own distance (--mx/--my from the mouse, --dive from scrolling) ---------- */
.fl-abyss { --mx: 0; --my: 0; --dive: 0; }
.fl-abyss__rays { transform: translate3d(calc(var(--mx) * -18px), calc(var(--dive) * 80px), 0); opacity: calc(1 - var(--dive) * 1.2); }
.fl-abyss__ruins { transform: translate3d(calc(var(--mx) * -34px), calc(var(--my) * -14px + var(--dive) * -60px), 0) scale(calc(1 + var(--dive) * .12)); transform-origin: 50% 80%; }
.fl-abyss__bokeh { transform: translate3d(calc(var(--mx) * -70px), calc(var(--my) * -40px + var(--dive) * -160px), 0); }
.fl-abyss__inner { transform: translate3d(calc(var(--mx) * 10px), calc(var(--my) * 6px + var(--dive) * 120px), 0); opacity: calc(1 - var(--dive) * 1.6); }
.fl-abyss__title { transform: scale(calc(1 + var(--dive) * .25)); transform-origin: 50% 100%; }
.fl-abyss__globe { transform: translate3d(calc(var(--mx) * 22px), calc(var(--my) * 14px), 0) scale(calc(1 + var(--dive) * .5)); }
.fl-abyss__motes { transform: translate3d(calc(var(--mx) * -50px), calc(var(--my) * -30px), 0); }

/* Bigger, brighter globe with room for its sparks */
.fl-abyss__globe { width: min(460px, 78vw); margin-top: -3.2rem; margin-bottom: -2.2rem; }
.fl-abyss__globe::before { inset: 22%; }
.fl-abyss__globe::after { left: 26%; right: 26%; bottom: 8%; }
.fl-abyss__title { position: relative; z-index: 2; }
.fl-abyss__lede, .fl-abyss__actions { position: relative; z-index: 2; }

/* Caustics: rippling light on the sand */
.fl-abyss__caustics { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: overlay; opacity: .55; }
.fl-abyss__floor { filter: none; }
.fl-abyss__floor::before { content: ""; position: absolute; inset: 0; background: inherit; filter: blur(2px); }

/* Title glints: a slow band of light sweeps across the gold letters */
.fl-abyss__title::after {
	content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(105deg, transparent 40%, rgba(255, 250, 230, .85) 50%, transparent 60%) -150% 0 / 250% 100% no-repeat;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: fl-glint 7s ease-in-out 1.6s infinite;
}
@keyframes fl-glint { 0%, 55% { background-position: -150% 0; } 85%, 100% { background-position: 250% 0; } }

/* "Dive" cue at the bottom of the hero */
.fl-abyss__dive { position: absolute; z-index: 3; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(245, 230, 200, .5); border-radius: 14px; opacity: calc(1 - var(--dive) * 4); }
.fl-abyss__dive span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #F2D29A; animation: fl-dive 2.2s ease-in-out infinite; }
@keyframes fl-dive { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* Water line where the hero meets the page */
.fl-abyss::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 1; pointer-events: none;
	background: var(--paper);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 46 C150 20 300 64 450 42 S750 14 900 40 S1100 60 1200 34 V70 H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 46 C150 20 300 64 450 42 S750 14 900 40 S1100 60 1200 34 V70 H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

@media (prefers-reduced-motion: reduce) {
	.fl-abyss__rays, .fl-abyss__ruins, .fl-abyss__bokeh, .fl-abyss__inner, .fl-abyss__title, .fl-abyss__globe, .fl-abyss__motes { transform: none; opacity: 1; }
	.fl-abyss__title::after, .fl-abyss__dive span { animation: none; }
	.fl-abyss__caustics animate { display: none; }
}
@media (max-width: 700px) {
	.fl-abyss__globe { width: min(360px, 92vw); margin-top: -2rem; margin-bottom: -1.5rem; }
}

/* Ruins: hanging roots sway, far colonnade sits deep in the water */
.fl-root--hair { stroke-width: 2; opacity: .7; }
.fl-hang { animation: fl-hang 9s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
@keyframes fl-hang { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
.fl-abyss__far { transform: translate(calc(var(--mx) * -10px), 0); }
@media (prefers-reduced-motion: reduce) { .fl-hang { animation: none; } }

/* Floor: soft top edge, gentler caustics */
.fl-abyss__floor { height: 30%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%); }
.fl-abyss__caustics { opacity: .3; }
.fl-abyss__bokeh i:nth-child(1), .fl-abyss__bokeh i:nth-child(2) { opacity: .38; }
.fl-abyss__inner { padding-bottom: 6.5rem; }

/* ==========================================================================
   The rest of the site, underwater
   ========================================================================== */

/* Every page starts under a faint shaft of light from the surface. */
body:not(.home) #main { position: relative; }
body:not(.home) #main::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 620px; z-index: -1; pointer-events: none;
	background:
		radial-gradient(40% 70% at 30% 0%, rgba(127, 209, 194, .13), transparent 70%),
		radial-gradient(30% 60% at 72% 0%, rgba(242, 201, 120, .07), transparent 70%);
}
body:not(.home) #main > * { position: relative; }

/* Story cards: glass edge, lift, and a glow in the topic's colour. */
.fl-story { border-radius: 10px; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.fl-story__media { border-radius: 10px; box-shadow: 0 0 0 1px rgba(237, 227, 209, .06), 0 24px 40px -28px rgba(0, 0, 0, .9); transition: box-shadow .45s; }
.fl-story:hover { transform: translateY(-4px); }
.fl-story:hover .fl-story__media { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c, var(--sand)) 55%, transparent), 0 30px 60px -24px color-mix(in srgb, var(--c, var(--sand)) 45%, transparent); }
.fl-story__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 35%); opacity: 0; transition: opacity .45s; }
.fl-story:hover .fl-story__media::before { opacity: 1; }
.fl-motion .fl-story:hover .fl-reveal.is-in.fl-story__media img { transform: scale(1.05); }

/* Variety labels: frosted glass with a gold hairline. */
.fl-specimen__media { border-radius: 10px 10px 0 0; }
.fl-label {
	background: linear-gradient(180deg, rgba(28, 43, 42, .82), rgba(19, 32, 32, .92));
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border: 1px solid rgba(242, 201, 120, .18); border-top: 0; border-radius: 0 0 10px 10px;
}
.fl-label__name { font-size: 1.4rem; }
.fl-label__facts > div { border-top: 1px solid rgba(242, 201, 120, .14); }
.fl-specimen:hover .fl-label { border-color: rgba(242, 201, 120, .45); }
.fl-specimen:hover .fl-specimen__media img { transform: scale(1.04); }
.fl-specimen__media img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fl-flag { border-radius: 99px; padding: .3rem .65rem; box-shadow: 0 0 20px rgba(230, 182, 85, .5); }

/* Register band: a darker trench with drifting light. */
.fl-register-band { background: radial-gradient(70% 60% at 50% 0%, #12302E, var(--night) 75%); }

/* Section headings get a short gold rule instead of a full hairline. */
.fl-section__head { border-bottom: 0; padding-bottom: 0; position: relative; }
.fl-section__head::after { content: ""; position: absolute; left: 0; bottom: -1rem; width: 72px; height: 2px; background: linear-gradient(90deg, #F2D29A, transparent); }
.fl-motion .fl-reveal.fl-section__head { background: none; }
.fl-section__head h2, .fl-section__title, .fl-page-head h1 {
	background: linear-gradient(180deg, #FFF3D6 20%, #E9C88E 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
main[style*="--c"] .fl-page-head h1 { background: none; color: var(--c); }

/* Buttons: gold, slightly glossy, everywhere. */
.fl-button { background: linear-gradient(180deg, #F2D29A, #D8A85E); border-color: #D8A85E; color: #1A1309; border-radius: 6px; box-shadow: 0 10px 30px -14px rgba(242, 201, 120, .55); }
.fl-button:hover { background: linear-gradient(180deg, #FBE2B4, #E4B66C); color: #1A1309; }
.fl-button--ghost { background: transparent; color: var(--ink); border-color: rgba(242, 201, 120, .35); box-shadow: none; }
.fl-button--ghost:hover { background: rgba(242, 201, 120, .12); color: #FFF3D6; border-color: #F2D29A; }

/* Lead story below the hero: framed like a window into the water. */
.fl-lead { margin: clamp(1rem, 3vw, 2.5rem) auto 0; max-width: calc(var(--wrap) + 2 * var(--gutter)); border-radius: 18px; overflow: hidden; min-height: min(78vh, 760px); box-shadow: 0 0 0 1px rgba(242, 201, 120, .15), 0 40px 80px -40px rgba(0, 0, 0, .9); }
@media (max-width: 760px) { .fl-lead { border-radius: 0; margin-top: 0; } }

/* Newsletter: deep water with a gold horizon */
.fl-newsletter-band { background: radial-gradient(80% 120% at 50% 120%, rgba(242, 201, 120, .22), transparent 60%), linear-gradient(180deg, #0B2A29, #081010); border-top: 1px solid rgba(242, 201, 120, .15); }
.fl-newsletter input { border-radius: 6px; }

/* Header goes glassy once you scroll */
.fl-header { background: rgba(8, 16, 16, .55); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
/* Atlas globe: teal sea, gold land, a cool rim of sea light. */
.fl-atlas { --globe-sea: #0E2B2A; --globe-land: #F2C978; --globe-pin: #FFE2A6; --globe-glow: #4FA89A; --globe-rim: #7FD1C2; }
.fl-atlas__stage::before { background: radial-gradient(circle at 38% 35%, #1F4A47, #0B2120 70%); box-shadow: 0 0 90px rgba(127, 209, 194, .2); }

/* ==========================================================================
   Hero v2: the sunken fig tree photo, brought to life
   ========================================================================== */
.fl-abyss { background: #0A1E1D; }
.fl-abyss__scene { position: absolute; inset: -4%; z-index: -4; overflow: hidden;
	transform: translate3d(calc(var(--mx) * -24px), calc(var(--my) * -14px + var(--dive) * -40px), 0) scale(calc(1.02 + var(--dive) * .14));
	transform-origin: 50% 45%; }
.fl-abyss__scene img, .fl-abyss__scene picture { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.fl-motion .fl-abyss__scene img { animation: fl-breathe 26s ease-in-out infinite alternate; }
@keyframes fl-breathe { from { transform: scale(1); } to { transform: scale(1.045) translateY(-.6%); } }
/* Keep the edges and the bottom dark so text always reads, and blend into the page. */
.fl-abyss__scene::after { content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(70% 55% at 50% 46%, transparent 30%, rgba(5, 19, 18, .35) 70%, rgba(5, 19, 18, .75) 100%),
		linear-gradient(180deg, rgba(5, 19, 18, .35) 0%, transparent 18%, transparent 62%, rgba(10, 30, 29, .85) 92%, var(--paper) 100%); }
/* The photo already has its own light and ruins: drop the drawn ones, keep the moving light. */
.fl-abyss__ruins, .fl-abyss__floor, .fl-abyss__bokeh { display: none; }
.fl-abyss__rays { mix-blend-mode: soft-light; opacity: calc(.8 - var(--dive)); }
.fl-abyss__rays span { background: linear-gradient(180deg, rgba(220, 255, 240, .45), rgba(220, 255, 240, .08) 50%, transparent 75%); }
.fl-abyss__rays span:nth-child(1) { --x: 6%; --r: 10deg; width: 8vw; }
.fl-abyss__rays span:nth-child(2) { --x: 16%; --r: 2deg; width: 12vw; }
.fl-abyss__rays span:nth-child(3) { --x: 26%; --r: -6deg; width: 6vw; }
/* Title sits where the tree parts; a soft dark halo keeps it crisp over the branches. */
.fl-abyss__inner { padding-top: clamp(8rem, 22vh, 13rem); }
.fl-abyss__title { text-shadow: none; }
.fl-abyss__title::before { content: ""; position: absolute; left: 10%; right: 10%; top: 15%; bottom: 5%; z-index: -1; background: radial-gradient(closest-side, rgba(5, 19, 18, .55), transparent); filter: blur(10px); }
.fl-abyss__kicker { text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.fl-abyss__lede { color: rgba(250, 238, 214, .9); text-shadow: 0 2px 16px rgba(0, 0, 0, .8); }
/* Globe floats above the pond, a little smaller so the tree stays the star. */
.fl-abyss__globe { width: min(360px, 66vw); margin-top: -1.5rem; margin-bottom: -1.2rem; }
@media (max-width: 700px) {
	.fl-abyss__scene img, .fl-abyss__scene picture { object-position: 50% 40%; }
	.fl-abyss__inner { padding-top: 6.5rem; }
	.fl-abyss__globe { width: min(300px, 82vw); }
}
@media (prefers-reduced-motion: reduce) { .fl-abyss__scene { transform: none; } }
.fl-abyss__inner { padding-top: clamp(6.5rem, 17vh, 10rem); padding-bottom: 5rem; }
.fl-abyss__title::before { background: radial-gradient(closest-side, rgba(5, 19, 18, .75), transparent); left: 0; right: 0; }
.fl-abyss__globe { width: min(320px, 62vw); }
.fl-abyss__title { filter: drop-shadow(0 0 22px rgba(3, 12, 11, .9)) drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
.fl-abyss__title, .fl-abyss__title .fl-w > span { background-image: linear-gradient(180deg, #FFF8E6 15%, #F6DDA8 55%, #D9AE68 100%); }

/* Hero motion: video loop or water effect laid exactly over the photo */
.fl-abyss__video, .fl-abyss__water { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: 0; transition: opacity 1.2s ease; }
.fl-abyss__scene.has-video .fl-abyss__video, .fl-abyss__scene.has-water .fl-abyss__water { opacity: 1; }
.fl-abyss__scene.has-video img, .fl-abyss__scene.has-video .fl-abyss__water { animation: none; }
.fl-abyss__scene::after { z-index: 1; }
@media (max-width: 700px) { .fl-abyss__video, .fl-abyss__water { object-position: 50% 40%; } }

/* Calm hero: only sparkle (particles, glints) and flowing water. No zoom, sway, parallax, dive or title glint. */
.fl-abyss__scene, .fl-abyss__rays, .fl-abyss__inner, .fl-abyss__title, .fl-abyss__globe, .fl-abyss__motes { transform: none !important; }
.fl-abyss__inner { opacity: 1 !important; }
.fl-motion .fl-abyss__scene img { animation: none; }
.fl-abyss__rays { display: none; }
.fl-abyss__title::after { display: none; }

/* Wordmark-only logo (until the real logo is made) */
.fl-logo__word {
	font-family: var(--serif); font-size: 1.9rem; font-weight: 600; letter-spacing: -.015em; font-variation-settings: "opsz" 72; line-height: 1;
	background: linear-gradient(180deg, #FFF6DF 10%, #F2D29A 55%, #C99A55 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fl-footer__name { font-size: 2rem; font-variation-settings: "opsz" 144; background: linear-gradient(180deg, #FFF6DF 10%, #F2D29A 55%, #C99A55 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }

/* ==========================================================================
   Photos: one consistent frame everywhere, full-screen viewer, no easy saving
   ========================================================================== */
img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.fl-prose figure.wp-block-image, .fl-prose .wp-block-image { margin-block: 2.2em; }
.fl-prose .wp-block-image, .fl-prose figure { text-align: center; }
.fl-prose .wp-block-image img, .fl-prose figure img {
	/* Each photo keeps its own shape: no box, no bars. Landscape fills the column, upright is as tall as the screen allows. */
	display: block; width: auto; height: auto; max-width: 100%; max-height: 86vh; margin-inline: auto;
	border-radius: 14px; background: none;
	box-shadow: 0 2px 0 rgba(255, 255, 255, .04) inset, 0 40px 80px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(242, 201, 120, .10);
}
/* Upright photos break out a little wider than the text so they don't feel cramped */
.fl-prose .wp-block-image.is-portrait { margin-inline: calc(-1 * min(8vw, 120px)); }
.fl-prose .wp-block-image.alignwide img, .fl-prose .wp-block-image.alignfull img { width: 100%; max-height: 88vh; object-fit: cover; }
.fl-prose .wp-block-image.alignfull img { border-radius: 0; }
/* Galleries: every tile the same shape */
.fl-prose .wp-block-gallery { gap: .7rem !important; }
.fl-prose .wp-block-gallery .wp-block-image img { aspect-ratio: 4 / 5; height: 100% !important; max-height: none; object-fit: cover; }
.fl-prose .wp-block-gallery.columns-2 .wp-block-image img, .fl-prose .wp-block-gallery.columns-default .wp-block-image img { aspect-ratio: 4 / 5; }
.fl-prose figcaption, .fl-prose .wp-element-caption { text-align: center; font-style: italic; font-family: var(--serif); font-size: .98rem; color: var(--ink-2); margin-top: .8rem; }
.fl-zoomable { cursor: zoom-in; }
.fl-zoomable:focus-visible { outline: 2px solid #F2D29A; outline-offset: 4px; }
/* Where a photo should go in a draft */
.fl-photo-slot { border: 1.5px dashed rgba(242, 201, 120, .4); border-radius: 12px; padding: 2.5rem 1rem; text-align: center; color: #F2D29A; font-family: var(--sans); font-size: .95rem; }

.fl-viewer { position: fixed; inset: 0; z-index: 300; background: rgba(4, 12, 11, .96); display: grid; grid-template-rows: 1fr auto auto; padding: 4.2rem 4.5rem 1.2rem; }
.fl-viewer[hidden] { display: none; }
.fl-viewer__stage { position: relative; min-height: 0; }
.fl-viewer__img { position: absolute; inset: 0; background: center / contain no-repeat; opacity: 0; transform: scale(.985); transition: opacity .35s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.fl-viewer__img.is-in { opacity: 1; transform: none; }
.fl-viewer__shield { position: absolute; inset: 0; }
.fl-viewer__cap { margin: 1rem auto 0; max-width: 60ch; text-align: center; font-family: var(--serif); font-style: italic; color: var(--ink); min-height: 1.4em; }
.fl-viewer__count { margin: .3rem 0 0; text-align: center; font-family: var(--sans); font-size: .85rem; color: var(--ink-3); }
.fl-viewer__btn { position: absolute; background: rgba(242, 201, 120, .1); color: #F2D29A; border: 1px solid rgba(242, 201, 120, .35); border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.fl-viewer__btn:hover { background: rgba(242, 201, 120, .22); }
.fl-viewer__close { top: 1rem; right: 1rem; font-size: 28px; }
.fl-viewer__prev { left: 1rem; top: 50%; margin-top: -24px; }
.fl-viewer__next { right: 1rem; top: 50%; margin-top: -24px; }
.fl-viewer.is-single .fl-viewer__prev, .fl-viewer.is-single .fl-viewer__next { display: none; }
@media (max-width: 700px) { .fl-viewer { padding: 3.6rem .5rem 1rem; } .fl-viewer__prev, .fl-viewer__next { top: auto; bottom: 1rem; margin: 0; } }
@media (prefers-reduced-motion: reduce) { .fl-viewer__img { transition: none; } }


/* ==========================================================================
   Life: light that follows you, cards that lean toward you, photos that drift
   ========================================================================== */
.fl-cursor-light {
	position: fixed; left: 0; top: 0; width: 720px; height: 720px; margin: -360px 0 0 -360px; z-index: 0; pointer-events: none;
	background: radial-gradient(closest-side, rgba(127, 209, 194, .10), rgba(242, 201, 120, .05) 45%, transparent 75%);
	transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); transition: opacity .6s; mix-blend-mode: screen;
}
body.fl-light-off .fl-cursor-light { opacity: 0; }
.fl-tilt { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.fl-tilt.is-tilting { transition: transform .12s linear; }
.fl-tilt .fl-story__media::before, .fl-tilt .fl-specimen__media::after {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
	background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 244, 214, .22), transparent 60%);
	opacity: 0; transition: opacity .3s;
}
.fl-tilt.is-tilting .fl-story__media::before, .fl-tilt.is-tilting .fl-specimen__media::after { opacity: 1; }
.fl-prose .wp-block-image img { will-change: transform; }
@media (hover: none), (prefers-reduced-motion: reduce) { .fl-cursor-light { display: none; } }
.fl-article__hero { overflow: hidden; }

/* Protective layer: a transparent sheet over photos, so right-click / long-press hits the sheet, not the image */
.fl-prose .wp-block-image, .fl-article__hero, .fl-sheet__media { position: relative; }
.fl-prose .wp-block-image::after, .fl-article__hero::after, .fl-sheet__media::after { content: ""; position: absolute; inset: 0; z-index: 3; background: transparent; cursor: zoom-in; }
.fl-prose .wp-block-image figcaption { position: relative; z-index: 4; }
