/*
Theme Name: Bear River Supply
Theme URI: https://bearriversupply.com
Author: Bear River Supply, Inc.
Description: Custom block theme for Bear River Supply, Inc. of Rio Oso, California: crop nutrients, crop protection, and agronomic services since 1958. Bold Field design with full-bleed crop photography, condensed ag-signage type, and a built-in contact form, events, and Field Reports.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.2.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bear-river-supply
*/

/* Layout: "Bold Field" — full-bleed crop photography, condensed ag-signage type, charcoal + navy bands, bright leaf-green calls to action. */
:root {
  --navy: #0f2440;
  --navy-2: #173458;
  --char: #151c19;
  --char-2: #1f2824;
  --leaf: #6cc04a;
  --leaf-deep: #2f7d3a;
  --ridge: #6b6f9e;
  --paper: #f4f5f0;
  --white: #ffffff;
  --ink: #16201b;
  --muted: #56615a;
  --line: #dde1d8;
  --on-dark: #eef2ec;
  --on-dark-muted: #a9b5ad;
  --brand-face: "Saira Condensed", "Arial Narrow", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --head-h: 86px;
  --adminbar: var(--wp-admin--admin-bar--height, 0px);
}
@media (max-width: 600px) { :root { --adminbar: 0px; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: .005em; }
p { margin: 0; }
figure { margin: 0; }
.wp-site-blocks { padding: 0; }
.wp-block-image { margin: 0; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 999; background: var(--white); color: var(--navy); padding: 10px 14px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 600 13px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--leaf-deep); }
.eyebrow.on-dark { color: var(--leaf); }

