/*
 * Fern & Grid site styles (handoff/design-direction.md, concept v1 approved 6 Nov 2026).
 * Loaded last (functions.php), so it can override Divi's module defaults.
 *
 * Who owns what:
 * - Presets (bin/presets.php, editable in the Visual Builder) own section colours and section spacing,
 *   column panels, step colours and the four button styles.
 * - This file owns what Divi has no setting for: the dot grid, ruled and tick lists, the coral rule, the fern,
 *   the header over the hero, the 12-column grid, the newsletter restyle, focus rings and a few Divi workarounds
 *   (marked "Divi:").
 * Colours always come from tokens.css (var(--fg-…)), which follow the Variable Manager.
 */

/* =====================================================================
 * 1. Base
 * ===================================================================== */
body { background: var(--fg-paper); color: var(--fg-evergreen); font: 400 var(--fg-body)/1.65 var(--fg-sans); }
#page-container { position: relative; }

/* Skip link: hidden until focused, then the first thing keyboard users reach. */
.skip-link {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 100000;
	padding: 0.75rem 1rem;
	background: var(--fg-paper);
	color: var(--fg-evergreen);
	text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Visible keyboard focus everywhere (WCAG 2.4.7): 3 px Ampersand green, Lime on the dark hero, header and footer. */
:focus-visible { outline: 3px solid var(--fg-amp); outline-offset: 3px; }
/* Divi sets outline:0 on menu links, buttons and toggles with more specific selectors. */
body .et_pb_menu a:focus-visible,
body .et_pb_button:focus-visible,
body .et_pb_contact_submit:focus-visible,
body .et_pb_toggle_title:focus-visible,
body .et_pb_menu__icon:focus-visible,
html body .et-l .et_pb_menu .et-menu-nav .et-menu li a:focus-visible {
	outline: 3px solid var(--fg-amp) !important;
	outline-offset: 3px;
	transition: none !important; /* Divi animates menu links over 0.4s; the ring should appear at once. */
}
html body .fg-dark a:focus-visible,
html body .fg-dark button:focus-visible,
html body .fg-dark input:focus-visible,
html body .fg-dark .et_pb_button:focus-visible,
html body .fg-dark .mobile_menu_bar:focus-visible,
html body .et-l .fg-dark .et_pb_menu .et-menu-nav .et-menu li a:focus-visible { outline-color: var(--fg-lime) !important; }

/* Mobile menu toggle: a keyboard button (assets/a11y.js) with a 44px target. */
.mobile_nav > .mobile_menu_bar { cursor: pointer; display: inline-block; min-width: 44px; min-height: 44px; }
.mobile_nav > .mobile_menu_bar:focus-visible { outline: 3px solid var(--fg-amp) !important; outline-offset: 2px; }

/* Respect reduced motion: no smooth scrolling, no Divi entrance animations. (The fern's transform is static placement and mirroring, not motion, so it stays.) */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.et_animated { opacity: 1 !important; transform: none !important; }
}

/* Visually hidden text for screen readers. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* [CONFIRM: …] markers from the copy deck: visible until Faye answers them, removed before launch. */
.fg-confirm { background: #fff3c4; color: var(--fg-evergreen); font: 600 0.8em/1.3 var(--fg-sans); letter-spacing: 0; text-transform: none; padding: 0 4px; border-radius: 2px; }

/* =====================================================================
 * 2. Sections, rows and columns (layout layer for bin/layouts.mjs)
 * Section colour and padding come from the section presets; these rules only clear Divi's defaults.
 * ===================================================================== */
/* Divi: sections are flex columns with a 60px row-gap, added on top of the rows' own margins. */
.et-l .et_pb_section.site-sec { row-gap: 0; }
.et-l .et_pb_section.fg-pt0 { padding-top: 0 !important; }
/* A section right under a 1 px rule (e.g. Services add-ons under the proof band): clear space below the rule. */
.et-l .et_pb_section.fg-pt-rule { padding-top: 72px !important; }
@media (max-width: 767px) { .et-l .et_pb_section.fg-pt-rule { padding-top: 48px !important; } }

/* Type inside generated Text modules. */
.site-sec h1, .site-sec h2, .site-sec h3 { font-family: var(--fg-serif); font-weight: 500; color: inherit; padding: 0; margin: 0; text-wrap: balance; }
.site-sec h1 { font-size: var(--fg-h1); line-height: 1.08; letter-spacing: -0.01em; }
.site-sec h2 { font-size: var(--fg-h2); line-height: 1.12; letter-spacing: -0.01em; }
.site-sec h3 { font-size: var(--fg-h3); line-height: 1.2; }
.site-sec p { padding: 0; margin: 0; }
.site-sec p + p { margin-top: 16px; }
.site-sec .et_pb_text { color: inherit; font-size: var(--fg-body); line-height: 1.65; }
.site-sec ul, .site-sec ol { list-style: none; margin: 0; padding: 0; }
.site-sec li { padding: 0; }
/* Divi sets headings to margin 0: space after a heading, whatever follows. */
.site-sec .et_pb_text_inner > h2 + *, .site-sec .et_pb_text_inner > h3 + p { margin-top: 24px; }
.site-sec .et_pb_text_inner > h3 + p { margin-top: 12px; }

/* Label: the small tracked capitals above headings (on dark: Lime). */
.fg-label { font: 600 var(--fg-label)/1.3 var(--fg-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-teal); }
.site-sec .fg-label { margin-bottom: 12px; }
.site-sec .fg-label + h2, .site-sec .fg-label + h3 { margin-top: 0; }
.fg-dark .fg-label { color: var(--fg-lime); }
.fg-small { font-size: 14px; }
.site-sec .fg-small { margin-top: 8px; }

/* Links in text: Dark Teal, underlined (WCAG 1.4.1). Hover: Evergreen. On dark: Paper. */
.site-sec a { color: var(--fg-teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-sec a:hover { color: var(--fg-evergreen); }
.fg-dark a, .fg-dark a:hover { color: var(--fg-paper); }
.fg-text-link { font-weight: 600; }
.site-sec .fg-more { margin-top: 20px; }

/* 12-column grid rows. Divi: rows are 1080px flex boxes with a 5.5% gap; a class switches them to a grid. */
.et-l .et_pb_row.site-row {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--fg-gutter);
	row-gap: 40px;
	width: calc(100% - 2 * var(--fg-gutter));
	max-width: var(--fg-max);
	margin: 0 auto;
	padding: 0;
	align-items: start;
}
.et-l .et_pb_row.site-row + .et_pb_row.site-row { margin-top: 40px; }
.et-l .site-row.site-align-end { align-items: end; }
.et-l .site-row.site-align-center { align-items: center; }
.et-l .site-row > .et_pb_column.site-col { width: auto; max-width: none; margin: 0; gap: 24px; align-items: flex-start; min-width: 0; }
.et-l .site-row > .site-col > .et_pb_module { width: 100%; }
.site-c12 { grid-column: span 12; }
.site-c9 { grid-column: span 9; }
.site-c8 { grid-column: span 8; }
.site-c7 { grid-column: span 7; }
.site-c6 { grid-column: span 6; }
.site-c5 { grid-column: span 5; }
.site-c4 { grid-column: span 4; }
.site-c3 { grid-column: span 3; }
.et-l .site-row > .et_pb_column.site-col.site-end { align-items: flex-end; }
.site-end .et_pb_text, .site-end .et_pb_text_inner { text-align: right; }

/* Two-column splits from the concept: 5/12 + 7/12 with a 64 px gap (fg-rev: 7 + 5), and two equal columns. */
.et-l .et_pb_row.site-row.fg-split { grid-template-columns: 5fr 7fr; column-gap: 64px; }
.et-l .et_pb_row.site-row.fg-split.fg-rev { grid-template-columns: 7fr 5fr; }
.et-l .et_pb_row.site-row.fg-even { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.et-l .fg-split > .site-col, .et-l .fg-even > .site-col { grid-column: auto; }

/* Running text stays readable: about 62 characters. */
.site-sec .et_pb_text_inner > p, .fg-lines, .fg-ticks { max-width: var(--fg-measure); }

/* =====================================================================
 * 3. Buttons
 * Colours, border, padding and font come from the four button presets. These rules handle layout only.
 * ===================================================================== */
/* Divi: each Button module is div.et_pb_button_module_wrapper > a.et_pb_button. The wrapper is the flex item. */
.et-l .site-col > .et_pb_button_module_wrapper,
.et-l .site-actions > .et_pb_button_module_wrapper { width: auto !important; flex: 0 0 auto !important; }
.et-l .et_pb_group.site-actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; width: auto; }
body .et_pb_button.site-btn,
body .et_pb_button.site-btn:hover {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	/* Divi: preset buttons still get :hover { padding: 0 1em !important } from the old icon slide. Keep the preset's padding. */
	padding-left: 24px !important;
	padding-right: 24px !important;
}
body .et_pb_button.site-btn::after, body .et_pb_button.site-btn::before { display: none; content: none; }

/* =====================================================================
 * 4. Header (Theme Builder > Global Header)
 * Over the gradient hero on pages that have one; a solid Evergreen bar everywhere else (shop, cart, posts).
 * ===================================================================== */
.et-l--header .et_pb_section.fg-header { padding: 0; background: var(--fg-evergreen) var(--fg-hero-gradient); }
/* Sticky header on every page. Over a hero it starts transparent and turns Evergreen once the page scrolls
   (assets/header.js adds body.fg-scrolled). scroll-padding keeps anchor targets (#book, #work) clear of it. */
html { scroll-padding-top: 96px; }
.et-l--header { position: sticky; top: 0; z-index: 20; }
body:has(.fg-hero) .et-l--header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; }
body:has(.fg-hero) .et-l--header .et_pb_section.fg-header { background: transparent; transition: background-color 0.2s ease, box-shadow 0.2s ease; }
/* Scrolled bar: the hero gradient (chosen 9 Nov 2026, replaces solid Evergreen). */
body.fg-scrolled .et-l--header .et_pb_section.fg-header { background: var(--fg-evergreen) var(--fg-hero-gradient); box-shadow: 0 1px 0 var(--fg-rule-dark); }
body.admin-bar .et-l--header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .et-l--header { top: 46px; } }
.et-l--header .et_pb_section.fg-header .et_pb_row.site-row { min-height: 86px; align-items: center; }
.et-l--header .fg-header .site-row > .et_pb_column.site-header-col { align-self: center; background: transparent; }
.et-l .site-header .site-header-col { flex-direction: row; align-items: center !important; justify-content: space-between; gap: 24px; }
/* Divi: the menu module's own rules are specific; these let it fill the row beside the Button module. */
.et-l--header .site-header-col > .et_pb_menu.site-menu { flex: 1 1 auto !important; width: auto !important; max-width: none !important; min-width: 0; background: transparent; }
.et-l--header .site-menu .et_pb_menu_inner_container { width: 100% !important; justify-content: space-between; align-items: center; }
.et-l--header .site-menu .et_pb_menu__logo-wrap { flex: 0 0 auto !important; width: auto !important; }
.et-l--header .site-menu .et_pb_menu__logo { margin: 0; }
.et-l--header .site-menu .et_pb_menu__wrap { flex: 1 1 auto !important; justify-content: flex-end !important; }
.et-l--header .site-menu .et-menu { flex-wrap: nowrap !important; align-items: center; }
.site-menu .et_pb_menu__logo img { height: 46px; width: auto; max-width: none; max-height: none; }
/* Menu · on dark: Source Sans 3 600 15 px, Paper; current page underlined 2 px Lime. */
html body .et-l--header .fg-header .et_pb_menu .et-menu > li { padding: 0 14px; }
html body .et-l--header .fg-header .et_pb_menu .et-menu > li > a { color: var(--fg-paper); font: 600 15px/1 var(--fg-sans); padding: 10px 0; text-decoration: none; opacity: 1; }
html body .et-l--header .fg-header .et_pb_menu .et-menu > li > a:hover,
html body .et-l--header .fg-header .et_pb_menu .et-menu > li.current-menu-item > a { text-decoration: underline; text-decoration-color: var(--fg-lime); text-decoration-thickness: 2px; text-underline-offset: 6px; }
/* Hamburger and the phone menu panel. */
.et-l--header .fg-header .mobile_menu_bar::before { color: var(--fg-paper) !important; }
.et-l--header .fg-header .et_mobile_menu { background: var(--fg-evergreen) !important; border-top: 3px solid var(--fg-lime) !important; border-radius: 0 0 var(--fg-radius) var(--fg-radius); padding: 8px 0; }
.et-l--header .fg-header .et_mobile_menu li a { color: var(--fg-paper) !important; font: 600 16px/1.3 var(--fg-sans); padding: 12px 20px; border-bottom: 1px solid var(--fg-rule-dark); }
.et-l--header .fg-header .et_mobile_menu li a:hover { background: rgba(250, 249, 243, 0.08); opacity: 1; }

