@font-face{font-family:"Archivo";src:url("/fonts/archivo-501.woff2") format("woff2");font-weight:400 800;font-stretch:100% 118%;font-style:normal;font-display:swap}
@font-face{font-family:"Archivo fallback";src:local("Arial");size-adjust:98.06%;ascent-override:89.53%;descent-override:21.41%;line-gap-override:0%}
/* The 501 Fence Co. site styles.
   The logo and the red free-quote button are the only loud things on a page. Everything else is calm:
   one type family at moderate weights, hairlines, room around each block, and the job photos shown large and clean.
   First screen: the job photo fills it, the headline sits on the photo, and the quote form rides beside it on wide screens. */
:root{
  color-scheme:light;
  --navy:#13294B;      /* logo navy: headings, text */
  --deep:#0D1E3A;      /* first screen, footer */
  --red:#D8232F;       /* logo red: free-quote buttons only */
  --red-dark:#A51822;  /* ribbon fold: button hover */
  --white:#FFFFFF;
  --mist:#F3F5F9;      /* alternate bands */
  --picket:#D5DDEA;    /* logo fence boards: rules */
  --line:#E3E8F0;      /* hairlines */
  --slot:#E8EDF4;      /* photo boxes before the photo loads */
  --slate:#4A5870;     /* secondary text, 7.2 to 1 on white */
  --field:#7F8CA3;     /* field and quiet-button borders, 3.4 to 1 on white */
  --on-navy-soft:#C9D3E3; /* secondary text on navy, 9.6 to 1 */
  --flag:#FFF1B8;      /* marker for open items, never part of the live look */
  --flag-line:#8A5A00;
  --flag-ink:#4A3000;
  --font:"Archivo","Archivo fallback","Helvetica Neue",Arial,sans-serif;
  /* Type scale: 15, 16, 17 or 18, 19 or 21, then the heading sizes */
  --t-small:.9375rem;  /* photo labels alone are 14 */
  --t-base:1rem;
  --t-body:1.0625rem;
  --t-lead:1.1875rem;
  --t-h3:1.1875rem;
  --t-card:1.5rem;
  --t-h2:1.75rem;
  --t-h1:2.125rem;
  --gutter:20px;
  --header-h:60px;
  --bar-h:66px;
  --gl:max(var(--gutter),env(safe-area-inset-left,0px));
  --gr:max(var(--gutter),env(safe-area-inset-right,0px));
  --measure:54ch;      /* about 75 characters in this font */
  --r-s:6px;
  --r-m:8px;
  --r-l:14px;
  --shadow-s:0 1px 2px rgba(13,30,58,.06),0 3px 10px rgba(13,30,58,.05);
  --shadow-m:0 2px 4px rgba(13,30,58,.05),0 14px 30px -10px rgba(13,30,58,.2);
  --shadow-l:0 4px 10px rgba(13,30,58,.1),0 30px 64px -20px rgba(13,30,58,.5);
  --hero-photo-h:min(80vw,350px);  /* how much of a phone's first screen the photo takes */
  --hero-lift:118px;               /* how far the headline rides up onto the photo */
}
@media (max-width:389.98px){:root{--t-h1:1.9375rem;--hero-lift:108px}}
@media (max-width:339.98px){:root{--t-h1:1.75rem}}
@media (min-width:600px){:root{--hero-photo-h:420px;--hero-lift:150px}}
@media (min-width:760px){:root{--gutter:32px;--t-body:1.125rem;--t-lead:1.3125rem;--t-h3:1.3125rem;--t-card:1.625rem;--t-h2:2.25rem;--t-h1:2.75rem}}
@media (min-width:900px){:root{--bar-h:0px}}
@media (min-width:1100px){:root{--gutter:40px;--header-h:84px;--t-h2:2.5rem;--t-h1:3.375rem}}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:12px;scroll-padding-bottom:calc(var(--bar-h) + 12px)}
@media (min-width:900px){html{scroll-padding-top:calc(var(--header-h) + 12px)}}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--white);color:var(--navy);font-family:var(--font);font-size:var(--t-body);line-height:1.6;font-weight:400;font-stretch:100%;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;padding-bottom:calc(var(--bar-h) + env(safe-area-inset-bottom,0px))}
h1,h2,h3,p,ul,ol,figure,blockquote,dl,dd{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit}
svg{display:block;max-width:100%}
img{display:block;max-width:100%;height:auto}
p{max-width:var(--measure);text-wrap:pretty}
h1,h2,h3{color:var(--navy);font-weight:700;font-stretch:106%;line-height:1.08;letter-spacing:-.018em;text-wrap:balance}
h1{font-size:var(--t-h1)}
h2{font-size:var(--t-h2)}
h3{font-size:var(--t-h3);font-weight:650;font-stretch:102%;line-height:1.24;letter-spacing:-.006em}
.lead{font-size:var(--t-lead);line-height:1.5}
.soft{color:var(--slate)}
.small{font-size:var(--t-small);line-height:1.45}
.nb{white-space:nowrap}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:focus-visible{outline:3px solid var(--navy);outline-offset:3px;border-radius:4px}
.on-navy :focus-visible,.site-footer :focus-visible,.hero-stage :focus-visible{outline-color:var(--white)}
.skip{position:absolute;left:12px;top:-80px;z-index:50;background:var(--white);color:var(--navy);padding:12px 16px;font-weight:700}
.skip:focus{top:12px}

