@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');:root{--ink:#203a36;--forest:#285a4b;--pine:#183e35;--gold:#b79562;--cream:#faf8f2;--line:#e6e6dc;--muted:#697a74}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:white;color:var(--ink);font:16px/1.65 'DM Sans',Arial,sans-serif}a{color:var(--forest)}.wrap{width:min(1160px,calc(100% - 42px));margin:auto}.skip{position:absolute;top:-200px;background:white;padding:12px}.skip:focus{top:4px;z-index:10}h1,h2,h3{font-family:'Playfair Display',Georgia,serif;font-weight:500;line-height:1.2}h1{font-size:clamp(2.5rem,5.4vw,4.8rem);margin:12px 0 24px}h2{font-size:clamp(1.8rem,3vw,2.65rem)}.header{background:white;border-bottom:1px solid var(--line);position:relative;z-index:5}.header-row{min-height:90px;display:flex;justify-content:space-between;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:1.22rem;line-height:1.1;letter-spacing:-.6px;color:var(--pine)}.brand strong{display:block;font-family:Georgia,serif;font-size:1.42rem}.brand small{display:block;font-size:.62rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin-top:7px}.brand-emblem{font-size:2.5rem;color:var(--gold)}nav{display:flex;gap:27px;align-items:center}nav a{color:var(--ink);text-decoration:none;font-size:.92rem;font-weight:600}nav a:hover,nav a[aria-current]{color:var(--forest);text-decoration:underline;text-underline-offset:7px}.menu-toggle{display:none}.hero{background:linear-gradient(110deg,#f7f6ee 0%,#edf2e8 100%);overflow:hidden}.hero-grid{min-height:510px;display:grid;grid-template-columns:1.13fr .87fr;align-items:center;gap:50px;padding:55px 0}.eyebrow{font-size:.75rem;text-transform:uppercase;letter-spacing:2.4px;color:#987647;font-weight:700}.hero h1 em{color:var(--forest);font-weight:500}.lead{font-size:1.13rem;max-width:520px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-block;border:1px solid var(--forest);padding:12px 24px;background:var(--forest);color:white;text-decoration:none;border-radius:3px;font-size:.9rem;font-weight:700}.btn:hover{background:var(--pine)}.btn-secondary{color:var(--forest);background:transparent}.btn-secondary:hover{color:white}.hero-art{display:grid;place-items:center;min-height:380px}.sample-card{width:min(305px,90%);min-height:365px;background:linear-gradient(165deg,#234e45,#15362f);color:#fff5dc;border:10px solid #e9dfc6;outline:1px solid #ab986a;box-shadow:24px 25px 0 #e2ddca,30px 35px 38px #bbb9aa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:21px;text-align:center;transform:rotate(-5deg)}.sample-card strong{font:1.8rem Georgia,serif}.sample-card span{font:italic .9rem Georgia,serif}.winter-art{font-size:105px;line-height:1.2;color:#dfd4a5}.content{padding-top:75px;padding-bottom:85px}.two-col{display:grid;grid-template-columns:1.5fr 1fr;gap:110px}.notice{background:var(--cream);border:1px solid var(--line);padding:35px;align-self:start}.notice h3{font-size:1.6rem}.page-head{background:#f5f6f0;padding:55px 0 48px;border-bottom:1px solid var(--line)}.page-head h1{font-size:clamp(2.5rem,4vw,3.7rem);margin:10px 0}.page-head p:last-child{margin-bottom:0}.catalogue-section{padding:45px 0 90px}.catalogue-toolbar{display:flex;justify-content:space-between;align-items:end;gap:22px;flex-wrap:wrap}.catalogue-toolbar label{font-size:.85rem;font-weight:700}.catalogue-toolbar input,.catalogue-toolbar select{display:block;padding:12px 14px;min-height:46px;border:1px solid #c8d1cc;border-radius:3px;margin-top:6px;background:white;font:inherit;color:var(--ink)}.search-wrap{width:min(420px,100%)}.search-wrap input{width:100%}.muted,.fine-print{color:var(--muted);font-size:.86rem}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:25px}.product-card{border:1px solid var(--line);background:#fff;overflow:hidden;min-width:0}.product-card button{width:100%;height:100%;border:0;background:transparent;padding:0;text-align:left;color:inherit;cursor:pointer}.product-card button:hover .product-name{text-decoration:underline}.image-box{aspect-ratio:4/5;background:#f0f2eb;display:grid;place-items:center;position:relative;overflow:hidden}.image-box img{width:100%;height:100%;object-fit:contain}.image-fallback{position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:15px;padding:20px;text-align:center;color:#6a8276;background:linear-gradient(145deg,#eff3e9,#dce8e1)}.image-fallback .symbol{font-size:4rem;color:#9fb6a6}.image-fallback small{font-size:.78rem}.product-info{padding:17px}.product-code{display:block;color:var(--muted);font-size:.75rem;letter-spacing:.7px}.product-name{display:block;font-family:Georgia,serif;font-size:1.13rem;margin-top:4px}.pagination{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:32px 0}.pagination button{border:1px solid #bfcfc5;background:white;padding:8px 12px;cursor:pointer}.pagination button[aria-current]{background:var(--forest);color:white}.pagination button:disabled{opacity:.4;cursor:default}.product-dialog{width:min(650px,calc(100% - 30px));border:0;box-shadow:0 20px 80px #18241b44;padding:30px}.product-dialog::backdrop{background:#101a16b9}.dialog-close{float:right;border:0;background:transparent;font-size:2rem;cursor:pointer}.dialog-illustration{max-height:390px;max-width:100%;display:block;margin:12px auto}.contact-card{padding:28px 35px;background:var(--cream);border:1px solid var(--line);max-width:620px}.contact-card h2{margin:5px 0}.verse-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:30px 0}.verse-tile{min-height:120px;border:1px solid var(--line);padding:12px;background:var(--cream);display:grid;place-items:center;text-align:center}.verse-tile img{max-width:100%;height:auto}.footer{background:var(--pine);color:#e9f0e9}.footer-inner{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap;padding:45px 0}.footer a{color:#f3e3c8}.footer p{font-size:.82rem;color:#c1d4ca}@media(max-width:900px){nav{gap:13px}.product-grid{grid-template-columns:repeat(3,1fr)}.hero-grid{gap:25px}}@media(max-width:680px){.header-row{min-height:76px;flex-wrap:wrap;padding:12px 0}.menu-toggle{display:block;margin-left:auto;background:white;border:1px solid var(--line);padding:8px 13px}nav{display:none;flex-basis:100%;flex-direction:column;align-items:start;padding-bottom:12px}nav.open{display:flex}.hero-grid{grid-template-columns:1fr;padding:45px 0}.hero-art{min-height:320px}.sample-card{min-height:290px;width:230px}.two-col{grid-template-columns:1fr;gap:28px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-info{padding:11px}.content{padding:45px 0}.verse-grid{grid-template-columns:1fr}}@media(max-width:360px){.product-grid{grid-template-columns:1fr}}
.original-hero{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}.hero-illustration{display:none}

