/* Franklin Fence (Franklin, Wisconsin): independent static rebuild of the live Duda site, captured 22 Nov 2026.
   Visual identity taken from the live site: white sticky header with the hexagon logo, sage panels (#667860),
   sage-green H1 (#66785f), signal-red H2/H4 (#d82907), dark moss footer (#4b5945), framed free-quote form,
   pill buttons, Rubik / Questrial headings with Noto Serif body copy, a sage-to-white wash on blog posts
   (wash lightened from the live #9fb19b start so red post headings stay above 3:1 as large text).
   Accessibility adjustment: the live light-sage pill (#91ac8f) carried white 15px text at about 2.4:1. The rebuild
   keeps the same pill colour and sets dark moss text on it (about 7:1) instead. */

@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/rubik-latin.woff2) format("woff2"); }
@font-face { font-family: "Questrial"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/questrial-latin.woff2) format("woff2"); }
@font-face { font-family: "Noto Serif"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/noto-serif-latin.woff2) format("woff2"); }

:root {
  --sage: #667860;
  --sage-ink: #5a6b55;
  --pill: #91ac8f;
  --pill-hover: #a9c2a7;
  --moss: #4b5945;
  --moss-dark: #36412f;
  --deep: #1f2a1c;
  --red: #d82907;
  --ink: #1a1a1a;
  --muted: #555;
  --paper: #fff;
  --wash: #f3f6f2;
  --f-head: "Rubik", "Arial", sans-serif;
  --f-disp: "Questrial", "Arial", sans-serif;
  --f-body: "Noto Serif", Georgia, serif;
  --wrap: 1160px;
  --hdr: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: var(--moss); padding: 10px 16px; font: 700 15px var(--f-head); border-radius: 6px; }
.skip:focus { top: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 900px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font: 700 clamp(2rem, 1.5rem + 2vw, 2.8rem)/1.15 var(--f-head); color: var(--sage-ink); }
h2 { font: 700 clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem)/1.2 var(--f-disp); color: var(--red); }
h3 { font: 700 1.25rem/1.3 var(--f-head); color: var(--red); }
p { margin: 0 0 1em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 30px; border-radius: 999px;
  background: var(--pill); color: var(--deep); font: 700 15px var(--f-head); text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,.22); border: 0; cursor: pointer; }