.wrap{max-width:1240px;margin-inline:auto;padding-left:var(--gl);padding-right:var(--gr)}
.band{padding-block:clamp(56px,8.5vw,116px)}
.band-mist{background:var(--mist)}
.stack{display:grid;gap:14px;align-content:start}
.stack-lg{display:grid;gap:clamp(28px,4vw,48px);align-content:start}
.text-link{font-weight:650;text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:rgba(19,41,75,.45);text-underline-offset:5px;display:inline-flex;align-items:center;min-height:44px}
.text-link:hover{text-decoration-color:currentColor}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border:1.5px solid transparent;border-radius:var(--r-m);font:inherit;font-size:1.0625rem;font-weight:700;font-stretch:102%;line-height:1.1;text-decoration:none;white-space:nowrap;cursor:pointer}
.btn-primary{background:var(--red);color:var(--white);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(120,14,22,.45),0 10px 22px -10px rgba(216,35,47,.6)}
.btn-primary:hover{background:var(--red-dark)}
.btn-quiet{background:var(--white);color:var(--navy);border-color:var(--field)}
.btn-quiet:hover{border-color:var(--navy);background:var(--mist)}
.btn-block{width:100%}
.btn svg{width:19px;height:19px;flex:none}
@media (prefers-reduced-motion:no-preference){
  .btn{transition:background-color .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease}
  .btn:active{transform:translateY(1px)}
}


/* Header */
.site-header{position:relative;z-index:20;background:var(--white);border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;gap:10px;min-height:var(--header-h)}
.logo{display:block;flex:none;line-height:0;margin-right:auto;padding-block:8px}
.logo svg{width:204px;height:auto}
@media (max-width:359.98px){.logo svg{width:186px}}
.nav,.header-phone,.header-cta{display:none}
.menu{position:static}
.menu summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:var(--r-m);background:var(--mist);cursor:pointer}
.menu summary::-webkit-details-marker{display:none}
.menu summary svg{width:22px;height:22px}
.menu[open] summary{background:var(--navy);color:var(--white)}
.menu-panel{position:absolute;left:0;right:0;top:100%;background:var(--white);border-top:1px solid var(--line);box-shadow:0 24px 40px -18px rgba(13,30,58,.35);padding-block:6px 16px}
.menu-panel a{display:flex;align-items:center;min-height:54px;font-weight:600;font-size:var(--t-lead);text-decoration:none;border-bottom:1px solid var(--line)}
.menu-panel a:last-child{border-bottom:0;margin-top:14px;min-height:52px;justify-content:center;background:var(--red);color:var(--white);border-radius:var(--r-m);font-size:1.0625rem;font-weight:700}
/* From 900 wide the first screen is the wide one, so the header carries the number and the quote button and the phone bar goes away. */
@media (min-width:900px){
  body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:25;background:var(--white)}
  .site-header{position:sticky;top:env(safe-area-inset-top,0px)}
  .header-row{gap:16px}
  .header-phone{display:inline-flex;align-items:center;gap:9px;min-height:44px;font-size:1.1875rem;font-weight:700;font-stretch:104%;text-decoration:none;white-space:nowrap}
  .header-phone svg{width:19px;height:19px;flex:none}
  .header-cta{display:inline-flex;min-height:46px;padding:0 20px;font-size:1rem}
}
@media (min-width:1100px){
  .header-row{gap:22px}
  .logo svg{width:236px}
}
/* From 1000 wide all five page links sit in the header, so a small laptop does not have to open a menu. Up to 1180 three of them use a short name (Fences, Photos, Cost) so they fit beside the number. */
.nav .ns{display:none}
@media (min-width:1000px){
  .logo{margin-right:0}
  .nav{display:flex;gap:16px;margin-left:auto;margin-right:2px}
  .nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;font-size:.9375rem;font-weight:500;text-decoration:none;white-space:nowrap;color:var(--navy)}
  .nav a:hover{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:7px}
  .menu{display:none}
}
@media (min-width:1000px) and (max-width:1179.98px){.nav .nl{display:none}.nav .ns{display:inline}}
@media (min-width:1240px){
  .nav{gap:26px;margin-right:8px}
  .nav a{font-size:var(--t-base)}
}

/* Photos. One box for a real photo and for an empty slot, so a photo drops in with no layout change. */
.shot{position:relative;display:block;overflow:hidden;width:100%;max-width:100%;aspect-ratio:4/3;background-color:var(--slot);border-radius:var(--r-s)}
.shot img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.shot figcaption{position:absolute;left:8px;bottom:8px;z-index:2;max-width:calc(100% - 16px);background:rgba(13,30,58,.8);color:var(--white);padding:4px 9px;border-radius:4px;font-size:.875rem;font-weight:600;line-height:1.3}
/* A small photo shows the town alone when the town is known. The full label is on the photo's description. */
@media (max-width:1239.98px){.work-grid .shot:not(:first-child) figcaption:has(.cap-town) .cap-what{display:none}}
.shot.is-empty{background-image:repeating-linear-gradient(90deg,rgba(19,41,75,.05) 0 36px,rgba(19,41,75,0) 36px 45px)}
.shot.is-empty figcaption{background:var(--white);color:var(--slate);box-shadow:var(--shadow-s);max-width:min(26ch,calc(100% - 20px))}

/* First screen. Phones: the photo fills the top and fades into navy under the headline.
   Wide screens: the photo fills the whole block, the words sit on its dark left side and the form rides on the right. */