/* =====================================================================
 * 5. Hero (section preset "Section · Hero gradient", class fg-hero)
 * Padding clears the header (about 86 px) plus the concept's 72 px; the bottom leaves room for the fern.
 * ===================================================================== */
.et-l .et_pb_section.fg-hero { position: relative; overflow: hidden; color: var(--fg-paper); padding: 167px 0 140px; }
.fg-hero h1 { color: var(--fg-paper); }
/* Subpage hero (fg-hero--short; Faye, 9 Nov 2026): lower than Home, its own gradient (preset "Section · Hero subpage"),
   content across the full 1200 px row with a two-line H1, and the fern tucked into the bottom right instead of the left. */
.et-l .et_pb_section.fg-hero.fg-hero--short { padding: 136px 0 72px; }
.fg-hero.fg-hero--short h1 { font-size: var(--fg-h1-inner); max-width: 16em; text-wrap: balance; }
.et-l .fg-hero.fg-hero--short .fg-hero-row > .et_pb_column.fg-hero-col { max-width: none; margin-left: 0; }
.et-l .fg-hero.fg-hero--short .fg-hero-lead { margin: 24px 0 32px !important; max-width: 62ch; }
.et-l .fg-hero.fg-hero--short .et_pb_image.fg-fern { left: auto; right: clamp(24px, 5.5vw, 80px); width: min(26vw, 340px); transform: translateY(32%) scaleX(-1); opacity: 0.2; }
/* Faint, Paper-toned fern on subpages (Faye, 9 Nov 2026): a watermark, not a second focal point next to the H1. */
body:has(.fg-hero--short).fg-scrolled .et-l--header .et_pb_section.fg-header { background: var(--fg-evergreen) var(--fg-hero-gradient-sub); }
/* The fern: an Image module in its own row, laid behind the content row (decorative, empty alt). */
/* Wide screens (Faye, 9 Nov 2026): the fern layer is capped at 1440 px and centred, so the fern moves in with the content
   and a 27" monitor keeps the laptop's fern-to-text spacing (the section still crops the bottom). */
.et-l .fg-hero .et_pb_row.fg-fern-row { position: absolute; inset: 0; width: 100%; max-width: 1440px; margin: 0 auto; z-index: 0; pointer-events: none; display: block; }
.et-l .fg-hero .fg-fern-row > .et_pb_column { position: static; width: 100%; height: 100%; }
/* The full fern (fern-full-paper.svg from the brand board, 663 x 920; Faye, 9 Nov 2026): whole left side, cropped at the bottom by the band
   (about a third, the stem and lowest leaves, sits below the hero). */
.et-l .fg-hero .et_pb_image.fg-fern { position: absolute; left: clamp(24px, 5.5vw, 80px); bottom: 0; width: min(40vw, 540px); max-width: none; margin: 0; transform: translateY(32%); }
.fg-hero .fg-fern .et_pb_image_wrap, .fg-hero .fg-fern img { display: block; width: 100%; height: auto; }
.et-l .fg-hero .et_pb_row.fg-hero-row { position: relative; z-index: 1; margin-top: 0 !important; }
/* Content block pushed right, 640 px wide, on the same 1200 px grid as the header. */
.et-l .fg-hero .fg-hero-row > .et_pb_column.fg-hero-col { grid-column: 1 / -1; width: 100%; max-width: 640px; margin-left: auto; gap: 0; }
.fg-hero .fg-hero-label p { color: var(--fg-lime); }
/* Coral rule under the hero label (CSS instead of a Divider module: one less module per hero). */
.fg-hero .fg-hero-label::after { content: ""; display: block; width: 56px; height: 3px; background: var(--fg-coral); margin: 22px 0 26px; }
.et-l .fg-hero .fg-hero-lead { margin: 28px 0 36px !important; }
/* Divi: a module is a flex column with a 30px gap, which pushed the coral rule away from the label. */
.et-l .fg-hero .fg-hero-label { gap: 0; }
.fg-hero .fg-hero-lead p { font-size: var(--fg-lead); line-height: 1.55; }
.fg-quiet p { font-size: 16px; }
.fg-quiet a { color: var(--fg-paper); }
.fg-hero .fg-quiet { margin-top: 22px; }

/* Seam: the four colour bars (gradient in the "Section · Seam" preset). */
.et-l .et_pb_section.fg-seam { min-height: 20px; padding: 0; }

/* =====================================================================
 * 6. Patterns
 * ===================================================================== */
/* Dot grid (section class fg-dots): one section per page, never the header, hero or running text.
   Dots 1.2 px every 20 px (the 5 mm grid). Background colour comes from the preset. */
.et-l .et_pb_section.fg-dots {
	background-image: radial-gradient(circle, var(--fg-dot) 1.2px, transparent 1.5px);
	background-size: 20px 20px;
	background-position: 10px 10px;
	border-top: 1px solid var(--fg-mist-rule);
	border-bottom: 1px solid var(--fg-mist-rule);
}

/* List · ruled: 1 px rules between items. */
/* Divi sets list line-height to 26px; match the body text (1.65), as the concept does. */
.fg-lines li, .fg-ticks li { line-height: 1.65; }
.fg-lines li { padding: 18px 0; border-top: 1px solid var(--fg-rule); }
.fg-lines li:last-child { border-bottom: 1px solid var(--fg-rule); }
.fg-lines--big li { font-size: 19px; }
.fg-lines strong { font-weight: 600; }
.fg-addons { margin-top: 8px; }
.fg-addons h3 { font-size: 22px; }
.site-sec .fg-addons h3 + p { margin-top: 4px; }

/* List · ticks: a short Dark Teal stroke before each item. */
.site-sec .fg-ticks { margin-top: 16px; }
.fg-ticks li { position: relative; padding: 8px 0 8px 28px; }
.fg-ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 2px; background: var(--fg-teal); }

/* Panel · Tint: the preset gives colour, corners and padding. */
.site-sec .fg-h-offer { font-size: 30px; }
.site-sec .fg-h-offer + p { margin-top: 12px; }

/* Testimonial: a real blockquote (Divi's Testimonial module has no blockquote semantics). */
.fg-quote { margin: 0; }
.fg-quote blockquote { margin: 0; padding: 0; border: 0; }
.fg-quote blockquote p { font: 500 30px/1.3 var(--fg-serif); color: var(--fg-evergreen); }
.fg-quote figcaption { margin-top: 16px; font-size: 15px; }
.fg-clients { font: 500 20px/1.6 var(--fg-serif); }
.fg-clients span:not(:last-child)::after { content: " · "; color: var(--fg-mist); }

/* Proof and Planners bands: thin rules. */
.et-l .et_pb_section.fg-proof { border-bottom: 1px solid var(--fg-rule); }
.et-l .et_pb_section.fg-planners { border-top: 1px solid var(--fg-rule); }
.fg-planners h2 { font-size: 34px; }
.site-sec.fg-planners .et_pb_text_inner > h2 + p { margin-top: 16px; }

/* Steps (on the dot grid): four solid blocks, text never on the dots. Colours come from the step presets. */
/* Steps heading runs across the full width (Faye, 6 Nov 2026). */
.fg-steps .fg-label + h2 { max-width: none; }
.et-l .et_pb_row.site-row.fg-steps-row { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; row-gap: 16px; }
.et-l .fg-steps-row > .site-col { grid-column: auto; padding: 28px 24px 32px; min-height: 240px; }
.fg-step-1, .fg-step-2 { color: var(--fg-evergreen); }
.fg-step-3, .fg-step-4 { color: var(--fg-paper); }
.site-sec .fg-step-num { font: 500 40px/1 var(--fg-serif); margin-bottom: 28px; }
.site-sec .fg-step h3 { font: 600 15px/1.3 var(--fg-sans); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.site-sec .fg-step h3 + p { margin-top: 0; font-size: 16px; }

/* Case card: the preset gives White, the 1 px rule and corners; the photo sits flush. */
.et-l .fg-even > .site-col.fg-card { gap: 0; overflow: hidden; align-self: stretch; }
.fg-card-body { padding: 24px 24px 28px; }
.site-sec .fg-card-body h3 { margin: 6px 0 10px; }
.site-sec .fg-card-body .fg-more { margin-top: 14px; }

/* Photo placeholders until the photos arrive. */
.fg-photo { position: relative; margin: 0; border-radius: var(--fg-radius); overflow: hidden; min-height: 260px; background: linear-gradient(160deg, #d9e2dc 0%, #a9bfbb 45%, #6d8d8a 100%); }
.fg-photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; width: fit-content; background: rgba(250, 249, 243, 0.94); color: var(--fg-evergreen); font: 600 13px/1.3 var(--fg-sans); padding: 6px 10px; border-radius: 2px; }
.fg-photo--card { border-radius: 0; min-height: 220px; aspect-ratio: 3 / 2; }
.fg-photo--tall { min-height: 420px; }

/* Photos (Image modules with class fg-img): fill their box, cropped from the centre. */
.et-l .et_pb_image.fg-img { width: 100%; max-width: none; margin: 0; }
.fg-img .et_pb_image_wrap, .fg-img img { display: block; width: 100%; }
.fg-img img { height: 100%; object-fit: cover; border-radius: var(--fg-radius); aspect-ratio: 4 / 3; }
.fg-img--card img { border-radius: 0; aspect-ratio: 3 / 2; }
.fg-img--tall img { aspect-ratio: 4 / 5; object-position: 50% 30%; }

/* Chaos Quiz panel: label and heading on the left, the button on the right. */
.et-l .site-row > .et_pb_column.fg-quiz-panel { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; padding: 56px clamp(24px, 5vw, 72px); }
.et-l .fg-quiz-panel > .et_pb_text { width: auto !important; flex: 1 1 420px; }
.fg-quiz-panel h2 { font-size: 34px; max-width: 22ch; }

/* =====================================================================
 * 7. Footer (Theme Builder > Global Footer): CTA band and Evergreen columns
 * ===================================================================== */
.fg-cta, .fg-footer { color: var(--fg-paper); }
.fg-cta h2 { max-width: 18ch; color: var(--fg-paper); }
.site-sec.fg-cta .et_pb_text_inner > h2 + p { margin-top: 12px; max-width: 52ch; }
.et-l .site-row > .et_pb_column.fg-cta-actions { align-items: flex-start; gap: 14px; }
.et-l .et_pb_section.fg-footer { border-top: 1px solid var(--fg-rule-dark); padding: 64px 0 24px !important; }
.fg-footer .et_pb_text { font-size: 16px; }
.et-l .et_pb_row.site-row.fg-footer-cols { grid-template-columns: 5fr 3fr 4fr; column-gap: 48px; }
.et-l .fg-footer-cols > .site-col { grid-column: auto; }
.et-l .fg-footer-brand > .et_pb_image.fg-footer-logo { width: auto; }
.fg-footer-logo img { height: 44px; width: auto; }
.et-l .site-row > .et_pb_column.fg-footer-brand { gap: 20px; }
.site-sec .fg-descriptor { margin-top: 0; }
.site-sec .fg-tagline { font: italic 500 20px/1.4 var(--fg-serif); margin-top: 4px; }
.site-sec .fg-footer .fg-fine, .fg-fine { font-size: 14px; margin-top: 10px; }
.site-sec h2.fg-footer-h { font: 600 var(--fg-label)/1.3 var(--fg-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-lime); margin-bottom: 16px; }
.site-sec .fg-footer-h + * { margin-top: 0; }
.fg-footer-links li { padding: 5px 0; }
.fg-legal-text .et_pb_text_inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.fg-legal-text ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.et-l .et_pb_row.site-row.fg-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--fg-rule-dark); }

/* Newsletter (MailerLite form 41916620 in a Code module). Scoped to .fg-newsletter only.
   Class names follow MailerLite's embed markup; re-check them when the real embed goes in. */
