.bg-home{--ink:#3c2418;--red:#a7262d;--paper:#fffdfa;--sand:#f5f0e7;--line:#d4c8b7;--muted:#69594f;--green:#1d773e;--edge:clamp(20px,6.25vw,96px)}
.bg-home *{box-sizing:border-box}
.bg-home{margin:0;color:var(--ink);background:var(--paper);font:16px/1.5 "Work Sans",Arial,sans-serif}
.bg-home h1,.bg-home h2,.bg-home h3,.bg-home p{margin:0}
.bg-home h1,.bg-home h2,.bg-home h3{font-family:"Fraunces",Georgia,serif;line-height:1.07}
.bg-home h2{font-size:clamp(38px,4.2vw,62px);letter-spacing:-.045em}
.bg-home h3{font-size:clamp(23px,2vw,31px);letter-spacing:-.035em}
.bg-home a{color:inherit;text-decoration:none}
.bg-home button,.bg-home input,.bg-home select{font:inherit;color:inherit}
.bg-home button,.bg-home select{cursor:pointer}
.bg-home button{background:none;border:none}
.bg-home a:focus-visible,.bg-home button:focus-visible,.bg-home summary:focus-visible,.bg-home select:focus-visible,.bg-home input:focus-visible{outline:3px solid #c58b38;outline-offset:4px}
.bg-home .wrap{max-width:1450px;padding-inline:var(--edge);margin:auto}
.bg-home .row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.bg-home .ul:hover{text-decoration:underline}
.bg-home .hero{position:relative;background:#39261d;color:white;min-height:520px;isolation:isolate}
.bg-home .heroPhoto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:57% 60%;z-index:-2}
.bg-home .hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#26170fef 0%,#2c1c12c9 30%,#301e1340 66%,#24191019);z-index:-1}
.bg-home .hero .wrap{padding-block:64px 111px}
.bg-home .hero h1{font:750 clamp(42px,4.6vw,70px)/1.03 "Work Sans",Arial,sans-serif;letter-spacing:-.055em;max-width:710px}
.bg-home .hero p{max-width:505px;color:#fff5ed;line-height:1.6;margin:14px 0 21px}
.bg-home .ey{display:flex;gap:9px;align-items:center;text-transform:uppercase;letter-spacing:.15em;font-weight:bold;font-size:11px}
.bg-home .ey:before{content:"";width:24px;height:2px;background:currentColor}
.bg-home .hero .ey{margin-bottom:18px;color:#f7decd}
.bg-home .btns{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.bg-home .btn,.bg-home .linkbutton{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:700;line-height:1.25;min-height:43px;padding:11px 18px;border-radius:100px;border:1px solid var(--red);background:var(--red);color:white}
.bg-home .btn.out,.bg-home .linkbutton{color:var(--ink);background:transparent;border:1px solid #af9585}
.bg-home .hero .btn.out{color:white;border-color:#ecd9c9;background:#23180d55}
.bg-home .btn:hover{filter:brightness(.91)}
.bg-home .circle{min-width:44px;height:44px;border:1px solid var(--line);display:inline-grid;place-items:center;border-radius:50%;font-size:24px;line-height:1;background:var(--paper)}
.bg-home .quick{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:660px;gap:16px;margin:-72px auto 0;padding:0 20px}
.bg-home .quick a{background:var(--paper);border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 25px #47291810;display:flex;flex-direction:column;align-items:center;text-align:center;padding:23px 12px 21px;gap:12px;min-height:195px;justify-content:center}
.bg-home .quick a:hover{border-color:var(--red)}
.bg-home .icon{height:63px;width:106px}
.bg-home .quick span{color:var(--red);font-weight:700;font-size:13px}
.bg-home .quick h3{font-size:28px}
.bg-home > section:is(.cat,.block){margin-block:0;padding-block:clamp(32px,4vw,56px)}
.bg-home > section#contact{padding-block-end:clamp(28px,3vw,44px)}
.bg-home .rule{width:42px;height:3px;background:var(--red);margin:0 0 16px}
.bg-home .sub{margin:12px 0 0;color:var(--muted);max-width:670px}
.bg-home .tools{display:flex;align-items:end;justify-content:space-between;margin:24px 0 18px;gap:12px;flex-wrap:wrap}
.bg-home .filter{font-size:12px;font-weight:700;display:flex;align-items:center;gap:9px}
.bg-home select,.bg-home input[type=search]{border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:10px;max-width:100%;min-height:43px}
.bg-home .filter select:focus{border-color:var(--red);box-shadow:none}
.bg-home .filter select:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.bg-home .rail{--card-gap:clamp(14px,1.65vw,24px);display:flex;align-items:stretch;overflow:auto;scroll-snap-type:x mandatory;scroll-padding-inline:4px;gap:var(--card-gap);padding:4px 4px 16px;scrollbar-width:thin;scrollbar-color:#c7b6a4 transparent}
.bg-home .bgCatalogue .rail > article{flex:0 0 calc((100% - 2 * var(--card-gap))/3);min-width:0;scroll-snap-align:start;background:var(--paper);border:1px solid var(--line);border-radius:clamp(18px,2vw,28px);box-shadow:0 5px 12px #4729180d;overflow:hidden;display:flex;flex-direction:column}
.bg-home .tools[hidden] + .rail{margin-top:20px}
.bg-home .bgCatalogue .rail > article > .photo{position:relative;overflow:hidden;flex:none;aspect-ratio:8/5;background:#f7f3ed;display:grid;place-items:center}
.bg-home .bgCatalogue .rail .photo > img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:50% 50%}
.bg-home .bgCatalogue[data-bg-catalogue="tractors"] .rail .photo-portrait > img{object-position:50% 57%}
.bg-home .railcopy{padding:clamp(16px,2vw,27px);flex:1;display:flex;flex-direction:column;align-items:start}
.bg-home .railcopy h3{color:var(--ink);margin-bottom:12px;line-height:1.2;overflow-wrap:anywhere}
.bg-home .railcopy .card-summary{color:var(--muted);font-size:15px;line-height:1.55;margin:0 0 14px;overflow-wrap:anywhere}
.bg-home .spec{font-size:13px;color:var(--muted);margin:0 0 12px}
.bg-home .cardbtns{margin-top:auto;padding-top:8px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.bg-home .cardbtns .btn{font-size:13px;padding-inline:14px}
.bg-home .cardbtns .btn.out:hover{border-color:var(--red);background:var(--sand)}
.bg-home .ul{font-weight:700;text-decoration:underline;text-underline-offset:4px;font-size:13px;padding:9px 2px}
.bg-home .alt{background:var(--sand)}
.bg-home .arrows{display:flex;align-items:center;gap:8px}
.bg-home .arrows button:disabled{opacity:.4;cursor:default}
.bg-home #tractors .modelArt{display:flex;flex-direction:column;justify-content:center;gap:12px;color:var(--muted);font-size:13px}
.bg-home .modelArt svg{width:clamp(108px,13vw,170px);height:auto}
.bg-home .partsSearch{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
.bg-home .partsSearch label{display:flex;flex:0 1 360px;flex-direction:column;gap:6px;font-size:13px;font-weight:bold}
.bg-home .partsSearch input{width:100%;font-weight:normal}
.bg-home .partsList{display:grid;gap:10px;margin:16px 0 0}
.bg-home .partsList:empty{display:none}
.bg-home .partRow{display:grid;grid-template-columns:clamp(72px,13vw,116px) minmax(0,1fr);align-items:start;gap:clamp(12px,3vw,22px);padding:clamp(12px,2vw,18px);background:var(--paper);border:1px solid var(--line);border-radius:12px}
.bg-home .partThumb{aspect-ratio:1;display:grid;place-items:center;background:var(--sand);border-radius:8px;overflow:hidden;color:var(--muted);font-size:12px}
.bg-home .partThumb img{display:block;width:100%;height:100%;object-fit:contain}
.bg-home .partCopy{min-width:0;overflow-wrap:anywhere}
.bg-home .partCopy h3{margin:0;font-size:clamp(18px,2vw,23px)}
.bg-home .partCopy p{margin:5px 0;color:var(--muted);font-size:14px}
.bg-home .partRef{font-weight:700}
.bg-home .partCopy a{display:inline-flex;align-items:center;min-height:44px;color:var(--red)}
.bg-home .partsMatches:empty{display:none}
.bg-home .actionsBelow{margin-top:21px}
.bg-home .partPhoto img{width:auto;height:auto;max-width:75%;max-height:70%;mix-blend-mode:multiply}
.bg-home .partPhoto{background:radial-gradient(#fffdf9,#f7f3ed)!important}
.bg-home .drawer{margin-top:20px;background:white;padding:19px;border:1px solid var(--line);border-radius:12px}
.bg-home .drawer input{width:min(420px,100%)}
.bg-home [hidden]{display:none!important}
.bg-home .trust{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(32px,6vw,85px)}
.bg-home .collage{position:relative;padding:0 12% 10% 0}
.bg-home .collage img:first-child{width:100%;height:clamp(300px,35vw,485px);object-fit:cover;border-radius:14px}
.bg-home .collage img+img{position:absolute;right:0;bottom:0;width:39%;height:48%;object-fit:cover;border:6px solid var(--paper);border-radius:14px}
.bg-home .trust .ey,.bg-home .contact .ey,.bg-home .reelsec .ey{color:var(--red);margin-bottom:13px}
.bg-home .ticks{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}
.bg-home .ticks b{font-size:14px}
.bg-home .ticks b:before{content:'✓';color:var(--red);margin-right:7px}
.bg-home .trust-updated{grid-template-columns:repeat(2,minmax(0,1fr))}
.bg-home .trust-updated .collage{display:grid;align-content:start;padding:0}
.bg-home .trust-updated .collage > img:first-child{display:block;width:88%}
.bg-home .trust-wa{position:relative;justify-self:end;width:min(100%,350px);margin-top:-148px;padding:clamp(17px,2vw,24px);background:var(--paper);border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 24px #38251a20}
.bg-home .trust-wa-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:12px;border-radius:12px;background:#12813e;color:#fff}
.bg-home .trust-wa-icon svg{width:27px;height:27px}
.bg-home .trust-wa h3{color:var(--ink);font-size:clamp(23px,2.2vw,28px)}
.bg-home .trust-wa p{margin:9px 0 14px;color:var(--muted);font-size:14px}
.bg-home .trust-wa p a{font-weight:700;white-space:nowrap}
.bg-home .trust-wa p a:hover{text-decoration:underline}
.bg-home .trust-wa .trust-wa-button{width:100%;background:#12813e;border-color:#12813e}
.bg-home .trust-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:14px;margin:22px 0}
.bg-home .trust-benefit{padding:clamp(14px,1.5vw,21px);background:var(--paper);border:1px solid var(--line);border-radius:15px}
.bg-home .trust-benefit svg{display:block;width:24px;height:24px;margin-bottom:10px;color:var(--red)}
.bg-home .trust-benefit h3{color:var(--ink);font:700 clamp(17px,1.45vw,20px)/1.2 "Work Sans",Arial,sans-serif;letter-spacing:-.02em}
.bg-home .trust-benefit p{margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.48}
@media(max-width:900px){
.bg-home .trust-updated{grid-template-columns:minmax(0,1fr)}
.bg-home .trust-updated .collage > img:first-child{width:100%}
.bg-home .trust-wa{margin-top:-90px;margin-right:clamp(10px,3vw,25px);width:min(calc(100% - 20px),350px)}
}
@media(max-width:480px){.bg-home .trust-benefits{grid-template-columns:1fr;grid-auto-rows:auto}}

.bg-home .visit-panel{--visit-text:#fbf5e9;--visit-line:#ffffff38;padding:clamp(18px,3vw,38px) clamp(16px,4vw,48px);border:1px solid #436050;border-radius:22px;background:repeating-radial-gradient(ellipse at 91% 116%,transparent 0 33px,#f6efe51a 34px 35px,transparent 36px 42px),linear-gradient(115deg,#15382b,#222b25);color:var(--visit-text)}
.bg-home .visit-panel h2{color:var(--visit-text);font-size:clamp(29px,3.4vw,46px)}
.bg-home .visit-panel > h2{font-size:clamp(26px,2.8vw,38px)}
.bg-home .visit-socials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px;gap:clamp(6px,1vw,12px);margin-top:14px}
.bg-home .visit-social{display:grid;grid-template-columns:auto minmax(0,max-content);align-content:center;align-items:center;justify-content:center;column-gap:8px;padding:8px 4px;min-height:64px;border:1px solid var(--visit-line);border-radius:12px;background:#ffffff0b;color:var(--visit-text);font-size:clamp(12px,1.4vw,16px);overflow-wrap:anywhere}
.bg-home .visit-social:hover,.bg-home .visit-social:focus-visible{background:#ffffff20;color:var(--visit-text)}
.bg-home .visit-social svg{grid-row:span 2;width:24px;height:24px}
.bg-home .visit-social small{grid-column:2;font-size:11px;color:#e2e8db}
.bg-home .visit-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:clamp(20px,3vw,40px);margin-top:clamp(18px,2vw,26px);padding-top:clamp(18px,2vw,26px);border-top:1px solid var(--visit-line)}
.bg-home .visit-intro{margin-top:10px;color:#e2e8db}
.bg-home .visit-info{display:grid;gap:12px;margin:18px 0}
.bg-home .visit-info div{position:relative;padding-left:34px}
.bg-home .visit-info dt{font-weight:700;color:var(--visit-text)}
.bg-home .visit-info dt svg{position:absolute;left:0;top:2px;width:21px;height:21px;color:#e5ba72}
.bg-home .visit-info dd{margin:3px 0 0;color:#e2e8db}
.bg-home .visit-info a:hover{text-decoration:underline}
.bg-home .visit-panel .visit-wa,.bg-home .tractor-no-match .tractor-contact-wa{background:#12813e;border-color:#12813e}
.bg-home .visit-panel .btn.out{color:var(--visit-text);border-color:#ffffff70}
.bg-home .visit-panel .btn.out:hover{background:#ffffff16}
.bg-home .visit-map{display:flex;flex-direction:column;border:1px solid var(--visit-line);background:#183128;border-radius:15px;overflow:hidden}
.bg-home .visit-map-display{position:relative;flex:1;min-height:320px;display:grid;place-items:center;text-align:center;background:repeating-linear-gradient(39deg,transparent 0 45px,#ffffff0e 46px 48px,transparent 49px 58px)}
.bg-home .visit-map-display iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.bg-home .visit-directions{display:block;padding:12px 14px;color:var(--visit-text);border-top:1px solid var(--visit-line);font-size:14px;font-weight:700;text-align:center}
.bg-home .visit-directions:hover{color:var(--visit-text);text-decoration:underline}
@media(max-width:760px){.bg-home .visit-grid{grid-template-columns:minmax(0,1fr)}.bg-home .visit-map-display{min-height:255px}}
@media(max-width:480px){.bg-home .visit-social{display:flex;flex-direction:column;gap:3px;text-align:center;padding-inline:2px}.bg-home .visit-social svg{width:20px;height:20px}}
.bg-home .reelgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:25px}
.bg-home .reel{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:14px;background:#59493c}
.bg-home .reel img{width:100%;height:100%;object-fit:cover}
.bg-home .reel:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#231812c9)}
.bg-home .reel b{color:white;position:absolute;bottom:17px;left:18px;z-index:1}
.bg-home .reel i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:45px;height:45px;border-radius:50%;display:grid;place-items:center;font:18px Arial;background:var(--paper);color:var(--red)}
.bg-home .caption{font-size:12px;color:var(--muted);margin-top:12px}
.bg-home .contact{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:15px;background:#f2e8d9}
.bg-home .contact .copy{background:var(--red);padding:clamp(25px,4vw,60px);color:white}
.bg-home .contact .ey{color:#f3d1b7}
.bg-home .contact p{margin:15px 0 20px}
.bg-home .contact .btn{background:white;color:var(--ink);border-color:white}
.bg-home .map{min-height:240px;display:grid;place-content:center;text-align:center;background:repeating-linear-gradient(36deg,transparent 0 48px,#fff6 49px 54px),repeating-linear-gradient(133deg,#eae2d4 0 69px,#faf7f0 71px 77px)}
.bg-home .map span{background:var(--paper);box-shadow:0 2px 12px #38251a15;padding:10px 16px;border-radius:22px}
.bg-home .map .pin{display:block;color:var(--red);font-size:36px}
.bg-home .map small{margin-top:6px;background:var(--paper);padding:3px;color:var(--muted)}
.bg-home dialog{border:1px solid var(--line);border-radius:16px;padding:32px;max-width:min(450px,92%);color:var(--ink);background:var(--paper)}
.bg-home dialog::backdrop{background:#25170db0}
.bg-home dialog h3{margin:15px 0}
.bg-home dialog p{margin:10px 0 18px}
.bg-home .sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
@media(max-width:1023px){.bg-home .bgCatalogue .rail > article{flex-basis:calc((100% - var(--card-gap))/2)}
}
@media(max-width:650px){.bg-home .hero{min-height:465px}
.bg-home .hero .wrap{padding:50px var(--edge) 140px}
.bg-home .hero p{font-size:15px}
.bg-home .quick{gap:6px;padding:0 10px;margin-top:-38px}
.bg-home .quick a{min-height:118px;padding:13px 4px;gap:5px;border-radius:11px}
.bg-home .quick h3{font-size:19px}
.bg-home .quick span{font-size:10px}
.bg-home .icon{width:62px;height:37px}
.bg-home .bgCatalogue .rail > article{flex-basis:92%}
.bg-home .bgCatalogue .rail > article > .photo{aspect-ratio:4/3}
.bg-home .filter{flex-wrap:wrap}
.bg-home .trust,.bg-home .contact{grid-template-columns:1fr}
.bg-home .reelgrid{display:flex;overflow:auto;scroll-snap-type:x mandatory}
.bg-home .reel{flex:0 0 69%;scroll-snap-align:start}
.bg-home .ticks{gap:12px}
.bg-home .toolLabel{display:none}
.bg-home .btns{gap:8px}
.bg-home .map{min-height:210px}
}
@media(prefers-reduced-motion:no-preference){}
.bg-home .followBlock{margin-top:36px;border-top:1px solid var(--line);padding-top:27px}
.bg-home .followBlock h3{font-size:clamp(26px,3vw,38px);margin-bottom:16px}
.bg-home .followGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bg-home .followCard{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;min-height:92px;padding:17px 20px;border:1px solid var(--line);border-radius:15px;background:var(--sand)}
.bg-home .followCard:hover,.bg-home .followCard:focus-visible{border-color:var(--red);background:#f5eee5}
.bg-home .followMark{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--paper);color:var(--red)}
.bg-home .followMark svg{width:25px;height:25px}
.bg-home .followCard strong{display:block;font-size:18px;line-height:1.3}
.bg-home .followCard small{display:block;margin-top:4px;color:var(--muted);font-size:14px}
.bg-home .followArrow{color:var(--red);font-size:24px}
@media(max-width:650px){.bg-home .followGrid{grid-template-columns:1fr;gap:10px}
.bg-home .followCard{min-height:76px;padding:14px;gap:12px}
}

.bg-home{width:100%}
.bg-home :where(.wp-block-group){margin:0;max-width:none}
.bg-home :where(p,h1,h2,h3,figure){margin-block:0}
.bg-home a{text-decoration:none}.bg-home .btn:not(.out),.bg-home .btn:not(.out):hover{color:white}.bg-home .contact .btn,.bg-home .contact .btn:hover{color:var(--ink)}
.bg-home .heroSlide{min-height:inherit}.bg-home .heroSlide .wrap{position:relative}.bg-home .hero .wrap{padding-bottom:144px}
.bg-home .hero h1,.bg-home .hero h2{color:#fff;font:700 clamp(42px,5.3vw,78px)/1.03 "Fraunces",Georgia,serif;letter-spacing:-.04em;margin:0;max-width:715px}
.bg-home .hero p.ey{margin-bottom:18px}.bg-home .btns .out{color:var(--ink)}.bg-home .hero .out{color:#fff}
.bg-home .quick h3{color:var(--ink)}.bg-home .quick span{color:var(--red)}.bg-home .caption{margin-top:12px}.bg-home .caption:empty{display:none}
.bg-home .quick svg{color:var(--red)}.bg-home .bg-section{scroll-margin-top:84px}
.bg-home .bg-section > .wrap > .wp-block-heading{margin-bottom:12px}
.bg-home .bg-section .wrap{width:100%}
.bg-home .bg-section .photo span{padding:12px;color:var(--muted)}
.bg-home .bgCatalogue .rail > article:only-child{flex-basis:min(100%,420px)}
.bg-home .availability{font-size:12px;font-weight:600;margin:0 0 12px;color:var(--muted)}
.bg-home .bgEmpty{color:var(--muted)}.bg-home .bgCatalogue .rail:empty{display:none}
.bg-home .reel{height:auto;aspect-ratio:9/16}.bg-home .reel:after{content:none}.bg-home .reel video{display:block;width:100%;height:100%;object-fit:contain;background:#211813}
.bg-home .followCard,.bg-home .followCard:hover{color:var(--ink)}
.bg-home .contact .copy h2,.bg-home .contact .copy p{color:white}
.bg-home .tools[hidden],.bg-home [hidden]{display:none!important}
.bg-home dialog{margin:auto}.bg-home dialog h3{color:var(--ink)}
@media(max-width:650px){.bg-home .hero .wrap{padding-bottom:130px}.bg-home .hero h1,.bg-home .hero h2{font-size:clamp(38px,9.5vw,55px)}.bg-home .contact .copy .btn{margin-top:10px}}

/* Keep the hero clear, with a pause action revealed for keyboard users. */
.bg-home .hero-pause {
    position: absolute;
    right: var(--edge);
    bottom: 84px;
    z-index: 2;
    min-height: 44px;
    padding: 8px 15px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #281a13;
    color: #fff;
    font-size: 14px;
}
.bg-home .hero-pause:not(:focus-visible) {
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.bg-home .hero-pause:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
@media (max-width: 650px) {
    .bg-home .hero-pause { bottom: 49px; }
}

.bg-home .tractor-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px 16px;flex:1}
.bg-home .tractor-filters .filter{display:grid;gap:5px;min-width:125px}
.bg-home .tractor-filters button{align-self:end;margin-bottom:8px}
.bg-home .tractor-no-match{padding:20px 24px;border:1px solid var(--line,#d9c9b7);border-radius:16px;background:var(--paper,#fcfaf7)}
.bg-home .tractor-no-match p{margin:0 0 12px}
@media(max-width:520px){
  .bg-home .tractor-filters{flex-basis:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .bg-home .tractor-filters .filter{min-width:0}
  .bg-home .tractor-filters select{width:100%}
  .bg-home .tractor-filters button{justify-self:start}
}

/* Match the frame and type scale of the Tractors category hero. */
.bg-home [data-bg-hero] {
    --hero-gutter: clamp(10px, 3.6vw, 56px);
    margin: 0 var(--hero-gutter);
    min-height: 0;
    border: 1px solid #d4c8b7;
    border-radius: 28px;
    overflow: hidden;
    background: #3c2418;
    text-align: center;
}
.bg-home [data-bg-hero] .heroSlide {
    display: grid;
    align-items: center;
    justify-items: center;
    min-height: 490px; /* 492px including the frame border */
    padding: 24px 0 64px;
}
.bg-home [data-bg-hero] .heroSlide--news-artwork {
    align-items: end;
}
/* Keep the full featured artwork visible while the backdrop fills the hero. */
.bg-home [data-bg-hero] .heroNewsArt {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}
.bg-home [data-bg-hero] .heroNewsArt img {
    position: absolute;
    display: block;
    max-width: none;
    object-position: center;
}
.bg-home [data-bg-hero] .heroNewsBackdrop {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(24px) brightness(.52);
    transform: scale(1.12);
}
.bg-home [data-bg-hero] .heroNewsImage {
    --art-inset: clamp(4px, 1vw, 14px);
    inset: var(--art-inset);
    width: calc(100% - 2 * var(--art-inset));
    height: calc(100% - 2 * var(--art-inset));
    object-fit: contain;
}
.bg-home [data-bg-hero] .heroPhoto {
    max-width: none;
    object-position: center 60%;
}
.bg-home [data-bg-hero]::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 1;
    border: 1px solid rgba(255,253,250,.3);
    border-radius: 20px;
    pointer-events: none;
}
.bg-home [data-bg-hero]::after {
    background: rgba(36,21,14,.62);
    pointer-events: none;
}
/* Let more of the tractor photo show while keeping contrast behind the copy. */
.bg-home [data-bg-hero]:has(> .heroSlide:first-child:not([hidden]))::after {
    background: radial-gradient(ellipse at center, rgba(36,21,14,.48), rgba(36,21,14,.32));
}
.bg-home [data-bg-hero]:has(> .heroSlide--news-artwork:not([hidden]))::after {
    background: linear-gradient(to bottom, transparent 58%, rgba(27,18,14,.52) 100%);
}
.bg-home [data-bg-hero] .heroSlide .wrap {
    width: 100%;
    max-width: 720px;
    margin: 0;
    padding: 4px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    overflow-wrap: anywhere;
}
.bg-home [data-bg-hero] h1,.bg-home [data-bg-hero] h2 {
    font: 700 clamp(48px,6vw,76px)/1 "Fraunces",Georgia,serif;
    letter-spacing: -.035em;
    color: #fffdfa;
}
.bg-home [data-bg-hero] p {
    max-width: 560px;
    margin: 0;
    font: 400 18px/1.55 "Work Sans",Arial,sans-serif;
    color: #f1e6da;
}
.bg-home [data-bg-hero] p.ey {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    color: #ecdccd;
}
.bg-home [data-bg-hero] .ey::before { content: none; }
.bg-home [data-bg-hero] .btns { justify-content: center; margin-top: 6px; }
.bg-home [data-bg-hero] .btn { min-height: 46px; font-size: 15px; }
.bg-home [data-bg-hero] .btn.out { border-color: rgba(255,253,250,.75); background: transparent; color: #fffdfa; }
.bg-home [data-bg-hero] .hero-pause { right: 18px; bottom: 38px; }
.bg-home [data-bg-hero] .hero-arrows {
    /* one arrow on each side of the slide, centred vertically */
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(18px, 2.4vw, 34px);
    pointer-events: none;
}
.bg-home [data-bg-hero] .hero-arrows button {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    pointer-events: auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: #fffdfa;
    cursor: pointer;
}
.bg-home [data-bg-hero] .hero-arrows button::before {
    content: "";
    position: absolute;
    inset: 4px;
    transition: background .2s ease, transform .2s ease;
    border: 1px solid rgba(255,253,250,.38);
    border-radius: 50%;
    background: rgba(36,21,14,.42);
}
.bg-home [data-bg-hero] .hero-arrows svg { position: relative; width: 18px; height: 18px; }
.bg-home [data-bg-hero] .hero-arrows button:hover::before { transform: scale(1.06); }
.bg-home [data-bg-hero] .hero-arrows button:hover::before { background: rgba(36,21,14,.8); }
.bg-home [data-bg-hero] .hero-arrows button:focus-visible { outline: 2px solid #fffdfa; outline-offset: -2px; }
/* Tablets and phones: smaller arrows close to the edges; the text keeps clear of them. */
@media (max-width: 1023px) {
    .bg-home [data-bg-hero] .heroSlide .wrap { padding-inline: 64px; }
}
@media (max-width: 640px) {
    .bg-home [data-bg-hero] .hero-arrows { padding: 0 12px; }
    .bg-home [data-bg-hero] .hero-arrows button { width: 44px; height: 44px; }
    .bg-home [data-bg-hero] .hero-arrows svg { width: 15px; height: 15px; }
}
.bg-home .bg-intro .quick { margin-top: -28px; }
@media (min-width: 1024px) {
    .bg-home [data-bg-hero] { --hero-gutter: clamp(84px,6.5vw,100px); }
    .bg-home [data-bg-hero] .heroSlide { min-height: 698px; }
    .bg-home .bg-intro .quick { margin-top: -44px; }
}
@media (max-width: 640px) {
    .bg-home [data-bg-hero] { border-radius: 20px; }
    .bg-home [data-bg-hero]::before { inset: 10px; border-radius: 14px; }
    .bg-home [data-bg-hero] .heroSlide { min-height: 418px; padding: 40px 0 64px; }
    .bg-home [data-bg-hero] .heroSlide .wrap { gap: 12px; padding-inline: 54px; }
    .bg-home [data-bg-hero] h1,.bg-home [data-bg-hero] h2 { font-size: clamp(34px,9.5vw,48px); }
    .bg-home [data-bg-hero] p { font-size: 16px; }
    .bg-home [data-bg-hero] .heroSlide:first-child .heroPhoto { object-position: 86% 60%; }
    .bg-home [data-bg-hero] .heroSlide:nth-child(2) .heroPhoto { object-position: 88% 60%; }
    .bg-home [data-bg-hero] .hero-pause { right: 14px; bottom: 14px; }
    .bg-home .bg-intro .quick { margin-top: 14px; }
}

/* BrownGi homepage palette */
.bg-home .bg-intro {
    background-color: #f6eed9;
    padding-top: 24px;
}

.bg-home .bg-intro .quick > a,
.bg-home #tractors {
    background-color: #fffdf7;
}

.bg-home #implements,
.bg-home #contact {
    background-color: #f6eed9;
}

/* BrownGi homepage: editable category cards */
.bg-home .quick.bg-native-cards > .bg-category-card {
    background: #fffdf7;
    border: 1px solid var(--line, #d4c8b7);
    border-radius: 16px;
    box-shadow: 0 10px 25px #47291810;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 195px;
    margin: 0;
    padding: 16px 12px;
    gap: 8px;
    text-align: center;
}

.bg-home .quick.bg-native-cards > .bg-category-card:hover,
.bg-home .quick.bg-native-cards > .bg-category-card:focus-within {
    border-color: var(--red, #a7262d);
}

.bg-home .quick.bg-native-cards .bg-category-card > * {
    margin: 0;
}

.bg-home .quick.bg-native-cards .icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bg-home .quick.bg-native-cards .bg-card-link a {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--red, #a7262d);
}

.bg-home .quick.bg-native-cards .bg-card-link a:hover,
.bg-home .quick.bg-native-cards .bg-card-link a:focus-visible {
    text-decoration: underline;
}

@media (min-width: 701px) {
    .bg-home .bg-intro .quick.bg-native-cards {
        max-width: 700px;
        gap: 18px;
    }

    .bg-home .quick.bg-native-cards > .bg-category-card {
        min-height: 220px;
    }
}

@media (max-width: 650px) {
    .bg-home .quick.bg-native-cards > .bg-category-card {
        min-height: 164px;
        padding: 15px 10px;
        gap: 8px;
        border-radius: 11px;
    }

    .bg-home .quick.bg-native-cards .bg-card-link a {
        font-size: 10px;
    }
}

/* Compact category cards, including existing Gutenberg image blocks. */
.bg-home .quick.bg-native-cards .bg-category-card :is(.wp-block-image, .icon) {
    width: min(100%, 176px) !important;
    max-width: 176px !important;
    height: 112px !important;
    flex: 0 0 auto;
    margin: 0 auto !important;
    background: transparent !important;
}
.bg-home .quick.bg-native-cards .bg-category-card :is(.wp-block-image, .icon) img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    background: transparent !important;
    filter: url("category-icon-filter.svg#burgundy-ink");
}
.bg-home .quick.bg-native-cards > .bg-category-card h3 {
    font-size: clamp(24px, 2vw, 29px);
}
.bg-home .quick .bg-card-description {
    max-width: 29ch;
    margin: 0 auto;
    font: 400 14px/1.5 "Work Sans", Arial, sans-serif;
    color: var(--muted, #69594f);
    text-align: center;
    text-wrap: pretty;
}
.bg-home .quick:not(.bg-native-cards) > a > svg.icon {
    width: 106px;
    height: 63px;
}
.bg-home .quick:not(.bg-native-cards) > a {
    min-height: 195px;
    gap: 8px;
}
@media (max-width: 650px) {
    .bg-home .quick .bg-card-description { font-size: 12px; line-height: 1.4; }
    .bg-home .quick.bg-native-cards > .bg-category-card h3 { font-size: 22px; }
    .bg-home .quick.bg-native-cards .bg-category-card :is(.wp-block-image, .icon) {
        width: min(100%, 105px) !important;
        height: 64px !important;
    }
    .bg-home .quick:not(.bg-native-cards) > a > svg.icon { width: 76px; height: 46px; }
    .bg-home .quick:not(.bg-native-cards) > a { min-height: 164px; }
}

/* ================= Filter card (same look as the Tractors / Implements pages) ================= */
.bg-home .bgCatalogue{--fb-accent:#a7262d;--fb-hover:224,150,60;--fb-glow:224,150,60}
.bg-home .bgCatalogue[data-bg-catalogue="implements"]{--fb-accent:#2e5a1f;--fb-hover:92,170,62;--fb-glow:92,170,62}
.bg-home .tools{align-items:center}
.bg-home .bg-native{display:none!important}
.bg-home .tractor-filters.bg-fcard,.bg-home .bg-fcard{flex:0 1 auto;display:flex;align-items:center;flex-wrap:nowrap;gap:0;width:fit-content;max-width:100%;padding:8px;background:#fff;border:1px solid #e5d3a8;border-radius:24px;box-shadow:0 14px 34px rgba(60,36,24,.12)}
.bg-home .bg-dd{position:relative;flex:0 1 auto;min-width:150px}
.bg-home .bg-dd+.bg-dd::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:1px;background:#efe4cc}
.bg-home .bg-pill{position:relative;overflow:hidden;width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:62px;margin:0;padding:0 16px 0 20px;border:0;border-radius:18px;background:transparent;color:#3c2418;text-align:left;cursor:pointer;transition:box-shadow .25s ease,background .2s ease}
.bg-home .bg-pill-text{display:flex;flex-direction:column;gap:5px;min-width:0}
.bg-home .bg-pill-k{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#69594f}
.bg-home .bg-pill-v{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:600}
.bg-home .bg-dd.is-set .bg-pill-v{font-weight:700;color:var(--fb-accent)}
.bg-home .bg-pill-chev{width:18px;height:18px;flex:none;transition:transform .2s ease}
.bg-home .bg-dd.is-open .bg-pill-chev{transform:rotate(180deg)}
.bg-home .bg-pill:hover{background:linear-gradient(180deg,rgba(var(--fb-hover),.10),rgba(var(--fb-hover),.04));box-shadow:inset 0 0 0 1.5px rgba(var(--fb-hover),.6),0 0 24px rgba(var(--fb-hover),.35)}
.bg-home .bg-dd.is-open .bg-pill{background:#fff;box-shadow:inset 0 0 0 2px var(--fb-accent),0 0 26px rgba(var(--fb-hover),.4)}
.bg-home .bg-dd:hover::before,.bg-home .bg-dd:hover+.bg-dd::before{opacity:0}
.bg-home .bg-pill::after,.bg-home .bg-fshow::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:50%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);transform:skewX(-18deg);opacity:0;pointer-events:none}
.bg-home .bg-pill:hover::after,.bg-home .bg-fshow:hover::after{animation:bgSweep .75s ease forwards}
@keyframes bgSweep{0%{left:-60%;opacity:0}20%{opacity:1}100%{left:120%;opacity:0}}
.bg-home .bg-fcard [data-bg-clear]{flex:none;align-self:center;margin:0 4px 0 8px;padding:0 8px;min-height:40px;color:var(--fb-accent);font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.bg-home .bg-fcard .bg-fshow{position:relative;overflow:hidden;flex:none;margin-left:6px;min-height:56px;padding:0 22px;border-radius:18px;font-size:15px;white-space:nowrap;transition:box-shadow .25s,filter .2s}
.bg-home .bg-fcard .bg-fshow:hover{filter:none;box-shadow:0 0 0 3px rgba(240,170,90,.35),0 0 24px rgba(240,170,90,.6)}
.bg-home .bg-fcard .bg-fshow:disabled{opacity:.5;cursor:default}
/* Dropdown panel: placed under its filter; a sheet at the bottom of the screen on phones */
.bg-home .bg-menu{position:fixed;z-index:9999;width:420px;max-width:calc(100vw - 24px);max-height:min(70vh,520px);overflow:auto;padding:16px;background:#fffdf7;border:1px solid #e5d3a8;border-radius:20px;box-shadow:0 24px 50px rgba(30,20,10,.3);color:#2e2219;animation:bgDrop .16s ease-out}
.bg-home .bg-menu-title{margin-bottom:10px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#5e4a2c}
.bg-home .bg-menu-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bg-home .bg-opt{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:0;padding:12px 14px;border:1.5px solid #e5d3a8;border-radius:14px;background:#fff;color:#2e2219;font-size:15px;font-weight:700;line-height:1.3;text-align:left;transition:box-shadow .2s ease,border-color .2s ease,transform .15s ease}
.bg-home .bg-opt small{font-size:13px;font-weight:500;color:#5e4a2c}
.bg-home .bg-opt:hover,.bg-home .bg-opt:focus-visible{outline:none;border-color:var(--fb-accent);transform:translateY(-1px);box-shadow:0 0 0 3px rgba(var(--fb-glow),.25),0 10px 24px rgba(var(--fb-glow),.35)}
.bg-home .bg-opt[aria-selected="true"]{border-color:var(--fb-accent);background:linear-gradient(180deg,#fff,rgba(var(--fb-glow),.12));color:var(--fb-accent)}
.bg-home .bg-opt[aria-disabled="true"]{opacity:.45;cursor:default;transform:none;box-shadow:none;border-color:#e5d3a8}
.bg-home .bg-menu.is-sheet{left:12px!important;right:12px;top:auto!important;bottom:12px;width:auto;max-width:none;box-shadow:0 0 0 100vmax rgba(30,20,10,.4),0 24px 50px rgba(30,20,10,.3);animation:bgSheet .2s ease-out}
@keyframes bgDrop{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
@keyframes bgSheet{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
/* Narrower screens: filters in a grid, Clear and Show on their own row, arrows under the card */
@media (max-width:1199px){
  .bg-home .tractor-filters.bg-fcard,.bg-home .bg-fcard{flex:1 1 100%;width:auto;flex-wrap:wrap;row-gap:6px;padding:6px;border-radius:20px}
  .bg-home .bg-fcard .bg-dd{min-width:0;flex:1 1 180px}
  .bg-home .bg-fcard .bg-fshow{flex:1 1 auto;min-height:50px;margin-left:0}
  .bg-home .tools .arrows{margin-left:auto}
}
@media (max-width:900px){
  .bg-home .bg-fcard .bg-dd{flex:1 1 calc(50% - 4px)}
  .bg-home .bg-dd+.bg-dd::before{display:none}
}
@media (max-width:640px){
  .bg-home .bg-pill{min-height:54px;gap:8px;padding:8px 10px 8px 12px}
  .bg-home .bg-pill-k{font-size:10px;letter-spacing:.12em}
  .bg-home .bg-pill-v{white-space:normal;line-height:1.2;overflow:visible;font-size:15px}
  .bg-home .bg-fcard .bg-dd{min-width:0}
}
@media (prefers-reduced-motion:reduce){
  .bg-home .bg-pill:hover::after,.bg-home .bg-fshow:hover::after,.bg-home .bg-menu{animation:none}
}

/* ================= 0.1.39 · Hero: no inner frame line; slide bars (red = current) ================= */
.bg-home [data-bg-hero]::before { content: none; }
.bg-home .hero-shell { position: relative; }
.bg-home .hero-bars {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 60px; /* inside the photo, above the overlapping category cards */
    display: flex;
    justify-content: center;
    gap: 8px;
}
.bg-home .hero-bars[hidden] { display: none; }
.bg-home .hero-bars button {
    position: relative;
    width: 40px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.bg-home .hero-bars button::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    transform: translateY(-50%);
    background: rgba(255,253,250,.6);
    transition: background .2s ease;
}
.bg-home .hero-bars button:hover::before { background: #fffdfa; }
.bg-home .hero-bars button[aria-current="true"]::before { background: #c8323a; }
.bg-home .hero-bars button:focus-visible { outline: 2px solid #fffdfa; outline-offset: 2px; }
@media (max-width: 1023px) { .bg-home .hero-bars { bottom: 40px; } }
@media (max-width: 640px) { .bg-home .hero-bars { bottom: 12px; } }
/* Wide screens: under the photo on the left, like a catalogue slider */
@media (min-width: 1200px) {
    .bg-home .hero-bars {
        left: clamp(84px, 6.5vw, 100px);
        right: auto;
        bottom: -30px;
        justify-content: flex-start;
    }
    .bg-home .hero-bars button::before { background: #d8cbb4; }
    .bg-home .hero-bars button:hover::before { background: #b9a88c; }
    .bg-home .hero-bars button[aria-current="true"]::before { background: #a7262d; }
    .bg-home .hero-bars button:focus-visible { outline-color: #a7262d; }
}

/* ================= 0.1.39 · Compact filter card ================= */
.bg-home .tractor-filters.bg-fcard,.bg-home .bg-fcard{padding:5px;border-radius:18px;box-shadow:0 8px 22px rgba(60,36,24,.09)}
.bg-home .bg-dd{min-width:130px}
.bg-home .bg-dd+.bg-dd::before{top:12px;bottom:12px}
.bg-home .bg-pill{min-height:50px;gap:12px;padding:0 12px 0 14px;border-radius:14px}
.bg-home .bg-pill-text{gap:3px}
.bg-home .bg-pill-k{font-size:10px;letter-spacing:.12em}
.bg-home .bg-pill-v{font-size:15px}
.bg-home .bg-pill-chev{width:16px;height:16px}
.bg-home .bg-fcard [data-bg-clear]{min-height:36px;font-size:13px}
.bg-home .bg-fcard .bg-fshow{min-height:44px;padding:0 18px;border-radius:14px;font-size:14px}
.bg-home .bg-menu{padding:14px;border-radius:16px}
.bg-home .bg-menu-list{gap:6px}
.bg-home .bg-opt{padding:9px 12px;border-radius:12px;font-size:14px}
.bg-home .bg-opt small{font-size:12px}
@media (max-width:1199px){
  .bg-home .tractor-filters.bg-fcard,.bg-home .bg-fcard{padding:5px;row-gap:4px;border-radius:16px}
  .bg-home .bg-fcard .bg-fshow{min-height:44px}
}
@media (max-width:640px){
  .bg-home .bg-pill{min-height:46px;padding:6px 10px 6px 12px}
  .bg-home .bg-pill-v{font-size:14px}
}

/* ================= 0.2.2 · Smart filters: chips, switchable options ================= */
.bg-home .bg-clear-old{display:none!important}
.bg-home .bg-chips{order:5;flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}
.bg-home .bg-chips[hidden]{display:none}
.bg-home .bg-chip{display:inline-flex;align-items:center;gap:8px;min-height:34px;margin:0;padding:0 12px;border:1px solid #d9d4ca;border-radius:999px;background:#fff;color:#2b2b2b;font-size:13px;font-weight:600;cursor:pointer;transition:border-color .2s,background .2s}
.bg-home .bg-chip svg{flex:none;color:#7a7a7a}
.bg-home .bg-chip:hover{border-color:var(--red,#a7262d);background:#fff7f6}
.bg-home .bg-chip:hover svg{color:var(--red,#a7262d)}
.bg-home .bg-chip-clear{min-height:34px;margin:0 0 0 4px;padding:0 6px;border:0;background:none;color:var(--red,#a7262d);font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bg-home .bg-chip-note{flex:1 1 100%;font-size:13px;color:#5c5c5c}
.bg-home .bg-opt.is-zero{border-style:dashed;background:#fafafa}
.bg-home .bg-opt.is-zero span{color:#5c5c5c}
.bg-home .bg-opt.is-zero small{font-style:italic}
.bg-home .bg-opt[aria-selected="true"] small{color:inherit;opacity:.8}
@media (max-width:640px){.bg-home .bg-chip{min-height:38px}}