/* ---------- Buttons (theme .btn + core Button block styles) ---------- */
.btn, .wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; gap: .55em; font: 700 17px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 15px 22px; border-radius: 3px; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; background: var(--navy); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-leaf, .wp-block-button.is-style-leaf .wp-block-button__link { background: var(--leaf); color: var(--char); }
.btn-leaf:hover, .wp-block-button.is-style-leaf .wp-block-button__link:hover { background: #7fd35c; color: var(--char); }
.btn-ghost, .wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover, .wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--white); color: var(--navy); }
.btn-navy, .wp-block-button.is-style-navy .wp-block-button__link { background: var(--navy); color: var(--white); }
.btn-navy:hover, .wp-block-button.is-style-navy .wp-block-button__link:hover { background: var(--navy-2); color: var(--white); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.wp-block-button { margin: 0; }
/* Icon classes for Button blocks: add e.g. "ico-phone" under Advanced → Additional CSS class */
[class*="ico-"] .wp-block-button__link::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ico-phone { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A17 17 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.ico-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.ico-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='M3 6l9 7 9-7'/%3E%3C/svg%3E"); }
.ico-doc { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.ico-login { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E"); }
.ico-arrow { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.ico-arrow .wp-block-button__link { flex-direction: row-reverse; }

/* ---------- Utility bar ---------- */
.util { background: var(--char); color: var(--on-dark-muted); font-size: 14px; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.util a { text-decoration: none; color: var(--on-dark); }
.util a:hover { color: var(--leaf); }
.util-left, .util-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.util span b { color: var(--on-dark); font-weight: 600; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: var(--adminbar); z-index: 50; background: var(--navy); transition: background .25s, box-shadow .25s; }
.home .site-head:not(.scrolled) { background: linear-gradient(180deg, rgba(8,16,28,.72), rgba(8,16,28,0)); }
.home .site-head { margin-bottom: calc(var(--head-h) * -1); }
.site-head.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.site-head .wrap { max-width: 1400px; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; text-decoration: none; color: var(--white); }
.brand-plate { flex: none; background: var(--white); padding: 5px 8px; border-radius: 3px; box-shadow: 0 2px 10px rgba(0,0,0,.2); display: block; }
.brand-plate img { height: 54px; width: auto; }
.brand-name { font: 800 24px/1 var(--brand-face); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .32em; color: var(--leaf); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; font: 600 17px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--white); text-decoration: none; padding: 12px 13px; border-bottom: 2px solid transparent; }
.nav li a:hover, .nav .current-menu-item > a, .nav .current_page_parent > a { border-bottom-color: var(--leaf); }
.nav .btn { margin-left: 10px; padding: 12px 16px; font-size: 15px; border-bottom: 2px solid transparent; }
.menu-btn { display: none; background: none; border: 2px solid rgba(255,255,255,.5); color: var(--white); border-radius: 3px; padding: 9px 12px; font: 700 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; align-items: center; gap: 8px; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1340px) and (min-width: 1021px) { .brand-name { display: none; } }
@media (max-width: 1180px) and (min-width: 1021px) { .nav a { padding-inline: 9px; font-size: 16px; } .nav .btn { margin-left: 6px; padding-inline: 12px; } }
@media (max-width: 420px) { .brand-name { font-size: 17px; } .brand-name small { font-size: 9px; letter-spacing: .2em; } }
@media (max-width: 360px) { .brand-name { font-size: 15px; letter-spacing: .04em; } .brand-plate img { height: 38px !important; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; top: var(--adminbar); z-index: 100000; background: var(--navy); color: var(--white); padding: 18px var(--gutter) 32px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer-top .menu-btn { display: inline-flex; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.drawer nav a { font: 700 34px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; color: var(--white); }
.drawer nav a::after { content: "→"; color: var(--leaf); font-size: 26px; }
.drawer .quick { display: grid; gap: 10px; }
.drawer .quick .btn { justify-content: center; }
.drawer small { color: var(--on-dark-muted); font-size: 15px; line-height: 1.5; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--char); overflow: hidden; }
.hero .hero-img { position: absolute; inset: 0; z-index: 0; margin: 0; }
.hero .hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; mix-blend-mode: soft-light; pointer-events: none; background: radial-gradient(ellipse 55% 38% at 64% 50%, rgba(255,140,40,.95), rgba(255,120,60,0) 70%), linear-gradient(180deg, rgba(60,50,150,.9) 0%, rgba(150,90,170,.6) 30%, rgba(255,150,70,.7) 50%, rgba(40,90,40,.2) 70%); }
.hero.warm::before { opacity: 1; }
.hero.warm .hero-img img { filter: saturate(1.2) contrast(1.06); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10,18,14,.86) 0%, rgba(10,18,14,.55) 45%, rgba(10,18,14,.12) 100%), linear-gradient(0deg, rgba(10,18,14,.6), rgba(10,18,14,0) 40%); }
.hero > .wrap { position: relative; z-index: 2; padding-block: calc(var(--head-h) + 104px) 96px; }
.hero .hero-name { font-family: var(--brand-face); font-size: clamp(48px, 8.4vw, 104px); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; line-height: .9; color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,.45); margin-bottom: 16px; }
.hero .hero-title { font-family: var(--display); font-size: clamp(28px, 4.2vw, 54px); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: .01em; max-width: 16ch; text-wrap: balance; }
.hero .hero-title em { font-style: normal; color: var(--leaf); display: block; }
.hero .hero-kw { margin-top: 16px; font: 600 clamp(17px, 1.9vw, 23px)/1.25 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #e4ebe4; text-shadow: 0 2px 12px rgba(0,0,0,.5); max-width: 34em; }
.hero .lede { margin-top: 26px; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: #e4ebe4; }
.hero .ctas { margin-top: 34px; }
.hero-tag { margin-bottom: 22px; display: inline-flex; gap: 12px; align-items: center; }
.hero-tag::before { content: ""; width: 34px; height: 2px; background: var(--leaf); }
.hero.sunset .hero-img, .hero.sunset .hero-img img { object-position: 42% 62%; }
.hero.sunset::after { background: linear-gradient(90deg, rgba(8,14,30,.78) 0%, rgba(8,14,30,.42) 42%, rgba(8,14,30,.08) 100%), linear-gradient(0deg, rgba(8,14,30,.55), rgba(8,14,30,0) 38%); }
.hero.sunset .hero-name, .hero.sunset .hero-title, .hero.sunset .lede { text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.photo-credit { position: absolute; right: 12px; bottom: 10px; z-index: 2; font-size: 11px; color: rgba(255,255,255,.55); }

/* ---------- Stats band ---------- */
.stats { background: var(--char); color: var(--on-dark); }
.stats > .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-left: 1px solid rgba(255,255,255,.1); display: grid; gap: 6px; align-content: start; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font: 800 44px/1 var(--display); color: var(--leaf); font-variant-numeric: tabular-nums; }
.stat .label { font-size: 15px; color: var(--on-dark-muted); line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; text-transform: uppercase; margin-top: 12px; max-width: 16ch; }
.sec-head > p { max-width: 30em; color: var(--muted); }
.link-arrow, .link-arrow-p a { font: 700 16px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--leaf-deep); display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid currentColor; padding-bottom: 5px; }
.link-arrow:hover, .link-arrow-p a:hover { color: var(--navy); }
.on-dark-text { color: var(--white); }

/* Card-wide links: the heading link stretches over the whole card */
.tile, .svc, .tool, .latest-card, .post, .team-card { position: relative; }
.tile h3 a, .svc.cta h3 a, .tool h3 a, .latest-card .wp-block-post-title a, .team-card h3 a { color: inherit; text-decoration: none; }
.tile h3 a::after, .svc.cta h3 a::after, .tool h3 a::after, .latest-card .wp-block-post-title a::after, .team-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Offer tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { min-height: 440px; color: var(--white); overflow: hidden; border-radius: 3px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--char); isolation: isolate; }
.tile .tile-img { position: absolute; inset: 0; margin: 0; z-index: -1; }
.tile .tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile .tile-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,18,14,.92) 0%, rgba(10,18,14,.35) 55%, rgba(10,18,14,.05) 100%); pointer-events: none; }
.tile:hover .tile-img img { transform: scale(1.05); }
.tile-body { padding: 28px; display: grid; gap: 10px; }
.tile h3 { font-size: 38px; font-weight: 800; text-transform: uppercase; }
.tile p { color: #d9e2da; font-size: 16px; }
.tile .more { font: 700 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin-top: 6px; }

/* ---------- Crops ---------- */
.crops { background: var(--white); }
.crop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.crop { display: grid; gap: 12px; align-content: start; }
.crop .crop-photo { aspect-ratio: 4/3; max-width: 100%; overflow: hidden; border-radius: 3px; background: var(--line); margin-bottom: 4px; }
.crop .crop-photo img { width: 100%; height: 100%; object-fit: cover; }
.crop .crop-type { font: 600 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ridge); }
.crop h3 { font-size: 34px; font-weight: 800; text-transform: uppercase; color: var(--navy); }
.crop p:not(.crop-type) { color: var(--muted); font-size: 16px; }