.hero{display:flex;flex-direction:column;padding-bottom:clamp(36px,6vw,64px)}
.hero-stage{position:relative;isolation:isolate;overflow:hidden;background:var(--deep);color:var(--white)}
.hero-bg{position:absolute;inset:0 0 auto 0;height:var(--hero-photo-h);z-index:-1;margin:0;background:var(--deep)}
.hero-bg img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 38%}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(13,30,58,1) 0,rgba(13,30,58,.84) 62px,rgba(13,30,58,.4) 140px,rgba(13,30,58,0) 218px,rgba(13,30,58,.05) 100%)}
.hero-inner{position:relative;display:grid;padding-top:calc(var(--hero-photo-h) - var(--hero-lift));padding-bottom:26px}
.hero-text{display:grid;gap:14px;align-content:start;justify-items:start}
.hero-words{display:grid;gap:14px;justify-items:start;min-width:0}
/* With the boxes, "Get a free quote" links land at the top of the first screen: on a phone that shows the headline, the boxes and the button together, and on a wide screen it shows the form card. */
.hero{position:relative}
.quote-anchor{position:absolute;top:0;left:0;width:1px;height:1px}
.hero-text h1{color:var(--white);text-shadow:0 1px 22px rgba(13,30,58,.5)}
.hero-text .lead{color:var(--white);max-width:36ch}
.hero-text .lead>span{display:block;text-wrap:balance}
.hero-cap{position:absolute;z-index:1;top:10px;right:var(--gr);margin:0;max-width:calc(100% - 2 * var(--gutter));background:rgba(13,30,58,.62);color:var(--white);padding:4px 9px;border-radius:4px;font-size:.875rem;font-weight:600;line-height:1.3}
.hero-actions{display:grid;gap:6px;justify-items:start;width:100%;margin-top:4px}
.hero-actions .btn{width:100%;max-width:380px}
.btn-ghost{background:transparent;color:var(--white);border-color:rgba(255,255,255,.62)}
.btn-ghost:hover{background:rgba(255,255,255,.1);border-color:var(--white)}
/* Name and phone boxes under the headline. Off unless the first screen is in its fields form, and never on a wide screen, where the full form sits beside the headline. */
.hero-mini,.hero-more{display:none}
.hero-first{display:contents}
/* On a phone the first screen is exactly one screen tall: the words and the button take what they need at the bottom and the photo takes the rest. */
@media (max-width:599.98px){
  .hero-first{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(40px,1fr) auto;min-height:calc(100vh - var(--header-h) - var(--bar-h))}
  .hero-bg{position:relative;inset:auto;grid-area:1/1;height:auto;margin-bottom:calc(-1 * var(--hero-lift))}
  .hero-bg img{position:absolute;inset:0}
  .hero-inner{grid-area:2/1;padding-top:0}
  .hero-stage.no-photo .hero-first{display:block;min-height:0}
}
@supports (height:100svh){@media (max-width:599.98px){.hero-first{min-height:calc(100svh - var(--header-h) - var(--bar-h))}}}
@media (max-width:899.98px){
  .hero-fields .hero-actions .hero-price{display:none}
  .hero-fields .quote-card{display:none}          /* the boxes are the form up here; the full form sits at the foot of the page */
  .hero-fields .hero-more{display:grid;gap:12px;justify-items:start;padding-bottom:26px}
  .hero-fields .hero-inner{padding-bottom:10px}
  .mini-agree{margin:0;max-width:none;font-size:.8125rem;line-height:1.45;color:var(--on-navy-soft)}
  .hero-more .form-note{color:var(--on-navy-soft);max-width:var(--measure)}
  .hero-more .form-note a{color:var(--white)}
  .hero-more .btn{width:100%;max-width:380px}
  .hero-fields .hero-mini{display:grid;gap:10px;width:100%;max-width:560px}
  .hero-mini .mini-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hero-mini .field{gap:5px}
  .hero-mini .field label{color:var(--white)}
  .hero-mini .field input[type=text],.hero-mini .field input[type=tel]{min-height:48px;padding:10px 12px;border-color:transparent}
  .hero-mini .field input:focus-visible{outline:2px solid var(--white);outline-offset:2px;box-shadow:none}
  .hero-mini .field-err{margin-top:0;color:var(--white);background:var(--red-dark);border-radius:var(--r-s);padding:6px 10px}
  .hero-mini .btn{max-width:none}
}
@media (max-width:599.98px) and (max-height:619.98px){.hero-fields .call-line{display:none}.hero-fields .hero-text,.hero-fields .hero-words{gap:10px}.hero-fields .hero-mini{gap:8px}.hero-fields .hero-inner{padding-bottom:6px}.hero-fields .mini-agree{line-height:1.35}}
@media (max-width:599.98px) and (max-height:619.98px){.hero-first{grid-template-rows:minmax(16px,1fr) auto}.hero-cap{display:none}}   /* on a very short phone the photo is a sliver, so its label goes */
/* An upright tablet with the boxes: the words on the left, the boxes on the right, as a wide screen has the form beside the headline. */
@media (min-width:700px) and (max-width:899.98px){
  .hero-fields .hero-text{grid-template-columns:minmax(0,1fr) minmax(0,300px);column-gap:36px;align-items:end;justify-items:stretch}
  .hero-fields .hero-text>*{grid-column:1}
  .hero-fields .hero-text>.hero-actions{grid-column:2;grid-row:1;margin-top:0;background:rgba(13,30,58,.88);border:1px solid rgba(255,255,255,.16);border-radius:var(--r-l);padding:12px 18px 18px}
  .hero-fields .hero-text h1{font-size:clamp(2rem,4.9vw,2.375rem)}
  .hero-fields .hero-mini .mini-fields{grid-template-columns:minmax(0,1fr)}
  .hero-fields .hero-more{grid-template-columns:minmax(0,1fr) minmax(0,300px);column-gap:36px;align-items:start}
  .hero-fields .hero-more .form-note{grid-column:2;grid-row:1;padding-inline:18px}
  .hero-fields .hero-more .hero-price{grid-column:1;grid-row:1;justify-self:start;width:auto;max-width:none}
}
.call-line{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;font-size:var(--t-body);color:var(--on-navy-soft);max-width:none}
.call-line a{display:inline-flex;align-items:center;min-height:44px;font-size:var(--t-lead);font-weight:700;font-stretch:104%;text-decoration:none;color:var(--white)}
.hero-price{margin-top:2px}
@media (max-width:899.98px) and (max-height:619.98px){.hero:not(.hero-fields) .hero-price{display:none}}
.hero-proof{display:grid;gap:4px}
.hero-proof li{display:flex;align-items:baseline;gap:10px;color:var(--white);font-size:var(--t-base);font-weight:600;line-height:1.4}
.hero-proof li::before{content:"";flex:none;width:11px;height:9px;background:var(--white);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
@media (max-width:599.98px){.hero-text .crumbs{display:none}}
/* phones: a three-step trail wraps to a second line that starts with a slash. The headline right under it names the page, so the last step is left off. */
@media (max-width:599.98px){.crumbs li:nth-child(n+3)[aria-current]{display:none}}
.hero-stage.no-photo{background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,rgba(255,255,255,0) 1px 46px)}
.hero-stage.no-photo .hero-inner{padding-top:26px}
.hero .proof{order:2;padding:28px var(--gr) 0 var(--gl)}
.hero .quote-card{order:3;margin:30px var(--gr) 0 var(--gl)}
@media (min-width:900px){
  .hero{display:grid;grid-template-columns:minmax(var(--gl),1fr) minmax(0,640px) 40px 372px minmax(var(--gr),1fr);grid-template-rows:auto auto}
  .hero-stage{grid-column:1/-1;grid-row:1;display:grid;align-items:center;min-height:clamp(520px,46vw,660px)}
  .hero-bg{inset:0;height:auto}
  .hero-bg img{object-position:50% 58%}
  .hero-bg::after{background:linear-gradient(90deg,rgba(13,30,58,.9) 0%,rgba(13,30,58,.8) 22%,rgba(13,30,58,.58) 42%,rgba(13,30,58,.22) 54%,rgba(13,30,58,0) 66%),linear-gradient(to top,rgba(13,30,58,.36) 0%,rgba(13,30,58,0) 20%)}
  .hero-inner{width:100%;padding-top:48px;padding-bottom:56px}
  .hero-text{gap:18px;max-width:calc(100% - 412px)}
  .hero-words{gap:18px}
  .hero-text .lead{max-width:38ch}
  .hero-actions .hero-go{display:none}
  .hero-actions .hero-price{width:auto;max-width:none;min-height:48px;padding:0 20px;font-size:1rem}
  .hero-cap{top:auto;bottom:16px;right:auto;left:max(var(--gl),calc(50% - 580px))}
  .hero .quote-card{order:0;grid-column:4;grid-row:1;align-self:center;margin:28px 0;z-index:2}
  .hero .proof{order:0;grid-column:2/5;grid-row:2;padding:34px 0 0}
  .hero-stage.no-photo{min-height:0}
  .hero-stage.no-photo .hero-inner{padding-top:56px}
}
/* Between 900 and 1100 the form covers more of the photo, so the wash is lighter there and the fence still shows. */
@media (min-width:900px) and (max-width:1099.98px){
  .hero-bg::after{background:linear-gradient(90deg,rgba(13,30,58,.86) 0%,rgba(13,30,58,.74) 24%,rgba(13,30,58,.5) 44%,rgba(13,30,58,.16) 56%,rgba(13,30,58,0) 68%),linear-gradient(to top,rgba(13,30,58,.36) 0%,rgba(13,30,58,0) 20%)}
}
@media (min-width:1100px){
  .hero{grid-template-columns:minmax(var(--gl),1fr) minmax(0,692px) 48px 420px minmax(var(--gr),1fr)}
  .hero-text{max-width:calc(100% - 468px)}
  .hero-inner{padding-top:56px;padding-bottom:64px}
}
@media (min-width:1100px) and (max-height:760px){
  .hero-stage{min-height:500px}
  .hero .quote-card{margin-block:18px;gap:10px}
  .hero .quote-form{gap:10px}
  .hero .field input[type=text],.hero .field input[type=tel]{min-height:46px;padding-block:9px}
}

