* { box-sizing: border-box; }
:root {
    --wf-primary: #172f4d;
    --wf-secondary: #176452;
    --wf-text: #1e2a35;
    --wf-paper: #f7f7f4;
    --wf-line: #d4dbdb;
}
body { margin: 0; background: var(--wf-paper); color: var(--wf-text); font: 1rem/1.6 system-ui, sans-serif; }
body.font-serif { font-family: Georgia, serif; }
body.font-rounded { font-family: ui-rounded, 'Trebuchet MS', sans-serif; }
a { color: var(--wf-text); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #416ec1; outline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); margin: 0 0 .55em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0 0 .7em; }
p, li, dd { overflow-wrap: anywhere; }
img, video { max-width: 100%; height: auto; display: block; }
.wf-wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.wf-header { padding-block: 1.1rem; background: #fff; border-bottom: 1px solid var(--wf-line); }
.wf-header-row, .wf-header nav { display: flex; align-items: center; gap: .65rem 1.4rem; flex-wrap: wrap; }
.wf-header nav { margin-left: auto; }
.wf-header nav a { text-decoration: none; }
.wf-header nav a[aria-current], .wf-header nav a:hover { text-decoration: underline; }
.wf-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--wf-text); font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.wf-brand img { width: auto; max-width: 9rem; height: auto; max-height: 3.25rem; object-fit: contain; }
.wf-header p { margin: 0; }
.wf-section { padding-block: clamp(2rem, 6vw, 4.5rem); }
.wf-section + .wf-section { border-top: 1px solid var(--wf-line); }
.wf-section p, .wf-section address { max-width: 65ch; }
.wf-body { max-width: 65rem; overflow-wrap: anywhere; }
.wf-body img, .wf-gallery img { border-radius: .4rem; }
.wf-body table { display: block; overflow-x: auto; }
.wf-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(15rem,100%),1fr)); gap: 1.25rem; margin-block: 1.25rem; }
.wf-card { background: #fff; border: 1px solid var(--wf-line); border-radius: .5rem; overflow: hidden; }
.wf-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.wf-card div { padding: 1rem 1.25rem; }
.wf-card h3 { margin: 0; }
.wf-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-block: 1.25rem; }
.wf-pair figure { margin: 0; }
.wf-slide { min-height: clamp(23rem,58vw,41rem); position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; background: var(--wf-primary); color: white; }
.wf-slide[hidden] { display: none; }
.wf-scene, .wf-scene::after { position: absolute; inset: 0; z-index: -1; }
.wf-scene::after { content: ''; background: rgb(0 0 0 / var(--wf-overlay,.45)); }
.wf-scene img, .wf-scene video { width: 100%; height: 100%; object-fit: cover; }
.fill-contain .wf-scene :is(img,video) { object-fit: contain; }
.focal-top .wf-scene :is(img,video) { object-position: center top; }
.focal-bottom .wf-scene :is(img,video) { object-position: center bottom; }
.focal-left .wf-scene :is(img,video) { object-position: left center; }
.focal-right .wf-scene :is(img,video) { object-position: right center; }
.wf-slide-text { padding-block: 3rem; text-shadow: 0 1px 5px #000a; }
.wf-slide-text h2 { font-size: clamp(2.6rem,7vw,6rem); margin: 0; }
.wf-slide-text p { max-width: 45ch; font-size: 1.14rem; }
.align-center { text-align: center; }
.align-center p { margin-inline: auto; }
.align-right { text-align: right; }
.align-right p { margin-left: auto; }
.place-top { align-items: flex-start; }
.place-bottom { align-items: flex-end; }
.wf-button, .wf-intake button { display: inline-block; padding: .65rem 1rem; border-radius: .4rem; font: inherit; font-weight: 700; background: white; color: #16222d; border: 1px solid #16222d; text-shadow: none; text-decoration: none; cursor: pointer; }
.wf-intake button { justify-self: start; }
.wf-slides-control { display: flex; align-items: center; justify-content: center; gap: .65rem; flex-wrap: wrap; padding: .65rem; }
.wf-slides-control button { padding: .45em .7em; background: white; border: 1px solid #667784; color: #16222d; border-radius: .25rem; font: inherit; cursor: pointer; }
.wf-intake { display: grid; gap: 1rem; max-width: 36rem; margin-top: 2rem; }
.wf-intake label { display: grid; gap: .35rem; font-weight: 650; }
.wf-intake input, .wf-intake select, .wf-intake textarea { width: 100%; padding: .65rem; border: 1px solid #667784; border-radius: .35rem; background: white; color: #16222d; font: inherit; }
.wf-intake textarea { resize: vertical; }
.wf-trap, .wf-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wf-footer { padding-block: 2rem; background: #17222e; color: white; border-top: .35rem solid var(--wf-secondary); }
.wf-social { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; padding-left: 0; list-style: none; }
.wf-social a { color: inherit; }
.wf-skip { position: absolute; transform: translateY(-200%); z-index: 2; background: white; padding: .6rem; }
.wf-skip:focus { transform: none; }
.wf-preview { padding: .65rem 1rem; background: #e7eef3; color: #17222e; text-align: center; }
.wf-mobile-preview { max-width: 390px; margin: auto; box-shadow: 0 0 0 1px #9ba6ae; }
.wf-mobile-preview .wf-header nav { margin-left: 0; }
.wf-mobile-preview .wf-slide-text h2 { font-size: 2.6rem; }
@media (max-width: 650px) {
    .wf-wrap { width: min(100% - 1.75rem,72rem); }
    .wf-header nav { flex-basis: 100%; margin-left: 0; }
}
.wf-editor-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; align-items:center; margin-block:1.5rem; }
.wf-editor-cta { background:white; border:1px solid var(--wf-line); padding:1.5rem; margin-block:1.5rem; }
.wf-editor-space { height:clamp(1.5rem,5vw,4rem); }
.wf-public-menu ul { list-style:none; padding:0; margin:0; display:flex; gap:.5rem 1.4rem; flex-wrap:wrap; }
.wf-public-menu li { display:flex; gap:.35rem; align-items:center; position:relative; }
.wf-public-menu summary { cursor:pointer; }
.wf-public-menu details ul { position:absolute; background:white; color:var(--wf-text); box-shadow:0 3px 12px #0002; z-index:3; padding:.65rem; display:grid; min-width:10rem; left:0; }
.wf-footer .wf-public-menu a { color:inherit; }
.wf-footer .wf-public-menu details { position:relative; }
.wf-footer .wf-public-menu details ul { bottom:100%; left:auto; right:0; }
@media(max-width:650px) { .wf-editor-columns { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:no-preference) { .wf-slide[data-fade]:not([hidden]) { animation:wf-fade .35s ease-out; } }
@keyframes wf-fade { from { opacity:.3; } to { opacity:1; } }
.wf-body figure,.wf-gallery figure { margin:0; }
.wf-body figcaption,.wf-gallery figcaption { padding:.35rem 0; font-size:.9rem; }
.wf-public-menu li { min-width:0; overflow-wrap:anywhere; }

body.font-humanist { font-family: 'Trebuchet MS', 'Segoe UI', sans-serif; }
body.font-condensed { font-family: 'Arial Narrow', 'Liberation Sans Narrow', 'Roboto Condensed', sans-serif; }
body.font-grotesk { font-family: Arial, Helvetica, sans-serif; }
body.font-editorial { font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', 'URW Bookman', Georgia, serif; }
body.font-traditional { font-family: 'Times New Roman', 'Liberation Serif', serif; }