.fg-newsletter .ml-form-embedContainer,
.fg-newsletter .ml-form-embedWrapper,
.fg-newsletter .ml-form-embedBody { background: transparent !important; padding: 0 !important; border: 0 !important; margin: 0 !important; }
.fg-newsletter .ml-form-embedContent h4,
.fg-newsletter .ml-form-embedContent p { display: none !important; }
.fg-newsletter label { display: block; color: var(--fg-paper) !important; font: 600 16px/1.4 var(--fg-sans) !important; margin-bottom: 8px; }
.fg-newsletter input[type="email"],
.fg-newsletter input[type="text"] {
	width: 100% !important; background: var(--fg-white) !important; color: var(--fg-evergreen) !important;
	border: 1.5px solid var(--fg-paper) !important; border-radius: var(--fg-radius) !important;
	padding: 13px 14px !important; font: 400 17px/1.4 var(--fg-sans) !important;
}
.fg-newsletter .ml-form-checkboxRow { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 16px; }
.fg-newsletter .ml-form-checkboxRow label { font-weight: 400 !important; font-size: 14px !important; line-height: 1.45 !important; margin: 0; }
.fg-newsletter .ml-form-checkboxRow input[type="checkbox"] { accent-color: var(--fg-lime); width: 20px; height: 20px; margin-top: 1px; flex: none; }
.fg-newsletter .ml-form-embedSubmit button.primary {
	background: transparent !important; color: var(--fg-paper) !important; cursor: pointer;
	border: 2px solid var(--fg-paper) !important; border-radius: var(--fg-radius) !important; min-height: 48px;
	padding: 14px 22px !important; font: 600 16px/1 var(--fg-sans) !important; width: auto !important;
}
.fg-newsletter .ml-form-embedSubmit button.primary:hover { background: rgba(250, 249, 243, 0.1) !important; }
/* MailerLite's script swaps the submit button for this one while it sends (real embed, 20 Nov 2026). */
.fg-newsletter .ml-form-embedSubmit button.loading {
	background: transparent !important; color: var(--fg-paper) !important; opacity: 0.75;
	border: 2px solid var(--fg-paper) !important; border-radius: var(--fg-radius) !important; min-height: 48px;
	padding: 14px 22px !important; font: 600 16px/1 var(--fg-sans) !important; width: auto !important;
}
.fg-newsletter .ml-form-embedSubmitLoad { display: none !important; }
/* reCAPTCHA box (MailerLite requires it; loads when someone uses the form) and MailerLite's error line. */
.fg-newsletter .ml-form-recaptcha { margin: 0 0 16px; max-width: 100%; overflow: hidden; }
.fg-newsletter .ml-form-recaptcha:empty, .fg-newsletter .g-recaptcha:empty { margin: 0; }
.fg-newsletter .ml-form-recaptcha.ml-error .g-recaptcha { outline: 3px solid var(--fg-lime); outline-offset: 2px; }
.fg-newsletter .ml-server-error { color: var(--fg-paper); font-weight: 600; font-size: 15px; margin: 0 0 12px; padding-left: 12px; border-left: 3px solid var(--fg-lime); }
.fg-newsletter .ml-server-error.d-none { display: none; }
/* MailerLite marks a field it rejects with .ml-error: a thicker Lime border, as well as the browser's own message. */
.fg-newsletter .ml-error input[type="email"] { border: 3px solid var(--fg-lime) !important; }
/* Clear space between "Count me in" and the fine print (Faye, 9 Nov 2026): a little more than the 16 px
   between the consent box and the button, so the note reads as separate from the form. Divi resets p margins
   inside the Code module, hence the specificity. */
.et-l .fg-newsletter p.fg-fine { margin-top: 20px; }
.fg-newsletter .ml-form-successBody h4,
.fg-newsletter .ml-form-successBody p { color: var(--fg-paper) !important; }

/* =====================================================================
 * 8. Forms, toggles and WooCommerce (template fixes)
 * ===================================================================== */
.site-form .et_pb_contact_form_label { display: block !important; position: static !important; font-weight: 600; margin-bottom: 6px; color: var(--fg-evergreen); }
.et_pb_toggle_title .site-toggle-btn { all: unset; display: block; width: 100%; cursor: pointer; font: inherit; color: inherit; }
.et_pb_toggle_title .site-toggle-btn:focus-visible { outline: 3px solid var(--fg-amp); outline-offset: 4px; }
.woocommerce-breadcrumb, .woocommerce-breadcrumb a { color: var(--fg-evergreen) !important; }
.woocommerce .show-password-input { min-width: 24px; min-height: 24px; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { min-height: 70vh; }

/* =====================================================================
 * 9. Tablet (Divi's breakpoint, 980 px) and phone (767 px)
 * ===================================================================== */
@media (max-width: 980px) {
	.et-l .et_pb_row.site-row { row-gap: 32px; }
	.site-row > [class*="site-c"] { grid-column: 1 / -1; }
	.et-l .et_pb_row.site-row.fg-split,
	.et-l .et_pb_row.site-row.fg-split.fg-rev { grid-template-columns: 1fr; }
	.et-l .site-row > .et_pb_column.site-col.site-end { align-items: flex-start; }
	.site-end .et_pb_text, .site-end .et_pb_text_inner { text-align: left; }
	.et-l .et_pb_row.site-row.fg-steps-row { grid-template-columns: 1fr 1fr; }
	.et-l .et_pb_row.site-row.fg-footer-cols { grid-template-columns: 1fr 1fr; }
	.et-l .fg-footer-cols > .fg-footer-brand { grid-column: 1 / -1; }
	/* Hero: content spans the full width, the fern drops below the text. */
	.et-l .fg-hero .fg-hero-row > .et_pb_column.fg-hero-col { margin-left: 0; }
	.et-l .et_pb_section.fg-hero { padding-bottom: min(52vw, 360px); }
	/* Subpage hero: the fern stays small in the bottom-right corner, below the button. */
	.et-l .et_pb_section.fg-hero.fg-hero--short { padding-bottom: min(30vw, 200px); }
	.et-l .fg-hero.fg-hero--short .et_pb_image.fg-fern { width: min(30vw, 210px); }
	.et-l .fg-hero .et_pb_image.fg-fern { width: min(52vw, 360px); }
	.site-menu .et_pb_menu__logo img { height: 40px; }
}
@media (max-width: 767px) {
	.et-l .et_pb_row.site-row.fg-even,
	.et-l .et_pb_row.site-row.fg-steps-row,
	.et-l .et_pb_row.site-row.fg-footer-cols { grid-template-columns: 1fr; }
	.et-l .fg-steps-row > .site-col { min-height: 0; }
	/* Header (84px on phones) plus the concept's 72px / 56px hero top padding. */
	.et-l .et_pb_section.fg-hero { padding-top: 156px; }
	.et-l .et_pb_section.fg-hero.fg-hero--short { padding-top: 124px; }
	.et-l .fg-hero .et_pb_image.fg-fern { width: 52vw; }
	.fg-planners h2, .fg-quiz-panel h2 { font-size: 28px; }
	.fg-quote blockquote p { font-size: 24px; }
	.site-menu .et_pb_menu__logo img { height: 36px; }
	.et-l--header .site-header-col > .et_pb_button_module_wrapper { display: none !important; }
	/* Hero buttons full width on phones. */
	.et-l .fg-hero-actions > .et_pb_button_module_wrapper { width: 100% !important; }
	.et-l .fg-hero-actions .et_pb_button { width: 100%; max-width: none; }
}

/* =====================================================================
 * 10. Services page (9 Nov 2026; concept/services.html)
 * ===================================================================== */
/* The one closing line under the two parts. */
.fg-outcome { font-size: var(--fg-lead); line-height: 1.5; max-width: 62ch; margin: 8px 0 0; }
/* FAQ: separate Toggle modules, ruled like the concept, + / − on the right, all closed. */
.et-l .fg-faq { gap: 0 !important; border-top: 1px solid var(--fg-rule); }
.et-l .fg-faq .et_pb_toggle.fg-faq-item { margin: 0 !important; padding: 0 !important; border: 0 !important; border-bottom: 1px solid var(--fg-rule) !important; background: transparent !important; border-radius: 0; width: 100%; }
.fg-faq .et_pb_toggle_title { position: relative; margin: 0; padding: 22px 44px 22px 0; font: 500 22px/1.3 var(--fg-serif) !important; color: var(--fg-evergreen) !important; }
.fg-faq .et_pb_toggle_title::before { content: "+" !important; position: absolute; right: 4px; left: auto !important; top: 18px !important; margin: 0 !important; font: 400 28px/1 var(--fg-sans) !important; color: var(--fg-teal) !important; }
.fg-faq .et_pb_toggle_open .et_pb_toggle_title::before { content: "\2212" !important; display: block !important; }
.fg-faq .et_pb_toggle_content { padding: 0 0 24px; max-width: 62ch; color: var(--fg-evergreen); }
.fg-faq .et_pb_toggle_content p:last-child { margin-bottom: 0; }
.fg-faq .et_pb_toggle_content, .fg-faq .et_pb_toggle_content p { font: 400 var(--fg-body)/1.6 var(--fg-sans) !important; color: var(--fg-evergreen) !important; }
@media (max-width: 767px) { .fg-faq .et_pb_toggle_title { font-size: 20px !important; } }

/* =====================================================================
 * 11. Client work page (9 Nov 2026; design-direction.md § Client work)
 * ===================================================================== */
/* The page's one three-card grid: three per row, two on tablet, one on phone. */
.et-l .et_pb_row.site-row.fg-three { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; row-gap: 32px; }
.et-l .fg-three > .site-col { grid-column: auto; }
.et-l .fg-three > .site-col.fg-card { gap: 0; overflow: hidden; align-self: stretch; }
/* Photo placeholder inside a card sits flush, like the photo it stands in for. */
.et-l .fg-card > .et_pb_text.fg-card-media { margin: 0; }
.fg-card-media .fg-photo--card { min-height: 0; }
/* "More projects": a quieter heading than the section H2s above it. */
.site-sec h2.fg-h-quiet { font-size: 30px; }
/* Proof panels over the dot grid. */
.et-l .fg-work-proof .site-row > .site-col.fg-panel { align-self: stretch; justify-content: center; }
.fg-client-list { list-style: none; margin: 0; padding: 0; font: 500 20px/1.35 var(--fg-serif); color: var(--fg-evergreen); }
.fg-client-list li { padding: 9px 0; border-top: 1px solid var(--fg-rule); }
.fg-client-list li:first-child { border-top: 0; padding-top: 0; }
.fg-client-list li:last-child { padding-bottom: 0; }
/* List · ruled, numbered: the short version of the four steps. */
.fg-lines--num { list-style: none; margin: 0; padding: 0; counter-reset: fg-step; }
.fg-lines--num li { counter-increment: fg-step; position: relative; padding-left: 56px; }
.fg-lines--num li::before { content: "0" counter(fg-step); position: absolute; left: 0; top: 14px; font: 500 26px/1 var(--fg-serif); color: var(--fg-teal); }
.site-sec .fg-lines--num + .fg-more { margin-top: 24px; }
@media (max-width: 980px) {
	.et-l .et_pb_row.site-row.fg-three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	.et-l .et_pb_row.site-row.fg-three { grid-template-columns: 1fr; }
	.site-sec h2.fg-h-quiet { font-size: 26px; }
	.fg-lines--num li { padding-left: 44px; }
	.fg-lines--num li::before { font-size: 22px; top: 16px; }
}

/* =====================================================================
 * 12. Services proof (9 Nov 2026): wide HomeBridge card, rotating quotes underneath (assets/quotes.js)
 * ===================================================================== */
.et-l .site-row > .et_pb_column.fg-card--wide { display: grid; grid-template-columns: 7fr 5fr; gap: 0; overflow: hidden; align-items: stretch; }
.et-l .fg-card--wide > .et_pb_module { width: auto; margin: 0; }
.fg-card--wide .fg-img img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.et-l .fg-card--wide > .fg-card-body { align-self: center; padding: 40px clamp(24px, 4vw, 48px); }
.et-l .fg-svc-proof .et_pb_row.site-row + .et_pb_row.site-row { margin-top: 64px; }
.fg-quotes { max-width: 860px; }
.fg-quotes .fg-label { margin-bottom: 16px; }
.fg-quotes-viewport { overflow: hidden; }
.fg-quotes-track { display: flex; flex-direction: column; gap: 32px; }
.fg-quotes.is-ready .fg-quotes-track { flex-direction: row; gap: 0; transition: transform 0.5s ease; }
.fg-quotes.is-ready .fg-quotes-slide { flex: 0 0 100%; }
.fg-quotes-controls { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.fg-quotes-controls[hidden] { display: none; }
.fg-quotes-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--fg-teal); border-radius: var(--fg-radius); background: transparent; color: var(--fg-teal); font: 600 18px/1 var(--fg-sans); cursor: pointer; }
.fg-quotes-btn:hover { background: var(--fg-tint); color: var(--fg-evergreen); }
.fg-quotes-btn:focus-visible { outline: 3px solid var(--fg-amp); outline-offset: 3px; }
/* Pause shows two bars; when paused it becomes a play triangle. */
.fg-quotes-pause-icon { display: block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.is-paused .fg-quotes-pause-icon { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.site-sec .fg-quotes-count { margin: 0 0 0 8px; font: 600 15px/1 var(--fg-sans); color: var(--fg-evergreen); }
@media (prefers-reduced-motion: reduce) { .fg-quotes.is-ready .fg-quotes-track { transition: none; } }
@media (max-width: 980px) {
	.et-l .site-row > .et_pb_column.fg-card--wide { grid-template-columns: 1fr; }
	.fg-card--wide .fg-img img { min-height: 0; aspect-ratio: 3 / 2; }
	.et-l .fg-card--wide > .fg-card-body { padding: 24px 24px 28px; }
}
@media (max-width: 767px) {
	.et-l .fg-svc-proof .et_pb_row.site-row + .et_pb_row.site-row { margin-top: 48px; }
}

/* =====================================================================
 * About: four values on Tint panels over the dot grid, and a faint fern behind Why Fern & Grid.
 * ===================================================================== */
.et-l .et_pb_row.site-row.fg-values-row { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; row-gap: 16px; }
.et-l .fg-values-row > .site-col { grid-column: auto; align-self: stretch; }
.site-sec .fg-value h3 { margin-bottom: 10px; }
.site-sec .fg-value h3 + p { margin-top: 0; font-size: 16px; }
.fg-facts .fg-lines + .fg-more { margin-top: 24px; }
/* Why Fern & Grid: the cream fern as a mask, tinted Dark Teal at low opacity, cropped off the right edge. Decorative only. */
.et-l .et_pb_section.fg-name { position: relative; overflow: hidden; }
.et-l .fg-name > .et_pb_row { position: relative; z-index: 1; }
.fg-name::after { content: ""; position: absolute; z-index: 0; pointer-events: none; top: 50%; right: 0; width: min(46vw, 620px); aspect-ratio: 1; transform: translate(22%, -50%) scaleX(-1); background: var(--fg-teal); opacity: 0.1;
	-webkit-mask: url("fern.svg") center / contain no-repeat; mask: url("fern.svg") center / contain no-repeat; }
@media (max-width: 980px) {
	.et-l .et_pb_row.site-row.fg-values-row { grid-template-columns: 1fr 1fr; }
	.fg-name::after { top: auto; bottom: 0; width: min(60vw, 380px); transform: translate(24%, 28%) scaleX(-1); opacity: 0.08; }
	/* One column: keep the portrait from filling the whole width. */
	.fg-story .et_pb_image.fg-img--tall { max-width: 440px; }
}
@media (max-width: 767px) {
	.et-l .et_pb_row.site-row.fg-values-row { grid-template-columns: 1fr; }
}

/* =====================================================================
 * Client work photos: crop positions per image (Faye, 9 Nov 2026).
 * ===================================================================== */
/* HomeBridge and Blue Bright Path mockups sit left of centre in the file: shift the crop so the tablet doesn't touch the left edge. */
.fg-img img[src*="homebridge-living-website"],
.fg-img img[src*="blue-bright-path-website"] { object-position: 17% 50%; }
/* Wide logo file: shown whole, with the file's own paper colour around it, so the wordmark doesn't touch the card edge. */
.fg-img img[src*="candice-neveu-coaching-logo"] { object-fit: contain; padding: 0 8%; background: #FEFCFB; box-sizing: border-box; }

/* =====================================================================
 * Planners (the WooCommerce shop page; design-direction § Planners, 9 Nov 2026).
 * Woo Products modules (.fg-shop): planners two across with Add to cart as the page's main button,
 * refills four across as smaller cards with a quieter outline button. Product titles are H3 (functions.php).
 * ===================================================================== */
#planners, #refills, #workshops { scroll-margin-top: 96px; }
.fg-shop .woocommerce ul.products,
.fg-shop ul.products { display: grid; gap: 40px; margin: 0; padding: 0; }
.fg-shop ul.products::before, .fg-shop ul.products::after { display: none; content: none; }
.fg-shop--main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; }
.fg-shop--small ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.woocommerce .fg-shop ul.products li.product, .fg-shop ul.products li.product { display: flex; flex-direction: column; float: none; width: auto !important; margin: 0 !important; padding: 0; clear: none !important; } /* Divi and WooCommerce set % widths with !important below 981 px; the grid sizes the cards. */
.fg-shop li.product > a.woocommerce-loop-product__link { display: block; flex: 1 0 auto; color: var(--fg-evergreen); text-decoration: none; }
.fg-shop .et_shop_image { display: block; margin: 0; }
.fg-shop .et_shop_image img, .woocommerce .fg-shop ul.products li.product a img { display: block; width: 100%; height: auto; margin: 0; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--fg-radius); box-shadow: none; }
.fg-shop .et_overlay { display: none; } /* Divi: hover overlay with a magnifier icon. */
html body .fg-shop ul.products li.product .woocommerce-loop-product__title { font: 500 22px/1.25 var(--fg-serif); color: var(--fg-evergreen); margin: 18px 0 6px; padding: 0; }
.fg-shop--small ul.products li.product .woocommerce-loop-product__title { font-size: 19px; margin-top: 14px; }
html body .fg-shop ul.products li.product .price { display: block; margin: 0; font: 600 var(--fg-body)/1.4 var(--fg-sans); color: var(--fg-evergreen); }
.fg-shop--small ul.products li.product .price { font-size: 16px; }
.fg-shop li.product a.woocommerce-loop-product__link:hover .woocommerce-loop-product__title { text-decoration: underline; text-underline-offset: 3px; }
/* Add to cart: Primary · on light (same values as the preset fg-btn-primary-light). */
html body .fg-shop ul.products li.product .button {
	display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-height: 48px; margin: 16px 0 0; padding: 12px 24px;
	background: var(--fg-teal); color: var(--fg-paper); border: 2px solid var(--fg-teal); border-radius: var(--fg-radius);
	font: 600 16px/1.2 var(--fg-sans); text-decoration: none; box-shadow: none;
}
html body .fg-shop ul.products li.product .button:hover { background: var(--fg-evergreen); border-color: var(--fg-evergreen); color: var(--fg-paper); }
html body .fg-shop ul.products li.product .button::after { display: none; } /* Divi: arrow icon on buttons. */
/* Divi zeroes the outline width on WooCommerce buttons: put the 3 px focus ring back (Planners grids and product pages). */
html body .woocommerce .button:focus-visible, html body .fg-shop ul.products li.product .button:focus-visible, html body #et-boc .fg-woo .button:focus-visible, html body #et-boc .fg-woo button:focus-visible, html body #et-boc .fg-woo input:focus-visible { outline: 3px solid var(--fg-amp) !important; outline-offset: 3px; }
/* Refills: Secondary · on light, so the planners' buttons stay the main action. */
html body .fg-shop--small ul.products li.product .button { min-height: 44px; padding: 10px 18px; font-size: 15px; background: transparent; color: var(--fg-teal); }
html body .fg-shop--small ul.products li.product .button:hover { background: var(--fg-tint); color: var(--fg-evergreen); border-color: var(--fg-teal); }
html body .fg-shop ul.products li.product .button.loading { opacity: 0.6; }
.fg-shop ul.products li.product .added_to_cart { margin-top: 10px; font: 600 15px/1.3 var(--fg-sans); color: var(--fg-teal); text-decoration: underline; text-underline-offset: 3px; }
.fg-shop + .et_pb_text .fg-fine, .fg-planner-grid .fg-fine { margin-top: 24px; color: var(--fg-evergreen); }
.fg-refills .fg-label + h2 + p { max-width: 62ch; }
/* Three panels over the dot grid (shares About's fg-values-row). */
.et-l .et_pb_row.site-row.fg-values-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Workshops: Section · Tint with Section space · tight. */
.et-l .et_pb_section.fg-workshops { padding-top: 64px !important; padding-bottom: 64px !important; }
@media (max-width: 980px) {
	.fg-shop--small ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.fg-shop--main ul.products { grid-template-columns: 1fr; gap: 48px; max-width: 440px; }
	.fg-shop--small ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.et-l .et_pb_row.site-row.fg-values-row--3 { grid-template-columns: 1fr; }
	.et-l .et_pb_section.fg-workshops { padding-top: 48px !important; padding-bottom: 48px !important; }
	html body .fg-shop--small ul.products li.product .button { padding: 10px 14px; }
}
/* Planner short descriptions (functions.php), and WooCommerce's placeholder for products without a photo. */
.fg-shop .fg-shop-desc p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--fg-evergreen); max-width: 44ch; }
.fg-shop img.woocommerce-placeholder { background: var(--fg-tint); border: 1px solid var(--fg-rule); }
.fg-workshops .fg-img img { aspect-ratio: 4 / 3; }