/* Quote form. A white card on the first screen, straight on navy in the last block. */
.quote-card{background:var(--white);color:var(--navy);border-radius:var(--r-l);box-shadow:var(--shadow-m);border:1px solid var(--line);padding:clamp(20px,2.2vw,28px);display:grid;gap:12px;align-content:start}
@media (min-width:900px){.hero .quote-card{border:0;box-shadow:var(--shadow-l)}}
.quote-card h2{font-size:var(--t-card)}
.quote-card>p{color:var(--slate);font-size:var(--t-base)}
.quote-form{display:grid;gap:13px}
.field{display:grid;gap:6px}
.field label{font-size:var(--t-small);font-weight:600;line-height:1.3}
.opt{font-weight:400;color:var(--slate)}
.field input[type=text],.field input[type=tel],.field textarea{width:100%;min-height:50px;padding:11px 14px;border:1px solid var(--field);border-radius:var(--r-m);background:var(--white);color:var(--navy);font:inherit;font-size:1.0625rem;line-height:1.35}
.field textarea{min-height:76px;resize:vertical}
.field ::placeholder{color:var(--slate);opacity:1}
.field input[type=text]:hover,.field input[type=tel]:hover,.field textarea:hover{border-color:var(--navy)}
.field input:focus-visible,.field textarea:focus-visible{outline:2px solid var(--navy);outline-offset:1px;border-color:var(--navy);box-shadow:0 0 0 5px rgba(19,41,75,.12)}
.field input[type=file]{width:100%;font:inherit;font-size:var(--t-small);color:var(--navy);min-height:48px}
.field input[type=file]::file-selector-button{min-height:44px;margin-right:12px;padding:0 14px;border:1px solid var(--field);border-radius:var(--r-m);background:transparent;color:var(--navy);font:inherit;font-weight:600;cursor:pointer}
.more summary{list-style:none;display:inline-flex;flex-wrap:wrap;align-items:center;gap:0 10px;min-height:44px;font-size:var(--t-small);font-weight:600;cursor:pointer}
.more summary::-webkit-details-marker{display:none}
.more summary::before{content:"";flex:none;width:12px;height:12px;background:linear-gradient(currentColor,currentColor) center/12px 2px no-repeat,linear-gradient(currentColor,currentColor) center/2px 12px no-repeat}
.more[open] summary::before{background:linear-gradient(currentColor,currentColor) center/12px 2px no-repeat}
.more summary .lbl{text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:rgba(19,41,75,.45);text-underline-offset:4px}
.more-body{display:grid;gap:12px;padding-top:8px}
.form-note{font-size:var(--t-small);line-height:1.4;color:var(--slate)}
.form-note a{display:inline-block;padding:12px 6px;margin:-12px -2px;font-weight:600}
.form-done{display:grid;gap:12px;background:var(--mist);color:var(--navy);border-radius:var(--r-m);padding:18px}
.on-navy .field label,.on-navy .more summary{color:var(--white)}
.on-navy .more summary .lbl{text-decoration-color:rgba(255,255,255,.5)}
.on-navy .opt,.on-navy .form-note{color:var(--on-navy-soft)}
.on-navy .form-note a{color:var(--white)}
.on-navy .field input[type=text],.on-navy .field input[type=tel],.on-navy .field textarea{border-color:var(--white)}
.on-navy .field input:focus-visible,.on-navy .field textarea:focus-visible{outline-color:var(--white);box-shadow:0 0 0 5px rgba(255,255,255,.2)}
.on-navy .field input[type=file]{color:var(--white)}
.on-navy .field input[type=file]::file-selector-button{border-color:var(--white);color:var(--white)}
.on-navy .form-done{background:var(--white)}
.on-navy .form-done h3,.on-navy .form-done p{color:var(--navy)}

