/* ==========================================================================
   Godfather of the Everglades — component styles
   Tokens come from theme.json (--wp--preset--*); short aliases below.
   Sections: 1 tokens · 2 base · 3 header · 4 hero · 5 sections · 6 cards
   7 block styles · 8 timeline · 9 diagram · 10 archives · 11 article
   12 footer · 13 motion · 14 intro · 15 responsive · 16 print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--gf-black: #080908;
	--gf-green: #101711;
	--gf-forest: #18231A;
	--gf-cream: #E9DFC8;
	--gf-paper: #D7C6A5;
	--gf-gold: #A8894D;
	--gf-gold-light: #C2A56A;
	--gf-brass: #806B3F;
	--gf-ink: #1E1A12;

	--gf-radius: 4px;
	--gf-content: 1280px;
	--gf-reading: 760px;
	--gf-header-h: 76px;

	--gf-serif: var(--wp--preset--font-family--serif);
	--gf-display: var(--wp--preset--font-family--display);
	--gf-sans: var(--wp--preset--font-family--sans);

	--gf-section-y: clamp(4.5rem, 10vw, 9rem);
	--gf-ease: cubic-bezier(.2, .7, .2, 1);
	--gf-grain: 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%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 2. Base ------------------------------------------------------------------ */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--gf-header-h) + 1rem); }
body { background: var(--gf-black); color: var(--gf-cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; }
::selection { background: var(--gf-gold); color: var(--gf-black); }
:where(a, button, summary, input, select, textarea):focus-visible {
	outline: 2px solid var(--gf-gold-light);
	outline-offset: 3px;
	border-radius: 2px;
}
.skip-link.screen-reader-text:focus { background: var(--gf-cream); color: var(--gf-black); z-index: 1000; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
.gfe-main { min-height: 50vh; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* 3. Header ---------------------------------------------------------------- */
.gfe-header-wrap { position: sticky; top: 0; z-index: 50; }
.admin-bar .gfe-header-wrap { top: var(--wp-admin--admin-bar--height, 32px); }
.gfe-header {
	background: rgba(8, 9, 8, .96);
	border-bottom: 1px solid rgba(168, 137, 77, .45);
	padding: .7rem clamp(16px, 4vw, 48px) !important;
	transition: background-color .4s var(--gf-ease), border-color .4s var(--gf-ease), padding .3s var(--gf-ease);
}
.gfe-header__inner { gap: 1.5rem; min-height: calc(var(--gf-header-h) - 1.4rem); }

/* Transparent over the front-page hero until the reader scrolls */
.gfe-has-hero .gfe-header-wrap { position: fixed; left: 0; right: 0; }
.gfe-has-hero:not(.is-scrolled) .gfe-header { background: linear-gradient(180deg, rgba(8,9,8,.7), rgba(8,9,8,0)); border-bottom-color: transparent; padding-top: 1.1rem !important; }

.gfe-brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--gf-cream); flex-shrink: 0; }
.gfe-brand__mark { width: 44px; height: 44px; }
.gfe-brand__text { display: grid; line-height: 1; font-family: var(--gf-display); text-transform: uppercase; }
.gfe-brand__top, .gfe-brand__bottom { font-weight: 700; font-size: 1.02rem; letter-spacing: .08em; }
.gfe-brand__of { font-size: .5rem; letter-spacing: .42em; color: var(--gf-gold-light); padding: .2rem 0 .18rem; display: flex; align-items: center; gap: .4rem; }
.gfe-brand__of::before, .gfe-brand__of::after { content: ""; flex: 1; height: 1px; background: var(--gf-brass); }
.gfe-brand:hover { color: var(--gf-cream); }

.gfe-nav .wp-block-navigation-item__content { color: var(--gf-cream); text-decoration: none; padding: .35rem 0; position: relative; }
.gfe-nav .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gf-gold);
	transform: scaleX(0); transform-origin: left; transition: transform .35s var(--gf-ease);
}
.gfe-nav .wp-block-navigation-item__content:hover::after,
.gfe-nav .current-menu-item > .wp-block-navigation-item__content::after,
.gfe-nav [aria-current="page"]::after { transform: scaleX(1); }
.gfe-nav .wp-block-navigation__responsive-container-open,
.gfe-nav .wp-block-navigation__responsive-container-close { color: var(--gf-cream); }
.gfe-nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }

/* Mobile/tablet overlay menu */
.gfe-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--gf-black) !important;
	background-image: radial-gradient(ellipse at 70% 110%, rgba(168,137,77,.18), transparent 60%) !important;
	padding: clamp(1.5rem, 6vw, 3rem);
}
.gfe-nav .is-menu-open .wp-block-navigation__container { gap: .15rem !important; }
.gfe-nav .is-menu-open .wp-block-navigation-item__content {
	font-family: var(--gf-serif); font-size: clamp(1.6rem, 6.5vw, 2.25rem); letter-spacing: .01em; text-transform: none;
	padding: .35rem 0; min-height: 44px; display: flex; align-items: center;
}