/* Heritage palette: derived from the original JF Texturia Joomla theme. */
:root{--ink:#303030;--forest:#e2860b;--pine:#303030;--gold:#fc930a;--cream:#faf9f6;--line:#d7d7d7;--muted:#737373}
body{background:#f6f6f6;color:#303030;font-family:Tahoma,Verdana,Arial,sans-serif;line-height:1.7}
a{color:#0587b9}h1,h2,h3{font-family:Georgia,serif;color:#343434}
.header{background:linear-gradient(#fff,#f6f6f6);border-bottom:4px solid #fc930a}
.header-row{min-height:95px}.brand,.brand strong{color:#303030}.brand-emblem{color:#fc930a}.brand small{color:#777}
nav a{color:#303030}nav a:hover,nav a[aria-current]{color:#e2860b}
.hero{background:#ebebeb url('../assets/theme/jf_body.png') repeat-x top left}
.hero-grid{min-height:0;grid-template-columns:1fr;gap:0;padding:26px 0 20px}
.hero h1{font-size:clamp(2rem,3.6vw,3.7rem)}.hero h1 em{color:#e2860b}
.hero-art{min-height:0}.original-hero{display:none}.hero-illustration{display:none}
.eyebrow{color:#d77c00}.btn{background:#fc930a;border-color:#e2860b;color:#222}.btn:hover{background:#dc7d00}.btn-secondary{background:transparent;color:#553a1b}.btn-secondary:hover{background:#f4dbb2;color:#303030}
.page-head{background:#eeeeee}.notice,.contact-card,.verse-tile{background:#fff}.product-card{box-shadow:0 1px 3px #00000012}.image-box{background:#fff}.image-fallback{background:#eee;color:#777}.pagination button[aria-current]{background:#fc930a;color:#222}.footer{background:#383838;color:#fff}.footer p{color:#ddd}.footer a{color:#ffbb5c}
.slideshow{position:relative;margin:0 auto;max-width:940px;aspect-ratio:940/535;background:#ddd;overflow:hidden;box-shadow:0 6px 22px #0002;border:6px solid white}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .65s ease;pointer-events:none}.slide.active{opacity:1;pointer-events:auto}.slide img{display:block;width:100%;height:100%;object-fit:cover}.slide figcaption{position:absolute;bottom:0;left:0;right:0;padding:15px 22px 25px;color:white;font-size:1.1rem;font-weight:700;text-shadow:0 1px 4px #000;background:linear-gradient(transparent,#0009)}
.slide-arrow{position:absolute;z-index:2;top:48%;transform:translateY(-50%);background:#222a;border:1px solid #fffa;color:white;border-radius:50%;font-size:1.6rem;width:42px;height:42px;cursor:pointer}.slide-arrow:hover,.slide-arrow:focus-visible{background:#111}.slide-prev{left:12px}.slide-next{right:12px}
.slide-dots{position:absolute;bottom:6px;left:0;right:0;z-index:3;display:flex;justify-content:center;gap:8px}.slide-dots button{width:11px;height:11px;border-radius:50%;border:1px solid white;background:#ffffff80;cursor:pointer;padding:0}.slide-dots button[aria-current=true]{background:#fc930a}
.home-intro{max-width:940px;margin:auto;padding:33px 0 0;text-align:center}.home-intro h1{font-size:clamp(2rem,4vw,3.3rem);margin:5px 0 12px}.home-intro p{margin:auto auto 18px;max-width:670px}.home-intro .actions{justify-content:center;margin:14px 0 24px}
@media(max-width:680px){.hero-grid{padding:14px 0}.slideshow{border-width:3px}.slide figcaption{font-size:.85rem;padding:9px 12px 19px}.slide-arrow{width:34px;height:34px;font-size:1.2rem}.home-intro{padding-top:20px}}
@media(prefers-reduced-motion:reduce){.slide{transition:none}}

/* Slideshow reliability fix */
.slideshow .slide{margin:0;width:100%;height:100%;inset:0;display:block}.slideshow .slide img{width:100%;height:100%;object-fit:cover}.slideshow .slide:first-of-type{opacity:1}.slideshow .slide:not(.active){opacity:0}

/* FIX: A grid item with auto inline size and auto margins can shrink to its min-content width.
   Give the slideshow a definite width so its aspect ratio yields the correct height. */
#home-slideshow{display:block;width:100%;max-width:940px;min-width:0;aspect-ratio:940 / 535;height:auto;margin:0 auto;position:relative;overflow:hidden;border:6px solid #fff;background:#ddd}
#home-slideshow .slide{position:absolute;inset:0;width:100%;height:100%;margin:0;overflow:hidden}
#home-slideshow .slide img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:680px){#home-slideshow{border-width:3px}}