/* =====================================================================
 * Case studies (child pages of Client work, /client-work/<slug>/; design-direction § Case study template, 9 Nov 2026).
 * One layout for every study (bin/layouts.mjs caseStudy). Section headings are real H2s set in the label style.
 * No dot grid here: the work is the pattern.
 * ===================================================================== */
.site-sec h2.fg-label { font: 600 var(--fg-label)/1.3 var(--fg-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-teal); margin-bottom: 16px; }
.site-sec .et_pb_text_inner > h2.fg-label + * { margin-top: 0; }
.fg-cs-big { font-size: var(--fg-lead); line-height: 1.55; max-width: 62ch; }
/* Lead image: Section · Paper, 64 top / 0 bottom; 16:9 with the site's corners. */
.et-l .et_pb_section.fg-cs-lead { padding-top: 64px !important; padding-bottom: 0 !important; }
.fg-img--lead img { aspect-ratio: 16 / 9; }
.fg-img--contain img { object-fit: contain; background: var(--fg-white); }
/* What I did: the ruled list starts level with the challenge paragraph. */
.fg-cs-story .fg-lines { margin-top: 0; }
/* At a glance: a White card (Case card preset) with a definition list. */
.et-l .site-col.fg-cs-glance { padding: 32px; align-self: start; }
.fg-cs-glance dl { margin: 0; }
.fg-cs-glance dl > div { padding: 14px 0; border-top: 1px solid var(--fg-rule); }
.fg-cs-glance dl > div:last-child { padding-bottom: 0; }
.fg-cs-glance dt { font-weight: 600; font-size: 15px; color: var(--fg-evergreen); }
.fg-cs-glance dd { margin: 2px 0 0; line-height: 1.55; }
.fg-cs-quote { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--fg-rule); }
.fg-cs-quote blockquote p { font-size: 26px; }
.site-sec .fg-cs-note { margin-top: 32px; font-size: 16px; font-style: italic; max-width: 62ch; }
/* The work: pieces shown whole at their own shape (800 x 1060), on a thin rule so off-white files don't melt into Paper. */
.et-l .et_pb_row.site-row.fg-cs-gallery { column-gap: 32px; row-gap: 32px; }
.et-l .fg-cs-gallery > .site-col { grid-column: auto; }
.et-l .et_pb_row.site-row.fg-cs-gallery--1 { grid-template-columns: 1fr; }
.et-l .et_pb_row.site-row.fg-cs-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.et-l .et_pb_row.site-row.fg-cs-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.et-l .et_pb_row.site-row.fg-cs-gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fg-img--piece img { aspect-ratio: 800 / 1060; border: 1px solid var(--fg-rule); box-sizing: border-box; }
/* Previous / All client work / Next. */
.et-l .et_pb_section.fg-cs-next { border-top: 1px solid var(--fg-rule); }
.fg-cs-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-sec .fg-cs-nav a { display: flex; flex-direction: column; gap: 4px; color: var(--fg-evergreen); text-decoration: none; min-height: 44px; }
.site-sec .fg-cs-nav .fg-label { margin: 0; }
/* Client names: Source Sans 3 at body size in Evergreen, under the 24 px H3 (Nikola, 18 Nov 2026; Nick's yes, 19 Nov 2026). */
.fg-cs-name { font: 600 var(--fg-body)/1.35 var(--fg-sans); color: var(--fg-evergreen); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--fg-rule); }
.site-sec .fg-cs-nav a:hover .fg-cs-name { text-decoration-color: currentColor; }
.fg-cs-nextlink { text-align: right; align-items: flex-end; }
.site-sec .fg-cs-nav .fg-cs-all { justify-content: center; font-weight: 600; color: var(--fg-teal); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
	.et-l .et_pb_row.site-row.fg-cs-gallery--3,
	.et-l .et_pb_row.site-row.fg-cs-gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.et-l .et_pb_section.fg-cs-lead { padding-top: 40px !important; }
	.et-l .et_pb_row.site-row[class*="fg-cs-gallery--"] { grid-template-columns: 1fr; }
	.fg-cs-gallery .fg-img--piece { max-width: 440px; }
	.et-l .site-col.fg-cs-glance { padding: 24px; }
	.fg-cs-quote blockquote p { font-size: 22px; }
	.fg-cs-nav { grid-template-columns: 1fr 1fr; }
	.site-sec .fg-cs-nav .fg-cs-nextlink { grid-column: 2; grid-row: 1; }
	.site-sec .fg-cs-nav .fg-cs-all { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
}
/* Case study hero on Tint (Faye, 9 Nov 2026): set apart from the other subpages. Dark text, Dark Teal button,
   a faint Dark Teal fern (mask, as About's "Why Fern & Grid") and the header bar solid from the start. */
.et-l .et_pb_section.fg-hero.fg-hero--tint { color: var(--fg-evergreen); }
.fg-hero--tint h1, .fg-hero--tint .fg-hero-lead p { color: var(--fg-evergreen); }
.fg-hero.fg-hero--tint .fg-hero-label p { color: var(--fg-teal); }
.fg-hero--tint::after { content: ""; position: absolute; z-index: 0; pointer-events: none; right: clamp(24px, 5.5vw, 80px); bottom: 0; width: min(26vw, 340px); aspect-ratio: 663 / 920; transform: translateY(32%) scaleX(-1); background: var(--fg-teal); opacity: 0.1;
	-webkit-mask: url("fern-full.svg") center / contain no-repeat; mask: url("fern-full.svg") center / contain no-repeat; } /* The whole fern (same file as the dark heroes), so the leaves on the right are not cut off; only the bottom is cropped. */
body:has(.fg-hero--tint) .et-l--header .et_pb_section.fg-header { background: var(--fg-evergreen) var(--fg-hero-gradient-sub); box-shadow: 0 1px 0 var(--fg-rule-dark); }
@media (max-width: 980px) { .fg-hero--tint::after { width: min(30vw, 210px); opacity: 0.08; } }
/* The work, landscape pieces (3:2, e.g. RCMSAR spreads): shown whole, three across; one column below 980 px so spreads stay readable. */
.fg-img--piece-wide img { aspect-ratio: 3 / 2; object-fit: contain; border: 1px solid var(--fg-rule); box-sizing: border-box; }
@media (max-width: 980px) {
	.et-l .et_pb_row.site-row.fg-cs-gallery--wide { grid-template-columns: 1fr; }
}

/* =====================================================================
 * Product page (Theme Builder template "product"; design-direction § Product pages, 10 Nov 2026).
 * Solid Evergreen header, images | summary on Paper, tabs on Tint, related products on Paper.
 * Divi wraps Theme Builder body layouts in .et-db #et-boc .et-l, so some rules carry an id to win.
 * ===================================================================== */
.et-l .et_pb_section.fg-product { padding-top: 48px !important; }
.et-l .et_pb_row.site-row.fg-product-back + .et_pb_row.site-row { margin-top: 24px; }
.fg-back { font-size: var(--fg-small); text-decoration: none !important; }
.fg-back:hover { text-decoration: underline !important; }
.et-l .et_pb_row.site-row.fg-product-row { column-gap: 64px; }
.fg-centre8 { grid-column: 3 / span 8; }

/* Images: main photo 4:5 like the shop grid, gallery thumbnails in a row underneath. */
/* With a body template, Divi moves the header and footer inside #et-boc too: keep them as on every other page. */
#et-boc .et-l--header .site-header-col > .et_pb_menu.site-menu { background: transparent !important; } /* Divi: .et-db #et-boc .et-l .et_pb_menu_0_tb_header sets white. */
html body #et-boc .et-l--header .fg-header .et_pb_menu .et-menu > li > a { font-size: 15px; line-height: 1; }

#et-boc .fg-product-images .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
#et-boc .fg-product-images .woocommerce-product-gallery__image img,
#et-boc .fg-product-images .woocommerce-product-gallery__wrapper img { display: block; width: 100%; height: auto; border-radius: var(--fg-radius); }
#et-boc .fg-product-images .flex-viewport .woocommerce-product-gallery__image img { aspect-ratio: 4 / 5; object-fit: cover; }
#et-boc .fg-product-images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0 !important; padding: 0; }
#et-boc .fg-product-images .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; list-style: none; }
#et-boc .fg-product-images .flex-control-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: var(--fg-radius); opacity: 0.6; cursor: pointer; }
#et-boc .fg-product-images .flex-control-thumbs img.flex-active, #et-boc .fg-product-images .flex-control-thumbs img:hover { opacity: 1; }
#et-boc .fg-product-images .woocommerce-product-gallery__trigger { top: 12px; right: 12px; }
#et-boc .fg-product-images img.woocommerce-placeholder { background: var(--fg-tint); border: 1px solid var(--fg-rule); }

/* Summary: H1 42 px in EB Garamond, price in Body 600, short description, Add to cart (Primary · on light). */
#et-boc .fg-product-summary { gap: 20px; }
@media (min-width: 981px) { .et-l .site-row > .et_pb_column.fg-product-summary { position: sticky; top: 118px; } } /* Stays beside the gallery; 86 px header + 32 px. */
#et-boc .fg-product-title h1 { font: 500 42px/1.15 var(--fg-serif); color: var(--fg-evergreen); margin: 0; padding: 0; }
#et-boc .fg-product-price .price { margin: 0; font: 600 22px/1.3 var(--fg-sans); color: var(--fg-evergreen) !important; }
#et-boc .fg-product-short p { margin: 0 0 1em; font-size: var(--fg-body); line-height: 1.65; color: var(--fg-evergreen); max-width: var(--fg-measure); }
#et-boc .fg-product-short p:last-child { margin-bottom: 0; }
#et-boc .fg-product-cart form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 8px 0 0; }
#et-boc .fg-product-cart form.cart::before, #et-boc .fg-product-cart form.cart::after { display: none; content: none; }
#et-boc .fg-product-cart .quantity { float: none; margin: 0 !important; }
#et-boc .fg-product-cart .quantity input.qty { width: 72px; min-height: 48px; height: 100%; padding: 8px; background: var(--fg-white); border: 1px solid var(--fg-evergreen); border-radius: var(--fg-radius); color: var(--fg-evergreen); font: 600 16px/1 var(--fg-sans); text-align: center; }
#et-boc .fg-product-cart button.single_add_to_cart_button,
#et-boc .fg-product-cart button.single_add_to_cart_button:hover {
	float: none; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; padding: 12px 28px !important;
	border: 2px solid var(--fg-teal); border-radius: var(--fg-radius); font: 600 16px/1.2 var(--fg-sans) !important; letter-spacing: 0;
}
#et-boc .fg-product-cart button.single_add_to_cart_button { background: var(--fg-teal) !important; color: var(--fg-paper) !important; }
#et-boc .fg-product-cart button.single_add_to_cart_button:hover { background: var(--fg-evergreen) !important; border-color: var(--fg-evergreen); color: var(--fg-paper) !important; }
#et-boc .fg-product-cart button.single_add_to_cart_button::after { display: none; content: none; }
/* Variable products (e.g. Style): label above a full-width field, styled like the site's other fields.
   WooCommerce draws a chevron as a background image and Divi's Add To Cart module adds a grey triangle
   (td.value span:after) plus a grey 12 px Open Sans field; replace all three with one Evergreen chevron. */