.btn:hover, .btn:focus-visible { background: var(--pill-hover); color: var(--deep); }
.btn-dark { background: var(--moss); color: #fff; }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--moss-dark); color: #fff; }
.btn-black { background: #000; color: #fff; }
.btn-black:hover, .btn-black:focus-visible { background: #2a2a2a; color: #fff; }
.btn-row { margin: 1.4em 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.1); }
.hdr { display: flex; align-items: center; gap: 24px; min-height: var(--hdr); }
.brand img { width: 62px; height: auto; }
.site-nav { margin-left: auto; margin-right: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; align-items: center; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu a { display: block; padding: 10px 12px; font: 400 16px var(--f-head); color: #333; text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--red); }
.menu a[aria-current="page"] { font-weight: 700; }
.sub-toggle { width: 28px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; margin-left: -10px; }
.sub-toggle::before { content: ""; display: block; width: 7px; height: 7px; margin: 0 auto; border: solid #333; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.18); border-radius: 6px; display: none; }
.sub a { font-size: 15px; padding: 10px 18px; }
.has-sub:hover .sub, .has-sub.open .sub { display: block; }
.hdr-call { font: 700 16px var(--f-head); color: #fff; background: var(--sage); padding: 10px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.hdr-call:hover { background: var(--moss); color: #fff; }
.nav-toggle { display: none; }

/* heroes: photo with a sage box at the centre (live layout) */
.hero { position: relative; display: grid; place-items: center; min-height: 520px; text-align: center; overflow: hidden; background: #4f5b4a; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 1; padding: 60px 0; display: flex; justify-content: center; }
.hero-box { background: var(--sage); color: #fff; padding: 26px 44px 22px; width: min(100%, 430px); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.hero-title { font: 400 clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem)/1.1 var(--f-disp); margin: 0; }
.hero-phone { font: 400 clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem)/1.15 var(--f-disp); margin: .1em 0 0; }
.hero-phone a { color: #fff; text-decoration: none; }
.hero-phone a:hover { text-decoration: underline; }
.hero-cta { margin: 14px 0 0; }
.hero-blog { min-height: 230px; }
.hero-blog::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.hero-blog .hero-inner { z-index: 2; }
.hero-blog h1 { color: #fff; margin: 0; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3rem); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.hero-plain { min-height: 200px; background: var(--sage); }
.hero-plain h1 { color: #fff; margin: 0; }

/* quote form row */
.quote-row { padding: 30px 0 40px; }
.quote-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.quote-card { border: 6px solid var(--moss); border-radius: 12px; background: #fff; padding: 20px 24px 28px; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.quote-banner { width: 100%; height: auto; margin: 0 auto 12px; }
.quote-form .field { display: flex; flex-direction: column; margin-bottom: 12px; min-width: 0; }
.quote-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { font: 700 14px var(--f-head); margin-bottom: 4px; }
.quote-form input, .quote-form select, .quote-form textarea { font: 16px var(--f-head); padding: 9px 10px; border: 2px solid #222; border-radius: 2px; background: #fff; width: 100%; min-height: 44px; }
.quote-form textarea { resize: vertical; }
.quote-form [aria-invalid="true"] { border-color: #b00020; }
.form-actions { display: flex; justify-content: flex-end; }
.form-status { min-height: 1.4em; font: 600 14px var(--f-head); margin: 4px 0 10px; }
.form-status.err { color: #b00020; }
.form-status.ok { color: #1d5e2e; }
.form-note, .form-noscript { font: 14px/1.5 var(--f-head); margin: 4px 0 8px; padding: 8px 10px; background: var(--wash); border-left: 4px solid var(--moss); }
.form-noscript { background: #fff4f1; border-left-color: #b00020; font-weight: 600; }
.form-note a, .form-noscript a { font-weight: 700; white-space: nowrap; color: var(--moss-dark); }
.quote-form button[disabled] { opacity: .55; cursor: not-allowed; }
.quote-copy { padding-top: 18px; }
.quote-copy > h3 { font: 700 1.2rem/1.3 var(--f-head); margin-top: 1.2em; }
.quote-copy ul { margin: 0 0 1em 1.2em; padding: 0; }
.quote-copy li a { color: var(--moss); }

/* plain + columns */
.plain { padding: 44px 0; }
.center, .center-head h2, .center-head h1 { text-align: center; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px 64px; }
.cols .col > h3:first-child { color: var(--moss); padding-bottom: 10px; position: relative; }
.cols .col > h3:first-child::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--moss); }
.cols .col > h3 a { color: inherit; }
.cta-row { padding: 6px 0 40px; text-align: center; }
.cta-row .btn-row { margin: 0; }

/* image band (Get To Know) */
.band { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--moss); }
.band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.band-inner { position: relative; z-index: 1; padding: 64px 0; max-width: 940px; }
.band h2 { color: #fff; }
.band a:not(.btn) { color: #fff; }

/* sage split panels */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--sage); color: #fff; min-height: 420px; }
.split-copy { display: flex; align-items: center; padding: 48px 5%; }
.split-inner { max-width: 560px; margin-left: auto; }
.split-flip .split-copy { order: 2; }
.split-flip .split-inner { margin-left: 0; margin-right: auto; }
.split h2, .split h3 { color: #fff; font: 400 clamp(1.45rem, 1.2rem + 1vw, 1.9rem)/1.2 var(--f-disp); }
.split p:first-child:not(:only-child) { text-transform: uppercase; font: 400 14px var(--f-head); letter-spacing: .04em; margin-bottom: .4em; }
.split a:not(.btn) { color: #fff; }
.split-pic { position: relative; min-height: 320px; }
.split-pic .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* goals: photo mosaic + tabs */
.goals-wrap { max-width: 900px; }
.gallery { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; grid-template-rows: 180px 180px; gap: 8px; margin: 8px 0 0; }
.gallery figure { margin: 0; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g0 { grid-row: 1 / 3; }
.gallery .g3 { grid-column: 2 / 4; }
.tabs { margin-top: 0; }
.tablist { display: grid; grid-template-columns: 1fr 1fr; }
.tablist [role=tab] { min-height: 44px; border: 0; font: 700 16px var(--f-head); cursor: pointer; background: #000; color: #fff; }
.tablist [role=tab][aria-selected=true] { background: var(--sage); }
.tab-panel { background: #f1f1f1; padding: 22px 26px; font-size: .95rem; }
.tab-panel p:last-child { margin: 0; }

/* testimonials */
.quotes-row { padding: 48px 0 64px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.quote { margin: 0; text-align: left; }
.qmark { display: block; text-align: center; font: 700 64px/0.8 Georgia, serif; color: var(--sage); height: 40px; }
.quote blockquote { margin: 0; font-style: italic; font-size: .95rem; }
.quote blockquote p { margin: 0 0 .4em; }
.quote figcaption { font: 700 italic 15px var(--f-body); }
.quote figcaption::before { content: "\2014\00a0"; }

/* blog */
.blog-search { max-width: 380px; margin: 0 auto 28px; }
.blog-search input { width: 100%; min-height: 44px; border: 1px solid #ccc; border-radius: 999px; padding: 8px 18px; font: 15px var(--f-head); }
.blog-count { text-align: center; font: 14px var(--f-head); color: var(--muted); min-height: 1.2em; margin: 6px 0 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 900px; margin-inline: auto; }
.card { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.18); display: flex; flex-direction: column; }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 16px 18px 20px; }
.card-title { font: 400 1.05rem/1.4 var(--f-disp); margin: 0 0 6px; }
.card-title a { color: var(--red); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-meta { font: 13px var(--f-head); color: var(--muted); margin: 0 0 8px; }
.card-desc { font: 14px/1.55 var(--f-head); color: #444; margin: 0; }
.post-hero { position: relative; min-height: 500px; display: grid; place-items: center; text-align: center; overflow: hidden; background: #8d8d8d; }
.post-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.post-hero-plain { min-height: 320px; background: var(--sage); }
.post-hero-plain::after { background: transparent; }
.post-hero-inner { position: relative; z-index: 1; padding: 64px 0; }
.post-hero h1 { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.post-by { color: #fff; font: 14px var(--f-head); margin: 0; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.post-wash { background: linear-gradient(90deg, #d3ddd0 0%, #eef2ec 55%, #fff 100%); }
.post { padding: 40px 0 16px; }
.post-body { font-size: .95rem; }
.post-body h2 { margin-top: 1.1em; margin-bottom: .2em; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.post-body h3 { margin-top: 1.1em; }
.post-body ul { padding-left: 1.3em; }
.post-body img { margin: 1.5em 0; border-radius: 4px; }
.lede { font: 700 clamp(1.2rem, 1rem + .7vw, 1.5rem)/1.3 var(--f-disp); color: var(--red); text-align: center; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font: 15px/1.4 var(--f-head); }
th, td { border: 1px solid #ccd5c9; padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--moss); color: #fff; }
tbody th { background: var(--wash); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0 32px; font: 600 15px var(--f-head); }
.post-nav a { color: var(--moss-dark); }
.post-nav .newer { margin-left: auto; }
.related { padding: 16px 0 64px; }

/* footer */
.site-footer { background: var(--moss); color: #f7f7f7; padding: 44px 0 40px; font-size: 15px; }
.site-footer a { color: #fff; }
.map { max-width: 900px; margin: 0 auto; }
.map iframe { width: 100%; height: 200px; border: 0; display: block; }
.foot-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin: 24px auto 0; max-width: 900px; }
.foot-h { font: 700 1.05rem var(--f-head); color: #fff; text-decoration: underline; text-underline-offset: 4px; text-align: center; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 5px 0; text-decoration: none; font-family: var(--f-head); }
.site-footer li.sub-link a { padding-left: 12px; font-size: 14px; }
.site-footer li a:hover { text-decoration: underline; }
.foot-cols nav { justify-self: center; }

/* responsive */
@media (max-width: 1000px) {
  .menu a { padding: 10px 8px; font-size: 15px; }
  .hdr-call { padding: 10px 12px; font-size: 15px; }
}
@media (max-width: 860px) {
  :root { --hdr: 68px; }
  .brand img { width: 50px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; order: 3; margin-left: 4px; }
  .bars, .bars::before, .bars::after { display: block; width: 26px; height: 3px; background: #333; border-radius: 2px; position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -8px; } .bars::after { top: 8px; }
  .hdr { gap: 10px; }
  .hdr-call { margin-left: auto; order: 2; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.15); display: none; max-height: calc(100vh - var(--hdr)); overflow-y: auto; margin: 0; }
  .site-nav.open { display: block; }
  .menu { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; gap: 0; }
  .menu > li { flex-wrap: wrap; border-bottom: 1px solid #eee; }
  .menu > li > a { flex: 1; padding: 13px 4px; }
  .sub-toggle { width: 48px; margin: 0; }
  .sub { position: static; box-shadow: none; width: 100%; padding: 0 0 8px 14px; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .quote-grid, .foot-cols { grid-template-columns: 1fr; gap: 28px; }
  .quote-copy { padding-top: 0; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-flip .split-copy { order: 0; }
  .split-copy { padding: 40px 20px; }
  .split-inner { margin: 0; max-width: none; }
  .split-pic { min-height: 260px; }
  .quotes, .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
  .gallery .g0 { grid-row: auto; grid-column: 1 / 3; }
  .gallery .g3 { grid-column: 1 / 3; }
  .hero { min-height: 380px; }
  .hero-box { padding: 22px 20px; }
  .post-hero { min-height: 360px; }
  .post-wash { background: linear-gradient(180deg, #dfe6dc 0%, #fff 40%); }
  .foot-h { text-align: left; }
  .foot-cols nav { justify-self: start; }
}
@media (max-width: 420px) {
  .hdr-call { font-size: 14px; padding: 8px 10px; }
  .quote-form .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-card { padding: 16px 14px 22px; border-width: 5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
