:root{--olive:#40482a;--copper:#88491f;--cream:#faf1da;--line:#bfac84}
body{background:#ded4b7 url(paper.webp);color:#393423}
header,main,footer{max-width:1480px}
header{background:#30371f;color:#fff4cb;border-bottom:4px double #b29a69}
header nav a{background:transparent;color:inherit}
.brand img{width:clamp(190px,23vw,285px);border-radius:7px}
main,footer{background-color:#f5ecd6;background-image:url(atelier-margin.webp),url(paper.webp);background-size:clamp(16px,3vw,45px) auto,auto;background-position:left top,center;background-repeat:repeat-y,repeat;background-blend-mode:multiply,soft-light}
main{padding-inline:clamp(24px,6vw,90px)}
.hero{gap:5%;grid-template-columns:1.1fr 1fr}
.hero figure{order:-1;transform:none;overflow:hidden;border:4px double var(--line);border-radius:49% 49% 3px 3px;padding:5px;background:#ece0c4}
.hero figure img{border-radius:49% 49% 0 0}
figcaption{text-align:center;font-size:.9em}
h1,h2{color:#44482f}h2{font-style:italic}
button,.steps a,.projects>*{border:1px solid var(--line);border-radius:6px}
button{background:var(--olive);color:white}
.hero button:first-of-type,#go,#apply{background:var(--copper)}
#styles button,#works button.artCard,#artGallery button{background:#fff9eb;border:1px solid var(--line);color:#383722}
#workshop,#finished,#production,#gallery{scroll-margin:1rem}
form,.bench,#finished{background:#fffaf0a8;border:1px solid var(--line);padding:clamp(14px,3vw,36px);border-radius:8px}
#finished{margin-top:20px}
input,textarea{border-color:var(--line);background:#fffdf7}
.projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:740px;margin:auto}
.projects>*{align-content:center;gap:4px;background:#fff8e6;font-weight:bold;text-align:center}
.projects small{font-weight:normal}
main>section:last-child>h2{text-align:center}
footer .footerGrid{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-areas:"contacts location docs" "brand details details";gap:28px}
.footerContacts{grid-area:contacts}.footerLocation{grid-area:location}.footerDocs{grid-area:docs}.footerBrand{grid-area:brand}.footerGrid .footerDetails{grid-area:details;justify-content:flex-end}
.footerGrid .footerDetails,.footerBrand{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);padding-top:12px}
.footerDocs nav{display:grid}.footerGrid a{text-decoration:none}.footerGrid a:hover,header a:hover{text-decoration:underline}
.footerBrand img {
  display: block;
  width: 35px;
  height: auto;
  filter: brightness(0);
  opacity: .8;
}
.footerContacts .officeLines {
  display: grid;
  justify-items: start;
  gap: 2px;
}
.footerContacts .officeLines a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  font-weight: 650;
  white-space: nowrap;
}
.footerContacts .officeLines .icon {
  width: 17px;
  height: 17px;
  flex: none;
}
@media(max-width:680px) {
  .footerBrand img { width: 40px; }
}
@media(max-width:680px){.hero{grid-template-columns:1fr}header{justify-content:center}.projects{gap:6px}.projects>*{font-size:14px;padding:7px 2px}.projects svg,.projects img{width:42px;height:42px}footer .footerGrid{grid-template-columns:1fr;grid-template-areas:"contacts" "location" "docs" "brand" "details"}.footerGrid .footerDetails{justify-content:start}footer{padding-inline:28px}}

header a[href="#examples"]::before,header a[href="#gallery"]::before,#gallery h2::before,#examples h2::before{content:"";display:inline-block;width:1em;height:1em;background:currentColor;vertical-align:-.1em;margin-right:.4em;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiPjxyZWN0IHg9IjMiIHk9IjMiIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgcng9IjMiLz48Y2lyY2xlIGN4PSI5IiBjeT0iOSIgcj0iMiIvPjxwYXRoIGQ9Im00IDE3IDUtNSA0IDQgMy0zIDQgNCIvPjwvc3ZnPg==) center/contain no-repeat}

header a[href="#workshop"]::before,#go::before,#demo::before,#styleList h2::before,#reuse::before{content:"";display:inline-block;width:1em;height:1em;background:currentColor;vertical-align:-.1em;margin-right:.4em;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiPjxwYXRoIGQ9Im00IDE5IDExLTExIDQgNEw4IDIzWk0xMyAzVjBtLTMgNEg3bTE1IDFoLTNNNCAxMFY3bS0yIDJoNE0xOSAyMHYtNG0tMiAyaDQiLz48L3N2Zz4=) center/contain no-repeat}

#balance::before{content:"";display:inline-block;width:1em;height:1em;background:currentColor;vertical-align:-.1em;margin-right:.4em;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiPjxjaXJjbGUgY3g9IjEyIiBjeT0iOCIgcj0iMy44Ii8+PHBhdGggZD0iTTQgMjF2LTJhOCA3IDAgMCAxIDE2IDB2MloiLz48L3N2Zz4=) center/contain no-repeat}

#demoFit::before,#production h2::before,#products button::before{content:"";display:inline-block;width:1em;height:1em;background:currentColor;vertical-align:-.1em;margin-right:.4em;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiPjxwYXRoIGQ9Im04IDMtNiA0IDMgNSAzLTJ2MTFoOFYxMGwzIDIgMy01LTYtNGMtLjYgMy03LjQgMy04IDBaIi8+PC9zdmc+) center/contain no-repeat}

#apply::before,#keepCaption::before{content:"";display:inline-block;width:1em;height:1em;background:currentColor;vertical-align:-.1em;margin-right:.4em;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiPjxwYXRoIGQ9Im01IDEyIDQgNCAxMC0xMCIvPjwvc3ZnPg==) center/contain no-repeat}

#tabs button::before,#production label::before{content:"";display:inline-block;width:1em;height:1em;background:currentColor;vertical-align:-.1em;margin-right:.4em;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiPjxwYXRoIGQ9Ik0yIDE5IDggNGw2IDE1TTQgMTRoOG00LTJjNC0zIDYtMSA1IDJ2NW0wLTVjLTYtMi03IDYtMiA1bDItMSIvPjwvc3ZnPg==) center/contain no-repeat}

#download::before,#saveMock::before{content:"";display:inline-block;width:1em;height:1em;background:currentColor;vertical-align:-.1em;margin-right:.4em;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiPjxwYXRoIGQ9Ik0zIDlWM2g2bTYgMGg2djZtMCA2djZoLTZtLTYgMEgzdi02Ii8+PC9zdmc+) center/contain no-repeat}

.inputs label::before{content:"";display:inline-block;width:1em;height:1em;background:currentColor;vertical-align:-.1em;margin-right:.4em;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiPjxyZWN0IHg9IjMiIHk9IjciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNCIgcng9IjIiLz48cGF0aCBkPSJtNCAxNyA1LTUgNCA0IDItMiAzIDNNMjAgMnY4bS00LTRoOCIvPjxjaXJjbGUgY3g9IjciIGN5PSIxMCIgcj0iMSIvPjwvc3ZnPg==) center/contain no-repeat}

main>section:last-child h2::before{content:"";display:inline-block;width:1em;height:1em;background:currentColor;vertical-align:-.1em;margin-right:.4em;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjYiPjxwYXRoIGQ9Im0zIDcgOS00IDkgNHYxMGwtOSA0LTktNFptMCAwIDkgNCA5LTRtLTkgNHYxME03LjUgNWw5IDR2NCIvPjwvc3ZnPg==) center/contain no-repeat}
.gardenHead{display:grid;grid-template-columns:1fr auto 1fr;padding:0 clamp(16px,4vw,66px);gap:1vw;background:#30331c url(paper.webp);background-blend-mode:multiply}
.gardenHead nav{justify-content:space-evenly;gap:3px}.gardenHead nav a{padding:8px 4px;text-align:center;font-size:clamp(14px,1.2vw,18px)}
.gardenHead .brand img{width:clamp(180px,25vw,340px)}
.gardenHero,#examples{margin-inline:clamp(-90px,-6vw,-24px);padding-inline:clamp(35px,9vw,137px);background-image:url(garden-border.webp);background-repeat:no-repeat;background-position:right top;background-size:auto 100%}
.gardenHero{display:grid;grid-template-columns:1.55fr 1fr .73fr;align-items:center;gap:2.4%;padding-block:0;border-bottom:0}
.gardenPortrait{display:block;width:100%;aspect-ratio:517/524;object-fit:cover;border-radius:52% 52% 0 0 / 51% 51% 0 0;border:3px double #926e3f}
.gardenIntro{text-align:center;padding-block:22px}.gardenIntro h1{font:italic 400 clamp(33px,4.1vw,64px)/.99 Georgia,serif;color:#423823}.gardenIntro p{font-size:clamp(15px,1.25vw,19px);line-height:1.4}
.gardenAction{display:inline-block;background:#88491f;color:#fff5db;padding:10px 19px;border-radius:28px;border:3px double #d1a271;text-decoration:none}
.gardenTools{display:grid;border-left:1px solid var(--line);padding-left:14px;gap:18px}.gardenTools>*{display:flex;align-items:center;gap:10px;text-decoration:none;text-align:left;font:inherit;color:#433e2b;border:0;box-shadow:none;background:transparent;padding:0}
.gardenTools>*::before,.gardenAction::before,.gardenHead a[href="#start"]:not(.brand)::before,.gardenHead a[href="#styleList"]::before{font-size:1.25em;content:"✧";margin-right:.25em}.gardenTools #demoFit::before{content:"";font-size:1.5em}.gardenTools a:hover,.gardenTools button:hover{text-decoration:underline}
#examples{padding-block:10px 22px}#examples h2{text-align:center;margin:0 0 12px}#examples h2::before{display:none}
#artGallery{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - 60px)/6);gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 2px 10px}
#artGallery button{scroll-snap-align:start;border:0;background:transparent;box-shadow:none;padding:0;text-align:center;font-size:15px}
#artGallery img{height:auto;aspect-ratio:1.22;object-fit:cover;border-radius:10px}
@media(max-width:900px){.gardenTools{grid-column:1/-1;display:flex;justify-content:center;flex-wrap:wrap;border:0;padding:8px}.gardenHero{grid-template-columns:1.15fr 1fr}.gardenHead{grid-template-columns:1fr}.gardenHead .brand{grid-row:1;justify-self:center}.gardenHead nav{justify-content:center}.gardenHead{gap:0;padding-bottom:6px}#artGallery{grid-auto-columns:calc((100% - 36px)/4)}}
@media(max-width:600px){.gardenHero,#examples{margin-inline:-24px;padding-inline:28px}.gardenHero{grid-template-columns:1fr}.gardenPortrait{width:76%;margin:8px auto 0}.gardenIntro{padding:10px 0}.gardenIntro h1 br{display:none}.gardenIntro p{margin:10px 0}.gardenTools{gap:12px;font-size:14px}.gardenHead nav a{padding-block:4px}#artGallery{grid-auto-columns:42%}}
.gardenHead{background:#30351e}
main{background-image:url(atelier-margin.webp),url(garden-paper.webp);background-blend-mode:multiply,normal}
