/* Compact navigation and plain, consistently framed photographs. */
.header-inner,.ant-header-inner{min-height:80px;height:80px;gap:20px}
.header-inner .wordmark,.ant-header-inner .ant-brand{width:146px}
.header-inner .wordmark span,.ant-header-inner .ant-brand span{font-size:34px}
.header-inner .wordmark small,.ant-header-inner .ant-brand small{font-size:10px}
.header-inner .desktop-nav,.ant-header-inner .ant-nav{gap:18px;font-size:14px}
.header-inner .header-actions{gap:16px}
.header-inner .social-links a,.ant-header-inner .ant-social a{width:36px;height:36px}
.header-inner .header-calculator{min-height:42px;padding:10px 16px;font-size:14px}
.compact-menu,.compact-calc{display:none}
#main .warehouse-photo,#main .service-illustration,#fbs .warehouse-photo,#fbs .order-illustration,#fbo .service-illustration,.branding-card .service-illustration{width:100%;max-width:480px;margin:32px auto 0}
#main .warehouse-photo .photo-frame,#main .service-illustration picture{display:block;aspect-ratio:3/2;overflow:hidden;background:#f5e7d7}
#main .warehouse-photo img,#main .service-illustration img{display:block;width:100%;height:100%;aspect-ratio:3/2;object-fit:cover;transform:none;filter:none}
#main .photo-portrait img{object-fit:contain}
#main .service-illustration img{object-fit:contain}
.calculator-intro-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center}
.calculator-illustration{width:100%;max-width:480px;margin:0 auto}
.calculator-illustration img{width:100%;aspect-ratio:3/2;object-fit:contain}
.journal-intro{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:48px;align-items:center}
.journal-hero-art{width:100%;max-width:480px;margin:0 auto}
.journal-hero-art picture,.journal-hero-art img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.journal-hero-link{display:inline-flex;align-items:center;gap:12px;margin-top:20px}
.journal-hero-link svg{width:20px;height:20px}
@media(max-width:1200px) and (min-width:1001px){
.header-inner,.ant-header-inner{width:calc(100% - 48px);gap:14px}
.header-inner .desktop-nav,.ant-header-inner .ant-nav{gap:12px;font-size:13px}
.header-inner .header-actions{gap:10px}
.header-inner .wordmark,.ant-header-inner .ant-brand{width:125px}
.header-inner .wordmark span,.ant-header-inner .ant-brand span{font-size:30px}
.header-inner .header-phone,.ant-header-inner .ant-phone{font-size:12px}
}
@media(max-width:1200px){
.site-header .header-inner,.ant-header .ant-header-inner{display:flex;justify-content:space-between;align-items:center;width:calc(100% - 32px);height:68px;min-height:68px;padding:0;gap:12px}
.site-header .header-inner>.wordmark,.ant-header .ant-brand{width:118px;margin:0}
.site-header .wordmark span,.ant-header .ant-brand span{font-size:29px}
.site-header .wordmark small,.ant-header .ant-brand small{font-size:8px;letter-spacing:.23em}
.site-header .wordmark i,.ant-header .ant-brand i{margin:4px 0 5px}
.site-header .desktop-nav,.site-header .header-inner>.header-phone,.site-header .header-actions>.social-links,.ant-header-inner>.ant-nav,.ant-header-inner>.ant-phone,.ant-header-inner>.ant-social{display:none!important}
.site-header .header-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.site-header .header-calculator,.compact-calc{display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1.2;min-height:44px;padding:8px 10px;margin:0;border:1px solid #cbb7a0;color:inherit;text-decoration:none;gap:6px}
.site-header .header-calculator svg{width:14px;height:14px}
.site-header .mobile-menu-toggle{display:grid;place-items:center;width:44px;height:44px;min-width:44px;margin:0}
.site-header .mobile-nav{top:100%;max-height:calc(100dvh - 68px);overflow-y:auto;padding:12px 24px 24px}
.mobile-nav .menu-contacts{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding-top:16px}
.mobile-nav .menu-contacts .header-phone{display:inline-flex;min-height:44px;margin:0;padding:0;border:0;font-size:16px}
.mobile-nav .menu-contacts .social-links{display:flex;gap:12px}
.mobile-nav .menu-contacts .social-links a{width:44px;height:44px;padding:0;border:1px solid currentColor;border-radius:50%}
.compact-calc{margin-left:auto}
.compact-menu{display:block}
.compact-menu summary{display:grid;place-items:center;width:44px;height:44px;cursor:pointer;list-style:none;border:1px solid #cbb7a0;border-radius:50%;color:#653c25;font-size:23px;line-height:1}
.compact-menu summary::-webkit-details-marker{display:none}
.compact-menu summary:focus-visible{outline:2px solid #904b1c;outline-offset:3px}
.compact-menu nav{position:absolute;top:100%;left:0;right:0;background:#fff4e7;border-bottom:1px solid #cbb7a0;padding:16px 24px 24px;max-height:calc(100dvh - 68px);overflow:auto;box-shadow:0 12px 20px #36221514;display:flex;flex-direction:column;gap:0}
.compact-menu nav>a{display:flex;align-items:center;min-height:46px;padding:10px 0;border-bottom:1px solid #dac6b6;color:inherit;text-decoration:none}
.compact-menu .ant-social{display:flex;gap:12px;margin-top:18px}
.compact-menu .ant-social a{width:44px;height:44px}
.journal-intro{gap:28px}
}
@media(max-width:700px){
.journal-intro,.calculator-intro-grid{grid-template-columns:1fr;gap:28px}
.calculator-illustration,.journal-hero-art{max-width:480px;width:100%;margin:0 auto}
#main .warehouse-photo,#main .service-illustration{margin-top:24px}
}
@media(prefers-reduced-motion:reduce){.compact-menu *{scroll-behavior:auto}}
.journal-hero-art img,.calculator-illustration img{height:auto}
@media(max-width:360px){
.site-header .header-inner,.ant-header .ant-header-inner{gap:8px}
.site-header .header-inner>.wordmark,.ant-header .ant-brand{width:104px}
.site-header .wordmark span,.ant-header .ant-brand span{font-size:26px}
.site-header .header-actions{gap:8px}
.site-header .header-calculator,.compact-calc{font-size:11px;padding:8px}
}

/* Consistent directional underline on both header variants. */
.ant-header .ant-nav a,.site-header .desktop-nav a{position:relative;text-decoration:none}
.ant-header .ant-nav .ant-calc{border-bottom:0}
.ant-header .ant-nav a:hover,.site-header .desktop-nav a:hover{text-decoration:none}
.ant-header .ant-nav a::after,.site-header .desktop-nav a::after{content:"";position:absolute;left:0;bottom:3px;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right center;transition:transform .4s cubic-bezier(.22,1,.36,1)}
.site-header .desktop-nav a::after{bottom:-3px}
.ant-header .ant-nav a:hover::after,.ant-header .ant-nav a:focus-visible::after,.site-header .desktop-nav a:hover::after,.site-header .desktop-nav a:focus-visible::after{transform:scaleX(1);transform-origin:left center}
.svc-final .svc-messengers{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
.svc-messengers a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.ant-header .ant-nav a::after,.site-header .desktop-nav a::after{transition:none}}
