/* Bayside Fence: independent static rebuild of the live Duda site (captured 22 Nov 2026).
   Visual identity carried over from the live site: forest-green hero box, panels and form frame (#3f4f44),
   deep green header/footer (#2c3930), tan accent for headings, buttons and accordion bars (#a27b5c),
   Questrial display headings, Rubik UI text, Noto Serif body copy, the black-and-gold sign logo.
   Accessibility adjustments: small tan text and white-on-tan buttons use a darker tan (#80603f) so they clear
   4.5:1; large tan headings keep the live tone (#a27b5c, about 3.6:1, passes as large text). The live header
   floats translucent over the hero; here it is a solid sticky bar so the menu stays readable on every photo. */

@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 {
  --green: #3f4f44;
  --green-deep: #2c3930;
  --tan: #a27b5c;
  --tan-ink: #80603f;
  --tan-dark: #6b4f34;
  --ink: #1a1a1a;
  --muted: #555;
  --paper: #fff;
  --wash: #f4f2ee;
  --f-ui: "Rubik", "Arial", sans-serif;
  --f-disp: "Questrial", "Arial", sans-serif;
  --f-body: "Noto Serif", Georgia, serif;
  --wrap: 1180px;
  --hdr: 92px;
}
*, *::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(--tan-ink); }
a:hover { color: var(--tan-dark); }
: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(--green-deep); padding: 10px 16px; font: 700 15px var(--f-ui); border-radius: 6px; }
.skip:focus { top: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 860px; }
.centred { text-align: center; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font: 700 clamp(2rem, 1.4rem + 2.2vw, 2.8rem)/1.15 var(--f-disp); color: var(--tan); }
h2 { font: 700 clamp(1.6rem, 1.25rem + 1.3vw, 1.9rem)/1.2 var(--f-disp); color: var(--tan); }
h3 { font: 700 1.35rem/1.3 var(--f-ui); color: var(--tan); }
p { margin: 0 0 1em; }
.kicker { font: 500 15px var(--f-body); letter-spacing: .04em; margin-bottom: .4em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 34px; border-radius: 999px;
  background: var(--tan-ink); color: #fff; font: 600 15px var(--f-ui); text-transform: uppercase; letter-spacing: .03em; text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,.25); border: 0; cursor: pointer; }
.btn:hover, .btn:focus-visible { background: var(--tan-dark); color: #fff; }
.btn-green { background: var(--green); font-size: 18px; font-weight: 700; }
.btn-green:hover, .btn-green:focus-visible { background: var(--green-deep); }
.btn-dark { background: #111; }
.btn-dark:hover { background: #333; }
.btn-row { margin: 1.4em 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green-deep); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.hdr { display: flex; align-items: center; gap: 24px; min-height: var(--hdr); }
.brand img { width: 104px; height: auto; margin: 6px 0; }
.site-nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu a { display: block; padding: 10px 12px; font: 400 18px var(--f-ui); color: #fff; text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--tan); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.sub-toggle { width: 28px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; margin-left: -8px; }
.sub-toggle::before { content: ""; display: block; width: 7px; height: 7px; margin: 0 auto; border: solid #fff; 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: 220px; background: var(--green-deep); box-shadow: 0 8px 20px rgba(0,0,0,.3); border-radius: 0 0 6px 6px; display: none; }
.sub a { font-size: 15px; padding: 10px 18px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.has-sub.closed .sub { display: none; }
.hdr-call { font: 600 16px var(--f-ui); color: #fff; background: var(--tan-ink); 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(--tan-dark); color: #fff; }
.nav-toggle { display: none; }

/* heroes */
.hero { position: relative; display: grid; align-items: center; min-height: 560px; color: #fff; overflow: hidden; background: var(--green-deep); }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.hero-inner { position: relative; z-index: 1; padding: 64px 0; display: flex; justify-content: flex-end; }
.hero-box { background: var(--green); padding: 36px 48px; width: min(100%, 560px); margin-right: 4%; text-align: center; box-shadow: 0 3px 11px rgba(0,0,0,.25); }
.hero-title { font: 700 clamp(2.1rem, 1.5rem + 2vw, 3rem)/1.1 var(--f-disp); margin: 0; color: #fff; }
.hero-phone { font: 700 clamp(1.8rem, 1.3rem + 1.8vw, 3rem)/1.2 var(--f-disp); margin: .15em 0 0; }
.hero-phone a { color: #fff; text-decoration: none; }
.hero-phone a:hover { text-decoration: underline; }
.hero-box p:last-child { margin: 20px 0 0; }
.hero-blog, .hero-plain { min-height: 380px; text-align: center; }
.hero-blog .hero-inner, .hero-plain .hero-inner { justify-content: center; }
.hero-blog h1, .hero-plain h1 { color: #fff; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); text-shadow: 0 2px 10px rgba(0,0,0,.5); margin: 0; }
.hero-plain { min-height: 220px; background: var(--green); }
.hero-plain::after { display: none; }

/* quote form row */
.quote-row { padding: 56px 0; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.quote-card { border: 10px solid var(--green-deep); border-radius: 14px; background: #fff; padding: 22px 26px 30px; box-shadow: inset 0 0 0 2000px rgba(0,0,0,.02); }
.quote-banner { width: 100%; height: auto; margin: 0 auto 14px; }
.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 15px var(--f-ui); margin-bottom: 4px; }
.quote-form input, .quote-form select, .quote-form textarea { font: 16px var(--f-ui); padding: 9px 10px; border: 2px solid #111; border-radius: 0; 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-ui); margin: 4px 0 10px; }
.form-status.err { color: #b00020; }
.form-status.ok { color: #1d5e2e; }
.quote-copy h1 { margin-top: .3em; }
.quote-copy > h3 { margin-top: 1.2em; }
.quote-copy h3 a { color: inherit; }
.quote-copy ul { margin: 0 0 1em 1.2em; padding: 0; }
.quote-copy li a { color: var(--tan-ink); }

/* accordion (Duda list widget equivalent) */
.accordion { display: grid; gap: 10px; margin: 0 0 1em; }
.acc { background: var(--tan); color: #fff; }
.acc summary { list-style: none; cursor: pointer; padding: 16px 56px 16px 20px; font: 700 1.2rem/1.3 var(--f-ui); position: relative; min-height: 44px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--green-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='white' stroke-width='2.4'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .2s; }
.acc[open] summary::after { transform: rotate(180deg); }
.acc-body { background: #fff; color: var(--ink); padding: 14px 18px 4px; border: 1px solid #e2d8cf; border-top: 0; font-family: var(--f-ui); }

/* plain + columns */
.plain { padding: 48px 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 56px; }
.cols-acc { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
.cols .col > h3:first-child { padding-bottom: 10px; position: relative; }
.cols .col > h3:first-child::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; background: var(--tan); }
.cols .col h3 a { color: inherit; }
.cta-row { padding: 8px 0 48px; text-align: center; }
.cta-row .btn-row { margin: 0; }

/* image band */
.band { position: relative; color: #fff; text-align: center; overflow: hidden; background: #5a3b26; }
.band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(66,38,20,.66); }
.band-inner { position: relative; z-index: 1; padding: 80px 0; max-width: 900px; }
.band h2 { color: #fff; }
.band a:not(.btn) { color: #fff; }
.band .btn { background: #111; }
.band .btn:hover { background: #333; }

/* split panels */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--green); color: #fff; min-height: 440px; }
.split-copy { display: flex; align-items: center; padding: 56px 6%; }
.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: 700 clamp(1.5rem, 1.2rem + 1vw, 1.9rem)/1.2 var(--f-disp); }
.split p { font-size: 1.08rem; }
.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; }

/* gallery + paired cards + quotes */
.goals h2 { text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 36px; }
.gallery figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.pair-card h3 { background: var(--green); color: #fff; padding: 14px 18px; font-size: 1.2rem; margin: 0 0 14px; }
.pair-card:nth-child(2) h3 { background: var(--tan-ink); }
.goals-after { margin: 24px auto 0; }
.quotes-row { padding: 56px 0; background: var(--wash); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.quote { margin: 0; background: #fff; border-top: 5px solid var(--tan); padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.quote blockquote { margin: 0; font-style: italic; }
.quote figcaption { font: 700 15px var(--f-ui); color: var(--green); }
.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 #aaa; border-radius: 999px; padding: 8px 18px; font: 15px var(--f-ui); }
.blog-count { text-align: center; font: 14px var(--f-ui); color: var(--muted); min-height: 1.2em; margin: 6px 0 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.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-img-empty { background: #d8d8d8; }
.card-body { padding: 16px 18px 20px; }
.card-title { font: 400 1.1rem/1.4 var(--f-disp); margin: 0 0 6px; }
.card-title a { color: var(--green); text-decoration: none; font-weight: 700; }
.card-title a:hover { text-decoration: underline; }
.card-meta { font: 13px var(--f-ui); color: var(--muted); margin: 0 0 8px; }
.card-desc { font: 14px/1.55 var(--f-ui); color: #444; margin: 0; }
.post-hero { position: relative; min-height: 380px; 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,.45); }
.post-hero-plain::after { background: rgba(0,0,0,.25); }
.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-ui); margin: 0; }
.post { padding: 48px 0 24px; }
.post-body h2 { margin-top: 1.4em; }
.post-body h3 { margin-top: 1.2em; color: var(--green); font-size: 1.2rem; }
.post-body ul { padding-left: 1.3em; }
.lede { font: 400 1.2rem/1.5 var(--f-disp); color: #222; text-align: center; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font: 15px/1.4 var(--f-ui); }
th, td { border: 1px solid #ccc; padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--green); 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-ui); }
.post-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.post-nav .newer { margin-left: auto; }
.related { padding: 40px 0 64px; background: var(--wash); }
.related h2 { text-align: center; }

/* footer */
.site-footer { background: var(--green-deep); color: #f7f7f7; padding: 40px 0 44px; font-size: 15px; }
.site-footer a { color: #fff; }
.foot-top { text-align: center; margin-bottom: 18px; }
.foot-blog { font: 700 1.8rem var(--f-disp); text-decoration: none; }
.foot-blog:hover { text-decoration: underline; }
.foot-cols { display: grid; grid-template-columns: 1.3fr .9fr 1fr; gap: 40px; }
.foot-h { font: 700 1.2rem var(--f-ui); color: #fff; margin-bottom: .7em; }
.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-ui); }
.site-footer li.sub-link a { font-size: 13.5px; padding: 3px 0 3px 12px; }
.site-footer li a:hover { text-decoration: underline; }
.foot-co { font-family: var(--f-body); }
.map iframe { width: 100%; height: 200px; border: 0; display: block; margin-top: 12px; }

/* responsive */
@media (max-width: 1080px) {
  .menu a { padding: 10px 8px; font-size: 16px; }
  .hdr-call { padding: 10px 12px; font-size: 15px; }
}
@media (max-width: 900px) {
  :root { --hdr: 72px; }
  .brand img { width: 76px; margin: 4px 0; }
  .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: #fff; 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; position: relative; }
  .hdr-call { margin-left: auto; order: 2; }
  .site-nav { position: absolute; left: -20px; right: -20px; top: 100%; background: var(--green-deep); box-shadow: 0 10px 20px rgba(0,0,0,.25); 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 rgba(255,255,255,.15); }
  .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, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .quote-grid, .pair, .foot-cols, .cols-acc { grid-template-columns: 1fr; gap: 32px; }
  .quote-row { padding: 32px 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; }
  .hero { min-height: 420px; }
  .hero-inner { justify-content: center; padding: 40px 0; }
  .hero-box { margin: 0; padding: 26px 20px; }
}
@media (max-width: 420px) {
  .hdr-call { font-size: 14px; padding: 8px 10px; }
  .brand img { width: 64px; }
  .quote-form .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-card { padding: 16px 14px 22px; border-width: 7px; }
  .acc summary { padding: 14px 52px 14px 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