/* ---------- Featured services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; background: var(--paper); transition: background .2s; }
.svc:hover { background: var(--white); }
.svc svg { width: 40px; height: 40px; color: var(--leaf-deep); display: block; }
.svc h3 { font-size: 24px; font-weight: 700; text-transform: uppercase; color: var(--navy); }
.svc p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.svc.cta { background: var(--navy); color: var(--white); }
.svc.cta:hover { background: var(--navy-2); }
.svc.cta h3 { color: var(--white); }
.svc.cta p { color: var(--on-dark-muted); }
.svc.cta svg { color: var(--leaf); }

/* ---------- Latest Field Reports (home) ---------- */
.latest { background: var(--white); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px); }
.latest-grid, ul.latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.latest-grid > li { margin: 0; display: flex; }
.latest-card { width: 100%; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--leaf); border-radius: 3px; padding: 22px; display: grid; gap: 12px; align-content: start; transition: border-color .2s, transform .2s; }
.latest-card:hover { transform: translateY(-2px); border-color: var(--navy); border-left-color: var(--leaf); }
.latest-card .wp-block-post-title { font-size: 24px; font-weight: 700; text-transform: uppercase; color: var(--navy); line-height: 1.08; margin: 0; }
.latest-card .wp-block-post-date { font-size: 13px; color: var(--muted); }
.no-posts { color: var(--muted); }

