/* Good Fences page CSS: only what the kit lacks (the planner, the steps, the town lists). Tokens only. */

/* planner: the form and its live result side by side inside one panel */
.planner { display: grid; gap: var(--s-5); padding: var(--s-6); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.planner__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.planner .field select { width: 100%; }
.planner__out { display: grid; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.planner__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.planner__nums dt { font-size: var(--t-small); color: var(--muted); }
.planner__nums dd { font: var(--display-weight) var(--t-h3, 32px)/1.1 var(--font-display); letter-spacing: var(--display-tracking); font-variant-numeric: tabular-nums; }
.planner__msg { padding: var(--s-4); border-radius: var(--r-md); background: var(--surface); max-width: none; }
.planner__tips { display: grid; gap: var(--s-3); padding-left: 1.1em; list-style: disc; }
@media (max-width: 639px) {
  .planner { padding: var(--s-5); }
  .planner__fields { grid-template-columns: minmax(0, 1fr); }
}

/* four steps on one row, one column on a phone */
.steps { list-style: none; padding: 0; row-gap: var(--s-6); }
.steps h3 { font: 500 var(--t-lead)/1.3 var(--font-text); letter-spacing: 0; }

/* town lists */
.areas { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.areas a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; min-height: 44px; display: inline-flex; align-items: center; }
.towns { list-style: none; padding: 0; row-gap: var(--s-6); }
.towns h3 { font: 500 var(--t-lead)/1.3 var(--font-text); letter-spacing: 0; }
.towns > li { padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }

/* the second, shorter quote */
.quote--small blockquote { font-size: var(--t-lead); }

/* rows that link: the name keeps the row's weight */
.rows a.rows__name { color: inherit; text-decoration: none; }
.rows a.rows__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.mo-ph__ch h3 a { color: inherit; text-decoration: none; }

/* the nav's phone number shows on desktop only; the phone gets the action bar */
@media (max-width: 1023px) { .nav__actions .nav__link[href^="tel:"] { display: none; } }
/* reviews: the job photograph under the towns */
.reviews__pic { aspect-ratio: 4 / 3; }
.planner__pic { aspect-ratio: 16 / 10; }
.quote + .quote { margin-top: var(--s-2); }
.quote .person { margin-top: var(--s-3); }
/* a phone: the row name is the link; the "See ..." link drops */
@media (max-width: 639px) { #work .rows__value { display: none; } }
/* a narrow phone: the big close button wraps inside the screen */
@media (max-width: 479px) { .closing__cta .btn--xl { font-size: var(--t-lead); white-space: normal; min-width: 0; max-width: 100%; } .closing__cta { min-width: 0; } }
/* inner pages (house rule, user override of one-section-per-screen): sections are sized to their content */
body:not(:has(#planner)) main > section:not(.hero) { height: auto; min-height: 0; }

/* ---------- sizing by content, not by the window (user, 2026-11-09: no padding that grows on zoom-out) ---------- */
:root { --padt: 96px; --padb: 64px; }
@media (max-width: 639px) { :root { --padt: 64px; --padb: 48px; } }
main > :is(section, .section):not([data-moment]), footer.closing { height: auto !important; min-height: 0 !important; }
main > :is(section, .section):not([data-moment]) > :is(.wrap, .container) { height: auto; }
main > .hero { height: auto !important; min-height: 0 !important; }
main > .hero > .wrap { height: auto; }
.hero--split .hero__grid { align-items: center; }
.hero--split .hero__text { align-self: center; }
.hero--split .hero__media { height: 600px; min-height: 0; }
@media (max-width: 1023px) { .hero--split .hero__media { height: 420px; flex: none; } }
@media (max-width: 639px) { .hero--split .hero__media { height: 300px; } }
#work .frame--fill { height: 520px; flex: none; }
footer.closing .closing__links { margin-top: var(--s-8, 64px); }
.closing__cta .btn-row { flex-wrap: wrap; }

/* hero photos: the picture is the button for the next fence */
[data-hero-slides] { cursor: pointer; }
.hero__slide[hidden] { display: none; }
.hero__next { position: absolute; z-index: 2; top: var(--s-5); right: var(--s-5); display: inline-flex; align-items: center; gap: var(--s-3);
  min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink);
  font: 500 var(--t-small)/1 var(--font-text); cursor: pointer; }
.hero__next svg { width: 12px; height: 12px; transition: transform .2s; }
.hero__next:hover svg, [data-hero-slides]:hover .hero__next svg { transform: translateX(3px); }
.hero__count { color: var(--muted); font-variant-numeric: tabular-nums; }

/* community reviews */
.reviews { list-style: none; padding: 0; row-gap: var(--gutter); }
.review figure { height: 100%; padding: var(--s-6); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; }
.review blockquote { font-size: var(--t-body); line-height: 1.55; flex: 1; }
.review figcaption { display: grid; gap: 2px; }
.stars { color: var(--accent); letter-spacing: 2px; }
.reviews__towns { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); }
.reviews__towns a { text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 640px) and (max-width: 1023px) { .review.span-4 { grid-column: span 6; } }

/* the estimate page: no hero photo, the planner beside the ways to reach us */
.est { padding-top: calc(var(--nav) + 48px); }
.est h1 { font: var(--display-weight) var(--ly-h1, 64px)/1.04 var(--font-display); letter-spacing: var(--display-tracking); }

/* fixes after the 2026-11-09 zoom-out shots */
main > section[data-moment]:not(.is-live) { height: auto !important; min-height: 0 !important; }
#work .fill { flex: none !important; }
#work .frame--fill { height: 520px; }
@media (max-width: 639px) { #work .frame--fill { height: 280px; } }
.closing__cta .btn-row { display: flex; flex-direction: row; flex-wrap: wrap; gap: var(--s-3); }
.closing__cta .btn-row .btn { width: auto; }

/* ================= iteration 1 (2026-11-09): brand mark, trust strip, labels, dark reviews band, contact card, navy close ================= */
.gf-mark { width: 30px; height: 26px; fill: var(--accent); flex: none; }
.nav__logo { gap: 10px; }
.logo__word { font-weight: 700; letter-spacing: -0.02em; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn .ic { width: 18px; height: 18px; margin-right: 8px; }
.section-head p, .mo-ph__head p { color: var(--muted); }

/* outlined pill label above each section title */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; width: max-content; height: 30px; padding: 0 14px; justify-self: start;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section-head--row > div { gap: var(--s-4); }
.mo-ph__head { display: grid; gap: var(--s-4); }

/* trust strip under the hero */
.trust { list-style: none; padding: 0; margin: var(--s-8) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.trust li { display: flex; padding: var(--s-5) var(--s-5) var(--s-5) 0; }
.trust li + li { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.trust li, .trust li > a { gap: 14px; align-items: center; }
.trust li > a { display: flex; color: inherit; text-decoration: none; }
.trust b { display: block; font-weight: 600; font-size: var(--t-body); }
.trust b + span { display: block; font-size: var(--t-small); color: var(--muted); }
.trust a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.chip { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); color: var(--accent); flex: none; }
@media (max-width: 1023px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 639px) {
  .trust { grid-template-columns: minmax(0, 1fr); margin-top: var(--s-6); }
  .trust li, .trust li + li { padding: var(--s-4) 0; border-left: 0; }
  .trust li + li { border-top: 1px solid var(--line); }
}

/* reviews: one dark band, a lead quote, the score card, four cards */
.reviews-band { --line: color-mix(in oklab, var(--ink) 16%, transparent); --line-strong: color-mix(in oklab, var(--ink) 34%, transparent); }
.reviews-top { row-gap: var(--gutter); margin-bottom: var(--gutter); }
.review--lead { margin: 0; padding: var(--s-7); border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; gap: var(--s-5); }
.review__mark { width: 44px; height: 33px; fill: var(--ink); opacity: .3; }
.review--lead blockquote { flex: 1; font: 400 clamp(22px, 1vw + 15px, 30px)/1.38 var(--font-display); letter-spacing: -0.015em; }
.who { display: flex; align-items: center; gap: 12px; }
.who b { display: block; font-weight: 600; }
.who b + span { display: block; font-size: var(--t-small); color: var(--muted); }
.who > .stars { margin-left: auto; }
.avatar-i { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; flex: none; }
.score { padding: var(--s-7); border-radius: var(--r-lg); border: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: var(--s-2); }
.score__num { font: 500 64px/1 var(--font-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.score__num span { font-size: 26px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.score__stars { font-size: 22px; margin-top: var(--s-2); }
.score__sub { color: var(--muted); }
.score__quote { margin-top: auto; padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--t-lead); }
.score__quote span { display: block; margin-top: 4px; font-size: var(--t-small); color: var(--muted); }
.score .btn { align-self: flex-start; margin-top: var(--s-4); }
.reviews-band .review figure { background: var(--surface); border: 0; padding: var(--s-6); gap: var(--s-4); margin: 0; }
.reviews-band .review figure blockquote { flex: 1; }
.reviews-band .reviews__towns > span { color: var(--muted); font-size: var(--t-small); }
.reviews-band .reviews__towns a { color: var(--ink); text-decoration-color: var(--line-strong); }
@media (max-width: 1023px) { .review--lead.span-8, .score.span-4 { grid-column: 1 / -1; } .review.span-3 { grid-column: span 6; } }
@media (max-width: 639px) { .review.span-3 { grid-column: 1 / -1; } .review--lead, .score { padding: var(--s-5); } .who > .stars { display: none; } }

/* FAQ: the title and a contact card stay in view while the answers scroll */
.faq__side { display: flex; flex-direction: column; gap: var(--s-6); align-self: start; position: sticky; top: calc(var(--nav) + 32px); }
.faq__side .section-head { margin-bottom: 0; }
.ask { display: grid; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); }
.ask__title { font: 500 var(--t-h3)/1.2 var(--font-display); letter-spacing: -0.02em; }
.ask__text { color: var(--muted); }
.ask .btn-row { margin-top: var(--s-3); }
@media (max-width: 1023px) { .faq__side { position: static; } }

/* closing: a navy panel with a photograph */
.cta-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-radius: var(--r-lg); overflow: clip; }
.cta-panel__text { display: grid; gap: var(--s-4); align-content: center; padding: var(--s-8); }
.cta-panel h2 { font: var(--display-weight) var(--t-h2)/1.08 var(--font-display); letter-spacing: var(--display-tracking); max-width: 18ch; }
.cta-panel p:not(.eyebrow) { color: var(--muted); font-size: var(--t-lead); max-width: 48ch; }
.cta-panel .btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
.cta-panel .eyebrow { border-color: color-mix(in oklab, var(--ink) 34%, transparent); }
.cta-panel__pic { position: relative; min-height: 380px; }
.cta-panel__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
footer.closing { padding-top: var(--padt); }
@media (max-width: 1023px) { .cta-panel { grid-template-columns: minmax(0, 1fr); } .cta-panel__pic { min-height: 260px; order: -1; } .cta-panel__text { padding: var(--s-6); } }
@media (max-width: 479px) { .cta-panel .btn--xl { font-size: var(--t-lead); white-space: normal; min-width: 0; max-width: 100%; } }
/* iteration 1 fixes */
.section-head p.eyebrow, .mo-ph__head p.eyebrow, .cta-panel p.eyebrow { font-size: 12px; line-height: 1; color: var(--ink); max-width: none; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review__top { display: flex; align-items: center; justify-content: space-between; }
.cta-panel .btn-row .btn { width: auto; flex: none; }
.hero .trust { margin-top: var(--s-7); }

/* ================= iteration 2 (2026-11-09): detail polish ================= */
/* hero: the photo fills the column on a phone and a tablet (it collapsed to 0 px wide) */
@media (max-width: 1023px) { .hero--split .hero__media { width: 100%; align-self: stretch; } }
.hero .trust { margin-top: var(--s-6); }
.hero__media { box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px color-mix(in oklab, var(--ink) 45%, transparent); border-radius: var(--r-lg); }
.hero__next { box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--ink) 40%, transparent); }

/* photographs: a slow zoom when the pointer is on them */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .frame--photo, .cta-panel__pic, .pl-photo { overflow: clip; }
  .frame--photo img, .cta-panel__pic img, .pl-photo img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
  .frame--photo:hover img, .cta-panel:hover .cta-panel__pic img, .pl-photo:hover img { transform: scale(1.035); }
  .review, .ask, .score { transition: transform .3s ease; }
  .reviews .review:hover { transform: translateY(-3px); }
}

/* rows: a stronger name and an arrow chip */
.rows > li { padding-block: var(--s-5); }
.rows .rows__name { font: 500 20px/1.3 var(--font-display); letter-spacing: -0.01em; }
.rows > li > p { color: var(--muted); }
#work .rows > li { transition: padding-left .25s ease; }
#work .rows > li:is(:hover, :focus-within, .is-active) { padding-left: var(--s-3); }

/* FAQ: numbered questions */
.faq { counter-reset: q; }
.faq > .faq__item { counter-increment: q; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--s-3); }
.faq > .faq__item::before { content: counter(q, decimal-leading-zero); grid-row: 1 / span 2; padding-top: 4px;
  font: 500 var(--t-small)/1.4 var(--font-text); color: var(--muted); font-variant-numeric: tabular-nums; }
.faq > .faq__item > :is(h3, p) { grid-column: 2; }
.faq :is(.faq__item, details) p { color: var(--muted); }

/* planner: a title row and stronger numbers */
.planner { box-shadow: 0 30px 60px -40px color-mix(in oklab, var(--ink) 50%, transparent); }
.planner__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.planner__title { font: 500 var(--t-h3)/1.2 var(--font-display); letter-spacing: -0.02em; }
.planner__live { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--muted); }
.planner__live .dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e5b; box-shadow: 0 0 0 4px color-mix(in oklab, #2f9e5b 22%, transparent); }
.planner__nums > div { padding: var(--s-4); border-radius: var(--r-md); background: var(--surface); }
.planner__nums dd { font-size: 40px; font-weight: 500; margin-top: 4px; }

/* service pages: steps on a line, numbers in solid circles */
.steps { position: relative; }
.steps > li { position: relative; }
.steps .step-num { width: 44px; height: 44px; background: var(--ink); color: var(--bg); font-weight: 600; position: relative; z-index: 1; }
@media (min-width: 1024px) {
  .steps > li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: calc(var(--gutter) * -1 + 12px); height: 1px; background: var(--line-strong); }
}

/* footer: contact rows with chips, a calmer legal line */
.contact-list { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.contact-list li { display: flex; align-items: center; gap: var(--s-3); }
.contact-list .chip { width: 36px; height: 36px; border-radius: 10px; }
.contact-list .ic { width: 18px; height: 18px; }
.contact-list a { color: inherit; text-decoration: none; font-size: var(--t-body); min-height: 44px; display: inline-flex; align-items: center; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__col h3 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer__legal { color: var(--muted); }

/* ================= town pages (2026-11-14): breadcrumbs, town cards, the "at a glance" card ================= */
.crumbs { margin-bottom: var(--s-4); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: var(--t-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.trust .trust__years b { font-size: var(--t-lead); }
.tcards { list-style: none; padding: 0; row-gap: var(--gutter); }
.tcard > a { display: flex; flex-direction: column; gap: var(--s-3); height: 100%; padding: var(--s-4); border-radius: var(--r-lg); background: var(--bg); color: inherit; text-decoration: none; }
.tcard img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.tcard h3 { font: 500 20px/1.3 var(--font-display); letter-spacing: -0.01em; }
.tcard p { color: var(--muted); flex: 1; }
.tcard > a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .tcard > a { transition: transform .3s ease; } .tcard > a:hover { transform: translateY(-3px); } }
@media (min-width: 640px) and (max-width: 1023px) { .tcard.span-3, .tcard.span-4 { grid-column: span 6; } .tcards > .tcard.span-4:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.glance { display: grid; gap: var(--s-4); align-self: start; padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); }
.glance dl { display: grid; margin: 0; }
.glance dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s-3); padding-block: var(--s-3); border-top: 1px solid var(--line); }
.glance dt { color: var(--muted); font-size: var(--t-small); padding-top: 2px; }
.glance dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 1023px) { .glance { position: static; } }
@media (max-width: 639px) { .glance { padding: var(--s-5); } .glance dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
/* the reliability line above the h1 (client fact: 20+ years) reads as a statement, not a footnote */
.hero__kicker:has(b) { font-size: var(--t-body); color: var(--ink); font-weight: 500; }
.hero__kicker b { font-weight: 700; }
.section-head p a:not(.btn) { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ================= GF logo palette (2026-11-14): blue, yellow, cream, brown rule. Tokens in build.mjs :root; ratios in PALETTE.md ================= */
/* headings in the logo blue on light grounds (5.69:1 on cream, 5.11:1 on the surface); cream on the navy bands */
:where(main, footer) :is(h1, h2) { color: var(--gf-heading, var(--gf-blue)); }
:is(.ground-inverse, .reviews-band, .cta-panel) { --gf-heading: var(--ink); }
.logo__word { color: var(--gf-blue); }
/* the primary button: a yellow fill with navy text (9.42:1). Yellow is never text, a thin line or an icon on cream (1.36:1). */
.btn--primary { background: var(--gf-yellow); color: var(--gf-navy); box-shadow: inset 0 0 0 1px var(--gf-gold-edge); }
.btn--primary:hover, .ground-brand .btn--primary:hover { background: var(--gf-gold); color: var(--gf-navy); }
:is(.ground-inverse, .reviews-band) .btn--primary { box-shadow: none; }
/* the secondary button on a navy band: cream outline and text */
:is(.ground-inverse, .reviews-band) .btn--secondary { color: var(--ink); border-color: color-mix(in oklab, var(--ink) 45%, transparent); }
/* the brown rule from the logo, under and over the trust strip */
.trust { border-top-color: var(--gf-brown); border-bottom-color: color-mix(in oklab, var(--gf-brown) 45%, transparent); }
.gf-mark { width: 32px; height: 32px; }
.gf-mark__tile { fill: var(--gf-blue); }
.gf-mark__fence { fill: var(--gf-yellow); }

/* ================= nav fit (2026-11-14): the words, the phone and the button never touch ================= */
/* 1280 and up: the centred words, the phone number in full. The phone icon shows only below 1280. */
.nav__phone .ic { display: none; }
/* 1024-1279: the words move left beside the logo (no centring), and the phone becomes a 44 px icon button */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav--centre .nav__bar { display: flex; gap: var(--s-6); }
  .nav--centre .nav__links { flex: 1; justify-content: flex-start; }
}
@media (max-width: 1279px) {
  .nav .nav__actions > a.nav__phone { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line-strong); border-radius: var(--r-btn); }
  .nav__phone .ic { display: block; margin: 0; }
  .nav__phone .nav__phone-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav .nav__actions > a.nav__phone::before { display: none; }
}
/* 640-1023: the icon stays in the bar beside the button (the kit hides every action but the button) */
@media (min-width: 640px) and (max-width: 1023px) {
  .nav:not(.is-open) .nav__actions > a.nav__phone { display: inline-grid; }
}
/* the open sheet (below 1024): the phone number in full under the button */
@media (max-width: 1023px) {
  .nav.is-open .nav__actions > a.nav__phone { display: inline-flex; width: auto; height: var(--btn-h); border: 0; gap: var(--s-2); }
  .nav.is-open .nav__phone .nav__phone-num { position: static; width: auto; height: auto; clip: auto; }
}

/* Pixel Media credit (agency watermark) */
.pm-credit { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.pm-credit svg { width: 16px; height: 16px; flex: none; }
.pm-credit b { font-weight: 600; color: inherit; }
.pm-credit:hover b { text-decoration: underline; }

/* Fence types arrow slider (home #fences) */
.ft { display: grid; gap: var(--s-6, 32px); }
.ft__head { display: grid; gap: var(--s-4, 16px); max-width: 40rem; }
.ft__head p { color: var(--muted); }
.ft__stage { position: relative; }
.ft__list { list-style: none; margin: 0; padding: 0; }
.ft__slide { position: relative; border-radius: 16px; overflow: hidden; }
.ft__slide[hidden] { display: none; }
.ft__pic { margin: 0; aspect-ratio: 16 / 9; background: var(--surface); }
.ft__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ft__card { position: absolute; left: 24px; bottom: 24px; max-width: 26rem; background: var(--bg); color: var(--ink); border-radius: 12px; padding: 24px 28px; display: grid; gap: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / .18); }
.ft__card h3 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); }
.ft__card h3 a { color: inherit; text-decoration: none; }
.ft__card p { margin: 0; }
.ft__count { font-size: 14px; letter-spacing: .06em; color: var(--muted); }
.ft__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgb(0 0 0 / .22); }
.ft__arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ft__arrow:hover { background: var(--ink); color: var(--bg); }
.ft__arrow:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ft__arrow--prev { left: 16px; }
.ft__arrow--next { right: 16px; }
@media (max-width: 720px) {
  .ft__pic { aspect-ratio: 4 / 3; }
  .ft__card { position: static; max-width: none; border-radius: 0; box-shadow: none; padding: 20px 4px 0; background: transparent; }
  .ft__arrow { top: calc((100vw - 32px) * 3 / 8); width: 44px; height: 44px; }
  .ft__arrow--prev { left: 8px; } .ft__arrow--next { right: 8px; }
}

/* Desktop menus open on CLICK only (2026-11-14, user: hover and focus opened them by surprise).
   Overrides the hover / focus-within rules in assets/system.css. */
@media (min-width: 1024px) {
  .nav__item:hover > .nav__menu, .nav__item:focus-within > .nav__menu {
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition-delay: 0s;
  }
  .nav__item:hover > .nav__link .chev, .nav__item:focus-within > .nav__link .chev { transform: none; }
  .nav__item.is-menu-open > .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__item.is-menu-open > .nav__link .chev { transform: rotate(180deg); }
  .nav__item.is-menu-open > .nav__link::before { transform: scaleX(1); }
}

/* New GF logo (client, 2026-11-14): picture mark, height sets the size */
.gf-mark { width: auto; height: 34px; flex: none; display: block; }
.footer .gf-mark { height: 30px; }
.nav .nav__logo img.gf-mark { height: 34px; max-height: none; width: auto; }
.footer .nav__logo img.gf-mark { height: 30px; }