/* 4. Hero ------------------------------------------------------------------ */
.gfe-hero { min-height: 100vh !important; min-height: 100svh !important; padding-top: calc(var(--gf-header-h) + 2rem); padding-bottom: 5rem; overflow: hidden; }
.gfe-hero .wp-block-cover__image-background { transform-origin: 60% 70%; }
.gfe-hero__place { color: var(--gf-gold-light); }
.gfe-hero__title {
	font-family: var(--gf-display) !important;
	font-weight: 700;
	line-height: .92 !important;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--gf-cream);
	text-shadow: 0 2px 30px rgba(0,0,0,.55);
	margin-block: .75rem 0 !important;
}
.gfe-hero__title strong { display: block; font-weight: 700; font-size: clamp(3rem, 11.5vw, 8.5rem); letter-spacing: .015em;
	background: linear-gradient(180deg, #F3EBD8 0%, #E9DFC8 45%, #CDB78A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gfe-hero__title em { display: flex; align-items: center; justify-content: center; gap: 1rem; font-style: normal; font-weight: 500;
	font-size: clamp(.8rem, 1.6vw, 1.15rem); letter-spacing: .5em; color: var(--gf-gold-light); padding: .6rem 0 .5rem .5em; }
.gfe-hero__title em:nth-of-type(2)::before, .gfe-hero__title em:nth-of-type(2)::after { content: ""; width: clamp(3rem, 14vw, 11rem); height: 1px; background: var(--gf-gold); }
.gfe-hero__lead { text-shadow: 0 1px 18px rgba(8,9,8,.9), 0 0 2px rgba(8,9,8,.6); max-width: 38ch; margin-inline: auto !important; font-family: var(--gf-serif); font-style: italic; color: var(--gf-cream); }
.gfe-hero__ctas { margin-top: 2rem !important; gap: 1rem; }
.gfe-hero__topics { font-family: var(--gf-display); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gf-paper); margin-top: 2.5rem !important; opacity: .85; }
.gfe-hero::after { /* scroll cue */
	content: ""; position: absolute; left: 50%; bottom: 1.6rem; width: 1px; height: 46px;
	background: linear-gradient(var(--gf-gold), transparent); transform: translateX(-50%);
}

/* 5. Sections -------------------------------------------------------------- */
.gfe-section { padding-top: var(--gf-section-y) !important; padding-bottom: var(--gf-section-y) !important; position: relative; }
.gfe-section + .gfe-section:not([class*="-background-color"]) { padding-top: calc(var(--gf-section-y) * .6) !important; }
.gfe-section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.gfe-section__head > * + * { margin-top: 1rem; }
.gfe-section > .wp-block-buttons { margin-top: clamp(2rem, 4vw, 3rem); }

.gfe-river { padding-top: 0 !important; }
.gfe-river__cover { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.gfe-river__cover { padding-left: clamp(16px, 4vw, 48px) !important; padding-right: clamp(16px, 4vw, 48px) !important; }
.gfe-river__cover .wp-block-cover__inner-container { padding-bottom: 1rem; max-width: var(--gf-content); margin-inline: auto; }
.gfe-river__body { align-items: center; }
.gfe-flow { margin: 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid rgba(168,137,77,.35); background: rgba(8,9,8,.35); }
.gfe-flow__svg { width: 100%; max-width: 380px; display: block; margin: 0 auto; }
.gfe-flow figcaption { font-size: .8rem; color: var(--gf-paper); margin-top: .75rem; text-align: center; }
.gfe-stats { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgba(168,137,77,.4); padding-top: 2.5rem; gap: 2rem; }
.gfe-stat__num { font-family: var(--gf-serif); font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1; color: var(--gf-gold-light); margin: 0; }
.gfe-stat__label { font-size: .9rem; color: var(--gf-paper); margin-top: .6rem !important; line-height: 1.5; }
.gfe-stat__src { color: var(--gf-brass); white-space: nowrap; font-size: .8em; }
.gfe-stat__src { color: #9E8A5F; }

.gfe-credit { font-size: .75rem !important; color: rgba(233,223,200,.72); }
.gfe-credit a { color: inherit; }

.gfe-coming { color: var(--gf-paper); font-family: var(--gf-display); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem !important; margin-top: 2rem !important; }

/* 6. Cards ----------------------------------------------------------------- */
.gfe-cards, .gfe-story-grid { gap: clamp(1rem, 2vw, 1.5rem) !important; }
.gfe-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important; }
.is-style-story-card {
	position: relative;
	background: linear-gradient(180deg, rgba(24,35,26,.55), rgba(16,23,17,.9));
	border: 1px solid rgba(168,137,77,.28);
	border-radius: var(--gf-radius);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	transition: border-color .35s var(--gf-ease), transform .35s var(--gf-ease), box-shadow .35s var(--gf-ease);
	height: 100%;
}
.is-style-story-card:hover { border-color: var(--gf-gold); transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(0,0,0,.8); }
.is-style-story-card > * + * { margin-top: .75rem !important; }
.is-style-story-card h2, .is-style-story-card h3 { font-size: 1.55rem; line-height: 1.15; }
.is-style-story-card h2 a, .is-style-story-card h3 a { color: var(--gf-cream); text-decoration: none; }
.is-style-story-card h2 a::after, .is-style-story-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole-card link */
.is-style-story-card .wp-block-post-featured-image { margin: calc(-1 * clamp(1.25rem, 2.5vw, 1.75rem)) calc(-1 * clamp(1.25rem, 2.5vw, 1.75rem)) 1rem; }
.is-style-story-card .wp-block-post-terms a, .is-style-story-card .wp-block-post-terms { color: var(--gf-gold-light); text-decoration: none; position: relative; z-index: 1; }
.gfe-person__dates, .gfe-species__latin { font-family: var(--gf-display); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gf-gold-light); margin: 0; }
.gfe-species__latin { text-transform: none; letter-spacing: .02em; font-family: var(--gf-serif); font-size: 1rem; }

