
/* == container == */
/*
 * Inverted band — `_class: gf-invert`.
 *
 * A full-bleed section over a photograph needs light type, and setting `color`
 * on the section does not deliver it: headings and paragraphs are styled by the
 * THEME with rules that match those elements directly, and a matching rule
 * always beats an inherited value. So the band claims its descendants back
 * explicitly. The class is doubled to out-specify a theme's `.entry-content h1`,
 * which is the usual shape and would otherwise tie.
 *
 * Buttons are excluded: they carry their own foreground and background as a
 * pair, and repainting only the text turns a primary button into an unreadable
 * one.
 */
.gf-invert.gf-invert,
.gf-invert.gf-invert :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, strong, em),
.gf-invert.gf-invert :is(.gf-heading__title, .gf-heading__eyebrow, .gf-icon-list__text, .gf-icon-list__icon) {
	color: var(--gf-color-on-dark, #f7fffd);
}
.gf-invert.gf-invert a:not(.gf-button):not(.gf-cta__btn):not(.gf-button__label) { color: inherit; }
/* The eyebrow and standfirst sit back a step so the headline still leads. */
.gf-invert.gf-invert .gf-heading__eyebrow { opacity: 0.85; }

/*
 * Hero band. Height comes from the viewport with a floor and a ceiling: a fixed
 * height is a letterbox on a laptop and a wall on a phone.
 */
.gf-hero {
	display: flex; align-items: center;
	min-height: clamp(28rem, 60vh, 42rem);
	padding-block: clamp(3.5rem, 9vw, 6.5rem);
	/* The band bleeds; the words do not. Without an inset the headline starts
	 * hard against the window edge on a phone. */
	padding-inline: clamp(1.25rem, 5vw, 4rem);
}
.gf-hero--compact { min-height: clamp(14rem, 30vh, 22rem); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
/*
 * A hero laid straight on the brand. The foreground is `brand-ink`, which the
 * theme derives by measuring the brand's luminance — so a navy brand gets light
 * type and an amber one gets dark, without this band having to know which.
 */
.gf-hero--on-brand.gf-hero--on-brand,
.gf-hero--on-brand.gf-hero--on-brand :is(h1, h2, h3, p, li, strong, em),
.gf-hero--on-brand.gf-hero--on-brand :is(.gf-heading__title, .gf-heading__eyebrow, .gf-icon-list__text, .gf-icon-list__icon) {
	color: var(--gf-color-brand-ink, #1e3209);
}
.gf-hero--on-brand.gf-hero--on-brand .gf-heading__eyebrow { opacity: 0.8; }
/*
 * Buttons on a brand band have to swap, not inherit. A primary button paints
 * itself brand-on-brand here — an amber call-to-action on an amber hero, which
 * renders as floating text with no button under it at all. So the pair is
 * inverted: the ink becomes the fill and the brand becomes the label.
 */
.gf-hero--on-brand .gf-button[data-variant="primary"] {
	background: var(--gf-color-brand-ink, #1e3209);
	color: var(--gf-color-brand, #9bd45f);
	border-color: transparent;
}
.gf-hero--on-brand .gf-button[data-variant="secondary"] {
	border-color: var(--gf-color-brand-ink, #1e3209);
	color: var(--gf-color-brand-ink, #1e3209);
	background: transparent;
}
/* Without a photograph to fill it, a solid band this tall is mostly empty. */
.gf-hero--on-brand { min-height: clamp(24rem, 46vh, 34rem); }
/* The measure, not the band, is what should stay readable. */
.gf-hero .gf-hero__inner > * { max-width: 46rem; }
.gf-hero .gf-heading__title {
	font-size: var(--gf-size-7xl, clamp(2.75rem, 1.5rem + 6vw, 6.5rem));
	line-height: 0.98;
	letter-spacing: -0.022em;
	text-wrap: balance;
}
.gf-hero--compact .gf-heading__title { font-size: var(--gf-size-4xl, clamp(2rem, 1.5rem + 2.4vw, 3.1rem)); line-height: 1.06; letter-spacing: -0.015em; }
.gf-hero p { font-size: var(--gf-size-lg, 1.125rem); line-height: 1.6; }

/*
 * The eyebrow as a rule-and-label, not a small heading. A short rule beside
 * spaced caps is the cheapest way to make a band read as designed rather than
 * as the top of a document.
 */
.gf-hero .gf-heading__eyebrow {
	display: inline-flex; align-items: center; gap: 0.7rem;
	text-transform: uppercase; letter-spacing: 0.14em;
	font-size: var(--gf-size-sm, 0.875rem); font-weight: 600;
}
.gf-hero .gf-heading__eyebrow::before {
	content: ""; width: 2.25rem; height: 2px; background: currentColor; opacity: 0.85;
}

/*
 * The proof strip, straddling the hero's bottom edge.
 *
 * Pulled up over the band it follows so the page opens as ONE composition. The
 * overlap is the whole point — sitting it below the hero with a gap says these
 * are two unrelated things, which is exactly how a generated page reads.
 */
.gf-strip { position: relative; z-index: 2; margin-top: clamp(-4.5rem, -6vw, -2.5rem); margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.gf-strip > * {
	background: var(--gf-color-surface, #fff);
	border: 1px solid var(--gf-color-border, #e3e6dc);
	border-radius: var(--gf-radius-lg, 22px);
	box-shadow: 0 18px 40px rgba(12, 18, 28, 0.10);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.gf-strip .gf-heading__title { font-size: var(--gf-size-3xl, 2rem); line-height: 1.1; letter-spacing: -0.02em; }
.gf-strip p { font-size: var(--gf-size-sm, 0.875rem); color: var(--gf-color-muted, #71807a); margin: 0; }

/*
 * A slider used AS the hero.
 *
 * The `slides` element is built to sit inside a page, so at hero scale its type
 * is too small, its band too short and its scrim too thin to carry a headline
 * over an arbitrary photograph. And its heading is a real heading element, so
 * the theme's own `h2` colour beat the light colour the slide sets on itself —
 * the same dark-on-dark failure the CTA band had, in a different costume.
 */
.gf-hero-slider { padding: 0; }
.gf-hero-slider .gf-slides__track { border-radius: 0; }
.gf-hero-slider .gf-slides__slide {
	min-height: clamp(28rem, 62vh, 44rem);
	padding-inline: clamp(1.25rem, 5vw, 4rem);
}
/* A scrim that actually guarantees a floor, anchored to the reading side. */
.gf-hero-slider .gf-slides__slide::before {
	background:
		linear-gradient(90deg, rgba(9, 17, 31, 0.86) 0%, rgba(9, 17, 31, 0.62) 42%, rgba(9, 17, 31, 0.30) 100%),
		linear-gradient(180deg, rgba(9, 17, 31, 0.30) 0%, rgba(9, 17, 31, 0.10) 40%, rgba(9, 17, 31, 0.55) 100%);
}
.gf-hero-slider .gf-slides__content { max-width: 44rem; gap: 1.15rem; }
/* Doubled class so this out-specifies a theme's `.entry-content h2`. */
.gf-hero-slider.gf-hero-slider .gf-slides__heading,
.gf-hero-slider.gf-hero-slider .gf-slides__text { color: var(--gf-color-on-dark, #f7fffd); }
.gf-hero-slider.gf-hero-slider .gf-slides__heading {
	font-size: var(--gf-size-7xl, clamp(2.75rem, 1.5rem + 6vw, 6.5rem));
	line-height: 0.98;
	letter-spacing: -0.022em;
	text-wrap: balance;
}
.gf-hero-slider .gf-slides__cta { padding: 0.95rem 1.9rem; font-size: var(--gf-size-base, 1rem); }
/* Lift the dots clear of the strip that overlaps the band below. */
.gf-hero-slider .gf-slides__dots { bottom: clamp(3.25rem, 7vw, 5rem); }

/* Sticky offset. `--gf-header-top` is written inline by the element and falls
 * back to zero, which is what base.css already says. */
.gf-container[data-sticky="1"][data-sticky-mode] { top: var(--gf-header-top, 0px); }

/* Reveal on scroll up. The transform is on the header itself rather than a
 * wrapper so a transparent header keeps its own backdrop while it moves. */
.gf-container[data-sticky-mode="scroll-up"] { transition: transform .25s ease; will-change: transform; }
.gf-container[data-sticky-mode="scroll-up"][data-hidden="1"] { transform: translateY(-100%); }

/* Transparent over the hero. Out of flow, because a header that still occupies
 * layout space is not sitting "over" anything — the hero would start below it. */
.gf-container[data-transparent="1"] {
	position: absolute; inset-inline: 0; top: var(--gf-header-top, 0px);
	z-index: 50; background: transparent;
	transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.gf-container[data-transparent="1"][data-sticky="1"] { position: fixed; }
.gf-container[data-transparent="1"][data-scheme="light"]:not([data-scrolled="1"]) { color: var(--gf-color-on-dark, #f7fffd); }
.gf-container[data-transparent="1"][data-scheme="light"]:not([data-scrolled="1"]) a,
.gf-container[data-transparent="1"][data-scheme="light"]:not([data-scrolled="1"]) button { color: inherit; }
.gf-container[data-transparent="1"][data-scheme="dark"]:not([data-scrolled="1"]) { color: var(--gf-color-ink, #15201a); }

/* The solid state. One rule for both the transparent header taking a background
 * and the opaque one growing a shadow, so a site only ever tunes one token. */
.gf-container[data-transparent="1"][data-scrolled="1"] {
	background: var(--gf-header-bg, var(--gf-color-surface, #ffffff));
	color: var(--gf-color-ink, #15201a);
}
.gf-container[data-solid-after][data-scrolled="1"] {
	box-shadow: 0 1px 0 var(--gf-color-border, #e3e6dc), 0 10px 30px rgba(21, 32, 26, .07);
}

/* Inside the builder the header returns to the flow. A fixed element in the
 * canvas covers whatever is beneath it and cannot be selected or dropped into.
 * Written with three attribute selectors deliberately: it has to outrank the
 * `[data-transparent][data-sticky]` rule above, and a one-attribute selector
 * would lose to it silently. */
.gf-container[data-editor="1"][data-transparent],
.gf-container[data-editor="1"][data-sticky],
.gf-container[data-editor="1"][data-sticky-mode] { position: relative; top: auto; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.gf-container[data-sticky-mode="scroll-up"],
	.gf-container[data-transparent="1"] { transition: none; }
}

/* == form == */
.gf-form { display: flex; flex-direction: column; gap: 1rem; }
.gf-form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.gf-form__label {
	font-family: var(--gf-font-body, sans-serif);
	font-size: var(--gf-size-sm, 0.875rem);
	font-weight: 600;
	color: var(--gf-color-ink, #15201a);
}
.gf-form__req { color: var(--gf-color-brand-strong, #4f7a1f); }
.gf-form__input {
	width: 100%;
	font-family: var(--gf-font-body, sans-serif);
	font-size: var(--gf-size-base, 1rem);
	color: var(--gf-color-ink, #15201a);
	background: var(--gf-color-surface, #ffffff);
	border: 1.5px solid var(--gf-color-border-strong, #cfd4c6);
	border-radius: var(--gf-radius-md, 16px);
	padding: 0.7rem 0.9rem;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.gf-form__textarea { resize: vertical; min-height: 6rem; }
.gf-form__input::placeholder { color: var(--gf-color-muted, #71807a); }
.gf-form__input:focus {
	outline: none;
	border-color: var(--gf-color-brand, #9bd45f);
	box-shadow: 0 0 0 3px var(--gf-color-brand-soft, #eef7df);
}
.gf-form__submit {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.6rem;
	font-family: var(--gf-font-body, sans-serif);
	font-weight: 600;
	font-size: var(--gf-size-base, 1rem);
	line-height: 1;
	cursor: pointer;
	color: var(--gf-color-brand-ink, #1e3209);
	background: var(--gf-color-brand, #9bd45f);
	border: 1.5px solid transparent;
	border-radius: var(--gf-radius-pill, 999px);
	transition: background-color .15s ease, color .15s ease;
}
.gf-form__submit:hover { background: var(--gf-color-brand-strong, #4f7a1f); color: var(--gf-color-on-dark, #f7fffd); }
.gf-form__status:empty { display: none; }
.gf-form__status { color: var(--gf-color-brand-strong, #4f7a1f); font-weight: 600; }
/* A confirmation has to look like one, not like a bolder paragraph. */
.gf-form__status[data-state] { padding: 0.9rem 1.1rem; border-radius: var(--gf-radius-sm, 10px); border: 1px solid transparent; }
.gf-form__status[data-state="ok"] { background: var(--gf-color-brand-soft, #eef7df); color: var(--gf-color-ink, #15201a); border-color: var(--gf-color-border, #e3e6dc); }
.gf-form__status[data-state="err"] { background: #fdecec; color: #7a1c1c; border-color: #f3c9c9; }
.gf-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gf-form__placeholder { color: var(--gf-color-muted, #71807a); font-size: var(--gf-size-sm, 0.875rem); }
@media (prefers-reduced-motion: reduce) {
	.gf-form__input, .gf-form__submit { transition: none; }
}

/* == icon-list == */
.gf-icon-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--gf-cols, 1), minmax(0, 1fr)); gap: var(--gf-gap, 0.75rem); }
.gf-icon-list__item { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--gf-color-ink-2, #46514a); line-height: 1.5; }
.gf-icon-list__icon { display: inline-flex; flex: 0 0 auto; color: var(--gf-color-brand-strong, #4f7a1f); margin-top: 0.1em; }
.gf-icon-list__icon svg { width: 1.15em; height: 1.15em; display: block; }
.gf-icon-list__text { flex: 1 1 auto; }
.gf-icon-list__link { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.15s ease; }
.gf-icon-list__link:hover { border-bottom-color: var(--gf-color-brand-strong, #4f7a1f); }
@media (max-width: 640px) {
	.gf-icon-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.gf-icon-list__link { transition: none; }
}

.gf-maftseu9.gf-maftseu9{background-color:var(--gf-color-brand);background-image:linear-gradient(180deg, rgba(9,17,31,0.78) 0%, rgba(9,17,31,0.58) 45%, rgba(9,17,31,0.72) 100%), url(https://roofing.groundcraft.dev/wp-content/uploads/2026/08/pexels-photo-31762405-5.jpeg);background-position:center;background-repeat:no-repeat;background-size:cover;}