#et-boc .fg-product-cart form.cart table.variations,
#et-boc .fg-product-cart form.cart .single_variation_wrap { flex: 1 1 100%; width: 100%; margin: 0; }
#et-boc .fg-product-cart table.variations { border: 0; border-collapse: collapse; }
#et-boc .fg-product-cart table.variations tbody,
#et-boc .fg-product-cart table.variations tr,
#et-boc .fg-product-cart table.variations th,
#et-boc .fg-product-cart table.variations td { display: block; width: 100%; padding: 0 !important; border: 0; background: none; text-align: left; }
#et-boc .fg-product-cart table.variations tr + tr { margin-top: 16px; }
#et-boc .fg-product-cart table.variations th.label { padding: 0 0 6px !important; line-height: 1.3; }
#et-boc .fg-product-cart table.variations th.label label { margin: 0; font: 600 16px/1.3 var(--fg-sans); color: var(--fg-evergreen); }
#et-boc .fg-product-cart table.variations td.value { position: static; }
#et-boc .fg-product-cart table.variations td.value span::after,
#et-boc .fg-product-cart table.variations td.value span::before { display: none !important; content: none !important; }
#et-boc .fg-product-cart table.variations select {
	display: block; width: 100%; max-width: 420px; min-width: 0; min-height: 48px; margin: 0;
	padding: 10px 44px 10px 14px; border: 1px solid var(--fg-evergreen); border-radius: var(--fg-radius);
	background: var(--fg-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1C05' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center / 18px 18px;
	-webkit-appearance: none; appearance: none; box-shadow: none; cursor: pointer;
	font: 400 17px/1.5 var(--fg-sans) !important; color: var(--fg-evergreen) !important;
}
#et-boc .fg-product-cart table.variations select:hover { border-color: var(--fg-teal); }
html body #et-boc .fg-product-cart table.variations select:focus { border-color: var(--fg-teal); outline: 3px solid var(--fg-amp); outline-offset: 2px; }
#et-boc .fg-product-cart table.variations .reset_variations { display: inline-block; margin-top: 8px; font-size: var(--fg-small); color: var(--fg-teal); text-decoration: underline; text-underline-offset: 3px; }
#et-boc .fg-product-cart .single_variation_wrap .woocommerce-variation:not(:empty) { margin-bottom: 12px; color: var(--fg-evergreen); }
#et-boc .fg-product-cart .single_variation_wrap .woocommerce-variation-price .price { font: 600 20px/1.3 var(--fg-sans); color: var(--fg-evergreen) !important; }
#et-boc .fg-product-cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
#et-boc .fg-product-cart .woocommerce-variation-add-to-cart::before,
#et-boc .fg-product-cart .woocommerce-variation-add-to-cart::after { display: none; content: none; }
#et-boc .fg-product-note .fg-fine { margin: 0; font-size: var(--fg-small); color: var(--fg-evergreen); }
#et-boc .fg-product-summary .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Notices (e.g. "added to your cart") above the template. */
.woocommerce-notices-wrapper:not(:empty) { width: calc(100% - 2 * var(--fg-gutter)); max-width: var(--fg-max); margin: 24px auto 0; }
/* Divi's customizer CSS lists .woocommerce-message with its button selectors (Dark Teal, !important), which left dark text on teal. */
html body .woocommerce-message, html body .woocommerce-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 20px !important; background: var(--fg-tint) !important; color: var(--fg-evergreen) !important; border: 0 !important; border-left: 4px solid var(--fg-teal) !important; border-radius: var(--fg-radius); font: 400 16px/1.5 var(--fg-sans); }
html body .woocommerce-message::before, html body .woocommerce-message::after, html body .woocommerce-info::before { display: none; content: none; }
html body .woocommerce-message a.button { order: 2; float: none; margin: 0; padding: 10px 20px !important; background: var(--fg-teal) !important; color: var(--fg-paper) !important; border: 0 !important; border-radius: var(--fg-radius); font: 600 15px/1.2 var(--fg-sans) !important; }
html body .woocommerce-message a.button:hover { background: var(--fg-evergreen) !important; }
html body .woocommerce-message a.button::after { display: none; }

/* Tabs on Tint: plain text tabs with a Dark Teal underline on the active one; the panel on Paper. */
#et-boc .fg-product-tabs.et_pb_tabs { border: 0; background: transparent; }
#et-boc .fg-product-tabs .et_pb_tabs_controls { display: flex; flex-wrap: wrap; gap: 4px 28px; background: transparent; border-bottom: 1px solid var(--fg-rule); }
#et-boc .fg-product-tabs .et_pb_tabs_controls::after { display: none; }
#et-boc .fg-product-tabs .et_pb_tabs_controls li { float: none; border: 0; background: transparent; }
#et-boc .fg-product-tabs .et_pb_tabs_controls li a { display: block; padding: 12px 0; color: var(--fg-evergreen) !important; font: 600 16px/1.3 var(--fg-sans); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
#et-boc .fg-product-tabs .et_pb_tabs_controls li.et_pb_tab_active a { border-bottom-color: var(--fg-teal); }
#et-boc .fg-product-tabs .et_pb_tabs_controls li a:hover { color: var(--fg-teal) !important; }
#et-boc .fg-product-tabs .et_pb_all_tabs { background: transparent; }
#et-boc .fg-product-tabs .et_pb_tab { padding: 28px 0 0; }
#et-boc .fg-product-tabs .et_pb_tab p { font-size: var(--fg-body); line-height: 1.65; color: var(--fg-evergreen); max-width: var(--fg-measure); margin-bottom: 1em; }
#et-boc .fg-product-tabs .et_pb_tab h2 { display: none; } /* WooCommerce repeats the tab name as an H2 inside the panel. */
#et-boc .fg-product-tabs table.shop_attributes { width: 100%; border: 0; border-top: 1px solid var(--fg-rule); margin: 0; }
#et-boc .fg-product-tabs table.shop_attributes th, #et-boc .fg-product-tabs table.shop_attributes td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--fg-rule); background: transparent; font-size: 16px; line-height: 1.5; color: var(--fg-evergreen); text-align: left; vertical-align: top; }
#et-boc .fg-product-tabs table.shop_attributes th { width: 30%; font-weight: 600; padding-right: 24px; }
#et-boc .fg-product-tabs table.shop_attributes td p { margin: 0; padding: 0; font-style: normal; }

/* Related products: same cards as the refills grid on Planners (.fg-shop--small); the module's own heading hidden (the Text module above has the H2). */
#et-boc .fg-related > .et_pb_module_inner > .related > h2, #et-boc .fg-related section.related > h2 { display: none; }
#et-boc .fg-related section.related { margin: 0; padding: 0; width: auto; float: none; }

/* A product with no long description and no details has no tabs: drop the empty Tint band. */
body:has(.fg-product-tabs):not(:has(.fg-product-tabs .et_pb_tabs_controls li)) .fg-product-details { display: none; }

