/*
Theme Name: Cooreasy Atelier
Theme URI: https://cooreasy.com/
Author: Cooreasy
Description: An editorial WordPress theme for Chinese philosophy and mindful handmade objects.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cooreasy-atelier
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&display=swap');

:root{--paper:#f8f5ef;--cream:#f0eae0;--white:#fffdf9;--ink:#24312c;--muted:#66726b;--line:#d9d8cc;--pine:#274638;--copper:#a46e4a;--red:#9d4c3e;--shadow:0 22px 58px rgba(35,49,44,.11)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button{cursor:pointer}
::selection{background:#d7e0d7;color:var(--ink)}
:focus-visible{outline:3px solid var(--copper);outline-offset:4px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wrap{width:min(100% - 48px,1240px);margin-inline:auto}
.eyebrow{display:inline-flex;align-items:center;gap:12px;text-transform:uppercase;letter-spacing:.18em;font-size:.7rem;font-weight:700;color:var(--copper)}
.eyebrow:before{content:'';display:block;width:28px;height:1px;background:currentColor}
h1,h2,h3,h4,p{margin-top:0}
h1,h2,h3,.serif{font-family:'Fraunces',Georgia,serif;font-weight:500}
h1{font-size:clamp(3.7rem,7vw,7rem);line-height:1.02;letter-spacing:-.055em}
h2{font-size:clamp(2.55rem,4.4vw,4.75rem);line-height:1.1;letter-spacing:-.045em}
h3{font-size:clamp(1.55rem,2.2vw,2.15rem);line-height:1.22;letter-spacing:-.025em}
p{line-height:1.75;color:var(--muted)}
.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 22px;border:1px solid var(--pine);border-radius:2px;background:var(--pine);color:#fff;font-size:.84rem;font-weight:700;letter-spacing:.025em;transition:background .2s,color .2s,transform .2s}
.button:hover{background:#173326;transform:translateY(-2px)}
.button--outline{background:transparent;color:var(--pine)}
.button--outline:hover{background:var(--pine);color:#fff}
.text-link{display:inline-flex;align-items:center;gap:10px;font-size:.84rem;font-weight:700;border-bottom:1px solid currentColor;padding-bottom:5px}
.text-link:hover{color:var(--copper)}

.site-header{position:relative;z-index:10;background:var(--paper);border-bottom:1px solid rgba(39,70,56,.1)}
.header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.brand{display:inline-flex;align-items:center;gap:13px;white-space:nowrap}
.brand__mark{width:39px;height:39px;display:grid;place-items:center;border:1px solid var(--pine);border-radius:50%;font-family:Georgia,serif;font-size:1.5rem;line-height:1;color:var(--pine)}
.brand__text{display:flex;flex-direction:column;gap:2px}
.brand__name{font-family:'Fraunces',Georgia,serif;font-size:1.4rem;letter-spacing:-.035em;line-height:1}
.brand__sub{font-size:.57rem;font-weight:700;letter-spacing:.23em;text-transform:uppercase;color:var(--copper)}
.nav{display:flex;align-items:center;gap:35px}
.nav a:not(.button){font-size:.79rem;font-weight:700;letter-spacing:.055em;text-transform:uppercase;color:#47564d;transition:color .2s}
.nav a:not(.button):hover{color:var(--copper)}
.nav .button{min-height:42px;padding:10px 17px;font-size:.75rem}
.mobile-nav{display:none}

.hero{overflow:hidden;background:radial-gradient(circle at 77% 35%,#e6e6d7 0,#f4f1e9 34%,var(--paper) 65%)}
.hero-grid{min-height:680px;display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:50px;padding-block:84px 90px}
.hero-copy{position:relative;z-index:2;max-width:610px}
.hero h1{margin:21px 0 28px}
.hero h1 em{font-style:normal;color:var(--copper)}
.hero-copy>p{max-width:530px;font-size:1.03rem;margin-bottom:32px}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px}
.hero-note{display:flex;align-items:center;gap:14px;margin-top:55px;color:var(--muted);font-size:.74rem;letter-spacing:.09em;text-transform:uppercase}
.hero-note span{display:block;width:42px;height:1px;background:var(--line)}
.hero-art{position:relative;min-height:545px;display:grid;place-items:center}
.hero-art:before{content:'';position:absolute;width:min(94%,560px);aspect-ratio:1;border:1px solid #c7cec3;border-radius:50%;transform:translate(8%,0)}
.hero-art:after{content:'';position:absolute;width:min(75%,430px);aspect-ratio:1;border:1px solid #c7cec3;border-radius:50%;transform:translate(8%,0)}
.hero-product{position:relative;z-index:2;width:min(72%,420px);aspect-ratio:1;object-fit:cover;border-radius:50%;box-shadow:var(--shadow);transform:translate(8%,0)}
.hero-seal{position:absolute;z-index:3;left:7%;bottom:8%;width:144px;height:144px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--pine);color:var(--white);box-shadow:0 12px 30px rgba(39,70,56,.17);text-align:center;transform:rotate(-12deg)}
.hero-seal strong{font-family:Georgia,serif;font-weight:400;font-size:2.7rem;line-height:1}
.hero-seal span{font-size:.57rem;letter-spacing:.12em;text-transform:uppercase;margin-top:9px;line-height:1.45}
.hero-side-note{position:absolute;z-index:3;right:0;top:8%;writing-mode:vertical-rl;letter-spacing:.26em;font-size:.65rem;font-weight:700;color:var(--copper);text-transform:uppercase}

.belief-strip{background:var(--pine);color:var(--white)}
.belief-strip .wrap{min-height:88px;display:flex;align-items:center;justify-content:center;gap:28px;text-align:center}
.belief-strip span{font-family:'Fraunces',Georgia,serif;font-size:clamp(1.05rem,1.5vw,1.35rem)}
.belief-strip i{width:5px;height:5px;border-radius:50%;background:#c8ad83}

.section{padding-block:112px}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:46px}
.section-heading h2{max-width:680px;margin:14px 0 0}
.section-heading p{max-width:355px;margin:0 0 5px}
.story{background:var(--white)}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:min(9vw,120px);align-items:center}
.story-image{position:relative;min-height:560px;background:#d6c9b3;overflow:hidden}
.story-image img{width:100%;height:560px;object-fit:cover}
.story-image:after{content:'道 法 自 然';position:absolute;left:0;bottom:0;width:100%;padding:20px 25px;background:linear-gradient(transparent,rgba(0,0,0,.56));font-family:Georgia,serif;letter-spacing:.35em;font-size:1rem;color:#fff}
.story-copy h2{margin:18px 0 27px}
.story-copy p{max-width:535px}
.story-copy .text-link{margin-top:15px}
.story-values{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;border-top:1px solid var(--line);padding-top:28px;margin-top:38px}
.story-values strong{display:block;font-family:'Fraunces',Georgia,serif;font-size:1.25rem;font-weight:500;margin-bottom:4px}
.story-values span{font-size:.72rem;color:var(--muted);line-height:1.5}

.collection{background:var(--paper)}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.product-card{min-width:0;background:var(--white);border:1px solid #e8e5dc;transition:transform .25s,box-shadow .25s}
.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.product-card__image{aspect-ratio:1/1;overflow:hidden;background:#eee7dc}
.product-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.product-card:hover .product-card__image img{transform:scale(1.045)}
.product-card__body{padding:27px 28px 30px}
.product-card__type{display:block;margin-bottom:12px;font-size:.65rem;letter-spacing:.17em;text-transform:uppercase;font-weight:700;color:var(--copper)}
.product-card h3{font-size:1.65rem;min-height:2.5em;margin-bottom:13px}
.product-card p{font-size:.86rem;min-height:5.2em;margin-bottom:20px}
.product-card .text-link{font-size:.78rem}

.principles{background:#eaece5}
.principles-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:8%;align-items:start}
.principles-intro h2{margin:17px 0 24px}
.principles-intro p{max-width:455px}
.symbol-list{border-top:1px solid #c8cec2}
.symbol-item{display:grid;grid-template-columns:72px 1fr;gap:23px;padding:29px 0;border-bottom:1px solid #c8cec2}
.symbol-item__mark{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:var(--white);color:var(--pine);font-family:Georgia,serif;font-size:1.7rem}
.symbol-item h3{font-size:1.42rem;margin:3px 0 6px}
.symbol-item p{font-size:.85rem;margin:0;max-width:485px}

.quote{background:var(--white);text-align:center;padding-block:108px}
.quote-mark{font-family:Georgia,serif;color:var(--copper);font-size:3.5rem;line-height:1}
.quote blockquote{font-family:'Fraunces',Georgia,serif;font-size:clamp(1.9rem,3.1vw,3.05rem);line-height:1.3;letter-spacing:-.025em;max-width:860px;margin:17px auto 21px}
.quote cite{font-style:normal;font-size:.73rem;letter-spacing:.15em;text-transform:uppercase;color:var(--muted)}

.contact{background:var(--pine);color:var(--white)}
.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:12%;align-items:end}
.contact .eyebrow{color:#d8ae88}
.contact h2{max-width:770px;margin:18px 0 22px}
.contact p{color:#d5dfd4;max-width:570px}
.contact-actions{display:flex;flex-wrap:wrap;gap:18px;margin-top:30px}
.contact .button{background:var(--white);border-color:var(--white);color:var(--pine)}
.contact .button:hover{background:#e9e5dc}
.contact .button--outline{background:transparent;color:var(--white)}
.contact .button--outline:hover{background:rgba(255,255,255,.12)}
.contact-details{border-top:1px solid rgba(255,255,255,.26);padding-top:25px}
.contact-details dt{font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:#bac9b8;margin:19px 0 6px}
.contact-details dd{margin:0;font-family:'Fraunces',Georgia,serif;font-size:1.28rem}
.contact-details a:hover{text-decoration:underline}

.site-footer{background:#1c2e25;color:#d5dfd4;padding:35px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}
.footer-inner p{margin:0;font-size:.73rem;color:#aebeb1}
.footer-inner a{font-size:.73rem}
.footer-inner a:hover{text-decoration:underline}
.inner-page{min-height:62vh;padding-block:90px;background:var(--white)}
.inner-page article{max-width:850px}
.inner-page h1{font-size:clamp(3rem,6vw,5rem)}
.inner-page p,.inner-page li{line-height:1.75}

@media(max-width:1000px){.nav{gap:18px}.header-inner{gap:20px}.hero-grid{min-height:600px;gap:20px}.hero-art{min-height:450px}.story-grid{gap:55px}.story-image,.story-image img{min-height:470px;height:470px}.collection-grid{gap:16px}.product-card__body{padding:23px}.product-card h3{font-size:1.4rem}}
@media(max-width:760px){.wrap{width:min(100% - 36px,600px)}.header-inner{min-height:72px}.nav{display:none}.mobile-nav{display:block;position:relative}.mobile-nav summary{list-style:none;width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);font-size:1.25rem}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav__links{position:absolute;right:0;top:50px;min-width:210px;display:flex;flex-direction:column;padding:14px;background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow)}.mobile-nav__links a{padding:10px 12px;font-size:.83rem;font-weight:700}.hero-grid{grid-template-columns:1fr;padding-block:63px 60px;gap:35px}.hero h1{font-size:clamp(3.45rem,12vw,5rem)}.hero-note{margin-top:35px}.hero-art{min-height:370px}.hero-art:before{width:360px}.hero-art:after{width:290px}.hero-product{width:280px}.hero-seal{width:105px;height:105px;left:5%;bottom:2%}.hero-seal strong{font-size:2rem}.hero-seal span{font-size:.45rem}.hero-side-note{right:2%;top:5%}.belief-strip .wrap{min-height:75px;gap:10px;flex-wrap:wrap;padding-block:15px}.belief-strip span{font-size:.98rem}.section{padding-block:76px}.section-heading{display:block;margin-bottom:31px}.section-heading p{margin-top:18px}.story-grid,.principles-grid,.contact-grid{grid-template-columns:1fr;gap:42px}.story-image,.story-image img{height:460px;min-height:0}.collection-grid{grid-template-columns:1fr;gap:22px}.product-card h3,.product-card p{min-height:0}.product-card__image{aspect-ratio:1.2}.quote{padding-block:76px}.contact-details{margin-top:10px}.footer-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.brand__name{font-size:1.16rem}.brand__mark{width:34px;height:34px}.hero-art{min-height:315px}.hero-art:before{width:300px}.hero-art:after{width:240px}.hero-product{width:235px}.hero-actions{align-items:stretch;flex-direction:column}.hero-actions .button{width:100%}.story-image,.story-image img{height:370px}.story-values{gap:10px}.story-values strong{font-size:1rem}.story-values span{font-size:.65rem}.symbol-item{grid-template-columns:52px 1fr;gap:16px}.symbol-item__mark{width:48px;height:48px;font-size:1.4rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Store */
.nav .cart-link{display:inline-flex;align-items:center;gap:8px}
.cart-count{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:50%;background:var(--pine);color:#fff;font-size:.7rem}
.product-card__image{display:block}
.product-card__bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.product-card__price{font-family:'Fraunces',Georgia,serif;font-size:1.28rem;color:var(--pine)}
.collection-more{text-align:center;margin-top:38px}
.shop-page{min-height:70vh;padding:72px 0 110px;background:var(--white)}
.woocommerce .woocommerce-breadcrumb{font-size:.75rem;color:var(--muted);margin-bottom:35px}
.woocommerce .woocommerce-breadcrumb a{color:var(--pine)}
.woocommerce .page-title,.woocommerce div.product .product_title{font-size:clamp(2.8rem,5vw,5rem);line-height:1.08}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:32px 0;padding:0}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}
.woocommerce ul.products li.product{float:none;width:auto!important;margin:0!important;background:var(--paper);border:1px solid var(--line);padding:0 0 26px;text-align:left}
.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:cover;margin:0 0 24px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.48rem;padding:0 24px;margin:0 0 11px}
.woocommerce ul.products li.product .price{color:var(--pine);font-family:'Fraunces',Georgia,serif;font-size:1.25rem;padding:0 24px}
.woocommerce ul.products li.product .button{margin:13px 24px 0}
.woocommerce .button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:2px;background:var(--pine);color:#fff;font-weight:700;padding:15px 21px}
.woocommerce .button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#173326;color:#fff}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--pine);font-family:'Fraunces',Georgia,serif;font-size:1.85rem}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--paper)}
.woocommerce div.product .woocommerce-product-gallery{width:47%}
.woocommerce div.product div.summary{width:47%}
.woocommerce .quantity .qty{min-height:47px;border:1px solid var(--line);background:var(--white)}
.woocommerce table.shop_table{border-color:var(--line);border-radius:0}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:15px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{padding:12px;border:1px solid var(--line);border-radius:2px;background:#fff}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-color:var(--line);border-radius:2px}
.woocommerce-checkout #payment{background:var(--paper);border-radius:2px}
.woocommerce-checkout #payment div.payment_box{background:var(--cream)}
.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:var(--cream)}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info{border-top-color:var(--pine);background:var(--paper)}
.woocommerce .woocommerce-error{border-top-color:var(--red)}
.woocommerce a.remove{color:var(--red)!important}
.woocommerce a.remove:hover{background:var(--red)}
@media(max-width:760px){.woocommerce ul.products{grid-template-columns:1fr 1fr;gap:12px}.woocommerce div.product .woocommerce-product-gallery,.woocommerce div.product div.summary{float:none;width:100%}.shop-page{padding:50px 0 76px}}
@media(max-width:480px){.woocommerce ul.products{grid-template-columns:1fr}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.4rem}}