/* Three things to count on, under the first screen */
.proof{display:grid;gap:18px}
.proof li,.ticks li{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:start}
.proof li::before,.ticks li::before{content:"";width:11px;height:9px;margin-top:.62em;background:var(--navy);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.proof strong{display:block;font-weight:650;font-stretch:102%;line-height:1.3}
.proof .detail{display:block;margin-top:2px;color:var(--slate);font-size:var(--t-base);line-height:1.5}
@media (min-width:760px){.proof{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}}

/* Recent work */
.work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.work-grid .shot:first-child{grid-column:1/-1;aspect-ratio:3/2}
@media (min-width:900px){
  .work-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .work-grid .shot:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:auto;height:100%}
}
@media (prefers-reduced-motion:no-preference){
  .shot img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
  a:hover>.shot img,.work-grid .shot:hover img,.gallery .shot:hover img{transform:scale(1.03)}
}

/* What you can count on */
.promise-grid{display:grid;gap:28px}
.promise-text{display:contents}
.promise-intro{order:1}
.shot.promise-photo{order:2;aspect-ratio:4/5;max-width:440px}
.promise-body{order:3}
.ticks{display:grid;gap:12px}
.ticks li{max-width:var(--measure)}
@media (min-width:900px){
  .promise-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(48px,7vw,96px);align-items:center}
  .promise-text{display:grid;gap:22px}
  .promise-intro,.promise-body{order:0}
  .shot.promise-photo{order:1;justify-self:end;box-shadow:var(--shadow-m)}
  .promise-grid:not(:has(.shot)){grid-template-columns:minmax(0,1fr)}
}

/* Free on-site quote: a real sequence, so it is numbered */
.steps{display:grid;counter-reset:step}
.steps li{counter-increment:step;position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:18px;row-gap:4px;align-content:start;padding-bottom:30px}
.steps li:last-child{padding-bottom:0}
.steps li::before{content:counter(step);grid-row:1/span 2;display:grid;place-items:center;width:44px;height:44px;border:1.5px solid var(--navy);border-radius:50%;font-size:1.0625rem;font-weight:700;line-height:1;color:var(--navy);background:var(--white)}
.steps li:not(:last-child)::after{content:"";position:absolute;left:21px;top:52px;bottom:8px;width:1.5px;background:var(--picket)}
.steps h3{align-self:end;padding-top:9px}
.steps p{grid-column:2;color:var(--slate)}
@media (min-width:900px){
  .steps{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:36px}
  .steps li{grid-template-columns:minmax(0,1fr);row-gap:10px;padding-bottom:0}
  .steps li::before{grid-row:auto;margin-bottom:10px}
  .steps li:not(:last-child)::after{left:56px;right:-24px;top:21px;bottom:auto;width:auto;height:1.5px}
  .steps h3{padding-top:0}
  .steps p{grid-column:1;font-size:var(--t-base)}
}

/* Fence types */
.types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}
.type{display:grid;gap:10px;align-content:start;text-decoration:none;color:var(--navy)}
.type h3{margin-top:4px;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1.5px;text-underline-offset:5px}
.type:hover h3{text-decoration-color:currentColor}
.type p{font-size:var(--t-base);line-height:1.5;color:var(--slate)}
.type-ask{align-content:center;background:var(--mist);padding:22px;border-radius:var(--r-s);gap:10px}
.band-mist .type-ask{background:var(--white);box-shadow:var(--shadow-s)}
.type-ask h3{margin-top:0;text-decoration:none}
.type-ask p{color:var(--navy)}
@media (max-width:359.98px){.types{grid-template-columns:minmax(0,1fr)}}
@media (min-width:760px){.types{grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 22px}}

/* Estimate tool teaser */
.tool-grid{display:grid;gap:28px}
.yard{background:var(--white);border:1px solid var(--line);border-radius:var(--r-l);box-shadow:var(--shadow-m);padding:clamp(12px,2vw,20px);display:grid;gap:14px}
.yard svg{width:100%;height:auto}
.yard text{font-family:var(--font)}
.tally{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-s);overflow:hidden}
.tally div{background:var(--white);padding:10px 12px;display:grid;gap:2px}
.tally dt{font-size:var(--t-small);color:var(--slate);line-height:1.3}
.tally dd{font-weight:650;font-stretch:102%;line-height:1.25}
.tally .num{font-variant-numeric:tabular-nums}
@media (min-width:900px){.tool-grid{grid-template-columns:minmax(0,6fr) minmax(0,6fr);gap:72px;align-items:center}}