@media (max-width: 980px) {
	.fg-shop--small.fg-related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.et-l .et_pb_row.site-row.fg-product-row { grid-template-columns: 1fr; row-gap: 32px; }
	.fg-product-row > .fg-product-media { max-width: 560px; }
	.fg-centre8 { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.et-l .et_pb_section.fg-product { padding-top: 32px !important; }
	#et-boc .fg-product-title h1 { font-size: 34px; }
	#et-boc .fg-product-images .flex-viewport .woocommerce-product-gallery__image img { aspect-ratio: 1; } /* Square on phones so Add to cart is near the first screen. */
	#et-boc .fg-product-images .flex-control-thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 8px !important; }
	.et-l .et_pb_row.site-row.fg-product-back + .et_pb_row.site-row { margin-top: 16px; }
	#et-boc .fg-product-cart button.single_add_to_cart_button { flex: 1 1 auto; }
}

/* =====================================================================
 * Chaos Quiz (/chaos-quiz/; design-direction.md § Chaos Quiz).
 * ===================================================================== */
/* The five results: three plus two on desktop, the last two centred (six-track grid, each panel two tracks); equal panel heights. */
.et-l .et_pb_row.site-row.fg-values-row--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.et-l .fg-values-row--5 > .site-col { grid-column: span 2; }
.et-l .fg-values-row--5 > .site-col:nth-child(4) { grid-column: 2 / span 2; }
/* The quiz: one centred 8/12 column (full width below 980 px), the Tally form on Paper with no frame of its own. */
.et-l .et_pb_row .fg-quiz-col.fg-centre8 { grid-column: 3 / span 8; }
.site-sec.fg-quiz .et_pb_text_inner > p { max-width: none; }
.fg-quiz .fg-quiz-intro { font-size: 20px; line-height: 1.5; margin: 0 0 24px; }
.fg-tally iframe { display: block; width: 100%; min-height: 600px; border: 0; background: transparent; }
.fg-quiz .fg-tally-alt { margin-top: 16px; }
.fg-quiz .fg-quiz-close { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--fg-rule); font-family: "EB Garamond", Georgia, serif; font-size: 24px; line-height: 1.35; }
/* The hero button jumps to #quiz: leave room for the sticky header. */
#quiz { scroll-margin-top: 96px; }
@media (max-width: 980px) {
	.et-l .et_pb_row.site-row.fg-values-row--5 { grid-template-columns: 1fr 1fr; }
	.et-l .fg-values-row--5 > .site-col,
	.et-l .fg-values-row--5 > .site-col:nth-child(4) { grid-column: auto; }
	.et-l .et_pb_row .fg-quiz-col.fg-centre8 { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.et-l .et_pb_row.site-row.fg-values-row--5 { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.fg-quiz .fg-quiz-intro { font-size: 18px; }
	.fg-quiz .fg-quiz-close { font-size: 21px; }
}

/* =====================================================================
 * Contact (/contact/; design-direction.md § Contact). WPForms Lite in a White panel (preset Case card).
 * ===================================================================== */
.et-l .site-col.fg-form-panel { padding: 40px; gap: 0; }
.fg-contact .fg-contact-email { margin-top: 24px; }
/* WPForms "modern" markup: labels, fields and the submit button in the site's own type and colours. */
.fg-form-panel div.wpforms-container-full {
	margin: 0;
	/* WPForms' own colour variables, mapped to the site tokens. */
	--wpforms-button-background-color: var(--fg-teal);
	--wpforms-button-background-color-alt: var(--fg-teal);
	--wpforms-button-text-color: var(--fg-paper);
	--wpforms-button-text-color-alt: var(--fg-paper);
	--wpforms-button-border-radius: var(--fg-radius);
	--wpforms-field-border-color: var(--fg-evergreen);
	--wpforms-field-text-color: var(--fg-evergreen);
	--wpforms-label-color: var(--fg-evergreen);
	--wpforms-label-sublabel-color: var(--fg-evergreen);
	--wpforms-label-error-color: #A3261B;
}
.fg-form-panel div.wpforms-container-full .wpforms-field { padding: 0 0 22px; }
.fg-form-panel div.wpforms-container-full .wpforms-field-label { margin: 0 0 6px; font: 600 16px/1.4 var(--fg-sans); color: var(--fg-evergreen); }
.fg-form-panel div.wpforms-container-full .wpforms-required-label { color: var(--fg-teal); }
.fg-form-panel div.wpforms-container-full input[type="text"],
.fg-form-panel div.wpforms-container-full input[type="email"],
.fg-form-panel div.wpforms-container-full textarea {
	width: 100%; max-width: none; min-height: 48px; padding: 10px 14px;
	background: var(--fg-white); border: 1px solid var(--fg-evergreen); border-radius: var(--fg-radius);
	font: 400 17px/1.5 var(--fg-sans); color: var(--fg-evergreen); box-shadow: none;
}
.fg-form-panel div.wpforms-container-full textarea { min-height: 150px; resize: vertical; }
.fg-form-panel div.wpforms-container-full input:focus,
.fg-form-panel div.wpforms-container-full textarea:focus { border-color: var(--fg-teal) !important; box-shadow: none !important; outline: 3px solid var(--fg-amp) !important; outline-offset: 2px; }
.fg-form-panel div.wpforms-container-full .wpforms-submit-container { padding: 6px 0 0; }
.fg-form-panel div.wpforms-container-full button.wpforms-submit {
	min-height: 48px; height: auto; padding: 12px 28px; border: 0; border-radius: var(--fg-radius);
	background: var(--fg-teal) !important; color: var(--fg-paper) !important; font: 600 17px/1.2 var(--fg-sans); cursor: pointer; transition: background-color 0.2s;
}
.fg-form-panel div.wpforms-container-full button.wpforms-submit:hover { background: var(--fg-evergreen) !important; }
.fg-form-panel div.wpforms-container-full button.wpforms-submit:focus-visible { outline: 3px solid var(--fg-amp); outline-offset: 3px; }
.fg-form-panel div.wpforms-container-full button.wpforms-submit:focus::after { display: none; }
.fg-form-panel div.wpforms-container-full label.wpforms-error,
.fg-form-panel div.wpforms-container-full em.wpforms-error { color: #A3261B; font: 600 15px/1.4 var(--fg-sans); }
.fg-form-panel div.wpforms-container-full .wpforms-field input.wpforms-error,
.fg-form-panel div.wpforms-container-full .wpforms-field textarea.wpforms-error { border-color: #A3261B; }
.et-l .fg-form-panel .wpforms-confirmation-container-full { margin: 0; padding: 20px 24px; background: var(--fg-tint, #EEF1EA); border: 0; border-left: 4px solid var(--fg-teal); border-radius: var(--fg-radius); color: var(--fg-evergreen); scroll-margin-top: 110px; }
.et-l .fg-form-panel .wpforms-confirmation-container-full p { margin: 0; font: 400 17px/1.5 var(--fg-sans); color: var(--fg-evergreen); }
.fg-form-panel .fg-form-note { margin-top: 16px; }
@media (max-width: 767px) {
	.et-l .site-col.fg-form-panel { padding: 24px; }
}

/* =====================================================================
 * Journal (/journal/, Blog module on a normal page) and the post template (Theme Builder "Journal post";
 * design-direction.md § Journal and posts, 12 Nov 2026).
 * ===================================================================== */
/* Posts grid: three columns, two on tablet, one on phone; card = image 3:2, category Label, title, two-line excerpt. */
.et-l .fg-posts .et_pb_blog_posts.et_grid_module { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.et-l .fg-posts .et_pb_blog_posts::before, .et-l .fg-posts .et_pb_blog_posts::after { display: none; content: none; }
.et-l .fg-posts article.et_pb_post { display: flex; flex-direction: column; width: auto; margin: 0; padding: 0; border: 0; background: transparent; }
.fg-posts .et_pb_image_container { order: 0; margin: 0 0 20px; }
.fg-posts .et_pb_image_container a { display: block; }
.fg-posts .et_pb_image_container img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--fg-radius); }
.fg-posts .et_overlay { display: none; } /* Divi: hover overlay with an icon. */
.et-l .fg-posts .post-meta { order: 1; margin: 0 0 8px; padding: 0; font: 600 var(--fg-label)/1.3 var(--fg-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-teal); }
.et-l .fg-posts .post-meta a { color: var(--fg-teal); text-decoration: none; }
.et-l .fg-posts .post-meta a:hover { color: var(--fg-evergreen); text-decoration: underline; text-underline-offset: 3px; }
.et-l .fg-posts .entry-title { order: 2; margin: 0 0 10px; padding: 0; font: 500 var(--fg-h3)/1.25 var(--fg-serif); }
.et-l .fg-posts .entry-title a { color: var(--fg-evergreen); text-decoration: none; }
.et-l .fg-posts .entry-title a:hover { color: var(--fg-teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fg-posts .post-content { order: 3; }
.et-l .fg-posts .post-content-inner p { margin: 0; padding: 0; font: 400 var(--fg-body)/1.55 var(--fg-sans); color: var(--fg-evergreen); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Pagination ("Older entries / Next entries") once there are more than nine posts. */
.et-l .fg-posts .pagination { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 48px; padding: 0; }
.et-l .fg-posts .pagination a { color: var(--fg-teal); font: 600 var(--fg-body)/1.4 var(--fg-sans); text-decoration: underline; text-underline-offset: 3px; }

/* Post template: solid header, one centred 8/12 column on Paper. */
.et-l .fg-post-cat .et_pb_title_meta_container { margin: 0; padding: 0; font: 600 var(--fg-label)/1.3 var(--fg-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-teal); }
.et-l .fg-post-cat .et_pb_title_meta_container a { color: var(--fg-teal); text-decoration: none; }
.et-l .fg-post-cat .et_pb_title_meta_container a:hover { color: var(--fg-evergreen); text-decoration: underline; text-underline-offset: 3px; }
#et-boc .et-l .fg-post-col > .fg-post-cat { margin-bottom: -18px; } /* Label sits 12 px above the H1 (module gap 30 px). */
#et-boc .et-l .fg-post-head .entry-title { margin: 0; padding: 0; font: 500 42px/1.15 var(--fg-serif); color: var(--fg-evergreen); text-wrap: balance; }
/* Dates line (Small) under the H1: 12 px below the title, 32 px above the image (module gap 30 px). */
#et-boc .et-l .fg-post-col > .fg-post-head { margin-bottom: -12px; }
#et-boc .et-l .fg-post-col > .fg-post-dates { margin-bottom: -22px; }
#et-boc .et-l .fg-post-dates p { margin: 0; padding: 0; font: 400 var(--fg-small)/1.4 var(--fg-sans); color: var(--fg-evergreen); }
.fg-post-img .et_pb_title_featured_container { margin: 0; }
.fg-post-img .et_pb_title_featured_container img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--fg-radius); }
#et-boc .et-l .fg-post-body { max-width: var(--fg-measure); font: 400 var(--fg-body)/1.65 var(--fg-sans); color: var(--fg-evergreen); }
#et-boc .et-l .fg-post-body p { padding: 0; margin: 0 0 1.1em; }
#et-boc .et-l .fg-post-body h2 { font: 500 32px/1.2 var(--fg-serif); margin: 1.6em 0 0.5em; padding: 0; }
#et-boc .et-l .fg-post-body h3 { font: 500 var(--fg-h3)/1.25 var(--fg-serif); margin: 1.4em 0 0.4em; padding: 0; }
#et-boc .et-l .fg-post-body ul, #et-boc .et-l .fg-post-body ol { margin: 0 0 1.1em; padding-left: 1.4em; line-height: 1.65; }
#et-boc .et-l .fg-post-body a { color: var(--fg-teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
#et-boc .et-l .fg-post-body a:hover { color: var(--fg-evergreen); }
#et-boc .et-l .fg-post-body img { height: auto; border-radius: var(--fg-radius); }
/* End of post: Panel · Tint with the Chaos Quiz line. */
#et-boc .et-l .fg-post-end { margin-top: 16px; padding: 32px; background: var(--fg-tint); border-radius: var(--fg-radius); }
#et-boc .et-l .fg-post-end p { margin: 0; padding: 0; font: 400 var(--fg-body)/1.55 var(--fg-sans); color: var(--fg-evergreen); }
#et-boc .et-l .fg-post-end .fg-more { margin-top: 12px; }
@media (max-width: 980px) {
	.et-l .fg-posts .et_pb_blog_posts.et_grid_module { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.et-l .fg-posts .et_pb_blog_posts.et_grid_module { grid-template-columns: 1fr; gap: 40px; }
	#et-boc .et-l .fg-post-head .entry-title { font-size: 34px; }
	#et-boc .et-l .fg-post-end { padding: 24px; }
}
/* Category archive (Theme Builder "Journal category"). */
#et-boc .et-l .fg-journal-cat-head h1 { margin: 0; padding: 0; font: 500 var(--fg-h1-inner)/1.15 var(--fg-serif); color: var(--fg-evergreen); }
#et-boc .et-l .fg-journal-cat .fg-label { margin-bottom: 12px; }

/* =====================================================================
 * Legal pages (Accessibility; Privacy and Terms when written): one centred 8/12 prose column on Paper.
 * ===================================================================== */
#et-boc .et-l .fg-prose { max-width: var(--fg-measure); font: 400 var(--fg-body)/1.65 var(--fg-sans); color: var(--fg-evergreen); }
#et-boc .et-l .fg-prose p { padding: 0; margin: 0 0 1.1em; }
#et-boc .et-l .fg-prose h2 { font: 500 32px/1.2 var(--fg-serif); color: var(--fg-evergreen); margin: 1.6em 0 0.5em; padding: 0; }
#et-boc .et-l .fg-prose h2:first-child { margin-top: 0; }
#et-boc .et-l .fg-prose ul { margin: 0 0 1.1em; padding-left: 1.4em; line-height: 1.65; list-style: disc outside; }
#et-boc .et-l .fg-prose li { margin-bottom: 0.35em; }
#et-boc .et-l .fg-prose a { color: var(--fg-teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
#et-boc .et-l .fg-prose a:hover { color: var(--fg-evergreen); }
#et-boc .et-l .fg-prose .fg-legal-reviewed { margin-top: 2em; font-size: var(--fg-small); }
@media (max-width: 767px) {
	#et-boc .et-l .fg-prose h2 { font-size: 28px; }
}

/* =====================================================================
 * Cookie consent banner (assets/consent.js; only when a GA4 ID is set). Not a modal: a White panel at the bottom
 * left, Accept and Decline the same style (equal choice), with the "Cookie Preferences" link in the footer.
 * ===================================================================== */
.fg-consent { position: fixed; z-index: 100000; left: 24px; bottom: 24px; max-width: 520px; padding: 24px; background: var(--fg-white); color: var(--fg-evergreen); border: 1px solid var(--fg-rule); border-radius: var(--fg-radius); box-shadow: 0 8px 28px rgba(14, 28, 5, 0.18); font: 400 var(--fg-small)/1.5 var(--fg-sans); }
.fg-consent[hidden] { display: none; }
.fg-consent .fg-consent-title { margin: 0 0 8px; padding: 0; font: 500 22px/1.25 var(--fg-serif); color: var(--fg-evergreen); }
.fg-consent p { margin: 0 0 16px; padding: 0; }
.fg-consent a { color: var(--fg-teal); text-decoration: underline; text-underline-offset: 3px; }
.fg-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fg-consent-btn { min-height: 44px; padding: 10px 20px; border: 2px solid var(--fg-teal); border-radius: var(--fg-radius); background: var(--fg-teal); color: var(--fg-paper); font: 600 var(--fg-small)/1.2 var(--fg-sans); cursor: pointer; }
.fg-consent-btn:hover { background: var(--fg-evergreen); border-color: var(--fg-evergreen); }
/* Footer "Cookie Preferences": a button that looks like the other legal links. */
.fg-legal-text .fg-consent-open { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 767px) {
	.fg-consent { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 20px; }
	.fg-consent-btn { flex: 1 1 auto; white-space: nowrap; }
}


/* =====================================================================
 * Cart, checkout, order received and My account (body class fg-woo-page, functions.php; 13 Nov 2026).
 * Cart and checkout are WooCommerce blocks, My account and order received are the classic templates.
 * Divi renders them with page.php at 14 px; these rules bring them to the site's type, colours and buttons.
 * ===================================================================== */
.fg-woo-page #main-content { background: var(--fg-paper); }
.fg-woo-page #main-content .container { padding-top: 64px; padding-bottom: 96px; }
.fg-woo-page #main-content .container::before { display: none; } /* Divi's sidebar divider line. */
.fg-woo-page #left-area { width: 100%; padding: 0; float: none; }
.fg-woo-page h1.main_title { margin: 0 0 32px; padding: 0; font: 500 42px/1.15 var(--fg-serif); color: var(--fg-evergreen); }
.fg-woo-page .entry-content,
.fg-woo-page .wp-block-woocommerce-cart,
.fg-woo-page .wp-block-woocommerce-checkout { font: 400 17px/1.55 var(--fg-sans); color: var(--fg-evergreen); }
.fg-woo-page .entry-content p { padding-bottom: 0; margin-bottom: 1em; }
.fg-woo-page .entry-content a:not(.button):not(.fg-woo-btn):not(.wc-block-components-button):not(.wc-block-components-product-name) { color: var(--fg-teal); text-decoration: underline; text-underline-offset: 3px; }
.fg-woo-page .entry-content a:not(.button):not(.fg-woo-btn):not(.wc-block-components-button):not(.wc-block-components-product-name):hover { color: var(--fg-evergreen); }

/* Headings inside the blocks and templates: EB Garamond, Evergreen. */
.fg-woo-page .wc-block-components-title.wc-block-components-title,
.fg-woo-page .wc-block-cart__totals-title,
.fg-woo-page .entry-content h2 { font: 500 24px/1.25 var(--fg-serif); color: var(--fg-evergreen); text-transform: none; letter-spacing: 0; padding: 0; }
.fg-woo-page .wc-block-cart__totals-title { font-size: 22px; }
.fg-woo-page .wc-block-components-product-name,
.fg-woo-page a.wc-block-components-product-name { font: 500 20px/1.3 var(--fg-serif); color: var(--fg-evergreen); text-decoration: none; }
.fg-woo-page a.wc-block-components-product-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.fg-woo-page .wc-block-components-product-metadata,
.fg-woo-page .wc-block-components-checkout-step__description,
.fg-woo-page .wc-block-checkout__terms,
.fg-woo-page .wc-block-components-address-form__address_2-toggle,
.fg-woo-page .wc-block-checkout__guest-checkout-notice { font-size: var(--fg-small); line-height: 1.5; color: var(--fg-evergreen); }
.fg-woo-page .wc-block-components-product-price,
.fg-woo-page .wc-block-components-totals-item,
.fg-woo-page .wc-block-components-panel__button { font-size: 16px; }
.fg-woo-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.fg-woo-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font: 600 21px/1.3 var(--fg-sans); }
.fg-woo-page .wc-block-components-address-form__address_2-toggle,
.fg-woo-page .wc-block-checkout__terms a { color: var(--fg-teal); text-decoration: underline; text-underline-offset: 3px; }

/* Rules and panels: Evergreen at 14%, the site's corners. */
.fg-woo-page .wc-block-components-totals-wrapper,
.fg-woo-page .wc-block-components-panel,
.fg-woo-page .wc-block-checkout__terms--with-separator,
.fg-woo-page .wc-block-components-checkout-step,
.fg-woo-page table.wc-block-cart-items .wc-block-cart-items__row,
.fg-woo-page .wc-block-components-order-summary .wc-block-components-order-summary-item { border-color: var(--fg-rule) !important; }
.fg-woo-page .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
.fg-woo-page .wp-block-woocommerce-cart-line-items-block,
.fg-woo-page .wc-block-components-sidebar .wc-block-components-totals-wrapper:first-child { border-color: var(--fg-rule); border-radius: var(--fg-radius); }

/* Buttons: Primary · on light (Dark Teal, Paper text, 48 px), hover Evergreen. One rule for blocks and classic. */
html body.fg-woo-page .wc-block-components-button:not(.is-link),
html body.fg-woo-page .entry-content .button,
html body.fg-woo-page .entry-content button.button,
html body.fg-woo-page .entry-content input.button,
html body.fg-woo-page a.fg-woo-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px;
	background: var(--fg-teal); color: var(--fg-paper) !important; border: 2px solid var(--fg-teal); border-radius: var(--fg-radius);
	font: 600 17px/1.2 var(--fg-sans); text-decoration: none; text-transform: none; letter-spacing: 0; box-shadow: none; cursor: pointer;
}
html body.fg-woo-page .wc-block-components-button:not(.is-link):hover,
html body.fg-woo-page .entry-content .button:hover,
html body.fg-woo-page a.fg-woo-btn:hover { background: var(--fg-evergreen); border-color: var(--fg-evergreen); color: var(--fg-paper) !important; }
html body.fg-woo-page .entry-content .button::after { display: none; } /* Divi: arrow icon on buttons. */
html body.fg-woo-page .wc-block-components-button:not(.is-link) .wc-block-components-button__text { font: inherit; color: inherit; }
html body.fg-woo-page .wc-block-components-button:disabled,
html body.fg-woo-page .wc-block-components-button.is-disabled { opacity: 0.6; cursor: not-allowed; }
html body.fg-woo-page .wc-block-components-button.is-link { color: var(--fg-teal); text-decoration: underline; text-underline-offset: 3px; }
/* Secondary links next to the main button (Return to cart, View cart): Dark Teal text link. */
.fg-woo-page .wc-block-components-checkout-return-to-cart-button { color: var(--fg-teal); font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.fg-woo-page .wc-block-components-checkout-return-to-cart-button svg { fill: currentColor; }

/* Fields: White, 1 px Evergreen, the site's corners; focus = the site's 3 px ring. */
.fg-woo-page .wc-block-components-text-input input,
.fg-woo-page .wc-block-components-textarea,
.fg-woo-page .wc-blocks-components-select .wc-blocks-components-select__select,
.fg-woo-page .wc-block-components-combobox .components-combobox-control input.components-combobox-control__input,
.fg-woo-page .entry-content input.input-text,
.fg-woo-page .entry-content select:not(.wc-blocks-components-select__select),
.fg-woo-page .entry-content textarea {
	background: var(--fg-white); border: 1px solid var(--fg-evergreen); border-radius: var(--fg-radius); color: var(--fg-evergreen); font-family: var(--fg-sans); box-shadow: none;
}
.fg-woo-page .entry-content input.input-text,
.fg-woo-page .entry-content select:not(.wc-blocks-components-select__select) { min-height: 48px; padding: 10px 14px; font-size: 17px; }
.fg-woo-page .wc-block-components-text-input label,
.fg-woo-page .wc-blocks-components-select__label,
.fg-woo-page .entry-content .form-row label { color: var(--fg-evergreen); font-family: var(--fg-sans); }
.fg-woo-page .entry-content .form-row label { font-weight: 600; font-size: 16px; }
html body.fg-woo-page .wc-block-components-text-input input:focus,
html body.fg-woo-page .wc-block-components-textarea:focus,
html body.fg-woo-page .wc-blocks-components-select__select:focus,
html body.fg-woo-page .wc-block-components-combobox input:focus,
html body.fg-woo-page .entry-content input.input-text:focus,
html body.fg-woo-page .entry-content select:focus,
html body.fg-woo-page .entry-content textarea:focus { border-color: var(--fg-teal); box-shadow: none; outline: 3px solid var(--fg-amp); outline-offset: 2px; }
.fg-woo-page .wc-blocks-components-select .wc-blocks-components-select__container { background: var(--fg-white); border-radius: var(--fg-radius); }
/* Errors: the contact form's red, with enough contrast on Paper and White. */
.fg-woo-page .wc-block-components-validation-error,
.fg-woo-page .wc-block-components-validation-error > p { color: #A3261B; font-size: 15px; }
.fg-woo-page .wc-block-components-text-input.has-error input,
.fg-woo-page .wc-blocks-components-select.has-error .wc-blocks-components-select__select { border-color: #A3261B; }
.fg-woo-page .wc-block-components-text-input.has-error label { color: #A3261B; }

/* Checkboxes and radios: Dark Teal when chosen. */
.fg-woo-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-color: var(--fg-evergreen); }
.fg-woo-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--fg-teal); border-color: var(--fg-teal); }
.fg-woo-page .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--fg-paper); }
.fg-woo-page .wc-block-components-radio-control__input { border-color: var(--fg-evergreen); }
.fg-woo-page .wc-block-components-radio-control__input:checked { border-color: var(--fg-teal); }
.fg-woo-page .wc-block-components-radio-control__input:checked::before { background: var(--fg-teal); }
.fg-woo-page .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.fg-woo-page .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--fg-teal); border-radius: var(--fg-radius); }
html body.fg-woo-page .wc-block-components-checkbox__input:focus-visible,
html body.fg-woo-page .wc-block-components-radio-control__input:focus-visible,
html body.fg-woo-page .wc-block-components-quantity-selector button:focus-visible,
html body.fg-woo-page .wc-block-cart-item__remove-link:focus-visible,
html body.fg-woo-page .wc-block-components-panel__button:focus-visible,
html body.fg-woo-page .wc-block-components-button:focus-visible,
html body.fg-woo-page a.fg-woo-btn:focus-visible { outline: 3px solid var(--fg-amp) !important; outline-offset: 3px; box-shadow: none; }

/* Quantity: Evergreen box, 40 px buttons (WCAG 2.5.8 asks for 24). */
.fg-woo-page .wc-block-components-quantity-selector { border-color: var(--fg-evergreen); border-radius: var(--fg-radius); }
.fg-woo-page .wc-block-components-quantity-selector::after { border-color: var(--fg-evergreen); border-radius: var(--fg-radius); }
.fg-woo-page .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { min-width: 40px; color: var(--fg-evergreen); }
.fg-woo-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { color: var(--fg-evergreen); font-size: 16px; }
.fg-woo-page .wc-block-cart-item__remove-link { color: var(--fg-evergreen); }

/* Notices (blocks and classic): Tint with a Dark Teal edge; errors with a red edge. */
.fg-woo-page .wc-block-components-notice-banner,
.fg-woo-page .woocommerce-message,
.fg-woo-page .woocommerce-info,
.fg-woo-page .woocommerce-error,
.fg-woo-page .woocommerce-notices-wrapper .woocommerce-message {
	background: var(--fg-tint); color: var(--fg-evergreen); border: 0; border-left: 4px solid var(--fg-teal); border-radius: var(--fg-radius);
	font: 400 16px/1.5 var(--fg-sans); padding: 16px 20px; box-shadow: none;
}
.fg-woo-page .wc-block-components-notice-banner.is-error,
.fg-woo-page .woocommerce-error { border-left-color: #A3261B; }
.fg-woo-page .wc-block-components-notice-banner > svg { fill: var(--fg-teal); background: transparent; }
.fg-woo-page .wc-block-components-notice-banner.is-error > svg { fill: #A3261B; }
.fg-woo-page .woocommerce-message::before,
.fg-woo-page .woocommerce-info::before,
.fg-woo-page .woocommerce-error::before { color: var(--fg-teal); }
.fg-woo-page .woocommerce-error li { margin: 0; }

/* Empty cart (functions.php replaces WooCommerce's grid with one line and a button). */
.fg-woo-page .fg-empty-cart { max-width: var(--fg-measure); padding: 8px 0 24px; }
.fg-woo-page .fg-empty-cart .wc-block-cart__empty-cart__title { margin: 0 0 12px; text-align: left; font: 500 32px/1.2 var(--fg-serif); color: var(--fg-evergreen); }
.fg-woo-page .fg-empty-cart .wc-block-cart__empty-cart__title::before { display: none; content: none; } /* WooCommerce's sad-cart icon. */
.fg-woo-page .fg-empty-cart p { margin: 0 0 24px; }

/* Order received (classic thankyou template): the confirmation line, an overview row, then tables. */
.fg-woo-page .woocommerce-order .woocommerce-thankyou-order-received { margin: 0 0 32px; padding: 20px 24px; background: var(--fg-tint); border-left: 4px solid var(--fg-teal); border-radius: var(--fg-radius); font: 400 var(--fg-lead)/1.5 var(--fg-sans); }
.fg-woo-page ul.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 16px 0; margin: 0 0 40px; padding: 0; list-style: none; }
.fg-woo-page ul.woocommerce-order-overview li { margin: 0; padding: 0 24px; border-right: 1px solid var(--fg-rule); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.5; color: var(--fg-evergreen); }
.fg-woo-page ul.woocommerce-order-overview li:first-child { padding-left: 0; }
.fg-woo-page ul.woocommerce-order-overview li:last-child { border-right: 0; }
.fg-woo-page ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font: 600 17px/1.4 var(--fg-sans); text-transform: none; letter-spacing: 0; }
.fg-woo-page .woocommerce-order-details,
.fg-woo-page .woocommerce-customer-details { margin-bottom: 40px; }
.fg-woo-page .woocommerce-customer-details address { padding: 20px 24px; border: 1px solid var(--fg-rule); border-radius: var(--fg-radius); font-style: normal; line-height: 1.6; }

/* Tables (order details, My account orders): ruled rows, no boxed grid. */
.fg-woo-page .entry-content table.shop_table { width: 100%; margin: 0 0 24px; border: 0; border-top: 1px solid var(--fg-evergreen); border-collapse: collapse; border-radius: 0; background: transparent; }
.fg-woo-page .entry-content table.shop_table th,
.fg-woo-page .entry-content table.shop_table td { padding: 14px 12px 14px 0; border: 0; border-bottom: 1px solid var(--fg-rule); text-align: left; font-size: 16px; line-height: 1.5; color: var(--fg-evergreen); }
.fg-woo-page .entry-content table.shop_table thead th { font-weight: 600; }
.fg-woo-page .entry-content table.shop_table tfoot tr:last-child th,
.fg-woo-page .entry-content table.shop_table tfoot tr:last-child td { font-weight: 600; font-size: 18px; }
.fg-woo-page .entry-content table.shop_table .button { min-height: 40px; padding: 8px 18px; font-size: 15px; }

/* My account: navigation as a ruled list on the left, content on the right; login form in a White panel. */
.fg-woo-page .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--fg-rule); }
.fg-woo-page .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border-bottom: 1px solid var(--fg-rule); }
.fg-woo-page .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 0; color: var(--fg-evergreen) !important; text-decoration: none !important; font-size: 17px; }
.fg-woo-page .woocommerce-MyAccount-navigation li a:hover { color: var(--fg-teal) !important; }
.fg-woo-page .woocommerce-MyAccount-navigation li.is-active a { font-weight: 600; box-shadow: inset 3px 0 0 var(--fg-teal); padding-left: 14px; }
.fg-woo-page .woocommerce form.login,
.fg-woo-page .woocommerce form.register,
.fg-woo-page .woocommerce form.lost_reset_password { max-width: 560px; margin: 0 0 32px; padding: 32px; background: var(--fg-white); border: 1px solid var(--fg-rule); border-radius: var(--fg-radius); }
.fg-woo-page .woocommerce form .form-row { padding: 0; margin: 0 0 20px; }
.fg-woo-page .woocommerce form .form-row .woocommerce-form__label-for-checkbox { font-weight: 400; }
.fg-woo-page .woocommerce-LostPassword { margin: 0; }
.fg-woo-page .woocommerce-MyAccount-content address { font-style: normal; line-height: 1.6; }
.fg-woo-page .woocommerce-Address-title h2 { font-size: 22px; }
/* My account Addresses: WooCommerce floats the heading left and its Add or Edit link right inside two half-width
   columns, so the link wrapped under the heading (18 Nov 2026). Each address is now a White panel with the heading and
   link on one row, billing above shipping (side by side, the link still wrapped at 1280 px). */