/* 7. Block styles ---------------------------------------------------------- */
.is-style-eyebrow {
	font-family: var(--gf-display) !important; font-size: .75rem !important; font-weight: 500 !important;
	letter-spacing: .28em !important; text-transform: uppercase; color: var(--gf-gold-light); margin-bottom: 0 !important;
	line-height: 1.5 !important;
}
.has-ink-color .is-style-eyebrow, .is-style-paper .is-style-eyebrow { color: #594626; }
.is-style-engraved { font-size: var(--wp--preset--font-size--xx-large); line-height: 1.02 !important; letter-spacing: -.005em; }
.is-style-engraved::after { content: ""; display: block; width: 64px; height: 1px; background: var(--gf-gold); margin-top: 1.25rem; }
.has-text-align-center.is-style-engraved::after { margin-inline: auto; }
.is-style-lead { font-family: var(--gf-serif); font-size: var(--wp--preset--font-size--large) !important; line-height: 1.45 !important; color: var(--gf-cream); }
.is-style-evidence {
	display: inline-block; font-family: var(--gf-display); font-size: .66rem !important; letter-spacing: .2em; text-transform: uppercase;
	border: 1px solid currentColor; padding: .3rem .6rem; border-radius: 2px; color: var(--gf-gold-light); line-height: 1.2 !important;
}

.wp-block-separator.is-style-ornament {
	border: 0; height: 22px; width: min(280px, 70%); margin: 1.25rem auto !important; opacity: 1; background: none;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 22'%3E%3Cg fill='%23A8894D'%3E%3Cpath d='M20 22Q19 10 20 0q1 10 1 22z'/%3E%3Cpath d='M18 22Q14 12 9 5q7 6 10 17z'/%3E%3Cpath d='M22 22q4-10 9-17-7 6-10 17z'/%3E%3Cpath d='M17 22Q10 16 3 13q9 2 15 9z'/%3E%3Cpath d='M23 22q7-6 14-9-9 2-15 9z'/%3E%3C/g%3E%3C/svg%3E"),
		linear-gradient(var(--gf-gold), var(--gf-gold)), linear-gradient(var(--gf-gold), var(--gf-gold));
	background-repeat: no-repeat; background-size: 40px 22px, calc(50% - 30px) 1px, calc(50% - 30px) 1px;
	background-position: center, left center, right center;
}

/* Historic photograph treatment */
.is-style-historic img, .wp-block-cover.is-style-historic .wp-block-cover__image-background,
.wp-block-post-featured-image.is-style-historic img {
	filter: sepia(.55) grayscale(.35) contrast(1.06) brightness(.92);
	transition: filter .9s var(--gf-ease);
}
.wp-block-image.is-style-historic, .wp-block-post-featured-image.is-style-historic { position: relative; overflow: hidden; border-radius: var(--gf-radius); }
.wp-block-image.is-style-historic > a, .wp-block-image.is-style-historic { isolation: isolate; }
.wp-block-image.is-style-historic::after, .wp-block-post-featured-image.is-style-historic::after, .wp-block-cover.is-style-historic::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
	background: var(--gf-grain), radial-gradient(ellipse at center, transparent 55%, rgba(8,9,8,.55) 100%);
	mix-blend-mode: multiply; opacity: .8;
}
.wp-block-image.is-style-historic figcaption { position: relative; z-index: 2; }
.wp-block-image.is-style-historic:hover img, .wp-block-post-featured-image.is-style-historic:hover img,
.is-style-story-card:hover .is-style-historic img { filter: sepia(.1) grayscale(0) contrast(1.02) brightness(1); }
.wp-block-image.is-style-historic figcaption, .wp-block-image.is-style-framed figcaption { text-align: left; margin-top: .75rem; }

.wp-block-image.is-style-framed img, .wp-block-post-featured-image.is-style-framed img {
	padding: clamp(.6rem, 1.5vw, 1rem); background: var(--gf-paper); box-shadow: 0 1px 0 rgba(0,0,0,.2), 0 24px 50px -24px rgba(0,0,0,.9);
	filter: sepia(.35); border: 1px solid #b9a67e;
}