/* Service area */
.area-grid{display:grid;gap:28px}
.towns,.more-links{display:flex;flex-wrap:wrap;gap:10px}
.towns a,.towns span,.more-links a{display:inline-flex;align-items:center;min-height:46px;padding:0 16px;border:1px solid var(--field);border-radius:var(--r-m);background:var(--white);font-size:var(--t-base);font-weight:600;text-decoration:none}
.towns span{border-color:var(--picket);color:var(--slate)}
.towns a:hover,.more-links a:hover{border-color:var(--navy);box-shadow:0 0 0 1px var(--navy)}
.map{display:none}
.map text{font-family:var(--font);fill:var(--navy)}
.map .map-halo text{paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
.map .map-county text{fill:#6B778C}
.map text.map-river{fill:#47698E}
.map .map-road rect{fill:#fff;stroke:#8D99AD;stroke-width:1.2}
.map .map-road text{fill:#5B6880}
@media (min-width:760px){.map{display:block;width:100%;max-width:720px;height:auto;border:1px solid var(--line);border-radius:var(--r-l);background:var(--white);box-shadow:var(--shadow-s)}}
@media (min-width:1200px){.area-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:center}}

/* Reviews, shown only when real ones exist */
.reviews{display:grid;gap:28px}
.review{display:grid;gap:10px;align-content:start;border-top:1px solid var(--picket);padding-top:18px}
.review cite{font-style:normal;font-weight:650;font-stretch:102%;font-size:var(--t-base)}
.rating{font-size:var(--t-lead);font-weight:650;font-stretch:102%}
@media (min-width:900px){.reviews{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}}

/* Questions */
.faq-list{max-width:860px}
.faq{border-top:1px solid var(--picket)}
.faq:last-child{border-bottom:1px solid var(--picket)}
.faq summary{list-style:none;display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:16px;min-height:66px;padding-block:16px;font-size:var(--t-h3);font-weight:600;line-height:1.3;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";width:14px;height:14px;justify-self:end;background:linear-gradient(var(--navy),var(--navy)) center/14px 2px no-repeat,linear-gradient(var(--navy),var(--navy)) center/2px 14px no-repeat}
.faq[open] summary::after{background:linear-gradient(var(--navy),var(--navy)) center/14px 2px no-repeat}
.faq summary:hover{color:var(--deep)}
.faq .answer{display:grid;gap:12px;justify-items:start;padding-bottom:24px;color:var(--slate)}
.faq .answer a{color:var(--navy)}


/* Last quote block: the one fence-top edge on the page */
.quote-band{position:relative;margin-top:26px;background:var(--navy);color:var(--white);padding-block:clamp(52px,7vw,96px)}
.quote-band::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='45' height='26'%3E%3Cpath d='M4.5 26V11L22.5 0l18 11v15z' fill='%2313294B'/%3E%3C/svg%3E") repeat-x left bottom/45px 26px}
.quote-band h2,.quote-band p{color:var(--white)}
.quote-band .lead{color:var(--on-navy-soft)}
.quote-band .quote-card{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
.quote-grid{display:grid;gap:32px}
.quote-side{display:grid;gap:16px;align-content:start;justify-items:start}
.big-phone{display:inline-flex;align-items:center;min-height:48px;font-size:var(--t-h2);font-weight:700;font-stretch:106%;letter-spacing:-.01em;line-height:1.1;text-decoration:none;color:var(--white)}
.quote-band .text-link{text-decoration-color:rgba(255,255,255,.5)}
.touch-only{display:none}
@media (hover:none) and (pointer:coarse){.touch-only{display:block}}
.badge svg{width:min(210px,56vw);height:auto}
@media (min-width:900px){.quote-grid{grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:80px;align-items:start}.badge svg{width:230px}}

/* Footer */
.site-footer{background:var(--deep);color:var(--white);padding-block:52px 36px}
.site-footer p,.site-footer li{color:var(--on-navy-soft);font-size:var(--t-base);line-height:1.55}
.site-footer a{color:var(--white);text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-decoration-thickness:1px;text-underline-offset:4px}
.site-footer a:hover{text-decoration-color:var(--white)}
.foot-grid{display:grid;gap:32px}
.foot-logo svg{width:204px;height:auto}
.foot-col{display:grid;gap:10px;align-content:start;justify-items:start}
.foot-col h2{font-size:var(--t-base);font-weight:650;font-stretch:102%;letter-spacing:0;color:var(--white)}
.foot-links{display:grid;gap:0;justify-items:start}
.foot-links a{display:inline-flex;align-items:center;min-height:44px}
.site-footer .foot-phone{display:inline-flex;align-items:center;min-height:44px;font-size:var(--t-lead);font-weight:700;font-stretch:104%;text-decoration:none}
.legal{margin-top:36px;padding-top:22px;border-top:1px solid rgba(255,255,255,.16);display:grid;gap:10px}
.legal p{font-size:var(--t-small);max-width:58ch}
.legal-links{display:flex;flex-wrap:wrap;gap:4px 22px}
.legal-links a{display:inline-flex;align-items:center;min-height:44px;min-width:48px;font-size:var(--t-small)}
@media (min-width:900px){.foot-grid{grid-template-columns:minmax(0,5fr) minmax(0,3fr) minmax(0,4fr);gap:56px}}
/* An upright tablet (700 to 899 wide): two columns where a phone has one, so a photo sits beside its words and the right side of the page is not left empty. */
@media (min-width:700px) and (max-width:899.98px){
  .promise-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:40px;align-items:center}
  .promise-text{display:grid;gap:20px}
  .promise-intro,.promise-body{order:0}
  .shot.promise-photo{order:1;justify-self:end}
  .promise-grid:not(:has(.shot)){grid-template-columns:minmax(0,1fr)}
  .split{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:40px;align-items:start}
  .split.even{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quote-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;align-items:start}
  .foot-grid{grid-template-columns:minmax(0,5fr) minmax(0,3fr) minmax(0,4fr);gap:32px}
}

/* Phone bar: Call, Text, Free quote. It slides away only while someone is typing in a quote form. */
.sticky-bar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:8px;padding:8px max(14px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px));background:rgba(255,255,255,.96);border-top:1px solid var(--line);box-shadow:0 -10px 30px -12px rgba(13,30,58,.28)}
.sticky-bar .btn{min-height:50px;padding:0 8px;font-size:1rem}
.sticky-bar .btn-primary{box-shadow:inset 0 1px 0 rgba(255,255,255,.2);transition:none}  /* it swaps between white and red; a fade would show white words on a white button for a moment */
@media (max-width:359.98px){.sticky-bar{gap:6px;padding-left:max(10px,env(safe-area-inset-left,0px));padding-right:max(10px,env(safe-area-inset-right,0px))}.sticky-bar .btn{gap:6px;padding:0 4px}.sticky-bar .btn svg{width:17px;height:17px}}
body:has(:is(.quote-form,.hero-mini) :is(input[type=text],input[type=tel],textarea):focus) .sticky-bar{transform:translateY(120%)}
/* While the first screen's own quote button is in view, the bar's quote button goes quiet, so one red button leads. */
.sticky-bar.bar-soft .btn-primary{background:var(--white);color:var(--navy);border-color:var(--field);box-shadow:none}
@media (prefers-reduced-motion:no-preference){.sticky-bar{transition:transform .18s ease}}
@media (min-width:900px){.sticky-bar{display:none}}


/* ---------- Pages beyond the home page ---------- */
/* You-are-here line */
.crumbs ol{display:flex;flex-wrap:wrap;gap:2px 0;font-size:var(--t-small);line-height:1.4}
.crumbs li{display:inline-flex;align-items:center;color:var(--on-navy-soft)}
.crumbs li+li::before{content:"/";margin-inline:8px;color:var(--on-navy-soft)}
.crumbs a{color:var(--white);text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-decoration-thickness:1px;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px;min-width:44px}
.crumbs li[aria-current]{min-height:44px}
.hero-text .crumbs{background:rgba(13,30,58,.78);border-radius:var(--r-s);padding:0 12px;margin-bottom:-4px}
.hero-stage.no-photo .crumbs{background:none;padding:0}
/* Top of a plain page */
.page-head{background:var(--deep);background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,rgba(255,255,255,0) 1px 46px);color:var(--white);padding-block:clamp(18px,3vw,36px) clamp(34px,5vw,64px)}
.page-head h1,.page-head p{color:var(--white)}
.page-head .lead{max-width:46ch;color:var(--on-navy-soft)}
/* Running text */
.prose{display:grid;gap:18px;align-content:start;max-width:760px}
.prose h2{margin-top:16px}
.prose>h2:first-child{margin-top:0}
.prose h3{margin-top:10px}
.prose ul,.prose ol{display:grid;gap:10px;max-width:var(--measure)}
.prose ul li{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:start}
.prose ul li::before{content:"";width:11px;height:9px;margin-top:.62em;background:var(--navy);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.prose ol{counter-reset:n;gap:14px}
.prose ol li{counter-increment:n;display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px}
.prose ol li::before{content:counter(n);display:grid;place-items:center;width:28px;height:28px;margin-top:.05em;border:1.5px solid var(--navy);border-radius:50%;font-weight:700;font-size:var(--t-small);line-height:1}
.prose a:not(.btn){font-weight:650;text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:rgba(19,41,75,.45);text-underline-offset:4px}
.prose a:not(.btn):not(.text-link){display:inline-block;padding-block:11px;margin-block:-11px}
.prose a:not(.btn):hover{text-decoration-color:currentColor}
.prose .more-links a:not(.btn):not(.text-link){display:inline-flex;padding-block:0;margin-block:0;font-weight:600;text-decoration:none}  /* link chips keep their own shape inside running text */
.split{display:grid;gap:28px}
.split>*{min-width:0}
@media (min-width:900px){.split{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(40px,6vw,80px);align-items:start}.split.even{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Photo sets */
.gallery{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
@media (min-width:600px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media (min-width:700px){.gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* a group of four runs two across at full width, so it lines up with the three-across groups around it */
@media (min-width:700px){.gallery.two{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Thank-you page: the address step for someone who sent only a name and a number */
.ty-more .quote-form{max-width:520px}
.ty-more .btn{justify-self:start}
/* Facts with a source: city rules, prices */
.facts{display:grid;gap:0;max-width:860px;border-top:1px solid var(--picket)}
.facts>div{display:grid;gap:4px;padding-block:16px;border-bottom:1px solid var(--picket)}
.facts dt{font-weight:650;font-stretch:102%;line-height:1.3}
.facts dd{line-height:1.55;color:var(--slate)}
@media (min-width:760px){.facts>div{grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:28px}}
.price{font-variant-numeric:tabular-nums;font-weight:700;font-stretch:104%}
.also{max-width:var(--measure);color:var(--slate)}
.band-mist .more-links a,.band-mist .towns a{background:var(--white)}
/* A plain note box that is part of the site */
.callout{background:var(--mist);border-left:3px solid var(--navy);border-radius:0 var(--r-s) var(--r-s) 0;padding:18px 20px;display:grid;gap:8px;max-width:760px}
.band-mist .callout{background:var(--white)}
/* Estimate tool */
.tool{display:grid;gap:22px;background:var(--white);border:1px solid var(--line);border-radius:var(--r-l);box-shadow:var(--shadow-m);padding:clamp(18px,2.4vw,30px);max-width:660px}
.tool h3,.tool-title{font-size:var(--t-card)}
.tool-map-actions{display:flex;flex-wrap:wrap;gap:10px;max-width:none}
.tool-map-actions .btn,.tool [data-find]{min-height:46px;padding:0 16px;font-size:1rem}
.tool .row{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}  /* one column at every width: the wide text-row rule further down must not split a label from its box */
.tool label,.tool legend{font-size:var(--t-small);font-weight:600;line-height:1.3;padding:0}
.tool fieldset{border:0;margin:0;padding:0;display:grid;gap:8px;min-width:0}
.tool input[type=number],.tool input[type=text]{width:100%;max-width:220px;min-height:50px;padding:11px 14px;border:1px solid var(--field);border-radius:var(--r-m);background:var(--white);color:var(--navy);font:inherit;font-size:1.0625rem}
.tool input[type=text]{max-width:none}
.tool input:focus-visible{outline:2px solid var(--navy);outline-offset:1px;border-color:var(--navy);box-shadow:0 0 0 5px rgba(19,41,75,.12)}
.tool .pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:460px}
.tool .choice{display:grid;gap:10px;max-width:460px}  /* one choice per line, all the same width */
.tool .choice label{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 16px;line-height:1.3;border:1px solid var(--field);border-radius:var(--r-m);font-size:var(--t-base);font-weight:600;cursor:pointer}
.tool .choice input{flex:none;width:20px;height:20px;accent-color:var(--navy)}
.tool .choice label:has(input:checked){background:var(--navy);border-color:var(--navy);color:var(--white)}
.tool .choice label:has(input:focus-visible){outline:3px solid var(--navy);outline-offset:3px}
.tool .choice.one input{display:none}
.tool .choice.one label:has(input:checked){background:var(--mist);border-color:var(--mist);color:var(--navy);cursor:default}  /* one style on offer: nothing to pick, so no radio button and no button look */
.tool-out{display:grid;gap:10px;background:var(--mist);border-radius:var(--r-m);padding:20px}
.tool-out .range{font-size:var(--t-h2);font-weight:700;font-stretch:106%;letter-spacing:-.015em;line-height:1.1;font-variant-numeric:tabular-nums}
.tool-out ul{display:grid;gap:4px;font-size:var(--t-base);color:var(--slate)}
.tool-map{position:relative;width:100%;aspect-ratio:4/3;background:var(--slot);border-radius:var(--r-m);overflow:hidden}
.tool-hint{font-size:var(--t-base);color:var(--slate);line-height:1.5}
.tool-hint[data-type-hint]{display:grid;gap:4px}
/* Guide list */
.guide-list{display:grid;gap:0;max-width:860px;border-top:1px solid var(--picket)}
.guide-card{display:grid;gap:6px;padding-block:22px;border-bottom:1px solid var(--picket);text-decoration:none;color:var(--navy)}
.guide-card h2{font-size:var(--t-h3);font-weight:650;font-stretch:102%;line-height:1.24;letter-spacing:-.006em;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1.5px;text-underline-offset:5px}
.guide-card:hover h2{text-decoration-color:currentColor}
.guide-card p{color:var(--slate);font-size:var(--t-base);line-height:1.5}
.tool-label{font-size:var(--t-small);font-weight:600;color:var(--slate)}
.tool .btn-block{white-space:normal;text-align:center;padding-block:10px}
.tool-strong{font-weight:650}

/* Proof band under the first screen: three short promises with a rule between them */
.proof{display:grid;gap:0}
.proof li{display:block;padding-block:16px;border-top:1px solid var(--picket)}
.proof li:first-child{border-top:0;padding-top:0}
.proof li::before{content:none}
.proof strong{display:block;font-size:1.3125rem;font-weight:700;font-stretch:104%;letter-spacing:-.012em;line-height:1.25}
.proof .detail{display:block;margin-top:4px;color:var(--slate);font-size:var(--t-base);line-height:1.45}
@media (min-width:760px){
  .proof{grid-template-columns:repeat(3,minmax(0,1fr))}
  .proof li{padding:2px 28px;border-top:0;border-left:1px solid var(--picket)}
  .proof li:first-child{padding:2px 28px 2px 0;border-left:0}
  .proof li:last-child{padding-right:0}
}
/* The one sentence on who builds the fence sits under the band, in full */
.builds-line{order:2;margin:18px var(--gr) 0 var(--gl);padding-top:16px;border-top:1px solid var(--picket);font-size:var(--t-small);line-height:1.5;color:var(--slate);max-width:none}
.builds-line span{display:block;max-width:56ch}
@media (min-width:900px){.hero .builds-line{order:0;grid-column:2/5;grid-row:3;margin:24px 0 0}}

/* A text-only section: the heading sits on the left and the words on the right, so a wide row is never half empty */
.rows{display:grid;gap:clamp(30px,4vw,48px)}
.row{display:grid;gap:14px;align-content:start}
.row>.prose{max-width:none}
@media (min-width:900px){
  .row{grid-template-columns:minmax(0,4fr) minmax(0,8fr);column-gap:clamp(40px,6vw,80px);align-items:start}
  .row>h2{grid-column:1}
  .row>.prose{grid-column:2}
  .row.solo>.prose{grid-column:1/-1;max-width:68ch}
}

/* Question lists and fact tables on a wide screen: the heading sits on the left and the list on the right, like a text section */
@media (min-width:900px){
  #questions>.wrap{grid-template-columns:minmax(0,4fr) minmax(0,8fr);column-gap:clamp(40px,6vw,80px);align-items:start}
  #questions>.wrap>.faq-list{grid-column:2;max-width:none}
}
@media (min-width:1100px){
  .wrap.stack-lg:has(>.facts){grid-template-columns:minmax(0,4fr) minmax(0,8fr);column-gap:clamp(40px,6vw,80px);align-items:start}
  .wrap.stack-lg:has(>.facts)>*{grid-column:1}
  .wrap.stack-lg:has(>.facts)>.facts{grid-column:2;grid-row:1/span 4;max-width:none}
}

/* Sources: one to a row, each row a full thumb-size target */
.source{display:grid;gap:8px;font-size:var(--t-small);line-height:1.5;color:var(--slate);max-width:var(--measure)}
.source .source-head{font-weight:650;color:var(--navy)}
.source ul{display:grid;gap:0;border-top:1px solid var(--picket);max-width:none}
.source ul li{display:block;border-bottom:1px solid var(--picket)}
.source ul li::before{content:none}
div.source ul li a:not(.btn):not(.text-link){display:block;margin-block:0;padding-block:12px;min-height:44px;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.source ul li span{display:block;margin-top:-8px;padding-bottom:10px}

.field-err{margin-top:6px;font-size:var(--t-small);font-weight:600;color:var(--red-dark)}

@media (max-width:599.98px) and (max-height:600px){:root{--hero-photo-h:min(64vw,244px);--hero-lift:104px}}