html body.fg-woo-page #main-content .woocommerce-Addresses { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 640px; margin-top: 24px; }
html body.fg-woo-page #main-content .woocommerce-Addresses::before,
html body.fg-woo-page #main-content .woocommerce-Addresses::after,
html body.fg-woo-page #main-content .woocommerce-Address-title::before,
html body.fg-woo-page #main-content .woocommerce-Address-title::after { display: none; }
html body.fg-woo-page #main-content .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; max-width: none; margin: 0; padding: 24px; background: var(--fg-white); border: 1px solid var(--fg-rule); border-radius: var(--fg-radius); }
html body.fg-woo-page #main-content .woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 12px; }
html body.fg-woo-page #main-content .woocommerce-Address-title h2 { float: none; margin: 0; padding: 0; }
html body.fg-woo-page #main-content .woocommerce-Address-title .edit { float: none; white-space: nowrap; }
html body.fg-woo-page #main-content .woocommerce-Address address { margin: 0; }

@media (max-width: 980px) {
	.fg-woo-page .woocommerce-MyAccount-navigation,
	.fg-woo-page .woocommerce-MyAccount-content { float: none; width: 100%; }
	.fg-woo-page .woocommerce-MyAccount-navigation { margin-bottom: 32px; }
}
@media (max-width: 767px) {
	.fg-woo-page #main-content .container { padding-top: 40px; padding-bottom: 64px; }
	.fg-woo-page h1.main_title { font-size: 34px; margin-bottom: 24px; }
	.fg-woo-page .woocommerce form.login,
	.fg-woo-page .woocommerce form.register,
	.fg-woo-page .woocommerce form.lost_reset_password { padding: 24px; }
	.fg-woo-page ul.woocommerce-order-overview { flex-direction: column; }
	.fg-woo-page ul.woocommerce-order-overview li { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--fg-rule); }
}
/* Cart line items: WooCommerce and Divi set the table cells to 13 px with more specific selectors. */
html body.fg-woo-page .entry-content table.wc-block-cart-items { width: 100%; max-width: 100%; border: 0; background: transparent; }
html body.fg-woo-page .entry-content table.wc-block-cart-items th,
html body.fg-woo-page .entry-content table.wc-block-cart-items td { font-size: 16px; color: var(--fg-evergreen); border-color: var(--fg-rule); }
html body.fg-woo-page .entry-content table.wc-block-cart-items .wc-block-cart-items__header th { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
html body.fg-woo-page .wc-block-cart-items a.wc-block-components-product-name,
html body.fg-woo-page .wc-block-components-order-summary .wc-block-components-product-name { font: 500 20px/1.3 var(--fg-serif); color: var(--fg-evergreen); text-decoration: none; }
html body.fg-woo-page .wc-block-cart-items a.wc-block-components-product-name:hover { text-decoration: underline; text-underline-offset: 3px; }
html body.fg-woo-page .wc-block-cart-item__prices,
html body.fg-woo-page .wc-block-cart-item__total,
html body.fg-woo-page .wc-block-components-order-summary-item__total-price,
html body.fg-woo-page .wc-block-components-order-summary-item__individual-prices { font-size: 16px; font-weight: 600; }
html body.fg-woo-page .wc-block-components-product-metadata,
html body.fg-woo-page .wc-block-components-order-summary-item__description { font-size: 15px; }
/* "You may be interested in" (cross-sells, a product-collection list): Divi's .entry-content ul gives it a disc
   bullet and a left indent beside each product image (Nikola, 18 Nov 2026). Cart and checkout only. #main-content
   outranks Divi's "#left-area ul" rule. */
html body.fg-woo-page #main-content ul.wc-block-product-template { padding-left: 0; list-style: none; }
html body.fg-woo-page #main-content ul.wc-block-product-template > li.wc-block-product { list-style: none; }
/* Classic forms (sign in, account details, addresses): Divi greys these out with #content selectors and !important. */
html body.fg-woo-page #main-content .woocommerce input.input-text,
html body.fg-woo-page #main-content .woocommerce select,
html body.fg-woo-page #main-content .woocommerce textarea {
	min-height: 48px; padding: 10px 14px !important; background: var(--fg-white) !important; border: 1px solid var(--fg-evergreen) !important;
	border-radius: var(--fg-radius) !important; color: var(--fg-evergreen) !important; font: 400 17px/1.5 var(--fg-sans) !important; box-shadow: none;
}
html body.fg-woo-page #main-content .woocommerce input.input-text:focus,
html body.fg-woo-page #main-content .woocommerce select:focus,
html body.fg-woo-page #main-content .woocommerce textarea:focus { border-color: var(--fg-teal) !important; outline: 3px solid var(--fg-amp); outline-offset: 2px; }
html body.fg-woo-page #main-content .woocommerce .password-input { display: block; position: relative; }
html body.fg-woo-page #main-content .woocommerce .show-password-input { top: 50%; transform: translateY(-50%); right: 12px; color: var(--fg-evergreen); }
html body.fg-woo-page #main-content .woocommerce form .form-row .required { color: var(--fg-teal); text-decoration: none; border: 0; }
html body.fg-woo-page #main-content .woocommerce .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 16px; font-size: 16px; font-weight: 400; vertical-align: middle; }
html body.fg-woo-page #main-content .woocommerce input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--fg-teal); }
html body.fg-woo-page #main-content .woocommerce-MyAccount-navigation ul,
html body.fg-woo-page #main-content .woocommerce-MyAccount-navigation li { list-style: none; padding-left: 0; }
html body.fg-woo-page #main-content .woocommerce-MyAccount-navigation li.is-active a { padding-left: 14px; }
/* Classic notices with a button (e.g. "Confirm email address"): text first, button on the right. */
html body.fg-woo-page #main-content .woocommerce-info,
html body.fg-woo-page #main-content .woocommerce-message { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
html body.fg-woo-page #main-content .woocommerce-info::before,
html body.fg-woo-page #main-content .woocommerce-message::before { display: none; }
html body.fg-woo-page #main-content .woocommerce-info .button,
html body.fg-woo-page #main-content .woocommerce-message .button { order: 2; float: none; margin: 0; min-height: 40px; padding: 8px 18px; font-size: 15px; }
/* Cart on phone: WooCommerce's grid has a fixed 132 px name column, which the larger type pushed past the edge. */
html body.fg-woo-page .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 64px minmax(0, 1fr) 0 auto; column-gap: 0; }
html body.fg-woo-page .wc-block-cart.is-mobile table.wc-block-cart-items td { padding-left: 0; }
html body.fg-woo-page .wc-block-cart.is-mobile .wc-block-cart-item__image { padding-right: 14px; }
html body.fg-woo-page .wc-block-cart.is-mobile .wc-block-cart-item__product { padding-right: 12px; }
html body.fg-woo-page .wc-block-cart.is-mobile .wc-block-cart-item__total { padding-right: 0; }
