/*
Theme Name: Pleading (Law Offices of William F. Salle)
Theme URI: https://dependentmedia.com/
Author: Dependent Media
Description: Block theme for williamsallelaw.com (rebuild 2026-11). Details from a California court filing: numbered pleading lines with a double rule in the margin, the attorney caption block, Roman-numbered headings, a table of contents for the practice areas, a ledger for results. One family, TeX Gyre Schola (the free Century Schoolbook), with its real small capitals. Ink on white, bronze rules, black-and-white photographs, one dark band (the footer). No page builder.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: wfs-pleading
*/

@font-face { font-family: Schola; src: url(assets/fonts/schola-regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Schola; src: url(assets/fonts/schola-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Schola; src: url(assets/fonts/schola-bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--ink: #161616;
	--text: #2c2b29;
	--muted: #5d5b57;
	--num: #767470;          /* pleading line numbers */
	--bronze: #7a5a20;       /* labels, links' underline, marks (6.3:1 on white) */
	--rule: #a8874b;         /* the double margin rule, decorative */
	--brass: #c9a55e;        /* rules and labels on ink (7.8:1) */
	--hair: #dedcd6;         /* hairlines */
	--vellum: #f2f2ef;       /* the light bands */
	--paper: #ffffff;
	--error: #9b1c1c;
	--font: Schola, "Century Schoolbook", "New Century Schoolbook", Georgia, serif;
	--wide: 1180px;
	--pad: 20px;
	--gut: 2.75rem;          /* pleading margin: line numbers live here */
	--head: 76px;
	--bar: 0px;
	--ease: cubic-bezier(.2, .6, .2, 1);
}
@media (min-width: 768px) { :root { --pad: 32px; } }
@media (max-width: 767px) { :root { --gut: 1.75rem; --head: 64px; --bar: 58px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); scroll-padding-bottom: calc(var(--bar) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; font-kerning: normal; font-variant-numeric: lining-nums; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
main.wfs-main { display: block; }
main.wfs-main > .wp-block-post-content > * + * { margin-block-start: 0; }

h1, h2, h3, h4 { color: var(--ink); font-family: var(--font); font-weight: 400; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.35rem + 2.7vw, 3.375rem); line-height: 1.08; letter-spacing: -.012em; }
h2 { font-size: clamp(1.625rem, 1.2rem + 1.45vw, 2.375rem); line-height: 1.14; letter-spacing: -.006em; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong, b { font-weight: 700; color: var(--ink); }

a { color: var(--ink); text-decoration-line: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; color: #000; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
::selection { background: #e9dcc0; color: var(--ink); }

.wfs-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wfs-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; text-decoration: none; }
.wfs-skip:focus { top: 12px; }

.wfs-ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; flex: none; }
.wfs-ico--play { fill: currentColor; stroke: none; }

/* ---------- labels, leads, buttons ---------- */
.wfs-label { margin: 0 0 .9rem; color: var(--bronze); font-size: 1rem; letter-spacing: .09em; font-variant-caps: all-small-caps; line-height: 1.3; }
.wfs-label__n { display: inline-block; min-width: 2.2em; letter-spacing: .04em; }
.wfs-lead { font-size: clamp(1.125rem, 1.02rem + .35vw, 1.3125rem); line-height: 1.55; color: var(--text); max-width: 38em; }
.wfs-muted { color: var(--muted); }

.wfs-btn, .wp-block-button__link, .wfs-nf .nf-element[type="submit"], .wfs-nf input[type="button"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 3rem; margin: 0;
	padding: .7rem 1.35rem .7rem 1.2rem; border: 0; border-left: 6px double var(--brass); border-radius: 0;
	background: var(--ink); color: #fff; font-family: var(--font); font-size: 1.0625rem; line-height: 1.2; letter-spacing: .01em;
	text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease);
}
.wfs-btn:hover, .wp-block-button__link:hover, .wfs-nf .nf-element[type="submit"]:hover { background: #000; color: #fff; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .25em; }
.wfs-btn--line, .wp-block-button.is-style-line .wp-block-button__link, .wp-block-button.wfs-line .wp-block-button__link { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); border-left-color: var(--bronze); }
.wfs-btn--line:hover, .wp-block-button.wfs-line .wp-block-button__link:hover { background: var(--ink); color: #fff; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.wp-block-buttons > .wp-block-button { margin: 0; }

/* ---------- header ---------- */
.wfs-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 4px double var(--rule); }
.wfs-bar__in { display: flex; align-items: center; gap: 1.5rem; max-width: calc(var(--wide) + 2 * var(--pad)); height: var(--head); margin: 0 auto; padding: 0 var(--pad); }
.wfs-brand { display: block; text-decoration: none; color: var(--ink); margin-right: auto; }
.wfs-mark { display: flex; flex-direction: column; line-height: 1; }
.wfs-mark__pre { color: var(--bronze); font-size: .9375rem; letter-spacing: .12em; font-variant-caps: all-small-caps; margin-bottom: .2rem; }
.wfs-mark__name { font-size: 1.625rem; letter-spacing: -.005em; white-space: nowrap; }
.wfs-nav { display: none; }
.wfs-bar__cta { display: flex; align-items: center; gap: 1rem; }
.wfs-bar__tel { display: none; align-items: center; gap: .45rem; color: var(--ink); text-decoration: none; font-size: 1.0625rem; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.wfs-bar__tel:hover { text-decoration: underline; text-decoration-color: var(--bronze); }
.wfs-bar__tel .wfs-ico { color: var(--bronze); }
.wfs-bar__consult { display: none; min-height: 2.75rem; padding-block: .55rem; font-size: 1rem; white-space: nowrap; }
.wfs-bar__menu { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .4rem .8rem; background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 0; font: inherit; font-size: 1rem; cursor: pointer; }
.wfs-bar__menu .wfs-ico--close, .wfs-bar__menu[aria-expanded="true"] .wfs-ico--menu { display: none; }
.wfs-bar__menu[aria-expanded="true"] .wfs-ico--close { display: block; }
@media (min-width: 768px) {
	.wfs-bar__tel, .wfs-bar__consult { display: inline-flex; }
}
@media (min-width: 1140px) {
	.wfs-nav { display: block; }
	.wfs-bar__menu { display: none; }
	.wfs-panel { display: none !important; }
}
@media (max-width: 380px) { .wfs-mark__name { font-size: 1.375rem; } .wfs-mark__pre { font-size: .8125rem; } }

.wfs-menu { list-style: none; margin: 0; padding: 0; }
.wfs-menu--bar { display: flex; align-items: center; gap: 1.6rem; }
.wfs-menu--bar > li { position: relative; }
.wfs-menu--bar .wfs-menu__link, .wfs-menu--bar .wfs-menu__toggle { display: inline-flex; align-items: center; gap: .25rem; min-height: 2.75rem; padding: 0; background: none; border: 0; color: var(--ink); font: inherit; font-size: 1.0625rem; text-decoration: none; cursor: pointer; }
.wfs-menu--bar .wfs-menu__toggle .wfs-ico { width: 1em; height: 1em; transition: transform .2s; }
.wfs-menu--bar .wfs-menu__toggle[aria-expanded="true"] .wfs-ico { transform: rotate(180deg); }
.wfs-menu--bar .wfs-menu__link:hover, .wfs-menu--bar .wfs-menu__toggle:hover, .wfs-menu--bar [aria-current="page"], .wfs-menu--bar .is-in > .wfs-menu__toggle { text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: .3em; }
.wfs-sub { list-style: none; margin: 0; padding: .6rem 0; position: absolute; left: -1rem; top: 100%; min-width: 15rem; background: var(--paper); border: 1px solid var(--hair); border-top: 2px solid var(--ink); box-shadow: 0 14px 30px rgba(22, 22, 22, .09); display: none; z-index: 60; }
.wfs-sub--two { min-width: 33rem; columns: 2; column-gap: 0; }
.wfs-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.wfs-sub li { break-inside: avoid; }
.wfs-sub a { display: block; padding: .45rem 1rem; color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.35; }
.wfs-sub a:hover, .wfs-sub a[aria-current="page"] { background: var(--vellum); text-decoration: underline; text-decoration-color: var(--bronze); }
.has-sub.is-open > .wfs-sub { display: block; }
@media (hover: hover) { .wfs-menu--bar .has-sub:hover > .wfs-sub { display: block; } }

.wfs-panel { border-top: 1px solid var(--hair); background: var(--paper); max-height: calc(100vh - var(--head) - 4px); overflow-y: auto; padding: .5rem var(--pad) 1.5rem; }
.wfs-menu--panel > li { border-bottom: 1px solid var(--hair); }
.wfs-menu--panel .wfs-menu__link, .wfs-menu--panel .wfs-menu__toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 3.25rem; padding: 0; background: none; border: 0; color: var(--ink); font: inherit; font-size: 1.1875rem; text-align: left; text-decoration: none; cursor: pointer; }
.wfs-menu--panel .wfs-menu__toggle[aria-expanded="true"] .wfs-ico { transform: rotate(180deg); }
.wfs-menu--panel .wfs-sub { position: static; display: none; border: 0; box-shadow: none; min-width: 0; columns: 1; padding: 0 0 .75rem 1rem; }
.wfs-menu--panel .wfs-sub::before { display: none; }
.wfs-menu--panel .has-sub.is-open > .wfs-sub { display: block; }
.wfs-menu--panel .wfs-sub a { padding: .55rem 0; font-size: 1.0625rem; }
.wfs-panel__contact { display: flex; flex-direction: column; gap: .75rem; margin: 1.25rem 0 0; }
.wfs-panel__contact a { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-size: 1.0625rem; }
.wfs-panel__contact .wfs-ico { color: var(--bronze); }

/* ---------- sections ---------- */
.wfs-sec { padding-block: clamp(3rem, 2rem + 4vw, 5.75rem); padding-inline: max(var(--pad), calc((100% - var(--wide)) / 2)); }
.wfs-sec--band { background: var(--vellum); }
.wfs-sec--tight { padding-block: clamp(2.25rem, 1.6rem + 2.5vw, 3.75rem); }
.wfs-sec--rule { border-top: 1px solid var(--hair); }
.wfs-intro { max-width: 46rem; margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.wfs-intro h2 { margin-bottom: .4em; }
.wfs-prose { max-width: 44rem; }
.wfs-prose h2 { margin-top: 2.25rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.wfs-prose h2:first-child { margin-top: 0; }
.wfs-prose h3 { margin-top: 1.75rem; }
.wfs-split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); }
@media (min-width: 900px) { .wfs-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .wfs-split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* ---------- the pleading margin: line numbers + a double rule (like a California court filing) ---------- */
.wfs-pl { position: relative; padding-left: calc(var(--gut) + 1.25rem); }
.wfs-pl::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--gut); width: 4px; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.wfs-cap { margin: 0 0 clamp(1.75rem, 1rem + 2vw, 2.5rem); }
.wfs-cap__lines { list-style: none; margin: 0; padding: 0; counter-reset: line; font-size: .9375rem; line-height: 1.75rem; }
.wfs-cap__lines li { position: relative; counter-increment: line; }
.wfs-cap__lines li::before { content: counter(line); position: absolute; left: calc(-1 * (var(--gut) + 1.25rem)); width: calc(var(--gut) - .7rem); text-align: right; color: var(--num); font-size: .8125rem; font-variant-numeric: tabular-nums lining-nums; }
.wfs-cap__lines .wfs-cap__for { counter-increment: line 2; margin-top: 1.75rem; }
.wfs-cap__lines .wfs-cap__for::before { top: 0; }
.wfs-cap__sc { font-variant-caps: all-small-caps; letter-spacing: .07em; color: var(--ink); font-size: 1.0625rem; }
.wfs-cap a { text-decoration-color: var(--rule); }

/* ---------- home hero: the pleading page + the banner ---------- */
.wfs-hero { padding-block: clamp(2rem, 1rem + 3.5vw, 4.25rem) clamp(3rem, 2rem + 3.5vw, 5rem); padding-inline: max(var(--pad), calc((100% - var(--wide)) / 2)); display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
.wfs-hero__text { display: flex; flex-direction: column; }
.wfs-hero h1 { max-width: 15em; }
.wfs-hero .wfs-lead { margin-top: .25rem; }
@media (min-width: 1000px) { .wfs-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
@media (max-width: 767px) { .wfs-hero__text .wfs-cap { order: 5; margin: 2rem 0 0; } }

.wfs-banner { margin: 0; }
.wfs-banner__stage { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: #e7e6e2; }
.wfs-banner__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.wfs-banner__slide.is-on { opacity: 1; }
.wfs-banner__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wfs-banner__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .7rem; margin-top: .7rem; border-top: 1px solid var(--ink); }
.wfs-banner__cap { margin: 0; font-style: italic; color: var(--muted); font-size: .9375rem; line-height: 1.35; }
.wfs-banner__ctl { display: flex; align-items: center; gap: .15rem; flex: none; }
.wfs-banner__dot { display: inline-grid; place-items: center; width: 2rem; height: 2.5rem; padding: 0; background: none; border: 0; cursor: pointer; }
.wfs-banner__dot span { width: 10px; height: 10px; border: 1px solid var(--ink); background: transparent; }
.wfs-banner__dot[aria-current="true"] span { background: var(--ink); }
.wfs-banner__pause { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-left: .4rem; padding: 0; background: none; border: 1px solid var(--ink); color: var(--ink); cursor: pointer; }
.wfs-banner__pause .wfs-ico { width: 1.1rem; height: 1.1rem; }
.wfs-banner__pause .wfs-ico--play, .wfs-banner__pause.is-paused .wfs-ico--pause { display: none; }
.wfs-banner__pause.is-paused .wfs-ico--play { display: block; }

/* ---------- inner page heads ---------- */
.wfs-head { padding-block: clamp(1.75rem, 1rem + 3vw, 3.5rem) clamp(2rem, 1rem + 3vw, 3.25rem); }
.wfs-head h1 { max-width: 18em; }
.wfs-head--photo { display: grid; gap: 2rem; }
@media (min-width: 900px) { .wfs-head--photo { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 4rem; } }
.wfs-crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .9375rem; color: var(--muted); }
.wfs-crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--rule); }
.wfs-crumbs a { color: var(--muted); }
.wfs-crumbs [aria-current] { color: var(--text); }

/* ---------- photos ---------- */
.wfs-fig { margin: 0; }
.wfs-fig img, .wp-block-image.wfs-fig img { display: block; width: 100%; height: auto; }
.wfs-fig figcaption, .wp-block-image.wfs-fig figcaption { margin: .6rem 0 0; padding-top: .55rem; border-top: 1px solid var(--ink); color: var(--muted); font-size: .9375rem; font-style: italic; line-height: 1.4; }
.wfs-fig--wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.wfs-photos { display: grid; gap: 1.5rem; }

/* ---------- practice areas: cards and the table of contents ---------- */
.wfs-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem 2rem; }
@media (min-width: 760px) { .wfs-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wfs-card { position: relative; }
.wfs-card__img { margin-bottom: 1.1rem; aspect-ratio: 3 / 2; overflow: hidden; background: #e7e6e2; }
.wfs-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.wfs-card:hover .wfs-card__img img { transform: scale(1.02); }
.wfs-card__h { margin: 0 0 .45rem; font-size: 1.375rem; font-weight: 400; line-height: 1.2; }
.wfs-card__h a { text-decoration: none; }
.wfs-card__h a::after { content: ""; position: absolute; inset: 0; }
.wfs-card:hover .wfs-card__h a { text-decoration: underline; text-decoration-color: var(--bronze); }
.wfs-card p { color: var(--muted); margin: 0; }

.wfs-toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.wfs-toc__row { display: flex; align-items: baseline; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--hair); }
.wfs-toc__n { flex: none; width: 2.75rem; color: var(--bronze); font-variant-caps: all-small-caps; letter-spacing: .06em; font-size: 1.0625rem; }
.wfs-toc__t { font-size: 1.1875rem; line-height: 1.3; text-decoration: none; color: var(--ink); }
.wfs-toc__t:hover { text-decoration: underline; text-decoration-color: var(--bronze); }
.wfs-toc__dots { flex: 1 1 2rem; min-width: 2rem; border-bottom: 1px dotted #9a978f; transform: translateY(-.3em); }
.wfs-toc__s { flex: 0 1 auto; color: var(--muted); font-style: italic; text-align: right; font-size: .9375rem; max-width: 22rem; }
@media (max-width: 699px) {
	.wfs-toc__row { flex-wrap: wrap; }
	.wfs-toc__dots { display: none; }
	.wfs-toc__t { flex: 1 1 0; }
	.wfs-toc__s { flex-basis: 100%; padding-left: 3.5rem; text-align: left; margin-top: .1rem; }
}

/* ---------- terms, credentials, ledger ---------- */
.wfs-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem 2.5rem; }
@media (min-width: 760px) { .wfs-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wfs-terms li { padding-top: 1rem; border-top: 1px solid var(--ink); }
.wfs-terms__h { margin: 0 0 .4rem; color: var(--ink); font-size: 1.25rem; line-height: 1.25; }
.wfs-terms__h span { color: var(--bronze); font-variant-caps: all-small-caps; margin-right: .2em; }
.wfs-terms li p:last-child { color: var(--muted); }

.wfs-creds { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.wfs-creds > div { display: grid; gap: .2rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 700px) { .wfs-creds > div { grid-template-columns: 14rem minmax(0, 1fr); } }
.wfs-creds dt { color: var(--bronze); font-variant-caps: all-small-caps; letter-spacing: .07em; font-size: 1.0625rem; }
.wfs-creds dd { margin: 0; }

.wfs-figure-big { margin: 0 0 1.5rem; }
.wfs-figure-big strong { display: block; font-size: clamp(2.75rem, 1.8rem + 3.5vw, 4.5rem); font-weight: 400; line-height: 1; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.wfs-figure-big span { display: block; margin-top: .6rem; color: var(--muted); }

.wfs-ledger table { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.wfs-ledger th { text-align: left; font-weight: 400; color: var(--bronze); font-variant-caps: all-small-caps; letter-spacing: .07em; font-size: 1.0625rem; padding: 0 0 .5rem; border-bottom: 1px solid var(--ink); }
.wfs-ledger td { padding: .6rem 0; border-bottom: 1px solid var(--hair); vertical-align: baseline; }
.wfs-ledger__amt { width: 42%; padding-right: 1.5rem !important; color: var(--ink); font-size: 1.1875rem; white-space: nowrap; }
.wfs-ledger__note { margin: 1rem 0 0; color: var(--muted); font-size: .9375rem; font-style: italic; line-height: 1.5; max-width: 46rem; }

/* ---------- practice page body ---------- */
.wfs-pa { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
@media (min-width: 960px) { .wfs-pa { grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); align-items: start; } }
.wfs-pa__aside { display: grid; gap: 1.75rem; }
@media (min-width: 960px) { .wfs-pa__aside { position: sticky; top: calc(var(--head) + 1.5rem); } }
.wfs-pa h2[id], .wfs-prose h2[id] { scroll-margin-top: calc(var(--head) + 20px); }
.wfs-box { padding: 1.4rem 1.4rem 1.5rem; background: var(--vellum); border-left: 6px double var(--rule); }
.wfs-box h2 { font-size: 1.375rem; margin-bottom: .45rem; }
.wfs-box p { color: var(--text); }
.wfs-box .wp-block-buttons { margin-top: 1rem; }
.wfs-others { margin-top: 1rem; }
.wfs-others__h { font-size: 1.125rem; font-weight: 700; margin-bottom: .6rem; }
.wfs-others ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem 2rem; }
@media (min-width: 600px) { .wfs-others ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .wfs-others ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wfs-others a { display: inline-block; padding: .3rem 0; }

/* ---------- map ---------- */
.wfs-mapfig { margin: 0; }
.wfs-map { display: block; width: 100%; max-width: 560px; height: auto; font-family: var(--font); }
.wfs-map__nb { fill: none; stroke: #cfcdc6; stroke-width: 1; }
.wfs-map__la { fill: var(--vellum); stroke: var(--ink); stroke-width: 1.25; stroke-linejoin: round; }
.wfs-sec--band .wfs-map__la { fill: var(--paper); }
.wfs-map__city { fill: rgba(122, 90, 32, .22); stroke: var(--bronze); stroke-width: 1; }
.wfs-map__dot { fill: var(--ink); }
.wfs-map__office { fill: var(--bronze); stroke: var(--paper); stroke-width: 2; }
.wfs-map__nbl { fill: var(--num); font-size: 11px; letter-spacing: .1em; }
.wfs-map__lal { fill: var(--ink); font-size: 14px; letter-spacing: .16em; }
.wfs-map__cl { fill: var(--text); font-size: 14px; }
.wfs-map__ol { fill: var(--bronze); font-size: 16px; font-weight: 700; }
.wfs-map__scale path { stroke: var(--ink); stroke-width: 1.25; fill: none; }
.wfs-map__scale text { fill: var(--text); font-size: 13px; }
.wfs-mapfig figcaption { margin-top: .6rem; color: var(--muted); font-size: .9375rem; font-style: italic; }

/* ---------- call to action ---------- */
.wfs-cta { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 900px) { .wfs-cta { grid-template-columns: minmax(0, 1fr) auto; } }
.wfs-cta h2 { margin-bottom: .35em; }
.wfs-cta p { color: var(--text); max-width: 36em; }
.wfs-cta__btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- questions and answers ---------- */
.wfs-faq { border-top: 1px solid var(--ink); max-width: 50rem; }
.wfs-faq__item { border-bottom: 1px solid var(--hair); }
.wfs-faq__item summary { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; }
.wfs-faq__item summary::-webkit-details-marker { display: none; }
.wfs-faq__item summary::after { content: "+"; flex: none; width: 1.5rem; color: var(--bronze); font-size: 1.5rem; line-height: 1; text-align: center; }
.wfs-faq__item[open] summary::after { content: "\2212"; }
.wfs-faq__q { margin: 0; font-size: clamp(1.1875rem, 1.05rem + .4vw, 1.375rem); line-height: 1.3; }
.wfs-faq__item summary:hover .wfs-faq__q { text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: .2em; }
.wfs-faq__a { padding: 0 2.5rem 1.4rem 0; }

/* ---------- contact + form ---------- */
.wfs-contact { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
@media (min-width: 960px) { .wfs-contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.wfs-ccard .wfs-cap { margin-bottom: 1.5rem; }
.wfs-ccard__dir { display: flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem; }
.wfs-ccard__dir .wfs-ico { color: var(--bronze); }
.wfs-ccard__note { padding-top: .9rem; border-top: 1px solid var(--hair); color: var(--text); font-size: 1rem; }

.wfs-nf .nf-form-fields-required { margin: 0 0 1.25rem; color: var(--muted); font-size: .9375rem; }
.wfs-nf .nf-field-container { margin: 0 0 1.25rem; }
.wfs-nf .nf-field-label label, .wfs-nf .nf-field-label .nf-label-span { display: block; margin: 0 0 .35rem; color: var(--ink); font-size: 1.0625rem; font-weight: 400; line-height: 1.35; }
.wfs-nf .ninja-forms-req-symbol { color: var(--error); margin-left: .15em; }
.wfs-nf .nf-field-description { margin: .4rem 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.wfs-nf input[type="text"], .wfs-nf input[type="email"], .wfs-nf input[type="tel"], .wfs-nf select, .wfs-nf textarea {
	width: 100%; min-height: 3rem; padding: .65rem .8rem; background: #fff; color: var(--ink); border: 1px solid #7d7a73; border-radius: 0; font: inherit; font-size: 1.0625rem; line-height: 1.4;
}
.wfs-nf textarea { min-height: 9rem; resize: vertical; }
.wfs-nf select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.wfs-nf input:focus-visible, .wfs-nf select:focus-visible, .wfs-nf textarea:focus-visible { outline: 2px solid var(--bronze); outline-offset: 1px; border-color: var(--ink); }
.wfs-nf .nf-error .ninja-forms-field { border-color: var(--error); border-width: 2px; }
.wfs-nf .nf-error-msg, .wfs-nf .nf-error-required-error, .wfs-nf .nf-form-errors .nf-error-msg { color: var(--error); font-size: .9375rem; margin-top: .35rem; }
.wfs-nf .nf-form-errors { margin: 0 0 1rem; }
.wfs-nf .nf-after-form-content, .wfs-nf .nf-before-form-content { margin: 0; }
.wfs-nf .listradio-wrap ul, .wfs-nf .listcheckbox-wrap ul { list-style: none; margin: 0; padding: 0; }
.wfs-nf .wfs-notice { padding: 1rem 1.1rem; background: var(--vellum); border-left: 6px double var(--rule); font-size: .9375rem; line-height: 1.5; }
.wfs-nf .wfs-notice p { margin: 0; }
.wfs-nf .nf-field-element .nf-element[type="submit"] { width: auto; }
@media (min-width: 640px) {
	.wfs-nf nf-fields-wrap { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
	.wfs-nf nf-fields-wrap > nf-field { flex: 1 1 100%; }
	.wfs-nf nf-fields-wrap > nf-field:has(.wfs-half) { flex: 1 1 calc(50% - .65rem); }
}
.wfs-nf .nf-response-msg { margin: 0; }
.wfs-thanks { padding: 1.75rem; background: var(--vellum); border-left: 6px double var(--rule); }
.wfs-thanks:focus { outline: none; }
.wfs-thanks__check { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border: 1px solid var(--ink); color: var(--bronze); }
.wfs-thanks__check .wfs-ico { width: 1.75rem; height: 1.75rem; stroke-width: 2; }
.wfs-thanks h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.wfs-thanks ol { padding-left: 1.4em; }
.wfs-thanks li { margin-bottom: .35rem; }

.wfs-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); max-width: 36rem; }
.wfs-links li { border-bottom: 1px solid var(--hair); }
.wfs-links a { display: block; padding: .8rem 0; font-size: 1.1875rem; text-decoration: none; }
.wfs-links a:hover { text-decoration: underline; text-decoration-color: var(--bronze); }

/* ---------- footer: the one dark band ---------- */
.wfs-foot { background: var(--ink); color: #e6e3dc; padding: clamp(3rem, 2rem + 3vw, 4.5rem) max(var(--pad), calc((100% - var(--wide)) / 2)) 0; font-size: 1rem; }
.wfs-foot a { color: #fff; text-decoration-color: var(--brass); }
.wfs-foot a:hover { color: #fff; }
.wfs-foot :focus-visible { outline-color: var(--brass); }
.wfs-foot__in { display: grid; gap: 2.5rem 3rem; padding-bottom: 2.5rem; }
@media (min-width: 760px) { .wfs-foot__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, .9fr); } }
.wfs-foot .wfs-mark { color: #fff; margin: 0 0 1rem; }
.wfs-foot .wfs-mark__pre { color: var(--brass); }
.wfs-foot__addr { margin: 0 0 1rem; }
.wfs-foot__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.wfs-foot__facts li { display: flex; align-items: center; gap: .55rem; }
.wfs-foot__facts .wfs-ico { color: var(--brass); }
.wfs-foot__h { margin: 0 0 .8rem; color: var(--brass); font-size: 1.0625rem; letter-spacing: .09em; font-variant-caps: all-small-caps; }
.wfs-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.wfs-foot__col--wide ul { grid-template-columns: 1fr; }
@media (min-width: 1000px) { .wfs-foot__col--wide ul { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.wfs-foot__col a { display: inline-block; padding: .3rem 0; line-height: 1.35; }
.wfs-foot__notice { padding: 1.25rem 0; border-top: 4px double rgba(201, 165, 94, .55); }
.wfs-foot__notice p { margin: 0; max-width: 62rem; color: #cfccc4; font-size: .9375rem; line-height: 1.55; }
.wfs-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.1rem 0 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); color: #cfccc4; font-size: .9375rem; }
.wfs-foot__base p { margin: 0; }
.wfs-credit a { color: #fff; text-decoration: underline; text-decoration-color: #fff; }

/* ---------- phones: the bottom bar (Call + Free consultation, nothing else floats) ---------- */
.wfs-callbar { display: none; }
@media (max-width: 767px) {
	body { padding-bottom: var(--bar); }
	.wfs-callbar { display: grid; grid-template-columns: 1fr 1.35fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: var(--bar); border-top: 4px double var(--rule); background: var(--paper); }
	.wfs-callbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; font-size: 1.0625rem; text-decoration: none; }
	.wfs-foot .wfs-callbar__call { color: var(--ink); background: var(--paper); }
	.wfs-foot .wfs-callbar__call .wfs-ico { color: var(--bronze); }
	.wfs-foot .wfs-callbar__consult { color: #fff; background: var(--ink); }
	.wfs-foot .wfs-callbar a:focus-visible { outline-color: var(--bronze); }
	.wfs-callbar a:focus-visible { outline-offset: -4px; }
	.wfs-foot { padding-bottom: 0; }
}

/* ---------- the one quiet fade-in (site.js adds .wfs-rise only below the fold, never with reduced motion) ---------- */
.wfs-rise { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.wfs-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.wfs-banner__slide, .wfs-card__img img, .wfs-rise { transition: none !important; }
	.wfs-rise { opacity: 1; transform: none; }
	.wfs-card:hover .wfs-card__img img { transform: none; }
}

.wfs-confetti { position: fixed; inset: 0; z-index: 200; pointer-events: none; }

@media print {
	.wfs-header, .wfs-callbar, .wfs-banner__bar, .wfs-foot__in, .wfs-foot__base { display: none !important; }
	.wfs-foot { background: none; color: #000; }
}

/* ---------- small page pieces ---------- */
.wfs-toc-wrap { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.wfs-toc-h { font-size: 1.25rem; margin-bottom: .9rem; }
.wfs-after-toc { margin-top: 1.25rem; }
.wfs-cols-list { columns: 2; column-gap: 2rem; padding-left: 1.1em; }
.wfs-cols-list li { break-inside: avoid; margin-bottom: .3rem; }
.wfs-about-cap .wfs-cap { margin: 0; }
