/* Glendale Fence: static rebuild of the live SitePanda/Duda site (measured from the rendered live DOM, 22 Nov 2026).
   Identity kept: light translucent header with the circular badge logo and bold sage (#497d74) Rubik nav;
   full-bleed photo heroes with a sage info box (Questrial name and phone, mint CONTACT US TODAY pill);
   gold section headings (#d8b507 on live) and red-orange (#d82907) Rubik subheads; Noto Serif body copy;
   white quote card with a thick sage border; sage split panels beside photo halves; sage accordion bars
   with round black chevrons; mint (#71bbb2) pill buttons; navy #27445d footer.
   Accessibility deviations (listed in reports/fenceglendale.com/compare.md): gold and red text on white fail
   WCAG AA contrast, so headings use a darker gold-olive (#7a6400) and subheads a darker red (#b02205) on white;
   on sage panels headings are white. Pill text stays dark on mint (passes). One H1 per page, no skipped levels. */
@import url("fonts.css");

:root {
  --sage: #497d74;
  --sage-dark: #3b675f;
  --mint: #71bbb2;
  --gold: #d8b507;
  --gold-ink: #7a6400; /* AA on white */
  --red: #d82907;
  --red-ink: #b02205;  /* AA on white */
  --navy: #27445d;
  --ink: #111;
  --pill-ink: #1d2b29;
  --paper: #fff;
  --mist: #f4f4f4;
  --head: "Questrial", "Rubik", Arial, sans-serif;
  --ui: "Rubik", Arial, sans-serif;
  --body: "Noto Serif", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ui); font-size: 16px; color: var(--ink); background: var(--paper); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { font-family: var(--body); font-weight: 500; margin: 0 0 1em; line-height: 1.55; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-family: var(--ui); }
