/*
Theme Name: Whitely Floors: Grout Line
Theme URI: https://www.whitelyfloors.com/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: Block theme for Whitely Floors and Remodeling (Denton County, Texas). Photos are laid like tile on a grout bed: square corners, even joints, a small dark "dot insert" where joints meet, crops that keep the floor in the picture. Light travertine bands, navy for action, one walnut band (the footer). Only the home banner moves.
Version: 1.0.0
Requires at least: 6.8
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: wfl-groutline
*/

/* ---------- fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: 'Josefin Sans'; src: url(assets/fonts/josefin-sans-latin-var.woff2) format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url(assets/fonts/source-sans-3-latin-var.woff2) format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url(assets/fonts/source-sans-3-italic-latin-var.woff2) format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
	--ink: #1E1A17;
	--text: #3B3530;
	--mute: #5E564F;          /* 6.4:1 on travertine, 7.2:1 on white */
	--navy: #1D4466;          /* the live site's own header/link blue, deepened: 10.4:1 on white */
	--navy-d: #122F48;
	--grout: #D6CCBE;         /* joints between tiles (decoration only) */
	--grout-d: #B5A794;
	--trav: #F4EFE7;          /* travertine bands */
	--walnut: #3A2A21;        /* the one dark band: the footer */
	--walnut-2: #4B382C;
	--dot: #2C221C;           /* the dark dot inserts */
	--display: 'Josefin Sans', 'Futura', 'Century Gothic', system-ui, sans-serif;
	--body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wide: 1240px;
	--prose: 740px;
	--pad: clamp(16px, 4vw, 40px);
	--gap: 8px;               /* the grout joint */
	--bar-h: 64px;
}
@media (min-width: 768px) { :root { --gap: 10px; --bar-h: 76px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body { margin: 0; background: #fff; color: var(--text); font: 400 1.0625rem/1.62 var(--body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 600; line-height: 1.14; letter-spacing: -.005em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.55rem + 2.5vw, 3.35rem); }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--navy-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
strong { font-weight: 650; color: var(--ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wfl-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; font-weight: 600; }
.wfl-skip:focus { top: 12px; color: #fff; }
.wfl-ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wp-site-blocks { overflow-x: clip; }
.wfl-main { overflow-x: clip; }

/* ---------- section rhythm ---------- */
/* content column: the padding keeps everything inside --wide, left-aligned when narrower */
.wfl-sec { padding: clamp(52px, 7vw, 100px) max(var(--pad), calc((100% - var(--wide)) / 2)); }
.wfl-sec--trav { background: var(--trav); }
.wfl-sec--tight { padding-block: clamp(36px, 5vw, 64px); }
.wfl-sec--line { border-top: 1px solid var(--grout); }
.wfl-sec__intro { max-width: var(--wide); margin-bottom: clamp(26px, 3.4vw, 44px); }
.wfl-sec__intro > p { max-width: 62ch; }
.wfl-prose > * { max-width: var(--prose); }
.wfl-prose ul, .wfl-prose ol { padding-left: 1.2em; }
.wfl-prose li { margin-bottom: .4em; }
.wfl-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.27rem); line-height: 1.55; color: var(--text); max-width: 60ch; }

/* The small label above a heading, with a dot insert in front. */
.wfl-kicker { display: flex; align-items: center; gap: .7em; margin: 0 0 1.05em; font: 600 .8rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.wfl-kicker::before { content: ''; width: .56em; height: .56em; background: var(--dot); transform: rotate(45deg); flex: none; margin-top: -.18em; }

/* ---------- buttons: square, like a tile, with a thin inset line ---------- */
.wfl-btn, .wp-block-button__link, .wfl-form input[type=submit] {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 1em 1.45em .82em;
	border: 0; border-radius: 0; background: var(--navy); color: #fff; font: 600 .86rem/1.1 var(--display); letter-spacing: .12em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 5px rgba(255, 255, 255, .42); transition: background-color .15s, box-shadow .15s;
}
.wfl-btn:hover, .wp-block-button__link:hover, .wfl-form input[type=submit]:hover { background: var(--navy-d); color: #fff; box-shadow: inset 0 0 0 4px var(--navy-d), inset 0 0 0 5px rgba(255, 255, 255, .55); }
.wfl-btn .wfl-ico { margin-top: -.2em; }
.wfl-btn--line, .is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.wfl-btn--line:hover, .is-style-outline .wp-block-button__link:hover { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 2px var(--navy); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.wp-block-button { margin: 0; }

/* ---------- header (sticky) ---------- */
.wfl-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--grout); transition: box-shadow .2s; }
.wfl-header.is-scrolled { box-shadow: 0 2px 14px rgba(30, 26, 23, .09); }
.wfl-bar__in { max-width: 1320px; margin: 0 auto; height: var(--bar-h); padding: 0 var(--pad); display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.wfl-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.wfl-mark rect { fill: #CDBFAA; }
.wfl-mark .wfl-mark__dot { fill: var(--navy); }
.wfl-brand__text { display: flex; flex-direction: column; line-height: 1; }
.wfl-brand__name { font: 700 1.42rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; padding-top: .14em; }
.wfl-brand__sub { font: 600 .66rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-top: .45em; }
.wfl-brand:hover { color: var(--ink); }
.wfl-nav { display: none; margin-left: auto; }
.wfl-bar__cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.wfl-bar__tel { display: none; align-items: center; gap: .45em; color: var(--ink); font-weight: 650; font-size: 1.04rem; text-decoration: none; white-space: nowrap; }
.wfl-bar__tel .wfl-ico { color: var(--navy); }
.wfl-bar__tel:hover { color: var(--navy); text-decoration: underline; }
.wfl-bar__quote { display: none; min-height: 46px; padding-inline: 1.2em; white-space: nowrap; }
.wfl-bar__menu { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 12px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 600 .8rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.wfl-bar__menu span { padding-top: .15em; }
.wfl-bar__menu .wfl-ico--close, .wfl-bar__menu[aria-expanded="true"] .wfl-ico--menu { display: none; }
.wfl-bar__menu[aria-expanded="true"] .wfl-ico--close { display: block; }
@media (min-width: 768px) { .wfl-bar__tel, .wfl-bar__quote { display: inline-flex; } }
@media (min-width: 1180px) {
	.wfl-nav { display: block; }
	.wfl-nav + .wfl-bar__cta { margin-left: 0; }
	.wfl-bar__menu { display: none; }
}
@media (max-width: 379px) { .wfl-brand__name { font-size: 1.22rem; } .wfl-mark { width: 26px; height: 26px; } }

/* desktop menu */
.wfl-menu { list-style: none; margin: 0; padding: 0; }
.wfl-menu--bar { display: flex; align-items: center; gap: 2px; }
.wfl-menu--bar > li { position: relative; display: flex; align-items: center; }
.wfl-menu--bar .wfl-menu__link { display: block; padding: 10px 9px 8px; color: var(--ink); text-decoration: none; font: 600 .8rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.wfl-menu--bar .wfl-menu__link:hover { color: var(--navy); border-bottom-color: var(--grout-d); }
.wfl-menu--bar .is-in > .wfl-menu__link, .wfl-menu--bar .wfl-menu__link[aria-current] { border-bottom-color: var(--navy); }
.wfl-menu--bar .has-sub > .wfl-menu__link { padding-right: 2px; }
.wfl-menu__toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.wfl-menu__toggle .wfl-ico { width: 16px; height: 16px; transition: transform .15s; }
.wfl-menu__toggle[aria-expanded="true"] .wfl-ico { transform: rotate(180deg); }
.wfl-menu--bar .wfl-sub { display: none; position: absolute; top: calc(100% + 14px); left: 0; min-width: 250px; margin: 0; padding: 8px 0; list-style: none; background: #fff; border: 1px solid var(--grout); border-top: 3px solid var(--navy); box-shadow: 0 12px 28px rgba(30, 26, 23, .12); z-index: 60; }
.wfl-menu--bar .wfl-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 16px; } /* hover bridge */
.wfl-menu--bar .has-sub:hover > .wfl-sub, .wfl-menu--bar .has-sub.is-open > .wfl-sub { display: block; }
.wfl-menu--bar .wfl-sub a { display: block; padding: 10px 9px; color: var(--ink); text-decoration: none; font-size: .98rem; }
.wfl-menu--bar .wfl-sub li:first-child a { font-weight: 600; }
.wfl-menu--bar .wfl-sub a:hover, .wfl-menu--bar .wfl-sub a[aria-current] { background: var(--trav); color: var(--navy); }
.wfl-menu--bar .wfl-sub a:focus-visible { outline-offset: -3px; }

/* phone/tablet panel */
.wfl-panel { border-top: 1px solid var(--grout); background: #fff; max-height: calc(100vh - var(--bar-h)); overflow-y: auto; padding: 8px var(--pad) 24px; }
.wfl-panel[hidden] { display: none; }
.wfl-menu--panel > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--grout); }
.wfl-menu--panel .wfl-menu__link { flex: 1; padding: 15px 0 12px; color: var(--ink); text-decoration: none; font: 600 .95rem/1.1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.wfl-menu--panel .wfl-menu__toggle { width: 44px; height: 44px; }
.wfl-menu--panel .wfl-sub { display: none; flex: 1 1 100%; list-style: none; margin: 0 0 12px; padding: 0 0 0 14px; border-left: 3px solid var(--grout); }
.wfl-menu--panel .is-open > .wfl-sub { display: block; }
.wfl-menu--panel .wfl-sub a { display: block; padding: 10px 0; color: var(--text); text-decoration: none; }
.wfl-menu--panel [aria-current] { color: var(--navy); font-weight: 650; }
.wfl-panel__contact { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 0; }
.wfl-panel__contact a { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }

/* ---------- home hero: a tile field (big photo tile + headline tile + caption tile) on a grout bed ---------- */
.wfl-hero { max-width: 1320px; margin: 0 auto; padding: var(--gap); background: var(--grout); display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "bar" "title"; }
@media (min-width: 1024px) { .wfl-hero { margin-top: clamp(12px, 2vw, 28px); grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); grid-template-rows: 1fr auto; grid-template-areas: "photo title" "photo bar"; } }
.wfl-hero > .wp-block-group { margin: 0; }
.wfl-hero__photo { grid-area: photo; position: relative; aspect-ratio: 4 / 3; background: #CBBFAE; overflow: hidden; }
@media (min-width: 1024px) { .wfl-hero__photo { aspect-ratio: auto; min-height: clamp(460px, 40vw, 600px); } }
.wfl-hero__title { grid-area: title; background: #fff; padding: clamp(26px, 3.4vw, 52px) clamp(20px, 3vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.wfl-hero__title h1 { font-size: clamp(2.05rem, 1.45rem + 2.1vw, 3.05rem); margin-bottom: .45em; }
.wfl-hero__title .wfl-lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); }
.wfl-hero__title .wp-block-buttons { margin-top: 1.1em; }
.wfl-hero__bar { grid-area: bar; position: relative; background: var(--trav); padding: 14px clamp(16px, 2.4vw, 30px); }
@media (min-width: 1024px) {
	/* the dot insert where the three tiles meet */
	.wfl-hero__bar::before { content: ''; position: absolute; left: calc(var(--gap) / -2 - 8px); top: calc(var(--gap) / -2 - 8px); width: 16px; height: 16px; background: var(--dot); transform: rotate(45deg); z-index: 2; }
}
.wfl-banner { position: absolute; inset: 0; }
.wfl-banner__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.wfl-banner__slide.is-on { opacity: 1; }
.wfl-banner__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.wfl-banner-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wfl-banner-bar__cap { margin: 0; font-size: .97rem; color: var(--text); min-width: 0; }
.wfl-banner-bar__n { font: 600 .78rem/1 var(--display); letter-spacing: .12em; color: var(--mute); margin-right: .5em; }
.wfl-banner-bar__ctl { display: flex; align-items: center; gap: 2px; flex: none; }
.wfl-banner-bar__dot { width: 32px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.wfl-banner-bar__dot::before { content: ''; width: 11px; height: 11px; border: 2px solid var(--ink); transform: rotate(45deg); }
.wfl-banner-bar__dot[aria-current]::before { background: var(--ink); }
.wfl-banner-bar__pause { margin-left: 8px; width: 42px; height: 42px; padding: 0; border: 2px solid var(--ink); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.wfl-banner-bar__pause .wfl-ico--play, .wfl-banner-bar__pause.is-paused .wfl-ico--pause { display: none; }
.wfl-banner-bar__pause.is-paused .wfl-ico--play { display: block; }
.wfl-banner-bar__pause .wfl-ico--play { fill: currentColor; }
.wfl-banner-bar__pause:hover { background: var(--ink); color: #fff; }

/* ---------- credentials: four facts, joints between them ---------- */
.wfl-creds { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--grout); border: 1px solid var(--grout); }
.wfl-creds li { background: var(--trav); padding: 20px clamp(14px, 2vw, 26px) 18px; display: flex; flex-direction: column; gap: 6px; }
.wfl-sec--trav .wfl-creds li { background: #fff; }
.wfl-creds strong { font: 600 1.22rem/1.15 var(--display); color: var(--ink); }
.wfl-creds span { font-size: .96rem; color: var(--mute); line-height: 1.45; }
@media (min-width: 1024px) { .wfl-creds { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wfl-sec--creds { padding-block: clamp(26px, 3.4vw, 40px); }

/* ---------- two-column rows ---------- */
.wfl-split { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .wfl-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .wfl-split--flip > :first-child { order: 2; } }
.wfl-split > .wp-block-group > :last-child { margin-bottom: 0; }

/* A photo laid as one tile: grout surround, caption on the tile. */
.wfl-laid { margin: 0; padding: var(--gap); background: var(--grout); }
.wfl-photo img { display: block; width: 100%; }
.wfl-photo figcaption, .wfl-map-fig figcaption { background: #fff; margin-top: var(--gap); padding: 10px 14px 9px; font-size: .92rem; color: var(--mute); }
.wfl-photo--small { max-width: 371px; }
.wfl-photo--small img { aspect-ratio: 355 / 314; }

/* ---------- tiles on a grout bed (services, project strip, trios) ---------- */
.wfl-tiles { list-style: none; margin: 0 auto; padding: var(--gap); background: var(--grout); display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.wfl-tile { position: relative; background: #fff; margin: 0; display: flex; flex-direction: column; min-width: 0; }
.wfl-tile__ph { display: block; overflow: hidden; background: #CBBFAE; }
.wfl-tile__ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 88%; aspect-ratio: 4 / 3; transition: transform .5s ease; }
.wfl-tile__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.wfl-tile__h { font-size: 1.24rem; margin: 0 0 .5em; }
.wfl-tile__h a { color: var(--ink); text-decoration: none; }
.wfl-tile__h a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* the whole tile is the link */
.wfl-tile__p { font-size: .98rem; color: var(--mute); margin: 0 0 14px; line-height: 1.5; }
.wfl-tile__more { margin-top: auto; display: inline-flex; align-items: center; gap: .5em; font: 600 .78rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.wfl-tile--link:hover .wfl-tile__h a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; }
.wfl-tile--link:hover .wfl-tile__ph img { transform: scale(1.02); }
.wfl-tile--link:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; z-index: 2; }
.wfl-tile--link .wfl-tile__h a:focus-visible { outline: 0; }
@media (min-width: 600px) { .wfl-tiles--svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
	.wfl-tiles--svc.wfl-tiles--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wfl-tiles--svc.wfl-tiles--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wfl-tiles--svc .wfl-tile__ph img { aspect-ratio: 3 / 4; }
}
/* dot inserts where four tiles meet (2 x 2 service grid) */
@media (min-width: 600px) and (max-width: 1099px) {
	.wfl-tiles--n4 > .wfl-tile:first-child::after { content: ''; position: absolute; right: calc(var(--gap) / -2 - 7px); bottom: calc(var(--gap) / -2 - 7px); width: 14px; height: 14px; background: var(--dot); transform: rotate(45deg); z-index: 3; }
}

.wfl-tiles--strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wfl-tiles--strip .wfl-tile__ph img { aspect-ratio: 3 / 4; }
.wfl-tiles--strip .wfl-tile__a { display: block; }
.wfl-tiles--strip .wfl-tile__a:hover img { transform: scale(1.02); }
.wfl-tiles--strip .wfl-tile__a:focus-visible { outline-offset: -3px; outline-color: #fff; box-shadow: inset 0 0 0 6px var(--navy); }
@media (max-width: 767px) { .wfl-tiles--strip > .wfl-tile:nth-child(odd):nth-child(-n+3)::after { content: ''; position: absolute; right: calc(var(--gap) / -2 - 6px); bottom: calc(var(--gap) / -2 - 6px); width: 12px; height: 12px; background: var(--dot); transform: rotate(45deg); z-index: 3; } }
@media (min-width: 768px) and (max-width: 1099px) {
	.wfl-tiles--strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wfl-tiles--strip > .wfl-tile:nth-child(-n+2)::after { content: ''; position: absolute; right: calc(var(--gap) / -2 - 7px); bottom: calc(var(--gap) / -2 - 7px); width: 14px; height: 14px; background: var(--dot); transform: rotate(45deg); z-index: 3; }
}
@media (min-width: 1100px) { .wfl-tiles--strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* core Image blocks laid as tiles (service pages): Replace in the editor keeps the look */
.wfl-tiles--trio { margin-block: clamp(26px, 3.4vw, 40px) 0; }
.wfl-tiles > .wp-block-image { margin: 0; background: #fff; display: flex; flex-direction: column; min-width: 0; }
.wfl-tiles > .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 88%; }
.wfl-tiles > .wp-block-image figcaption { margin: 0; padding: 10px 14px 9px; font-size: .92rem; color: var(--mute); text-align: left; }
@media (min-width: 768px) { .wfl-tiles--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wfl-tiles--trio > .wp-block-image img { aspect-ratio: 3 / 4; } }

/* one photo laid as a tile (core Image block with .wfl-photo.wfl-laid) */
.wp-block-image.wfl-photo { margin: 0; }
.wp-block-image.wfl-photo img { display: block; width: 100%; height: auto; }
.wp-block-image.wfl-photo figcaption { margin: var(--gap) 0 0; text-align: left; }
.wfl-split > .wfl-photo--small { justify-self: center; width: 100%; }

/* a customer's words between sections */
.wfl-quote { margin: 0 auto; max-width: 860px; padding-left: clamp(20px, 3vw, 34px); border-left: var(--gap) solid var(--grout); }
.wfl-quote blockquote { margin: 0 0 12px; }
.wfl-quote blockquote p { margin: 0; font: 500 clamp(1.25rem, 1.1rem + .7vw, 1.6rem)/1.4 var(--display); color: var(--ink); }
.wfl-quote figcaption { color: var(--mute); font-size: .98rem; }

/* ---------- Who We Serve ---------- */
.wfl-aud { display: grid; gap: clamp(20px, 2.6vw, 30px); }
@media (min-width: 900px) { .wfl-aud:not(.wfl-aud--rows) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wfl-aud__item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--grout); }
.wfl-sec--trav .wfl-aud__item { border-color: transparent; }
.wfl-aud__ph { margin: 0; }
.wfl-aud__ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 88%; }
.wfl-aud__item.is-text { background: var(--trav); border-color: var(--grout); }
.wfl-sec--trav .wfl-aud__item.is-text { background: #fff; }
.wfl-aud__text { padding: 20px 22px 22px; }
.wfl-aud__h { font-size: 1.3rem; }
.wfl-aud__text p { color: var(--mute); }
.wfl-aud--rows .wfl-aud__item { border: 0; background: none; gap: clamp(22px, 3vw, 48px); }
.wfl-aud--rows .wfl-aud__item + .wfl-aud__item { border-top: 1px solid var(--grout); padding-top: clamp(30px, 4vw, 56px); }
.wfl-aud--rows .wfl-aud__text { padding: 0; }
.wfl-aud--rows .wfl-aud__h { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.wfl-aud--rows .wfl-aud__text p { color: var(--text); font-size: 1.08rem; max-width: 56ch; }
.wfl-aud--rows .wfl-aud__ph { padding: var(--gap); background: var(--grout); }
.wfl-aud--rows .wfl-aud__item.is-text { background: none; }
@media (min-width: 900px) {
	.wfl-aud--rows .wfl-aud__item { flex-direction: row; align-items: center; }
	.wfl-aud--rows .wfl-aud__ph { flex: 0 0 46%; }
	.wfl-aud--rows .wfl-aud__item:nth-child(even) .wfl-aud__ph { order: 2; }
	.wfl-aud--rows .is-text .wfl-aud__text { padding-left: 0; max-width: 760px; }
}
.wfl-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.wfl-links a { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; padding: 4px 0; }
.wfl-links .wfl-ico { width: 1em; height: 1em; }
.wfl-links--big { flex-direction: column; gap: 10px; font-size: 1.12rem; }

/* ---------- reviews ---------- */
.wfl-reviews { display: grid; gap: var(--gap); padding: var(--gap); background: var(--grout); }
@media (min-width: 900px) { .wfl-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wfl-review { margin: 0; background: #fff; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; }
.wfl-review blockquote { margin: 0 0 18px; }
.wfl-review blockquote p { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.wfl-review blockquote p::before { content: '“'; } .wfl-review blockquote p::after { content: '”'; }
.wfl-review figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--grout); }
.wfl-review figcaption strong { font: 600 1rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.wfl-review figcaption span { color: var(--mute); font-size: .95rem; }

/* ---------- page head (inner pages) ---------- */
.wfl-head { background: var(--trav); border-bottom: 1px solid var(--grout); padding-top: clamp(30px, 5vw, 64px); padding-bottom: clamp(34px, 5vw, 64px); }
.wfl-head h1 { margin-bottom: .35em; }
.wfl-head .wfl-lead { margin-bottom: 0; }
.wfl-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .92rem; color: var(--mute); }
.wfl-crumbs li + li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 .7em .12em; background: var(--grout-d); transform: rotate(45deg); }
.wfl-crumbs a { color: var(--mute); }

/* ---------- lists of trades, towns, checks ---------- */
.wfl-trades { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--gap); }
.wfl-trades li { padding: 10px 16px 8px; background: #fff; border: 1px solid var(--grout); font: 600 .84rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.wfl-sec--trav .wfl-trades li { border-color: transparent; }
.wfl-checks { list-style: none; padding: 0 !important; }
.wfl-checks li { position: relative; padding-left: 1.6em; }
.wfl-checks li::before { content: ''; position: absolute; left: .2em; top: .55em; width: .5em; height: .5em; background: var(--dot); transform: rotate(45deg); }
.wfl-towns { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
@media (min-width: 600px) { .wfl-towns { columns: 3; } }
.wfl-towns li { padding: 7px 0 6px; border-bottom: 1px solid var(--grout); break-inside: avoid; }

/* ---------- service-area map ---------- */
.wfl-map-fig svg { display: block; width: 100%; height: auto; background: #fff; }

/* ---------- CTA band ---------- */
.wfl-cta { display: grid; gap: 20px 40px; align-items: center; padding: clamp(26px, 4vw, 48px); background: var(--trav); border: 1px solid var(--grout); position: relative; }
.wfl-cta h2 { margin-bottom: .3em; }
.wfl-cta p { margin: 0; color: var(--mute); max-width: 56ch; }
.wfl-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .wfl-cta { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- Our Work: core Gallery block laid as tile ---------- */
.wfl-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.wfl-filters button { min-height: 44px; padding: 11px 16px 9px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 600 .8rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.wfl-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.wfl-filters button:hover { border-color: var(--navy); color: var(--navy); }
.wfl-filters button[aria-pressed="true"]:hover { color: #fff; background: var(--navy); }
.wfl-filters__count { font-size: .95rem; color: var(--mute); margin: 0 0 18px; }
.wp-block-gallery.has-nested-images.wfl-work { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap) !important; margin: 0; padding: var(--gap); background: var(--grout); }
@media (min-width: 768px) { .wp-block-gallery.has-nested-images.wfl-work { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .wp-block-gallery.has-nested-images.wfl-work { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wp-block-gallery.has-nested-images.wfl-work figure.wp-block-image { position: relative; width: auto !important; margin: 0 !important; flex: none; display: flex; flex-direction: column; justify-content: flex-start !important; background: #fff; }
.wp-block-gallery.has-nested-images.wfl-work figure.wp-block-image[hidden] { display: none !important; }
.wp-block-gallery.has-nested-images.wfl-work figure.wp-block-image a { display: block !important; line-height: 0; overflow: hidden; flex: none !important; height: auto !important; }
.wp-block-gallery.has-nested-images.wfl-work figure.wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 88%; flex: none !important; transition: transform .5s ease; }
.wp-block-gallery.has-nested-images.wfl-work figure.wp-block-image a:hover img { transform: scale(1.02); }
.wp-block-gallery.has-nested-images.wfl-work figure.wp-block-image a:focus-visible { outline: 3px solid #fff; outline-offset: -6px; box-shadow: inset 0 0 0 6px var(--navy); }
.wp-block-gallery.has-nested-images.wfl-work figure.wp-block-image figcaption { position: static; display: block; margin: 0; padding: 9px 12px 8px; max-height: none; overflow: visible; background: #fff; color: var(--mute); font-size: .9rem; line-height: 1.35; text-align: left; text-shadow: none; flex: 1; }
.wp-block-gallery.has-nested-images.wfl-work figure.wp-block-image figcaption::before { display: none; }
/* dot inserts at the inner crossings, while every photo shows */
.wfl-work.is-all figure.wp-block-image::after { content: ''; position: absolute; right: calc(var(--gap) / -2 - 6px); bottom: calc(var(--gap) / -2 - 6px); width: 12px; height: 12px; background: var(--dot); transform: rotate(45deg); z-index: 3; display: none; }
@media (max-width: 767px) { .wfl-work.is-all figure.wp-block-image:nth-child(odd):nth-child(-n+17)::after { display: block; } }
@media (min-width: 768px) and (max-width: 1099px) { .wfl-work.is-all figure.wp-block-image:not(:nth-child(3n)):nth-child(-n+15)::after { display: block; } }
@media (min-width: 1100px) { .wfl-work.is-all figure.wp-block-image:not(:nth-child(4n)):nth-child(-n+16)::after { display: block; } }

/* lightbox */
.wfl-lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(22, 17, 14, .95); color: #fff; }
.wfl-lb::backdrop { background: rgba(22, 17, 14, .6); }
.wfl-lb[open] { display: flex; align-items: center; justify-content: center; }
.wfl-lb__fig { display: flex; flex-direction: column; align-items: center; max-width: calc(100vw - 32px); }
.wfl-lb__fig img { max-width: min(1100px, calc(100vw - 140px)); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border: var(--gap) solid var(--grout); background: var(--grout); }
.wfl-lb__cap { margin: 14px 0 0; text-align: center; font-size: 1rem; max-width: 70ch; padding: 0 12px; }
.wfl-lb__n { color: #d9cfc3; margin-left: .6em; }
.wfl-lb__btn { position: absolute; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 2px solid #fff; background: rgba(22, 17, 14, .7); color: #fff; cursor: pointer; }
.wfl-lb__btn:hover { background: #fff; color: var(--ink); }
.wfl-lb__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wfl-lb__btn .wfl-ico { width: 26px; height: 26px; }
.wfl-lb__close { top: 16px; right: 16px; }
.wfl-lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.wfl-lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
	.wfl-lb__fig img { max-width: calc(100vw - 24px); max-height: calc(100vh - 190px); }
	.wfl-lb__prev, .wfl-lb__next { top: auto; bottom: 18px; transform: none; }
	.wfl-lb__prev { left: calc(50% - 64px); } .wfl-lb__next { right: calc(50% - 64px); }
}

/* ---------- contact + form (Ninja Forms, free) ---------- */
.wfl-contact { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .wfl-contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.wfl-ccard { position: sticky; top: calc(var(--bar-h) + 20px); }
.wfl-ccard > ul { list-style: none; margin: 0; padding: 18px 20px; background: #fff; }
.wfl-ccard > ul + ul { margin-top: var(--gap); }
.wfl-ccard__people li { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; }
.wfl-ccard__people li + li { border-top: 1px solid var(--grout); }
.wfl-ccard__who { font: 600 .8rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding-top: .2em; }
.wfl-ccard__tel { display: inline-flex; align-items: center; gap: .45em; font-size: 1.4rem; font-weight: 650; text-decoration: none; color: var(--ink); }
.wfl-ccard__tel .wfl-ico { color: var(--navy); }
.wfl-ccard__tel:hover { color: var(--navy); text-decoration: underline; }
.wfl-ccard__list li { display: flex; gap: 10px; padding: 8px 0; align-items: flex-start; overflow-wrap: anywhere; }
.wfl-ccard__list .wfl-ico { margin-top: .25em; color: var(--navy); }
@media (max-width: 999px) { .wfl-ccard { position: static; } }

.wfl-form, .wfl-form .nf-form-cont, .wfl-form nf-field, .wfl-form .nf-field-element { min-width: 0; max-width: 100%; }
.wfl-form .nf-form-content { padding: 0; max-width: none; }
.wfl-form .nf-form-fields-required { font-size: .95rem; color: var(--mute); margin-bottom: 18px; }
.wfl-form nf-fields-wrap { display: flex; flex-wrap: wrap; gap: 0 20px; }
.wfl-form nf-field { flex: 1 1 100%; }
@media (min-width: 700px) { .wfl-form nf-field:has(.wfl-half) { flex: 1 1 calc(50% - 10px); } }
.wfl-form .nf-field-container { margin-bottom: 22px; }
.wfl-form .nf-field-label { margin-bottom: 6px; }
.wfl-form .nf-field-label label, .wfl-form .nf-field-label .nf-label-span { font-weight: 650; color: var(--ink); font-size: 1rem; }
.wfl-form .ninja-forms-req-symbol { color: #9B2A1E; }
.wfl-form input.ninja-forms-field:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), .wfl-form textarea.ninja-forms-field, .wfl-form select.ninja-forms-field {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #8E8377; border-radius: 0; background: #fff; color: var(--ink); font: 400 1.0625rem/1.4 var(--body); box-shadow: inset 0 1px 2px rgba(30, 26, 23, .06); }
.wfl-form textarea.ninja-forms-field { min-height: 150px; height: 150px; }
.wfl-form .ninja-forms-field:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--ink); }
.wfl-form .nf-field-description { font-size: .92rem; color: var(--mute); margin-top: 6px; }
.wfl-form .nf-field-description p { margin: 0; }
.wfl-form .list-select-wrap .nf-field-element > div { border: 0; }
.wfl-form .list-radio-wrap .nf-field-element ul, .wfl-form .list-checkbox-wrap .nf-field-element ul { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 4px 0 0; padding: 0; list-style: none; }
.wfl-form .list-radio-wrap .nf-field-element li, .wfl-form .list-checkbox-wrap .nf-field-element li { display: flex; align-items: center; gap: 8px; margin: 0 !important; padding: 0; }
.wfl-form .list-radio-wrap .nf-field-element li input, .wfl-form .list-checkbox-wrap .nf-field-element li input { width: 20px !important; height: 20px; margin: 0 !important; flex: none; accent-color: var(--navy); }
.wfl-form .list-radio-wrap .nf-field-element li label, .wfl-form .list-checkbox-wrap .nf-field-element li label { font-weight: 400 !important; margin: 0 !important; padding: 0; width: auto; }
.wfl-form .nf-error-msg, .wfl-form .nf-error .nf-error-msg { color: #9B2A1E; font-size: .95rem; font-weight: 600; margin-top: 6px; }
.wfl-form .nf-error .ninja-forms-field { border-color: #9B2A1E !important; border-width: 2px !important; }
.wfl-form .nf-form-errors .nf-error-msg { margin: 0 0 12px; }
.wfl-form .nf-after-field .nf-input-limit { display: none; }
.wfl-form input[type=submit] { min-width: 220px; }
.wfl-thanks { padding: clamp(24px, 3vw, 40px); background: var(--trav); border: 1px solid var(--grout); outline: 0; }
.wfl-thanks__check { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--navy); color: #fff; transform: rotate(45deg); }
.wfl-thanks__check .wfl-ico { width: 30px; height: 30px; transform: rotate(-45deg); stroke-width: 2.4; }
.wfl-thanks h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); }
.wfl-thanks ol { padding-left: 1.3em; }
.wfl-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; }

/* ---------- footer: the one dark band (walnut) ---------- */
.wfl-foot { background: var(--walnut); color: #EDE5DA; font-size: .98rem; }
.wfl-foot a { color: #fff; }
.wfl-foot a:hover { color: #fff; text-decoration-thickness: 2px; }
.wfl-foot :focus-visible { outline-color: #fff; }
.wfl-foot__in { max-width: var(--wide); margin: 0 auto; padding: clamp(46px, 6vw, 76px) var(--pad) 36px; display: grid; gap: 34px 40px; }
@media (min-width: 768px) { .wfl-foot__in { grid-template-columns: 1.4fr 1fr 1fr; } }
.wfl-foot__name { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 700 1.12rem/1.15 var(--display); letter-spacing: .13em; text-transform: uppercase; color: #fff; }
.wfl-foot__name .wfl-mark rect { fill: #8C735F; }
.wfl-foot__name .wfl-mark .wfl-mark__dot { fill: #F4EFE7; }
.wfl-foot__line { color: #D9CDBE; margin-bottom: 18px; }
.wfl-foot__facts, .wfl-foot__col ul { list-style: none; margin: 0; padding: 0; }
.wfl-foot__facts li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; overflow-wrap: anywhere; }
.wfl-foot__facts .wfl-ico { margin-top: .3em; color: #CDBFAA; }
.wfl-foot__h { margin: 4px 0 14px; font: 600 .8rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #CDBFAA; }
.wfl-foot__col li { padding: 4px 0; }
.wfl-foot__col a { text-decoration: none; }
.wfl-foot__col a:hover { text-decoration: underline; }
.wfl-foot__base { max-width: var(--wide); margin: 0 auto; padding: 18px var(--pad) 22px; border-top: 1px solid var(--walnut-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: .9rem; color: #D9CDBE; }
.wfl-foot__base p { margin: 0; }
.wfl-foot__base a.wfl-credit { color: #fff; text-decoration: underline; text-underline-offset: .18em; text-decoration-color: rgba(255, 255, 255, .6); }
.wfl-foot__base a.wfl-credit:hover, .wfl-foot__base a.wfl-credit:focus-visible { text-decoration-color: #fff; }

/* ---------- phone bar: exactly Call + Request a Quote (phones only) ---------- */
.wfl-callbar { display: none; }
@media (max-width: 767px) {
	.wfl-callbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--grout-d); box-shadow: 0 -4px 16px rgba(30, 26, 23, .1); }
	.wfl-callbar a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 56px; font: 600 .86rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding-top: .2em; }
	.wfl-callbar__call { color: var(--navy) !important; background: #fff; }
	.wfl-callbar__call .wfl-ico { margin-top: -.2em; }
	.wfl-callbar__quote { color: #fff !important; background: var(--navy); }
	.wfl-callbar a:focus-visible { outline: 3px solid var(--ink); outline-offset: -5px; }
	.wfl-callbar__quote:focus-visible { outline-color: #fff; }
	.wfl-foot { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ---------- the one quiet fade-in (site.js adds .wfl-rise to sections below the fold) ---------- */
.wfl-rise { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.wfl-rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.wfl-rise { opacity: 1; transform: none; }
}
@media print {
	.wfl-header, .wfl-callbar, .wfl-banner-bar, .wfl-foot__col { display: none !important; }
}
