:root{--orange:#c26434;--brand-red:#9a342b;--warm:#f2e8d8}.brand img{width:45px;height:45px;object-fit:contain;mix-blend-mode:multiply}.brand small{letter-spacing:.2em}.brand{color:#53362a}.nav-cta{background:var(--brand-red);border-color:var(--brand-red)}.nav-cta:hover{background:#772c25}.site-header{background:#fffdf9}.brand-hero{display:grid;grid-template-columns:1fr 1fr;max-width:1920px;margin:auto;background:#f5efe4;min-height:660px;overflow:hidden}.hero-copy{padding:70px max(44px,calc((100vw - 1240px)/2));padding-right:40px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.hero-copy>.eyebrow{color:#956141;letter-spacing:.2em}.hero-copy h1{font-size:clamp(56px,5.6vw,85px);line-height:1.25;letter-spacing:.08em;color:#453524}.hero-copy h1 span{color:#9a342b}.hero-lead{font-family:"Songti SC",serif;font-size:23px;margin-top:25px;color:#7e4e36}.hero-description{font-size:14px;line-height:2;color:#7c7060;margin-top:18px}.hero-copy .button{background:var(--brand-red);border-color:var(--brand-red)}.hero-copy .button:hover{background:#7c2e25}.hero-copy .text-link{color:#705440;border-color:#c0b299}.hero-copy .actions{gap:26px}.hero-signature{display:flex;align-items:center;gap:15px;padding-top:30px;margin-top:22px;border-top:1px solid #d9d0c0;width:100%;color:#6c5b48;font-size:11px;letter-spacing:.06em}.hero-signature img{width:57px;height:68px;object-fit:contain;mix-blend-mode:multiply}.hero-signature small{display:block;font-size:10px;color:#96846e;margin-top:5px}.hero-real-image{position:relative;min-width:0;overflow:hidden}.hero-real-image picture,.hero-real-image picture img{width:100%;height:100%}.hero-real-image img{object-position:center 45%;object-fit:cover}.hero-real-image:after{position:absolute;inset:0;content:"";background:linear-gradient(180deg,transparent 72%,#221a1755)}.image-note{position:absolute;right:20px;bottom:18px;z-index:1;font-size:11px;color:#fff;letter-spacing:.1em}.hero-photo-tag{position:absolute;right:35px;top:34px;z-index:1;display:flex;align-items:center;gap:13px;color:white;text-shadow:0 1px 4px #0008}.hero-photo-tag span{writing-mode:vertical-rl;font-size:12px;letter-spacing:.3em}.hero-photo-tag b{font-family:"Songti SC",serif;font-size:44px;font-weight:400;border:1px solid #fff9;padding:4px 15px}.brand-facts{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line);padding-block:35px}.brand-facts>div,.brand-facts>a{padding:0 35px;border-right:1px solid var(--line)}.brand-facts>:first-child{padding-left:0}.brand-facts>:last-child{border-right:0}.brand-facts strong{font:36px/1.3 Georgia,"Songti SC",serif;color:#6b4a31}.brand-facts strong span{font:13px sans-serif;margin-left:9px}.brand-facts p{font-size:11px;color:var(--muted);margin-top:9px}.brand-facts>a strong{font-size:25px}.brand-facts>a:hover strong{color:var(--brand-red)}.product-image img{aspect-ratio:1.1}.photo-label{font-size:10px}.farm-feature .photo img{aspect-ratio:.95;object-position:center 65%}.farm-feature{background:#eeeee1}.farm-mosaic{display:grid;grid-template-columns:1.25fr 1fr;gap:24px}.farm-mosaic .photo img{height:560px;aspect-ratio:auto;object-position:center 68%}.farm-mosaic .photo:last-child img{object-position:center 45%}.food-gallery .photo img{aspect-ratio:3/4;object-fit:cover}.gallery .photo figcaption{bottom:10px;font-size:10px}.gallery>button img{transition:transform .35s}.gallery>button:hover img{transform:scale(1.025)}.center-link{text-align:center;margin-top:28px}.mascot-story{background:#f7ead8}.mascot-inner{display:grid;grid-template-columns:.8fr 1.2fr;gap:85px;align-items:center;padding-block:60px}.mascot-inner>img{max-height:360px;width:100%;object-fit:contain;mix-blend-mode:multiply}.mascot-inner p:not(.eyebrow){margin-top:20px;color:#7d6b55;max-width:600px}.mascot-inner h2{color:#65412e;line-height:1.5}.mascot-inner .text-link{color:#8d472f;margin-top:15px}.mascot-poses{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:center}.mascot-poses img{width:100%;height:210px;object-fit:contain}.mascot-poses figcaption{color:#86694b;font-size:13px;margin-top:20px}.verification-section{background:#f2efe5;padding:55px;display:grid;grid-template-columns:1fr 1.1fr;gap:65px}.verification-section>div>p:not(.eyebrow){margin:25px 0;color:var(--muted)}.verification-list article{border-bottom:1px solid #d8d4c5;padding:24px 0}.verification-list article:first-child{padding-top:0}.verification-list article:last-child{border:0;padding-bottom:0}.verification-list article>span{font-size:11px;letter-spacing:.1em;color:#a07043}.verification-list h3{font-size:20px;margin-top:14px}.verification-list p{font-size:13px;color:var(--muted);margin-top:12px}.company-facts{display:grid;grid-template-columns:.9fr 1.3fr;gap:60px;border-block:1px solid var(--line);padding-block:50px}.company-facts dl{display:grid;grid-template-columns:90px 1fr;gap:19px 25px;margin:0;font-size:14px}.company-facts dt{color:var(--muted)}.cta-contact{margin-top:22px;color:#7e674e;font-size:17px}.cta-contact a{font-family:Georgia,serif;letter-spacing:.05em}footer .brand{color:var(--paper)}footer .brand img{mix-blend-mode:normal;border-radius:2px}footer .footer-phone{font:23px Georgia,serif!important;letter-spacing:.04em;color:#ead0a1!important}.footer-qr{margin-top:18px;border:0;padding:4px;background:#fff}.footer-qr img{width:72px;height:92px;object-fit:contain}.contact-phone{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px;font:clamp(23px,2.4vw,34px) Georgia,serif;color:var(--brand-red);border-bottom:1px solid #d7cfbf;padding-bottom:22px}.social-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.social-grid article{padding:30px;background:var(--cream);display:grid;grid-template-columns:1fr 180px;gap:20px;align-items:center;min-width:0}.social-grid h3{font-family:"Songti SC",serif;font-size:23px;margin-top:15px}.social-grid p{font-size:13px;color:var(--muted);margin-top:16px}.social-grid .text-link{font-size:12px;margin-top:20px;background:none;border-top:0;border-left:0;border-right:0}.social-grid article>button{padding:0;border:0;cursor:zoom-in;background:transparent}.social-grid img{width:100%;height:auto;object-fit:contain}.mobile-contact{display:none}.detail-image-note{margin-top:10px}.detail-main-image img{aspect-ratio:1;object-position:center}.thumbnails img{object-fit:cover}.detail-copy .button{background:var(--brand-red);border-color:var(--brand-red)}
@media(min-width:1600px){.hero-copy{padding-left:max(80px,calc((min(100vw,1920px) - 1240px)/2));padding-right:60px}.brand-hero{max-height:840px}}
@media(max-width:1100px){.hero-copy{padding:50px 32px}.hero-copy h1{font-size:64px}.hero-copy .actions{gap:18px}.brand-facts>div,.brand-facts>a{padding:0 22px}.social-grid article{grid-template-columns:1fr 140px;padding:24px}.mascot-inner{gap:45px}.verification-section{padding:40px;gap:40px}.hero-lead{font-size:20px}.hero-description br{display:none}}
@media(max-width:800px){.hero-copy{padding:45px 26px}.hero-copy h1{font-size:54px}.brand-hero{min-height:610px}.hero-lead{font-size:18px}.hero-copy .actions{display:block}.hero-copy .actions .text-link{margin-top:12px}.hero-signature{padding-top:18px;margin-top:20px}.hero-signature span{font-size:10px}.hero-signature small{display:none}.hero-signature img{width:44px;height:55px}.hero-photo-tag{right:20px;top:20px}.hero-photo-tag b{font-size:30px;padding:4px 10px}.brand-facts{padding-block:28px}.brand-facts>div,.brand-facts>a{padding:0 15px}.brand-facts strong{font-size:28px}.brand-facts>a strong{font-size:21px}.brand-facts p{font-size:10px}.farm-mosaic .photo img{height:420px}.mascot-inner{grid-template-columns:.8fr 1.2fr;gap:28px}.mascot-inner h2{font-size:28px}.mascot-inner>img{max-height:280px}.mascot-poses{gap:15px}.mascot-poses img{height:150px}.verification-section{grid-template-columns:1fr}.company-facts{grid-template-columns:1fr;gap:30px}.social-grid{grid-template-columns:1fr}.social-grid article{grid-template-columns:1fr 200px;padding:30px}.product-image img{aspect-ratio:1.1}}
@media(max-width:520px){body{padding-bottom:60px}.brand img{width:39px;height:39px}.brand-hero{display:flex;flex-direction:column;min-height:0}.hero-copy{padding:38px 24px 28px}.hero-copy h1{font-size:56px;line-height:1.18}.hero-copy>.eyebrow{margin-bottom:18px;font-size:10px}.hero-lead{font-size:20px;margin-top:21px}.hero-description{font-size:13px;margin-top:12px;max-width:330px}.hero-copy .actions{display:flex;gap:24px;margin-top:24px}.hero-copy .actions .text-link{margin:0}.hero-copy .button{padding:11px 18px;font-size:13px}.hero-copy .text-link{font-size:13px}.hero-signature{display:none}.hero-real-image{height:420px}.hero-real-image img{object-position:center 42%}.hero-photo-tag{top:20px;right:20px}.image-note{bottom:15px;right:15px;font-size:10px}.brand-facts{grid-template-columns:1fr 1fr;gap:23px 0;padding:26px 0}.brand-facts>div,.brand-facts>a{padding:0 16px}.brand-facts>:nth-child(2n){border:0}.brand-facts>:nth-child(odd){padding-left:0}.brand-facts strong{font-size:29px}.brand-facts p{font-size:10px;margin-top:5px}.brand-facts>a strong{font-size:22px}.farm-mosaic{grid-template-columns:1fr 1fr;gap:10px}.farm-mosaic .photo img{height:300px;object-position:center}.farm-mosaic figcaption{display:none}.farm-feature .photo img{aspect-ratio:1;object-position:center 65%}.food-gallery{grid-template-columns:1fr 1fr;gap:12px}.food-gallery figcaption{font-size:8px!important;left:5px;right:5px;bottom:5px!important;padding:3px 5px;line-height:1.4}.mascot-inner{grid-template-columns:1fr;gap:25px;padding-block:40px}.mascot-inner>img{height:230px;max-height:230px;width:100%;object-fit:contain}.mascot-inner h2{font-size:29px}.mascot-inner p:not(.eyebrow){margin-top:18px}.mascot-poses{grid-template-columns:1fr 1fr;gap:25px}.mascot-poses img{height:170px}.mascot-poses figcaption{margin-top:10px;font-size:12px}.verification-section{padding:28px;gap:30px}.verification-list h3{font-size:19px}.company-facts dl{grid-template-columns:70px 1fr;gap:16px;font-size:13px}.cta-contact{font-size:15px}.social-grid article{grid-template-columns:1fr 130px;padding:20px;gap:15px}.social-grid h3{font-size:20px}.social-grid .text-link{font-size:11px;gap:10px}.social-grid p{font-size:12px}.contact-phone{font-size:30px}.footer-bottom{padding-bottom:28px}.mobile-contact{display:grid;grid-template-columns:1fr 1.3fr;position:fixed;bottom:0;left:0;right:0;z-index:25;height:58px;background:var(--paper);box-shadow:0 -3px 20px #32200c13;padding-bottom:env(safe-area-inset-bottom);box-sizing:content-box}.mobile-contact a{display:grid;place-items:center;font-size:14px;color:var(--brand-red)}.mobile-contact a:last-child{background:var(--brand-red);color:white}.back-top{bottom:76px;right:14px}.detail-copy h1{font-size:34px}.detail-main-image img{aspect-ratio:1.05}}
@media(max-width:350px){.hero-copy{padding-inline:20px}.hero-copy h1{font-size:50px}.hero-lead{font-size:18px}.hero-copy .actions{gap:15px}.social-grid article{grid-template-columns:1fr 100px;padding:18px;gap:10px}.contact-phone{font-size:25px}.social-grid h3{font-size:18px}.farm-mosaic .photo img{height:250px}}
/* 首页薯香日常：缩小图库，保持横向画幅与自然比例。 */
body[data-page="index"] .food-gallery{max-width:1000px;margin-inline:auto;gap:22px}
body[data-page="index"] .food-gallery .photo img{height:auto;aspect-ratio:4/3;max-height:300px;object-fit:cover}
@media(max-width:520px){body[data-page="index"] .food-gallery{gap:12px}body[data-page="index"] .food-gallery .photo img{max-height:180px}}
/* 首页精选产品：适度收窄卡片，降低图片高度。 */
body[data-page="index"] .product-grid{max-width:1000px;margin-inline:auto;gap:28px}
body[data-page="index"] .product-image img{height:auto;aspect-ratio:4/3;max-height:360px;object-fit:cover}
@media(max-width:520px){body[data-page="index"] .product-grid{max-width:360px;gap:26px}body[data-page="index"] .product-image img{max-height:250px}}
/* 图片预览：关闭按钮有独立留白，避免压图及默认聚焦产生粗圆环。 */
#lightbox{padding:64px 20px 18px;max-width:min(1000px,94vw);max-height:92vh;max-height:92dvh;border-radius:12px;overflow:auto;box-shadow:0 18px 70px #0004}
#lightbox:focus{outline:none}
#lightbox>img{width:auto;height:auto;max-width:100%;max-height:calc(92vh - 130px);max-height:calc(92dvh - 130px);object-fit:contain}
#lightbox .close-dialog{top:10px;right:12px;width:44px;height:44px;padding:0;border:1px solid #ded8cd;border-radius:8px;background:#fffdf8;color:#40352d;font-size:0;display:grid;place-items:center;z-index:1}
#lightbox .close-dialog::before,#lightbox .close-dialog::after{content:"";position:absolute;width:18px;height:2px;border-radius:1px;background:currentColor;transform:rotate(45deg)}
#lightbox .close-dialog::after{transform:rotate(-45deg)}
#lightbox .close-dialog:hover{background:#f0eade;color:#973f2d}
#lightbox .close-dialog:focus-visible{outline:2px solid #426b45;outline-offset:2px}
@media(max-width:520px){#lightbox{padding:62px 12px 14px;border-radius:10px}#lightbox p{line-height:1.6}}
/* 产品页风味图库：统一紧凑画幅，避免图片原始高度撑开页面。 */
body[data-page="products"] #moments .food-gallery{max-width:1080px;margin-inline:auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
body[data-page="products"] #moments .photo img{width:100%;height:auto;aspect-ratio:1;max-height:255px;object-fit:cover;object-position:center}
@media(max-width:1024px){body[data-page="products"] #moments .food-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(max-width:600px){body[data-page="products"] #moments .food-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body[data-page="products"] #moments .photo img{max-height:240px}}

/* Responsive photo sizing: override intrinsic HTML heights. */
.photo img,.product-image img,.detail-main-image img{height:auto}
body[data-page="farm"] .gallery{max-width:1080px;margin-inline:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body[data-page="farm"] .gallery .photo img{aspect-ratio:4/3;height:auto;object-fit:cover;object-position:center 60%}
@media(max-width:800px){
 .site-header nav{max-height:calc(100vh - 74px);max-height:calc(100dvh - 74px);overflow-y:auto;overscroll-behavior:contain}
 .farm-feature .photo img,.quality-feature .photo img{aspect-ratio:4/3;max-height:420px}
 .detail-main-image img{aspect-ratio:4/3;max-height:440px}
 .company-facts dd,.verification-list h3{overflow-wrap:anywhere}
 input,select,textarea{font-size:16px}
 .thumbnails{overflow-x:auto;padding-bottom:5px}.thumbnails button{flex:0 0 76px}.thumbnails img{height:auto}
 body[data-page="farm"] .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
}
@media(max-width:520px){
 body{padding-bottom:calc(58px + env(safe-area-inset-bottom))}
 html{scroll-padding-top:90px;scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom))}
 .hero-copy h1{font-size:clamp(44px,12vw,56px)}
 .hero-real-image{height:clamp(260px,80vw,360px)}
 .hero-copy .actions{gap:14px;flex-wrap:wrap}
 .hero-copy .text-link{gap:14px}
 .page-intro h1{font-size:clamp(28px,7.6vw,34px);line-height:1.45}
 .section-heading h2{font-size:clamp(26px,7.3vw,30px)}
 .product-image img{aspect-ratio:4/3;max-height:300px}
 .farm-mosaic .photo img{height:clamp(180px,55vw,260px)}
 .farm-feature .photo img,.quality-feature .photo img{aspect-ratio:4/3;max-height:300px}
 .detail-main-image img{aspect-ratio:4/3;max-height:320px}
 body[data-page="farm"] .gallery{gap:12px}
 body[data-page="farm"] .gallery .photo img{aspect-ratio:1;max-height:240px}
 body[data-page="farm"] .gallery .photo figcaption{position:static;background:#efeee5;color:#5d624f;font-size:11px;padding:8px;line-height:1.5}
 .contact-card{padding:22px}.contact-phone{font-size:clamp(24px,7.5vw,30px)}
 .social-grid article{grid-template-columns:minmax(0,1fr) 112px;padding:18px;gap:12px}
 .social-grid h3{font-size:18px}.social-grid .text-link{gap:6px}
 .verification-section{padding:24px}.verification-list h3{font-size:18px}
 .back-top{bottom:calc(76px + env(safe-area-inset-bottom))}
 .footer-grid>div>a:not(.brand){min-height:44px;display:flex;align-items:center;margin-top:0}
 .product-title>a{flex-shrink:0}
 #inquiry-result .actions{gap:12px}
}

/* Keep the brand name and tagline visually grouped. */
.brand>span{display:block;line-height:1.25}.brand small{margin-top:3px;line-height:1.4}
