:root{--bg:#1b1d1b;--surface:#242723;--surface2:#2c302b;--line:#3a403a;--text:#f0eee8;--muted:#b6b9b0;--accent:#c1a27a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.65}a{color:inherit;text-decoration:none}button{font:inherit}.shell{max-width:1190px;margin:auto;padding-left:28px;padding-right:28px}.site-header{background:#1b1d1bf5;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-weight:650;font-size:16px;letter-spacing:.035em;line-height:1.2}.brand span{font-weight:400;color:var(--accent);margin-left:4px}.site-header nav{display:flex;gap:32px;align-items:center}.site-header nav a{font-size:13px;color:#d9dcd5}.site-header nav a:hover,.inline-link:hover{color:var(--accent)}.menu-toggle{display:none;color:var(--text);background:transparent;border:1px solid var(--line);border-radius:5px;padding:7px 11px}.hero{display:grid;grid-template-columns:1fr 1.03fr;gap:64px;align-items:center;padding-top:70px;padding-bottom:85px}.hero-copy{max-width:480px}.kicker{font-size:12px;color:var(--accent);letter-spacing:.045em;font-weight:600;margin:0 0 17px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:inherit;letter-spacing:-.035em;font-weight:600;line-height:1.2}h1{font-size:clamp(34px,4vw,52px);margin-bottom:22px}h2{font-size:clamp(27px,3vw,36px);margin-bottom:18px}.hero-copy>p:not(.kicker),.section-head>p,.workbench-inner p:not(.kicker),.story p:not(.kicker),.contact-section>p:not(.kicker){color:var(--muted)}.hero-copy>p:not(.kicker){font-size:16px;max-width:420px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:4px;font-weight:600;font-size:13px;transition:background .2s,border-color .2s}.primary{background:var(--accent);color:#1b1d1b}.primary:hover{background:#d5b994}.secondary{border:1px solid #697167;color:var(--text)}.secondary:hover{background:#353b34}.hero-visual{min-width:0}.hero-photo{height:430px;border-radius:5px;background:linear-gradient(135deg,#3e3c33,#292c28 70%);background-size:cover;background-position:center;display:grid;place-items:center}.placeholder-inner{border:1px solid #6a6659;border-radius:4px;text-align:center;padding:34px 22px;color:#ded5c6;font-size:13px}.placeholder-inner small{display:block;color:#aaa99e;margin-top:9px}.section{padding-top:85px;padding-bottom:95px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:30px}.section-head h2{margin:0}.section-head>p{max-width:290px;font-size:14px;margin:0}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.product{min-width:0}.product-image{height:320px;background:linear-gradient(135deg,#4a463b,#2c302b);background-position:center;background-size:cover;border-radius:5px;display:grid;place-items:center}.image-hint{font-size:12px;color:#d1c8b7;padding:12px;text-align:center}.product-type{font-size:12px;color:var(--accent);margin-top:18px}.product-bottom{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-top:4px}.product-name{font-size:17px;font-weight:600}.product-price{font-size:13px;color:var(--muted);text-align:right}.product-button{display:block;width:100%;margin-top:17px;border:1px solid #62695f;background:transparent;color:var(--text);padding:11px;border-radius:4px;font-size:12px;font-weight:600;cursor:pointer;text-align:center}.product-button:hover{background:#323830}.micro{font-size:12px;color:#9da49a;margin-top:24px}.workbench-band{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.workbench-inner{display:grid;grid-template-columns:1.3fr .7fr;gap:80px;align-items:center;padding-top:76px;padding-bottom:76px}.workbench-inner>div:first-child>p:not(.kicker){max-width:480px}.workbench-inner .button{margin-top:10px}.workbench-detail{background:var(--surface2);border:1px solid var(--line);padding:34px;border-radius:5px}.workbench-detail span{font-size:12px;color:var(--accent);font-weight:600}.rule{height:1px;background:#535b50;margin:22px 0}.workbench-detail p{font-size:19px;color:var(--text)!important;line-height:1.45}.workbench-detail small{color:var(--muted)}.gallery-grid{display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:205px 205px;gap:18px}.gallery-tile{position:relative;background:linear-gradient(135deg,#444438,#2c302b);background-size:cover;background-position:center;border-radius:5px;overflow:hidden}.gallery-tile.tall{grid-row:span 2}.gallery-tile span{position:absolute;bottom:15px;left:15px;font-size:12px;background:#171a17d9;padding:6px 11px;border-radius:3px}.story-section{background:#20231f;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.story{display:grid;grid-template-columns:1fr 1fr;gap:85px;padding-top:85px;padding-bottom:85px}.story>div:last-child{max-width:520px}.inline-link{display:inline-block;margin-top:7px;font-weight:600;font-size:13px;color:var(--accent)}.contact-section{text-align:center;padding-top:95px;padding-bottom:110px}.contact-section>p:not(.kicker){margin-bottom:25px}footer{border-top:1px solid var(--line);background:#171917}.footer-inner{display:flex;justify-content:space-between;gap:30px;padding-top:40px;padding-bottom:30px}.footer-inner strong{font-size:14px}.footer-inner p,.footer-bottom{font-size:12px;color:#a8ada4}.footer-links{display:flex;gap:24px;flex-wrap:wrap;font-size:13px}.footer-bottom{border-top:1px solid var(--line);padding-top:19px;padding-bottom:23px}.toast{display:none;position:fixed;right:22px;bottom:22px;background:#e7e4db;color:#222;padding:17px 20px;max-width:350px;box-shadow:0 10px 30px #0006;border-radius:5px;z-index:50;font-size:13px}.toast.show{display:block}@media(max-width:800px){.hero{gap:30px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workbench-inner{gap:35px}.story{gap:35px}}@media(max-width:650px){.shell{padding-left:20px;padding-right:20px}.header-inner{height:67px}.brand{font-size:14px}.menu-toggle{display:block}.site-header nav{display:none;position:absolute;top:67px;left:0;right:0;background:#20231f;border-bottom:1px solid var(--line);padding:20px;flex-direction:column;align-items:stretch;gap:16px}.site-header nav.open{display:flex}.hero{grid-template-columns:1fr;padding-top:50px;padding-bottom:60px;gap:32px}.hero-photo{height:320px}.section{padding-top:62px;padding-bottom:65px}.section-head{display:block}.section-head>p{margin-top:12px}.product-grid{grid-template-columns:1fr}.product-image{height:350px}.workbench-inner,.story{grid-template-columns:1fr;padding-top:60px;padding-bottom:60px}.gallery-grid{grid-template-columns:1fr;grid-template-rows:repeat(3,230px)}.gallery-tile.tall{grid-row:span 1}.contact-section{padding-top:65px;padding-bottom:70px}.footer-inner{flex-direction:column}.footer-links{gap:17px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Photo-led refinements */
.hero{gap:42px;padding-top:52px;padding-bottom:58px}.hero-photo{height:395px;background-position:center center}.section{padding-top:66px;padding-bottom:75px}.product-image{height:295px;background-position:center}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;gap:15px}.gallery-tile,.gallery-tile.tall{height:270px;grid-row:auto}.gallery-tile:first-child{grid-column:span 2;height:350px}.gallery-tile:nth-child(2){height:350px}.gallery-tile span{font-size:11px}.hero-photo,.product-image,.gallery-tile{background-color:#292b28}.product-button{transition:background .2s}.product-button:focus-visible,.button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:650px){.hero{padding-top:35px;padding-bottom:45px}.hero-photo{height:330px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-tile,.gallery-tile.tall,.gallery-tile:first-child,.gallery-tile:nth-child(2){grid-column:auto;height:210px}.gallery-tile:first-child{grid-column:span 2;height:270px}.gallery-tile span{font-size:10px;left:9px;bottom:9px}}

/* Portfolio captions and readable product details */
.gallery-item{margin:0;min-width:0;display:flex;flex-direction:column;gap:10px}
.gallery-item .gallery-tile{width:100%;height:260px;min-height:260px}
.gallery-item figcaption{display:flex;flex-direction:column;gap:5px;padding:0 2px 12px}
.gallery-item figcaption strong{font-size:14px;font-weight:600;color:#f0eee8;line-height:1.4}
.gallery-item figcaption span{font-size:13px;color:#b6b9b0;line-height:1.55}
.product-detail{font-size:13px;line-height:1.55;color:#b6b9b0;margin:5px 0 14px}
@media(max-width:640px){.gallery-item .gallery-tile{height:220px;min-height:220px}}

.gallery-grid .gallery-item{grid-column:auto;grid-row:auto}

/* Embedded Google Apps Script Workbench */
.workbench-band{padding:64px 0;background:#20221f}
.workbench-frame-wrap{margin-top:26px;border:1px solid #41443e;border-radius:12px;overflow:hidden;background:#191b19}
.workbench-frame-wrap iframe{display:block;width:100%;height:1000px;border:0;background:#191b19}
.workbench-help{font-size:12px;color:#aeb2a9;margin-top:12px;line-height:1.6}
@media(max-width:700px){.workbench-band{padding:44px 0}.workbench-frame-wrap iframe{height:1150px}}

/* Digital pattern shop and cart */
.header-inner{justify-content:space-between}.site-header nav{margin-left:auto;gap:22px}.cart-launch{white-space:nowrap;border:1px solid var(--accent);border-radius:5px;background:transparent;color:var(--text);padding:8px 12px;cursor:pointer;font-size:13px}.cart-launch span{display:inline-block;background:var(--accent);color:#191b19;min-width:20px;border-radius:15px;text-align:center;font-weight:700;margin-left:5px}.pattern-image{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:5px}.pattern-features{color:var(--muted);font-size:12px;padding-left:19px;line-height:1.8}.pattern-video{display:inline-block;font-size:12px;color:var(--accent);margin-top:12px}.cart-backdrop{position:fixed;inset:0;background:#000a;z-index:35}.cart-backdrop[hidden]{display:none}.cart-panel{position:fixed;top:0;right:0;height:100dvh;width:min(440px,100%);background:#222520;z-index:36;box-shadow:-12px 0 45px #0009;transform:translateX(105%);transition:transform .2s;display:flex;flex-direction:column;padding:25px;overflow:auto}.cart-panel.open{transform:translateX(0)}.cart-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.cart-top h2{font-size:24px}.cart-top button,.cart-item button{background:transparent;color:var(--muted);border:0;cursor:pointer}.cart-item{padding:20px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:14px}.cart-item strong,.cart-item small{display:block}.cart-item small{color:var(--muted);margin-top:6px}.cart-foot{margin-top:auto;padding-top:25px}.cart-total{display:flex;justify-content:space-between;font-size:18px}.cart-checkout{width:100%;border:0;cursor:pointer;margin-top:16px}.cart-checkout:disabled{opacity:.55;cursor:not-allowed}.cart-error{color:#ffb4a8;font-size:13px}.cart-empty{color:var(--muted);margin-top:28px}@media(max-width:800px){.site-header nav{gap:13px}.header-inner{gap:10px}}@media(max-width:650px){.cart-launch{margin-left:auto}.site-header nav{margin-left:0}}

/* Shepherd logo and visible business name, side by side */
.site-header .brand{
  display:inline-flex;align-items:center;gap:10px;
  flex:0 0 auto;width:auto;height:auto;min-width:0;
  background:none;font-size:15px;line-height:1.2;
  overflow:visible;white-space:normal;letter-spacing:.02em;
}
.site-header .brand::before{
  content:"";display:block;flex:0 0 62px;width:62px;height:60px;
  background:url("shepherd-logo.png") center / contain no-repeat;
}
.site-header .brand span{font-size:inherit;margin-left:3px}
.footer-inner > div:first-child::before{
  content:"";display:block;width:160px;height:130px;
  background:url("shepherd-logo.png") left center / contain no-repeat;
  margin-bottom:8px;
}
@media(max-width:1050px){
  .site-header .brand{font-size:13px;gap:7px}
  .site-header .brand::before{flex-basis:48px;width:48px;height:52px}
  .site-header nav{gap:12px}
}
@media(max-width:800px){
  .site-header .brand{font-size:12px;max-width:210px}
  .site-header .brand::before{flex-basis:43px;width:43px;height:47px}
}
@media(max-width:650px){
  .site-header .brand{font-size:12px;max-width:190px;gap:5px}
  .site-header .brand::before{flex-basis:40px;width:40px;height:44px}
  .site-header .brand span{margin-left:0}
  .footer-inner > div:first-child::before{width:140px;height:115px}
}
@media(max-width:390px){
  .site-header .brand{font-size:11px;max-width:165px}
  .site-header .brand::before{flex-basis:34px;width:34px;height:40px}
}
/* Softer header branding */
.site-header .brand {
  color: #b8b6af;
}

.site-header .brand span {
  color: #a58c6e;
}