/* Category tags (Post Terms block) */
.cat-terms { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-terms .wp-block-post-terms__separator { display: none; }
.cat-terms a, .cat { position: relative; z-index: 2; font: 700 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 5px 7px; border-radius: 2px; color: var(--white); background: var(--navy); text-decoration: none; display: inline-block; }
.cat-terms a[href*="pest-alerts"] { background: #b3461e; }
.cat-terms a[href*="weather-gdd"] { background: var(--ridge); }
.cat-terms a[href*="fertility"] { background: var(--leaf-deep); }
.cat-terms a[href*="regulatory"] { background: var(--navy); }
.cat-terms a[href*="company-news"] { background: #6a5a3a; }

/* ---------- Grower tools ---------- */
.tools { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.tools .sec-head > p { color: var(--on-dark-muted); }
.tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; z-index: 1; }
.tool { background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: 3px; padding: 26px; display: grid; gap: 12px; align-content: start; color: var(--white); text-decoration: none; transition: border-color .2s, transform .2s; }
.tool:hover { border-color: var(--leaf); transform: translateY(-3px); }
.tool svg { width: 30px; height: 30px; color: var(--leaf); display: block; }
.tool h3 { font-size: 26px; font-weight: 700; text-transform: uppercase; }
.tool p { font-size: 15px; color: var(--on-dark-muted); line-height: 1.5; }
.tool .go { font: 700 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin-top: 4px; }
.tool.is-pending, .btn.is-pending { opacity: .55; cursor: not-allowed; }
.tool.is-pending:hover { transform: none; border-color: rgba(255,255,255,.1); }
.ridge-art { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; opacity: .14; pointer-events: none; margin: 0; }
.ridge-art svg { width: 100%; height: 100%; display: block; }

/* ---------- Heritage / About teaser ---------- */
.heritage > .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.heritage .heritage-photo { position: relative; }
.heritage .heritage-photo img { width: 100%; border-radius: 3px; filter: contrast(1.05); }
.heritage .heritage-photo figcaption { position: absolute; left: -1px; bottom: -1px; margin: 0; background: var(--leaf); color: var(--char); font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 14px 18px; }
.heritage h2 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; text-transform: uppercase; margin: 12px 0 20px; }
.heritage .copy { display: grid; gap: 16px; color: var(--muted); max-width: 36em; }
.family { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.family span { font: 600 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); background: var(--white); color: var(--navy); padding: 10px 12px; border-radius: 2px; }
.heritage .link-arrow-p { margin-top: 28px; }

/* ---------- Visit band (all pages but Contact) ---------- */
.visit { background: var(--char); color: var(--on-dark); }
.visit > .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.visit h2 { font-size: clamp(40px, 5vw, 60px); font-weight: 800; text-transform: uppercase; margin-top: 12px; }
.visit h2 + p { margin-top: 16px; color: var(--on-dark-muted); max-width: 26em; }
.visit .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.info { display: grid; gap: 22px; align-content: start; }
.info h4 { font: 600 13px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--leaf); margin-bottom: 8px; }
.info p, .info a { font-size: 17px; color: var(--on-dark); text-decoration: none; }
.info a:hover { color: var(--leaf); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-variant-numeric: tabular-nums; margin: 0; }
.hours dt { color: var(--on-dark-muted); }
.hours dd { margin: 0; }

/* ---------- Footer ---------- */
.site-foot { background: #0c1310; color: var(--on-dark-muted); font-size: 15px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
.foot-top h4 { font: 600 13px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-top a { text-decoration: none; }
.foot-top a:hover { color: var(--leaf); }
.foot-top .soon { color: var(--on-dark-muted); font-size: 12px; }
.foot-brand img { height: 64px; width: auto; background: var(--white); padding: 5px 8px; border-radius: 3px; }
.foot-brand p { margin-top: 16px; max-width: 24em; }
.socials { display: inline-flex; gap: 10px; align-items: center; }
.soc { display: inline-grid; place-items: center; width: 22px; height: 22px; color: var(--on-dark); text-decoration: none; transition: color .15s; }
.soc svg { width: 16px; height: 16px; }
.soc:hover { color: var(--leaf); }
.socials.big { gap: 10px; margin-top: 18px; }
.socials.big .soc { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; }
.socials.big .soc svg { width: 18px; height: 18px; }
.socials.big .soc:hover { border-color: var(--leaf); }
.foot-bot { border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.foot-bot a { text-decoration: none; }
.foot-bot a:hover { color: var(--leaf); }
.foot-bot nav { display: flex; gap: 18px; }
.actionbar { display: none; }

/* ---------- Inner page header ---------- */
.page-head { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.page-head > .wrap { position: relative; z-index: 1; padding-block: 64px 72px; display: grid; gap: 16px; }
.page-head h1 { font-size: clamp(44px, 8vw, 92px); font-weight: 800; text-transform: uppercase; }
.page-head .lede { max-width: 40em; color: #c9d4de; font-size: clamp(16px, 1.5vw, 19px); }
.page-head .ridge-art { opacity: .12; height: 70px; }
.page-head .wp-block-post-date { color: #c9d4de; font-size: 15px; }

/* Generic page / post body */
.prose { max-width: 760px; margin-inline: auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 96px); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; text-transform: uppercase; color: var(--navy); margin-top: 1.6em; }
.prose h3 { font-size: 24px; font-weight: 700; text-transform: uppercase; color: var(--navy); margin-top: 1.4em; }
.prose a { color: var(--leaf-deep); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose img { border-radius: 3px; }
.post-back { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 64px; }

/* ---------- Staff ---------- */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; margin-bottom: 48px; }
.cred { background: var(--white); padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; }
.cred .chip { grid-row: span 2; }
.cred b { font: 700 17px/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.cred span:not(.chip) { font-size: 14px; color: var(--muted); line-height: 1.45; }
.chip { display: inline-block; font: 700 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 2px; background: var(--leaf); color: var(--char); white-space: nowrap; }
.chip.navy { background: var(--navy); color: var(--white); }
.chip.slate { background: var(--ridge); color: var(--white); }
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.person { display: grid; gap: 12px; align-content: start; }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 3px; overflow: hidden; background: linear-gradient(160deg, var(--navy-2), var(--navy) 70%); display: grid; place-items: center; }
.person .wp-block-image.portrait-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; }
.person .wp-block-image.portrait-photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait .initials { font: 800 clamp(64px, 9vw, 104px)/1 var(--brand-face); color: rgba(255,255,255,.92); letter-spacing: .02em; position: relative; z-index: 1; margin-top: -14%; }
.portrait svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 38%; }
.person h3 { font-size: 30px; font-weight: 800; text-transform: uppercase; color: var(--navy); margin-top: 2px; }
.person .role { font-size: 16px; color: var(--muted); margin-top: -4px; }
.person .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.staff-cta { margin-top: 56px; padding: 28px 32px; background: var(--white); border: 1px solid var(--line); border-radius: 3px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.staff-cta h3 { font-size: 30px; font-weight: 800; text-transform: uppercase; color: var(--navy); }
.staff-cta p { color: var(--muted); margin-top: 6px; }

/* ---------- About ---------- */
.story > .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.story .story-photo { position: sticky; top: calc(var(--adminbar) + 110px); }
.story .story-photo img { width: 100%; border-radius: 3px; }
.story .story-photo figcaption { margin-top: 10px; font: 600 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.story-copy { display: grid; gap: 18px; min-width: 0; }
.story-copy h2 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; text-transform: uppercase; color: var(--navy); }
.story-copy p { color: var(--muted); max-width: 38em; }
.story-copy .lead-in { font-size: 21px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.story-copy .pull { margin-top: 10px; padding: 4px 0 4px 22px; border-left: 4px solid var(--leaf); font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--display); text-transform: uppercase; color: var(--navy); max-width: 26em; }
.family-band { background: var(--char); color: var(--on-dark); }
.family-band .sec-head h2 { color: var(--white); }
.family-band .sec-head > p { color: var(--on-dark-muted); }
.family-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.fam { background: var(--char-2); border: 1px solid rgba(255,255,255,.1); border-radius: 3px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.fam.parent { background: var(--navy); border-color: var(--navy-2); }
.fam .fam-tag { font: 600 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--leaf); }
.fam h3 { font-size: 30px; font-weight: 800; text-transform: uppercase; color: var(--white); }
.fam .fam-abbr { font: 800 18px/1 var(--brand-face); letter-spacing: .1em; color: var(--ridge); }
.fam.parent .fam-abbr { color: #9fa4d6; }
.fam p:not(.fam-tag):not(.fam-abbr) { font-size: 15px; color: var(--on-dark-muted); line-height: 1.5; }
.timeline { display: grid; position: relative; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 150px 1fr; gap: 36px; padding-block: 20px; position: relative; }
.tl-item::after { content: ""; position: absolute; left: 144px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px var(--paper); }
.tl-item.now::after { background: var(--navy); }
.tl-item .yr { font: 800 34px/1 var(--brand-face); color: var(--navy); text-align: right; padding-right: 8px; font-variant-numeric: tabular-nums; }
.tl-item h3 { font-size: 26px; font-weight: 700; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.tl-item p:not(.yr) { color: var(--muted); max-width: 40em; }
.area > .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: stretch; }
.area h2 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; text-transform: uppercase; color: var(--navy); margin: 12px 0 14px; }
.area p { color: var(--muted); max-width: 34em; }
.county-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.county-list li { font: 700 18px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--white); border: 1px solid var(--line); padding: 12px 16px; border-radius: 2px; margin: 0; }
.county-list li:last-child { background: transparent; border-style: dashed; color: var(--leaf-deep); }
.team-card { background: var(--navy); color: var(--white); border-radius: 3px; padding: 32px; display: grid; gap: 12px; align-content: end; min-height: 260px; background-image: linear-gradient(180deg, rgba(15,36,64,0) 40%, rgba(15,36,64,.9)), url("assets/images/silos.jpg"); background-size: cover; background-position: center; transition: transform .2s; }
.team-card:hover { transform: translateY(-3px); }
.team-card h3 { font-size: 40px; font-weight: 800; text-transform: uppercase; }
.team-card p { color: #d4dde6; }
.team-card .go { font: 700 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }

/* ---------- Services ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.jump a { font: 600 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--white); border: 1px solid rgba(255,255,255,.3); padding: 10px 12px; border-radius: 2px; transition: background .15s, color .15s, border-color .15s; }
.jump a:hover { background: var(--leaf); border-color: var(--leaf); color: var(--char); }
.svc-group { padding-block: clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--adminbar) + 100px); }
.svc-group:nth-child(even) { background: var(--white); }
.svc-group > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.svc-head { display: grid; gap: 12px; position: sticky; top: calc(var(--adminbar) + 110px); }
.svc-head svg { width: 44px; height: 44px; color: var(--leaf-deep); display: block; }
.svc-head h2 { font-size: clamp(32px, 3.6vw, 44px); font-weight: 800; text-transform: uppercase; color: var(--navy); }
.svc-head p { color: var(--muted); max-width: 22em; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.svc-item { padding-block: 18px; border-top: 2px solid var(--line); display: grid; gap: 6px; align-content: start; }
.svc-item h3 { font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--navy); line-height: 1.1; }
.svc-item p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.signup-cta { margin-top: clamp(48px, 6vw, 72px); background: var(--navy); color: var(--white); border-radius: 3px; padding: clamp(28px, 4vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.signup-cta h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; text-transform: uppercase; margin: 10px 0 10px; max-width: 20ch; }
.signup-cta p:not(.eyebrow) { color: #c9d4de; max-width: 36em; }
.section.flush-top { padding-top: 0; }
.side-soc .socials.big { margin-top: 0; }
.svc-note { margin-top: 32px; color: var(--muted); max-width: 46em; font-style: italic; }

/* ---------- Financing ---------- */
.credit-app { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: clamp(24px, 4vw, 48px); }
.credit-doc { position: relative; max-width: 220px; }
.credit-doc svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 20px rgba(15,36,64,.15)); transform: rotate(-3deg); }
.credit-doc span { position: absolute; right: -6px; bottom: 16px; background: var(--navy); color: var(--white); font: 800 16px/1 var(--display); letter-spacing: .12em; padding: 8px 10px; border-radius: 2px; }
.credit-body { display: grid; gap: 16px; justify-items: start; }
.credit-body h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; text-transform: uppercase; color: var(--navy); }
.credit-body > p:not(.eyebrow) { color: var(--muted); max-width: 38em; }
ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
ol.steps li { counter-increment: s; position: relative; padding-left: 42px; color: var(--muted); line-height: 1.55; min-height: 28px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font: 700 15px/1 var(--display); }
ol.steps strong { color: var(--ink); font-weight: 600; }
ol.steps a { color: var(--leaf-deep); font-weight: 600; overflow-wrap: anywhere; }
.fin-head { margin-top: clamp(56px, 8vw, 96px); }
.fin-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 900px; gap: 14px; }
.fin { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--leaf); border-radius: 3px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.fin h3 { font-size: 28px; font-weight: 800; text-transform: uppercase; color: var(--navy); }
.fin p { color: var(--muted); }
.fin .fin-links { display: grid; gap: 12px; margin-top: 8px; }
.fin .fin-links a { font: 700 17px/1 var(--display); letter-spacing: .02em; color: var(--leaf-deep); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 4px; justify-self: start; overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.contact-page > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 28px; position: sticky; top: calc(var(--adminbar) + 110px); }
.ci-block { display: grid; gap: 14px; justify-items: start; }
.ci-block h2 { font: 800 30px/1 var(--brand-face); text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.ci-block p { font-size: 18px; }
.ci-list { margin: 0; display: grid; border-top: 1px solid var(--line); }
.ci-list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.ci-list dt { font: 600 13px/1.6 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ci-list dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.ci-list a { color: var(--leaf-deep); font-weight: 600; text-decoration: none; }
.ci-list a:hover { text-decoration: underline; }
.contact-info h3 { font: 600 13px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--leaf-deep); margin-bottom: 12px; }
.contact-info .hours dt { color: var(--muted); }
.contact-info .socials.big { margin-top: 0; }
.contact-info .soc, .side-soc .soc { color: var(--navy); border-color: var(--line); }
.contact-info .soc:hover, .side-soc .soc:hover { color: var(--leaf-deep); border-color: var(--leaf-deep); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: clamp(24px, 4vw, 44px); scroll-margin-top: calc(var(--adminbar) + 100px); }
.form-card h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; text-transform: uppercase; color: var(--navy); margin: 10px 0 10px; }
.form-intro { color: var(--muted); margin-bottom: 26px; max-width: 40em; }
.brs-form { display: grid; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.f label, .f legend { font: 600 14px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); padding: 0; margin-bottom: 7px; }
.f label i { font-style: normal; color: #b3261e; }
.f input, .f select, .f textarea { font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1px solid #c9cfc4; border-radius: 3px; padding: 12px 13px; width: 100%; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 3px solid rgba(108,192,74,.45); outline-offset: 0; border-color: var(--leaf-deep); background: var(--white); }
.f input[aria-invalid="true"] { border-color: #b3261e; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px 16px; }
.checks.one { grid-template-columns: 1fr; }
.checks label { display: flex; gap: 10px; align-items: center; font: 400 16px/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0; cursor: pointer; }
.checks input, .consent input { width: 20px; height: 20px; accent-color: var(--leaf-deep); flex: none; margin: 0; }
.reports { background: #eef6ea; border: 1px solid #cfe5c4 !important; border-radius: 3px; padding: 16px 18px !important; }
.reports legend { float: left; width: 100%; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 2px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b3261e; font-weight: 600; font-size: 15px; }
.form-done { background: #eef6ea; border: 1px solid #cfe5c4; color: var(--leaf-deep); padding: 12px 14px; border-radius: 3px; font-weight: 600; }
.brs-form .btn { justify-self: start; }
.map-band { position: relative; height: clamp(320px, 42vw, 440px); background: #e4e9df; overflow: hidden; border-top: 1px solid var(--line); }
.map-band iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card-wrap { position: relative; height: 100%; display: flex; align-items: center; pointer-events: none; }
.map-card { pointer-events: auto; background: var(--white); border-radius: 3px; box-shadow: 0 12px 30px rgba(15,36,64,.18); padding: 24px 26px; display: grid; gap: 12px; justify-items: start; max-width: 300px; }
.map-card h3 { font: 800 24px/1 var(--brand-face); letter-spacing: .03em; text-transform: uppercase; color: var(--navy); }
.map-card p { color: var(--muted); }

/* ---------- Field Reports ---------- */
.notes-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { font: 600 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; background: var(--white); color: var(--navy); border: 1px solid var(--line); padding: 10px 13px; border-radius: 2px; text-decoration: none; }
.filter:hover { border-color: var(--navy); }
.filter.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
ul.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; margin: 0; padding: 0; }
ul.posts > li { margin: 0; display: flex; }
.post { width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 3px; display: grid; align-content: start; overflow: hidden; }
.post .post-photo { display: none; margin: 0; }
.post .post-body { padding: 22px; display: grid; gap: 10px; align-content: start; }
ul.posts > li:first-child { grid-column: 1 / -1; }
ul.posts > li:first-child .post { grid-template-columns: 1fr 1.1fr; }
ul.posts > li:first-child .post-photo { display: block; min-height: 260px; }
ul.posts > li:first-child .post-photo img { width: 100%; height: 100%; object-fit: cover; }
ul.posts > li:first-child .post-body { padding: 26px; align-content: center; }
ul.posts > li:first-child .wp-block-post-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.post .wp-block-post-title { font-size: 23px; font-weight: 700; text-transform: uppercase; line-height: 1.08; margin: 0; }
.post .wp-block-post-title a { color: var(--navy); text-decoration: none; }
.post .wp-block-post-title a:hover { color: var(--leaf-deep); }
.post .wp-block-post-excerpt { margin: 0; }
.post .wp-block-post-excerpt__excerpt { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
.post .wp-block-post-excerpt__more-text { margin: 10px 0 0; }
.post .wp-block-post-excerpt__more-link { font: 700 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-deep); text-decoration: none; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.post-meta .wp-block-post-date { font-size: 13px; }
.wp-block-query-pagination { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; font: 600 16px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.wp-block-query-pagination a { color: var(--navy); text-decoration: none; }
.wp-block-query-pagination .current { color: var(--leaf-deep); }
.notes-side { display: grid; gap: 14px; position: sticky; top: calc(var(--adminbar) + 110px); }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 24px; display: grid; gap: 12px; justify-items: start; }
.side-card h2 { font-size: 26px; font-weight: 800; text-transform: uppercase; color: var(--navy); }
.side-card p { color: var(--muted); font-size: 15px; }
.side-card.events { border-top: 4px solid var(--leaf); }
.tool-card { background: var(--char); border-color: var(--char); position: relative; overflow: hidden; }
.tool-card::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(108,192,74,.22), rgba(108,192,74,0) 70%); pointer-events: none; }
.tool-card .tool-tag { font: 600 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--leaf); }
.tool-card h2 { font: 800 34px/1 var(--brand-face); letter-spacing: .02em; color: var(--white); text-transform: uppercase; }
.tool-card .tool-sub { font: 600 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #c9d4de; margin-top: -4px; }
.tool-card p { color: var(--on-dark-muted); }
.ex { font: 700 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #8a6d1f; background: #fff6d6; border: 1px dashed #d9b64a; padding: 4px 6px; border-radius: 2px; }
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; width: 100%; }
.event { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: start; }
.ev-date { background: var(--navy); color: var(--white); border-radius: 3px; text-align: center; padding: 8px 4px; display: grid; gap: 2px; }
.ev-date span { font: 600 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }
.ev-date b { font: 800 26px/1 var(--brand-face); }
.event h3 { font-size: 19px; font-weight: 700; text-transform: uppercase; color: var(--navy); margin: 2px 0 4px; }
.event p { font-size: 14px; }
.ev-empty { font-size: 14px !important; }
.signup-side { background: var(--navy); border-color: var(--navy); }
.signup-side h2 { color: var(--white); }
.signup-side p { color: #c9d4de; }


/* ---------- Employee Resources ---------- */
.util .emp-link { display: inline-flex; align-items: center; gap: 6px; color: var(--leaf); font-weight: 600; }
.util .emp-link svg, .drawer .btn svg { width: 15px; height: 15px; }
.portal .wrap > * + * { margin-top: 0; }
.portal-login { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; max-width: 980px; }
.portal-login .form-card p.login-username, .portal-login .form-card p.login-password, .portal-login .form-card p.login-remember, .portal-login .form-card p.login-submit { margin: 0 0 16px; display: grid; gap: 7px; }
.portal-login label { font: 600 14px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.portal-login .login-remember label { display: flex; gap: 10px; align-items: center; font: 400 15px/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--ink); }
.portal-login input[type="text"], .portal-login input[type="password"] { font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1px solid #c9cfc4; border-radius: 3px; padding: 12px 13px; width: 100%; }
.portal-login input[type="text"]:focus, .portal-login input[type="password"]:focus { outline: 3px solid rgba(108,192,74,.45); border-color: var(--leaf-deep); background: var(--white); }
.portal-login input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--leaf-deep); }
.portal-login .button-primary, .portal-login input[type="submit"] { font: 700 17px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; background: var(--navy); color: var(--white); border: 0; border-radius: 3px; padding: 15px 26px; cursor: pointer; }
.portal-login .button-primary:hover, .portal-login input[type="submit"]:hover { background: var(--navy-2); }
.portal-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.portal-links a { color: var(--leaf-deep); font-weight: 600; }
.portal-help { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--leaf); border-radius: 3px; padding: 24px; display: grid; gap: 10px; }
.portal-help h3 { font-size: 24px; font-weight: 800; text-transform: uppercase; color: var(--navy); }
.portal-help p { color: var(--muted); }
.portal-help a { color: var(--leaf-deep); font-weight: 700; text-decoration: none; }
.portal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; color: var(--muted); }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.portal-tool { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 26px; display: grid; gap: 12px; align-content: start; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.portal-tool:hover { border-color: var(--leaf-deep); transform: translateY(-3px); }
.portal-tool svg { width: 34px; height: 34px; color: var(--leaf-deep); }
.portal-tool h3 { font-size: 26px; font-weight: 800; text-transform: uppercase; color: var(--navy); }
.portal-tool p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.portal-tool .go { font: 700 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-deep); }
.portal-tool:first-child { background: var(--navy); border-color: var(--navy); color: var(--white); }
.portal-tool:first-child h3 { color: var(--white); }
.portal-tool:first-child p { color: #c9d4de; }
.portal-tool:first-child svg, .portal-tool:first-child .go { color: var(--leaf); }
.portal-admin { margin-top: 32px; padding: 20px 24px; background: #fff6d6; border: 1px dashed #d9b64a; border-radius: 3px; }
.portal-admin h3 { font-size: 18px; font-weight: 700; text-transform: uppercase; color: #8a6d1f; margin-bottom: 8px; }
.portal-admin ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.portal-admin a { color: var(--navy); font-weight: 600; }
@media (max-width: 760px) { .portal-login { grid-template-columns: 1fr; } }
/* 404 */
.not-found { text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 480px) { .btn, .wp-block-button .wp-block-button__link { white-space: normal; text-align: center; line-height: 1.15; } }
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .svc-grid, .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .visit > .wrap { grid-template-columns: 1fr 1fr; }
  .visit > .wrap > :first-child { grid-column: 1 / -1; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: 1fr; }
  .family-grid { grid-template-columns: 1fr; }
  .area > .wrap { grid-template-columns: 1fr; }
  .notes-layout { grid-template-columns: 1fr; }
  .notes-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 900px) { .contact-page > .wrap { grid-template-columns: 1fr; } .contact-info { position: static; } }
@media (max-width: 860px) {
  .svc-group > .wrap { grid-template-columns: 1fr; }
  .svc-head { position: static; }
  .svc-list { grid-template-columns: 1fr; }
  .credit-app { grid-template-columns: minmax(0, 1fr); }
  .credit-doc { max-width: 140px; }
  .fin-grid { grid-template-columns: 1fr; }
  .latest-grid, ul.latest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --head-h: 72px; }
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .util-left .hide-sm, .util-right { display: none; }
  .brand-plate img { height: 44px; }
  .brand { gap: 10px; }
  .menu-btn .lbl { display: none; }
  .hero > .wrap { padding-block: calc(var(--head-h) + 58px) 64px; }
  .hero .ctas .wp-block-button { flex: 1 1 100%; }
  .hero .ctas .wp-block-button__link { width: 100%; justify-content: center; }
  .stats > .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .stat .num { font-size: 36px; }
  .tiles, .crop-grid { grid-template-columns: 1fr; }
  .tile { min-height: 300px; }
  .svc-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .heritage > .wrap { grid-template-columns: 1fr; }
  .visit > .wrap { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .story > .wrap { grid-template-columns: 1fr; }
  .story .story-photo { position: static; }
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 34px; }
  .tl-item::after { left: 1px; top: 24px; }
  .tl-item .yr { text-align: left; font-size: 28px; }
  .actionbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--char); border-top: 1px solid rgba(255,255,255,.12); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .actionbar a { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; color: var(--on-dark); text-decoration: none; font: 700 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
  .actionbar a + a { border-left: 1px solid rgba(255,255,255,.1); }
  .actionbar a.primary { background: var(--leaf); color: var(--char); }
  .actionbar svg { width: 22px; height: 22px; }
}
@media (max-width: 640px) {
  ul.posts { grid-template-columns: 1fr; }
  ul.posts > li:first-child .post { grid-template-columns: 1fr; }
  ul.posts > li:first-child .post-photo { min-height: 200px; }
}
@media (max-width: 560px) {
  .map-card-wrap { align-items: flex-end; padding-bottom: 16px; }
  .map-card { max-width: none; width: 100%; }
  .f-row { grid-template-columns: 1fr; }
  .brs-form .btn { justify-self: stretch; justify-content: center; }
}
@media (max-width: 520px) {
  .staff-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .person h3 { font-size: 22px; }
  .person .role { font-size: 14px; }
  .chip { font-size: 11px; padding: 5px 6px; }
}