.is-style-paper {
	background-color: var(--gf-paper) !important;
	background-image: var(--gf-grain), radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.25), transparent 60%);
	color: var(--gf-ink) !important; border-radius: var(--gf-radius);
	padding: clamp(1.5rem, 4vw, 3rem) !important; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
}
.is-style-paper h2, .is-style-paper h3, .is-style-paper h4 { color: var(--gf-ink); }
.is-style-paper a { color: #5A4623; }
.is-style-paper .is-style-evidence { color: #594626; }

.is-style-panel { background: var(--gf-green); border: 1px solid rgba(168,137,77,.3); border-radius: var(--gf-radius); padding: clamp(1.25rem, 3vw, 2rem) !important; }

.wp-block-button.is-style-gold .wp-block-button__link { background: var(--gf-gold); color: var(--gf-black); border-color: var(--gf-gold); }
.wp-block-button.is-style-gold .wp-block-button__link:hover, .wp-block-button.is-style-gold .wp-block-button__link:focus-visible { background: var(--gf-cream); border-color: var(--gf-cream); color: var(--gf-black); }
.wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; transition: background-color .3s var(--gf-ease), color .3s var(--gf-ease); }
.gfe-btn-ink .wp-block-button__link { color: var(--gf-ink); border-color: var(--gf-ink); }
.gfe-btn-ink .wp-block-button__link:hover, .gfe-btn-ink .wp-block-button__link:focus-visible { background: var(--gf-ink); color: var(--gf-paper); }

.wp-block-list.is-style-sources { font-size: .875rem; color: var(--gf-paper); border-top: 1px solid rgba(168,137,77,.4); padding-top: 1rem; padding-left: 1.25rem; }
.wp-block-list.is-style-sources li + li { margin-top: .4rem; }

.wp-block-pullquote { padding: 2rem 0; text-align: left; }
.wp-block-pullquote blockquote p { font-size: inherit; line-height: inherit; }
.gfe-intro__quote { margin-block: 2rem !important; color: var(--gf-cream); }

/* 8. Timeline -------------------------------------------------------------- */
.gfe-timeline__list { position: relative; border-left: 1px solid rgba(168,137,77,.45); margin-left: .5rem; }
.wp-block-details.is-style-timeline { border-top: 0 !important; position: relative; padding: 0 0 0 clamp(1.25rem, 4vw, 2.5rem); margin: 0 !important; }
.gfe-timeline .wp-block-details.is-style-timeline::before {
	content: ""; position: absolute; left: -6px; top: 1.45rem; width: 11px; height: 11px; border-radius: 50%;
	background: var(--gf-black); border: 1px solid var(--gf-gold); transition: background-color .3s;
}
.gfe-timeline .wp-block-details.is-style-timeline[open]::before { background: var(--gf-gold); }
.wp-block-details.is-style-timeline summary {
	list-style: none; cursor: pointer; padding: 1rem 2.25rem 1rem 0; display: block; position: relative;
	font-family: var(--gf-serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.25; color: var(--gf-cream);
	min-height: 44px;
}
.wp-block-details.is-style-timeline summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-timeline summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font-family: var(--gf-sans); color: var(--gf-gold-light); font-size: 1.25rem; transition: transform .3s var(--gf-ease); }
.wp-block-details.is-style-timeline[open] summary::after { transform: rotate(45deg); }
.wp-block-details.is-style-timeline summary:hover { color: var(--gf-gold-light); }
.gfe-year-label { display: inline-block; font-family: var(--gf-display); font-size: .95rem; letter-spacing: .14em; color: var(--gf-gold-light); min-width: 7.5rem; margin-right: 1rem; }
.wp-block-details.is-style-timeline > :not(summary) { max-width: 62ch; padding-bottom: .5rem; }
.wp-block-details.is-style-timeline[open] > :not(summary) { animation: gfe-fade .45s var(--gf-ease) both; }
.gfe-src { font-size: .8rem !important; color: var(--gf-paper); }
.gfe-src a { color: var(--gf-gold-light); }

/* 9. Airboat diagram ------------------------------------------------------- */
.gfe-diagram { position: relative; padding: clamp(1rem, 3vw, 2rem); border: 1px solid rgba(168,137,77,.3); background:
	linear-gradient(rgba(168,137,77,.06) 1px, transparent 1px) 0 0 / 24px 24px,
	linear-gradient(90deg, rgba(168,137,77,.06) 1px, transparent 1px) 0 0 / 24px 24px, rgba(8,9,8,.35); border-radius: var(--gf-radius); }
.gfe-diagram__svg { width: 100%; display: block; }
.gfe-diagram__pins circle { fill: var(--gf-black); stroke: var(--gf-gold); stroke-width: 1.5; }
.gfe-diagram__pins text { fill: var(--gf-gold-light); }
.gfe-diagram__note { font-size: .8rem; color: var(--gf-paper); margin: .75rem 0 0; }
.gfe-part { transition: stroke .3s, stroke-width .3s; }
.gfe-parts .wp-block-details.is-style-timeline { padding-left: 0; border-top: 1px solid rgba(168,137,77,.3) !important; }
.gfe-parts .wp-block-details.is-style-timeline summary { font-size: 1.25rem; padding: .8rem 0; }
.gfe-pin { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid var(--gf-gold); border-radius: 50%; font-family: var(--gf-display); font-size: .8rem; color: var(--gf-gold-light); margin-right: .6rem; }
/* Highlight the matching drawing when a part is open */
.gfe-airboat:has(.gfe-part-item:nth-child(1)[open]) .gfe-part--engine,
.gfe-airboat:has(.gfe-part-item:nth-child(2)[open]) .gfe-part--prop,
.gfe-airboat:has(.gfe-part-item:nth-child(3)[open]) .gfe-part--cage,
.gfe-airboat:has(.gfe-part-item:nth-child(4)[open]) .gfe-part--rudder,
.gfe-airboat:has(.gfe-part-item:nth-child(5)[open]) .gfe-part--hull,
.gfe-airboat:has(.gfe-part-item:nth-child(6)[open]) .gfe-part--driver { stroke: #E7C27A; stroke-width: 3.5; }
.gfe-disputed { margin-top: clamp(2.5rem, 5vw, 4rem) !important; max-width: 900px; }
.gfe-disputed > * + * { margin-top: .9rem; }

/* 10. Archives + legends --------------------------------------------------- */
.gfe-archives { background-image: var(--gf-grain), radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.22), transparent 55%); }
.gfe-archives h2 { color: var(--gf-ink); }
.gfe-archives .is-style-engraved::after { background: #594626; }
.gfe-archives a { color: #4E3D1E; }
.gfe-archives a.gfe-drawer { color: var(--gf-paper); }
.gfe-archives a.gfe-drawer:hover, .gfe-archives a.gfe-drawer:focus-visible { color: var(--gf-cream); }
.gfe-drawers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); gap: .75rem; }
@media (max-width: 600px) { .gfe-drawers { grid-template-columns: 1fr 1fr; } .gfe-drawer { min-height: 6.5rem; gap: 1rem; } .gfe-drawer__label { font-size: 1.1rem; } }
.gfe-drawer {
	display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem; min-height: 8rem; padding: 1rem 1.1rem;
	background: linear-gradient(180deg, #2A2418, #1E1A12); color: var(--gf-paper); text-decoration: none; border-radius: 3px;
	border: 1px solid #0f0d09; box-shadow: inset 0 1px 0 rgba(233,223,200,.08), 0 10px 20px -12px rgba(0,0,0,.7);
	position: relative; transition: transform .3s var(--gf-ease), background .3s;
}
.gfe-drawer::after { /* drawer pull */
	content: ""; position: absolute; left: 50%; top: 2.9rem; width: 44px; height: 9px; transform: translateX(-50%);
	border: 1px solid var(--gf-brass); border-top: 0; border-radius: 0 0 8px 8px;
}
.gfe-drawer:hover, .gfe-drawer:focus-visible { transform: translateY(-3px); background: linear-gradient(180deg, #33291a, #231e14); color: var(--gf-cream); }
.gfe-drawer__no { font-family: var(--gf-display); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gf-gold-light); }
.gfe-drawer__label { font-family: var(--gf-serif); font-size: 1.35rem; line-height: 1.1; }
.gfe-archives__foot { margin-top: 2.5rem; border-top: 1px solid rgba(30,26,18,.25); padding-top: 1.5rem; }
.is-style-archive-card { background: var(--gf-paper); color: var(--gf-ink); padding: 1rem; border-radius: 3px; height: 100%; position: relative; }
.is-style-archive-card h2, .is-style-archive-card h3 { color: var(--gf-ink); font-size: 1.3rem; }
.is-style-archive-card a { color: var(--gf-ink); text-decoration: none; }
.is-style-archive-card h2 a::after { content: ""; position: absolute; inset: 0; }

.gfe-evidence-scale { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)) !important; gap: 1px !important; background: rgba(168,137,77,.35); border: 1px solid rgba(168,137,77,.35); }
.gfe-evidence { background: var(--gf-green); padding: 1.5rem 1.25rem; position: relative; }
.gfe-evidence h3 { font-size: 1.35rem; }
.gfe-evidence p { color: var(--gf-paper); margin-top: .6rem; }
.gfe-evidence::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 1rem; background: var(--gf-evidence, var(--gf-gold)); }
.gfe-evidence--documented { --gf-evidence: #C2A56A; }
.gfe-evidence--oral { --gf-evidence: #9DB08A; }
.gfe-evidence--legend { --gf-evidence: #C98C4F; }
.gfe-evidence--folklore { --gf-evidence: #A88AB8; }
.gfe-evidence--unverified { --gf-evidence: #9A958A; }
.gfe-evidence-tag a { font-family: var(--gf-display); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; border: 1px solid currentColor; padding: .3rem .6rem; border-radius: 2px; color: var(--gf-gold-light); text-decoration: none; }

.gfe-follow { text-align: center; }
.gfe-follow__emblem { display: block; margin: 0 auto 1rem; width: 120px; height: 120px; }

/* Catalogue record (archive item) */
.gfe-record-meta { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; font-size: .9rem; border-top: 1px solid rgba(168,137,77,.4); padding-top: 1rem; margin-top: 1rem; }
.gfe-record-meta dt { font-family: var(--gf-display); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gf-gold-light); padding-top: .2rem; }
.gfe-record-meta dd { margin: 0; color: var(--gf-cream); }
.gfe-collections-nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.gfe-collections-nav a { display: inline-block; padding: .45rem .8rem; border: 1px solid rgba(168,137,77,.45); border-radius: 2px; font-size: .8rem; color: var(--gf-paper); text-decoration: none; }
.gfe-collections-nav a:hover, .gfe-collections-nav [aria-current] { border-color: var(--gf-gold); color: var(--gf-cream); background: rgba(168,137,77,.12); }

/* 11. Article + pages ------------------------------------------------------ */
.gfe-article, .gfe-page, .gfe-listing, .gfe-record, .gfe-404 { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.gfe-article__head, .gfe-page__head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.gfe-article__head > * + *, .gfe-page__head > * + * { margin-top: 1rem; }
.gfe-article__labels { gap: .75rem; }
.gfe-article__labels .wp-block-post-terms a { color: var(--gf-gold-light); text-decoration: none; }
.gfe-article__dek { max-width: 42ch; margin-inline: auto !important; color: var(--gf-paper); }
.gfe-article__meta { gap: .35rem 1.5rem; font-size: .8rem; color: var(--gf-paper); font-family: var(--gf-display); letter-spacing: .12em; text-transform: uppercase; }
.gfe-article__meta a { color: var(--gf-cream); text-decoration: none; }
.gfe-updated::before { content: "Updated "; }
.gfe-article__image { margin-bottom: clamp(2rem, 5vw, 3.5rem) !important; }
.wp-block-post-title { color: var(--gf-cream); }
.gfe-page__head .wp-block-post-title, .gfe-article__head .wp-block-post-title { font-size: var(--wp--preset--font-size--xx-large); }

.gfe-prose { font-size: 1.125rem; line-height: 1.75; }
.gfe-prose > p:first-of-type::first-letter {
	float: left; font-family: var(--gf-display); font-size: 4.1em; line-height: .82; padding: .08em .12em 0 0; color: var(--gf-gold-light);
}
.gfe-page .gfe-prose > p:first-of-type::first-letter, .gfe-prose > p.no-dropcap::first-letter { float: none; font: inherit; color: inherit; padding: 0; }
.gfe-prose h2 { margin-top: 3rem; font-size: clamp(1.9rem, 3.5vw, 2.4rem); }
.gfe-prose h3 { margin-top: 2.25rem; }
.gfe-prose h2 + *, .gfe-prose h3 + * { margin-top: 1rem; }
.gfe-prose blockquote { color: var(--gf-cream); }
.gfe-prose table { border-collapse: collapse; width: 100%; }
.gfe-prose th, .gfe-prose td { border-bottom: 1px solid rgba(168,137,77,.3); padding: .6rem .5rem; text-align: left; vertical-align: top; }
.gfe-prose th { font-family: var(--gf-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gf-gold-light); font-weight: 500; }

.gfe-toc { border: 1px solid rgba(168,137,77,.35); border-radius: var(--gf-radius); padding: 1.25rem 1.5rem; background: rgba(16,23,17,.6); margin-block: 2rem !important; }
.gfe-toc__title { font-family: var(--gf-display); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gf-gold-light); margin: 0 0 .75rem; }
.gfe-toc ol { margin: 0; padding-left: 1.2rem; font-size: .95rem; }
.gfe-toc li + li { margin-top: .35rem; }
.gfe-toc a { color: var(--gf-cream); text-decoration-color: rgba(168,137,77,.5); }

.gfe-breadcrumbs { font-family: var(--gf-display); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gf-paper); }
.gfe-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .6rem; margin: 0; padding: 0; }
.gfe-breadcrumbs li + li::before { content: "›"; color: var(--gf-brass); margin-right: .6rem; }
.gfe-breadcrumbs a { color: var(--gf-paper); text-decoration: none; }
.gfe-breadcrumbs a:hover { color: var(--gf-cream); }
.gfe-record .gfe-breadcrumbs ol { justify-content: flex-start; margin-bottom: 2rem; }

.gfe-related { margin-top: clamp(4rem, 8vw, 6rem) !important; padding-top: 2.5rem; border-top: 1px solid rgba(168,137,77,.35); }
.gfe-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.gfe-related-grid a { display: block; padding: 1.25rem; border: 1px solid rgba(168,137,77,.3); border-radius: var(--gf-radius); color: var(--gf-cream); text-decoration: none; font-family: var(--gf-serif); font-size: 1.3rem; line-height: 1.2; height: 100%; }
.gfe-related-grid a:hover { border-color: var(--gf-gold); }
.gfe-related-grid small { display: block; font-family: var(--gf-display); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gf-gold-light); margin-bottom: .5rem; }

.wp-block-query-pagination { margin-top: 3rem; font-family: var(--gf-display); font-size: .8rem; letter-spacing: .12em; }
.wp-block-query-pagination a { color: var(--gf-cream); }
.gfe-search .wp-block-search__input { background: var(--gf-green); color: var(--gf-cream); border: 1px solid var(--gf-brass); border-radius: var(--gf-radius); min-height: 48px; padding: 0 1rem; }
.gfe-search .wp-block-search__button { margin-left: .5rem; }
.gfe-search { margin-block: 2rem !important; }
.gfe-result { padding-block: 1.25rem; border-bottom: 1px solid rgba(168,137,77,.25); }
.gfe-result a { color: var(--gf-cream); }

/* Forms (contact) */
.gfe-form { display: grid; gap: 1.1rem; max-width: var(--gf-reading) !important; }
.gfe-form label { display: block; font-family: var(--gf-display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gf-gold-light); margin-bottom: .4rem; }
.gfe-form input, .gfe-form textarea, .gfe-form select {
	width: 100%; box-sizing: border-box; background: var(--gf-green); color: var(--gf-cream); border: 1px solid var(--gf-brass);
	border-radius: var(--gf-radius); padding: .8rem 1rem; font: inherit; font-size: 1rem; min-height: 48px;
}
.gfe-form textarea { min-height: 10rem; resize: vertical; }
.gfe-form input:focus, .gfe-form textarea:focus, .gfe-form select:focus { border-color: var(--gf-gold-light); }
.gfe-form button { justify-self: start; background: var(--gf-gold); color: var(--gf-black); border: 1px solid var(--gf-gold); border-radius: var(--gf-radius); padding: 1rem 1.75rem; min-height: 48px; font-family: var(--gf-display); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.gfe-form button:hover { background: var(--gf-cream); }
.gfe-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gfe-form__hint { font-size: .8rem; color: var(--gf-paper); margin-top: .35rem; }
.gfe-notice { padding: 1rem 1.25rem; border: 1px solid var(--gf-gold); border-radius: var(--gf-radius); background: rgba(168,137,77,.12); }
.gfe-notice--error { border-color: #C98C4F; }

/* 12. Footer --------------------------------------------------------------- */
.gfe-footer { padding: clamp(3.5rem, 8vw, 6rem) clamp(16px, 4vw, 48px) 2rem !important; border-top: 1px solid rgba(168,137,77,.45);
	background-image: radial-gradient(ellipse at 50% 0%, rgba(24,35,26,.9), transparent 70%) !important; }
.gfe-footer__top { gap: 2.5rem !important; align-items: start; }
.gfe-footer__emblem img { width: 132px; height: 132px; }
.gfe-footer__name { font-family: var(--gf-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 1rem; margin-top: 1rem !important; }
.gfe-footer .is-style-eyebrow { font-size: .66rem !important; }
.gfe-footer h2.is-style-eyebrow { margin-bottom: 1rem !important; }
.gfe-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.gfe-footer__links a { color: var(--gf-cream); text-decoration: none; font-family: var(--gf-serif); font-size: 1.2rem; display: inline-block; padding: .3rem 0; min-height: 24px; }
.gfe-footer__links a:hover { color: var(--gf-gold-light); }
.gfe-footer .wp-block-separator { margin: 3rem 0 1.25rem !important; opacity: .5; }
.gfe-footer__legal p { color: var(--gf-paper); margin: 0; }
.gfe-footer__legal a { color: var(--gf-paper); text-decoration: none; padding: .5rem .1rem; display: inline-block; }
.gfe-footer__legal a:hover { color: var(--gf-cream); text-decoration: underline; }

/* 13. Motion --------------------------------------------------------------- */
@keyframes gfe-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes gfe-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes gfe-drift { from { transform: translateX(-2%); } to { transform: translateX(2%); } }
@keyframes gfe-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
	.gfe-hero .wp-block-cover__image-background { animation: gfe-zoom 14s var(--gf-ease) both; }
	.gfe-hero .wp-block-cover__inner-container > * { animation: gfe-rise 1.1s var(--gf-ease) both; }
	.gfe-hero .wp-block-cover__inner-container > :nth-child(2) { animation-delay: .12s; }
	.gfe-hero .wp-block-cover__inner-container > :nth-child(3) { animation-delay: .3s; }
	.gfe-hero .wp-block-cover__inner-container > :nth-child(4) { animation-delay: .42s; }
	.gfe-hero .wp-block-cover__inner-container > :nth-child(n+5) { animation-delay: .55s; }
	/* Reveal on scroll — content is visible by default; JS adds .gfe-js only when observers are available */
	.gfe-js .gfe-reveal:not(.is-visible) { opacity: 0; transform: translateY(22px); }
	.gfe-js .gfe-reveal { transition: opacity 1s var(--gf-ease), transform 1s var(--gf-ease); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 14. First-visit intro (opt-in; Settings › Reading) ----------------------- */
.gfe-intro-overlay { position: fixed; inset: 0; z-index: 9999; background: var(--gf-black); display: grid; place-items: center; text-align: center; padding: 2rem; }
.gfe-intro-overlay[hidden] { display: none; }
.gfe-intro-overlay__line { font-family: var(--gf-display); letter-spacing: .3em; text-transform: uppercase; color: var(--gf-cream); font-size: clamp(1rem, 3vw, 1.6rem); margin: 0; opacity: 0; position: absolute; }
.gfe-intro-overlay__line.is-on { animation: gfe-intro-line 2.2s var(--gf-ease) both; }
@keyframes gfe-intro-line { 0% { opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
.gfe-intro-overlay__skip { position: absolute; right: 1.25rem; bottom: 1.25rem; background: none; color: var(--gf-paper); border: 1px solid var(--gf-brass); border-radius: var(--gf-radius); font-family: var(--gf-display); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding: .75rem 1.1rem; min-height: 44px; cursor: pointer; }
.gfe-intro-overlay.is-leaving { transition: opacity 1s var(--gf-ease); opacity: 0; }

/* 15. Responsive ----------------------------------------------------------- */
/* Collapse the 10-item menu into the overlay below 1200px */
@media (min-width: 600px) and (max-width: 1199.98px) {
	.gfe-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.gfe-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (min-width: 1200px) and (max-width: 1360px) {
	.gfe-nav { --wp--style--block-gap: 1rem !important; gap: 1rem !important; }
	.gfe-nav .wp-block-navigation__container { gap: 1rem !important; }
	.gfe-nav { font-size: .72rem !important; }
}
@media (max-width: 781px) {
	.gfe-hero { padding-bottom: 4rem; }
	.gfe-hero .wp-block-cover__image-background { object-position: 74% 70% !important; }
	.gfe-hero__ctas .wp-block-button { width: 100%; }
	.gfe-hero__ctas .wp-block-button__link { width: 100%; }
	.gfe-hero__topics { letter-spacing: .18em; font-size: .64rem; }
	.gfe-hero__title em { letter-spacing: .38em; }
	.gfe-section > .wp-block-buttons .wp-block-button { flex: 1 1 100%; }
	.gfe-section > .wp-block-buttons .wp-block-button__link { width: 100%; }
	.gfe-river__cover { min-height: 56vh !important; }
	.gfe-archives__foot .wp-block-buttons { width: 100%; }
	.gfe-archives__foot .wp-block-button { flex: 1 1 auto; }
	.gfe-archives__foot .wp-block-button__link { width: 100%; }
	.gfe-brand__top, .gfe-brand__bottom { font-size: .92rem; }
	.gfe-brand__mark { width: 38px; height: 38px; }
	.gfe-year-label { display: block; min-width: 0; margin: 0 0 .15rem; }
}
@media (max-width: 340px) {
	.gfe-brand__text { display: none; }
}

/* 16. Print ---------------------------------------------------------------- */
@media print {
	.gfe-header-wrap, .gfe-footer, .gfe-hero::after, .gfe-related, .wp-block-buttons { display: none !important; }
	body, .gfe-section { background: #fff !important; color: #000 !important; }
	h1, h2, h3, p, li { color: #000 !important; }
	.gfe-reveal { opacity: 1 !important; transform: none !important; }
}

/* Homepage patterns reused inside page content */
.gfe-prose .gfe-section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; background: transparent !important; }
.gfe-prose .gfe-section__head .is-style-eyebrow:first-child { display: none; }
.gfe-prose .gfe-section.alignfull { padding-left: 0 !important; padding-right: 0 !important; }
.gfe-related-grid li { margin: 0 !important; }
.gfe-related-grid a.has-img { padding-top: 0; overflow: hidden; }
.gfe-related-grid__img { display: block; width: calc(100% + 2.5rem); max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 -1.25rem 1rem; transition: transform .4s ease; }
.gfe-related-grid a.has-img:hover .gfe-related-grid__img { transform: scale(1.03); }
.gfe-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.gfe-nav .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; justify-content: flex-start !important; }
.gfe-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 2.5rem !important; }
.gfe-nav .is-menu-open .wp-block-navigation-item__content::after { display: none; }
.gfe-nav .is-menu-open .wp-block-navigation__responsive-dialog::after {
	content: "Stories \2022  History \2022  Legends"; display: block; margin-top: 2.5rem; font-family: var(--gf-display);
	font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gf-gold-light);
}

.gfe-intro .wp-block-image img { aspect-ratio: 791 / 576; width: 100%; object-fit: cover; }