h4 { font-family: var(--ui); font-weight: 700; font-size: 22px; margin: 0 0 .5em; line-height: 1.25; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 10px 14px; z-index: 1000; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid #1a5fb5; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Header: translucent white bar over the hero, like the live site */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 6px rgba(0,0,0,.12); }
.site-header .bar { display: flex; align-items: center; gap: 18px; min-height: 96px; max-width: 1366px; margin: 0 auto; padding: 8px 40px; }
.brand { flex: 0 0 auto; display: block; }
.brand img { width: 80px; height: 80px; object-fit: contain; }
.main-nav { flex: 1 1 auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 6px; }
.main-nav a { display: block; color: var(--sage-dark); text-decoration: none; font: 700 20px var(--ui); letter-spacing: .6px; padding: 10px 12px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.main-nav .has-sub { position: relative; }
.main-nav .sub-row { display: flex; align-items: center; }
.main-nav .sub-row > a { padding-right: 2px; }
.main-nav .sub-toggle { background: none; border: 0; color: var(--sage-dark); font: 700 16px var(--ui); padding: 10px 8px; min-width: 32px; min-height: 44px; cursor: pointer; }
.main-nav .submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; list-style: none; margin: 0; padding: 6px 0; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.main-nav .has-sub:hover .submenu, .main-nav .has-sub.open .submenu, .main-nav .has-sub:focus-within .submenu { display: block; }
.main-nav .has-sub.dismissed:not(.open) .submenu { display: none !important; }
.main-nav .submenu a { font-weight: 700; font-size: 15px; color: #555; padding: 12px 18px; letter-spacing: .4px; }
.head-call { flex: 0 0 auto; color: var(--sage-dark); font: 700 17px var(--ui); text-decoration: none; padding: 10px 4px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.head-call:hover { text-decoration: underline; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 2px solid var(--sage-dark); color: var(--sage-dark); border-radius: 6px; padding: 8px 12px; font: 600 16px var(--ui); cursor: pointer; min-height: 44px; }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; min-width: 240px; padding: 12px 30px; border-radius: 50px; background: var(--mint); color: var(--pill-ink); font: 700 15px var(--ui); text-decoration: none; letter-spacing: .5px; box-shadow: 0 3px 11px rgba(0,0,0,.22); border: 0; cursor: pointer; text-align: center; }
.pill:hover { filter: brightness(1.06); text-decoration: underline; }
.pill--dark { background: #000; color: #fff; }
.cta-line { text-align: center; margin: 22px 0 0; }

main { display: block; }

/* Heroes: real <img> covers so pictures are inventoried */
.hero { position: relative; display: grid; place-items: center end; min-height: 560px; padding: 130px 40px 60px; overflow: hidden; background: #3a3f3c; margin-top: -96px; }
.hero--short { min-height: 470px; padding: 150px 40px 60px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); }
.hero-box { position: relative; z-index: 1; text-align: center; color: #fff; background: var(--sage); box-shadow: 0 3px 11px rgba(0,0,0,.25); padding: 34px 30px 30px; width: min(560px, 100%); margin-right: 8vw; }
.hero-name { font: 700 52px/1.15 var(--head); color: #fff; margin: 0 0 10px; }
.hero--short .hero-name { font-size: 40px; }
.hero-phone { font: 700 34px/1.2 var(--head); margin: 0; }
.hero-phone a { color: #fff; text-decoration: none; display: inline-block; min-height: 44px; padding: 2px 6px; }
.hero-phone a:hover { text-decoration: underline; }
.hero-box .cta-line { margin-top: 14px; }

/* Quote form + intro row */
.intro-row { background: #fff; padding: 60px 0 40px; }
.intro-row .grid { max-width: 1286px; margin: 0 auto; display: grid; grid-template-columns: 603fr 683fr; gap: 0 30px; align-items: start; padding: 0 40px; }
.intro-row .grid > * { min-width: 0; }
.quote-card { border: 10px solid var(--sage); border-radius: 14px; box-shadow: 0 3px 11px rgba(0,0,0,.2); padding: 24px 30px 30px; background: #fff; }
.quote-card .quote-banner { width: 100%; max-width: 495px; object-fit: contain; margin: 0 auto 18px; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.quote-form .f-full { grid-column: 1 / -1; }
.quote-form label { display: block; font: 700 16px var(--ui); margin: 12px 0 4px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; font: 400 16px var(--ui); color: #000; border: 2px solid #000; background: #fff; padding: 8px 10px; min-height: 44px; border-radius: 0; }
.quote-form textarea { min-height: 100px; resize: vertical; }
.quote-form .req, .quote-form .req-note { color: #8b1d0a; }
.quote-form .req-note { font: 400 14px var(--ui); margin: 10px 0 0; }
.quote-form .actions { text-align: right; margin-top: 16px; }
.quote-form button { background: var(--mint); color: var(--pill-ink); font: 700 20px var(--ui); border: 0; border-radius: 30px; padding: 10px 40px; min-height: 48px; cursor: pointer; box-shadow: 0 3px 11px rgba(0,0,0,.2); }
.quote-form .form-status { margin: 12px 0 0; font: 400 15px var(--ui); }
.quote-form .form-status.err { color: #8b1d0a; }
.quote-form .field-err { color: #8b1d0a; font: 400 14px var(--ui); margin: 4px 0 0; }
.quote-form .form-fallback[hidden] { display: none; }
.quote-form button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.intro-copy { padding: 20px 10px 20px 20px; }
.intro-copy h1 { color: var(--gold-ink); font-size: 42px; line-height: 1.2; }
.intro-copy h2, .intro-copy h3, .intro-copy h4 { color: var(--red-ink); font-size: 20px; font-family: var(--ui); }
.intro-copy h4 a, .intro-copy h2 a, .intro-copy h3 a { color: var(--red-ink); }
ul.dots { font-family: var(--body); margin: 0 0 1em; padding-left: 1.4em; }
ul.dots li { margin: 4px 0; }
ul.dots li::marker { color: var(--sage); }
.intro-copy ul.dots a { color: var(--sage-dark); font-weight: 700; }

/* Plain content section */
.section { padding: 60px 40px; }
.section .inner { max-width: 960px; margin: 0 auto; }
.section h2 { color: var(--gold-ink); font-size: 32px; }
.section h2.center, .section .center { text-align: center; }
.section h3 { color: var(--gold-ink); font-size: 28px; }
.section h4 { color: var(--red-ink); font-size: 20px; }
.section h4::after { content: ""; display: block; width: 40px; height: 2px; background: var(--sage); margin-top: 10px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 70px; }
.two-col > * { min-width: 0; }

/* Photo band (Get To Know): photo with a dark veil, gold heading and white copy */
.band-photo { position: relative; overflow: hidden; padding: 70px 40px; color: #fff; background: #3a2a24; }
.band-photo .band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: rgba(28, 20, 14, .62); }
.band-photo .inner { position: relative; z-index: 1; max-width: 906px; margin: 0 auto; text-align: center; }
.band-photo h2 { color: var(--gold); font-size: 32px; }
.band-photo p { color: #fff; }
.band-photo .pill { background: #000; color: #fff; }

/* Split rows: sage panel + photo half */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--sage); }
.split .panel { background: var(--sage); color: #fff; padding: 70px 40px 60px 60px; display: flex; flex-direction: column; justify-content: center; }
.split .panel p { color: #fff; }
.split .panel h2, .split .panel h3 { color: #fff; font-size: 30px; }
.split .panel .eyebrow { font: 500 15px var(--body); margin-bottom: .3em; letter-spacing: .6px; text-align: center; }
.split .panel .cta-line { text-align: left; margin-top: 8px; }
.split .photo { position: relative; min-height: 440px; overflow: hidden; background: #3a3f3c; }
.split .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Accordion (details/summary). Live: sage bars, white bold titles, round black chevrons. */
.accordion { margin: 0 0 20px; }
.accordion details { margin: 0 0 10px; background: var(--sage); }
.accordion summary { list-style: none; cursor: pointer; color: #fff; padding: 14px 64px 14px 16px; position: relative; min-height: 54px; display: flex; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary h2, .accordion summary h3, .accordion summary h4 { margin: 0; font: 600 17px/1.3 var(--ui); color: #fff; }
.accordion summary h4::after { display: none; }
.accordion summary::after { content: "\25BE"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: #000; color: #fff; font: 700 14px/26px var(--ui); text-align: center; }
.accordion details[open] summary::after { content: "\25B4"; }
.accordion .acc-body { background: #fff; padding: 14px 16px 4px; border: 1px solid #cfdcd9; }
.section--acc .two-col { align-items: start; }

/* Gallery + goals/mission tabs (home) */
.gallery { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; grid-template-rows: 240px 240px; gap: 0; margin: 24px 0 0; }
.gallery figure { margin: 0; overflow: hidden; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g1 { grid-row: 1 / span 2; }
.gallery .g4 { grid-column: 2 / span 2; }
.tabs { margin: 6px 0 24px; }
.tablist { display: grid; grid-template-columns: 1fr 1fr; }
.tablist button { font: 700 18px var(--ui); color: var(--pill-ink); background: var(--mint); border: 0; padding: 14px; min-height: 52px; cursor: pointer; }
.tablist button[aria-selected="true"] { background: var(--sage); color: #fff; }
.tabs [role="tabpanel"] { background: #f4f4f4; padding: 26px 22px 12px; }
.tabs [role="tabpanel"] p { font-family: var(--ui); font-weight: 400; font-size: 15px; }

/* Testimonials (owner-published quotes; verification status in the report) */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; padding: 40px 30px 80px; }
.quotes figure { margin: 0; text-align: left; }
.quotes .qmark { display: block; text-align: center; font: 700 76px/0.8 Georgia, serif; color: var(--sage); height: 46px; }
.quotes blockquote { margin: 0; font-family: var(--body); font-style: italic; }
.quotes blockquote p { margin: 0; }
.quotes figcaption { font-family: var(--body); font-style: italic; font-weight: 700; margin-top: 4px; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 50px 40px 40px; }
.map-strip { max-width: 960px; margin: 0 auto 36px; background: #fff; color: #111; text-align: center; padding: 22px 20px; }
.map-strip p { margin: 0; font-family: var(--ui); font-weight: 400; }
.map-strip a { font-weight: 700; color: var(--navy); }
.site-footer .cols { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font: 700 22px var(--ui); color: #fff; text-decoration: underline; text-underline-offset: 5px; text-align: center; margin: 0 0 16px; }
.site-footer p { color: #fff; }
/* a11y fix (task af2f82af): .site-footer p above made the white map strip white-on-white (1:1). */
.site-footer .map-strip p { color: #111; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 5px 0; color: #fff; text-decoration: none; font: 400 16px var(--ui); letter-spacing: .4px; min-height: 30px; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer .foot-sub { padding-left: 16px; }
.site-footer .foot-sub a { font-size: 14px; }
.site-footer address { font-style: normal; font-family: var(--body); line-height: 1.6; }
.site-footer address a { color: #fff; display: inline-block; min-height: 24px; }

/* Blog */
.blog-hero { position: relative; display: grid; place-items: center; text-align: center; min-height: 512px; padding: 170px 40px 90px; overflow: hidden; background: #e9eeed; margin-top: -96px; }
.blog-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.blog-hero--plain::after { display: none; }
.blog-hero-copy { position: relative; z-index: 1; max-width: 900px; color: #fff; }
.blog-hero h1 { font: 700 56px/1.15 var(--head); color: #fff; margin: 0; }
.post-hero { min-height: 560px; }
.post-hero h1 { font-size: 44px; color: var(--gold); text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.blog-hero--plain h1 { color: var(--gold-ink); text-shadow: none; }
.blog-hero--plain .meta { color: #333; }
.blog-hero .eyebrow { font: 400 18px var(--ui); margin-bottom: 8px; letter-spacing: 1px; }
.blog-hero .meta { font: 400 17px var(--ui); margin: 12px 0 0; }
.blog-tools { padding-bottom: 0; }
.blog-search { width: 100%; max-width: 420px; min-height: 44px; padding: 10px; font: 16px var(--ui); border: 2px solid #555; }
.post-list { list-style: none; margin: 0 auto; padding: 40px 40px 80px; max-width: 1040px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.post-card { min-width: 0; }
.post-card a.thumb { display: block; aspect-ratio: 307 / 190; overflow: hidden; background: #ddd; }
.post-card a.thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card h2, .post-card h3 { font: 700 22px/1.25 var(--head); margin: 14px 0 6px; }
.post-card h2 a, .post-card h3 a { color: #1a1a1a; text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; }
.post-card .meta { font: 400 14px var(--ui); color: #333; margin: 0 0 8px; }
.post-card p { font-size: 15px; }
.post-card p.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
/* Live post body: sage band, gold headings, white text */
.article-wrap { background: var(--sage); padding: 40px 0 15px; }
.article { max-width: 900px; margin: 0 auto; padding: 0 30px; color: #fff; }
.article p, .article li { color: #fff; }
.article .lede { font: 700 25px/1.3 var(--head); color: #fff; text-align: center; margin-bottom: 26px; }
.article h2 { color: #fff; font-size: 30px; margin-top: 1.2em; border-left: 6px solid var(--gold); padding-left: 12px; }
.article h3 { color: #fff; font-size: 24px; margin-top: 1em; }
.article strong { color: #fff; }
.article a { color: #fff; font-weight: 700; text-decoration: underline; }
.article ul, .article ol { font-family: var(--body); line-height: 1.5; margin: 0 0 1em; padding-left: 1.4em; }
.article li { margin: 4px 0; }
.post-nav { max-width: 900px; margin: 0 auto; padding: 20px 30px 40px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.post-nav a { font: 700 16px var(--ui); color: #fff; display: inline-block; min-height: 44px; padding: 10px 0; }
.related { background: var(--sage); padding: 10px 0 40px; }
.related .post-card h2 a, .related .post-card .meta, .related .post-card p { color: #fff; }

/* Comparison tables carried from live posts */
.table-scroll { max-width: 100%; overflow-x: auto; margin: 0 0 22px; background: #fff; border: 1px solid #cfdcd9; }
.compare-table { width: 100%; border-collapse: collapse; font: 16px/1.35 var(--body); color: #111; }
.compare-table th, .compare-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #e1e9e7; color: #111; }
.compare-table thead th { background: var(--navy); color: #fff; font-family: var(--ui); }
.compare-table tbody th { font-family: var(--ui); }
.compare-table tbody tr:nth-child(even) { background: #f2f7f6; }
@media (max-width: 600px) { .compare-table { font-size: 14px; min-width: 520px; } .compare-table th, .compare-table td { padding: 8px; } }

/* 404 */
.notfound { padding: 120px 40px 100px; text-align: center; }
.notfound h1 { color: var(--gold-ink); font-size: 44px; }
.notfound .pill { margin: 6px; }

/* Responsive */
@media (max-width: 1180px) {
  .site-header .bar { padding: 8px 20px; }
  .main-nav a { font-size: 17px; padding: 10px 8px; }
  .head-call { font-size: 15px; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 80px; }
  .site-header .bar { min-height: 76px; padding: 6px 14px; gap: 8px; flex-wrap: wrap; }
  .brand img { width: 60px; height: 60px; }
  .head-call { order: 2; margin-left: auto; font-size: 15px; }
  .nav-toggle { display: inline-flex; align-items: center; order: 3; margin-left: 4px; }
  .main-nav { order: 4; flex-basis: 100%; display: none; max-height: calc(100vh - 84px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 6px 0 14px; }
  .main-nav a { font-size: 18px; padding: 12px 8px; }
  .main-nav .submenu { position: static; box-shadow: none; padding-left: 18px; }
  .main-nav .has-sub:hover .submenu, .main-nav .has-sub:focus-within .submenu { display: none; }
  .main-nav .has-sub.open .submenu, .main-nav .has-sub.open:focus-within .submenu { display: block; }
  .hero, .blog-hero { margin-top: -76px; }
  .hero, .hero--short { min-height: 0; padding: 110px 16px 40px; place-items: center; }
  .hero-box { margin: 0; padding: 24px 16px; }
  .hero-name, .hero--short .hero-name { font-size: 36px; }
  .hero-phone { font-size: 28px; }
  .intro-row { padding: 30px 0 10px; }
  .intro-row .grid { grid-template-columns: 1fr; padding: 0 14px; gap: 10px; }
  .intro-copy { order: -1; padding: 10px 4px; }
  .intro-copy h1 { font-size: 32px; }
  .quote-card { padding: 16px 16px 20px; border-width: 6px; }
  .quote-form { grid-template-columns: 1fr; }
  .section, .band-photo { padding: 40px 18px; }
  .two-col { grid-template-columns: 1fr; gap: 10px; }
  .split { grid-template-columns: 1fr; }
  .split .panel { padding: 40px 20px; order: 1; }
  .split .photo { min-height: 260px; order: 2; }
  .split .panel h2, .split .panel h3 { font-size: 26px; }
  .pill { min-width: 0; width: 100%; max-width: 320px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; }
  .gallery .g1 { grid-row: auto; grid-column: 1 / span 2; }
  .gallery .g4 { grid-column: 1 / span 2; }
  .tablist button { font-size: 16px; }
  .quotes { grid-template-columns: 1fr; padding: 20px 18px 50px; }
  .site-footer { padding: 30px 18px 30px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 26px; }
  .blog-hero { min-height: 0; padding: 130px 18px 60px; }
  .blog-hero h1, .post-hero h1 { font-size: 30px; }
  .post-list { grid-template-columns: 1fr; padding: 30px 18px 60px; }
  .article { padding: 0 18px; }
  .article .lede { font-size: 20px; }
  .article h2 { font-size: 25px; }
  h1, h2 { overflow-wrap: anywhere; }
}
@media (max-width: 420px) {
  .head-call { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
