/* Owner approved shared typography/menu/card motion, October 6. Home hero sizing stays local. */
body.m-site {
    --home-menu: #f0ede8;
    --home-shadow: #d8d4cc;
    --home-highlight: #ffffff;
    font-weight: 400;
}
body.m-site h1,
body.m-site h2,
body.m-site h3 { letter-spacing: -.35px; }
body.m-site h1 { font-weight: 620; }
body.m-site h2 { font-weight: 580; }
body.m-site h3 { font-weight: 600; }
body.m-site .m-home-hero h1 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.55; }
body.m-site .m-hero p { font-weight: 400; line-height: 2.15; }
body.m-site .m-section-head h2 { font-size: clamp(28px, 3.3vw, 46px); }
body.m-site .m-card h3 { font-size: 22px; line-height: 1.65; }
body.m-site .m-product-banner h2 { font-size: clamp(34px, 4.1vw, 58px); }
body.m-site .m-footer h3 { font-size: 18px; font-weight: 550; }
body.m-site .m-btn { font-weight: 520; }

/* Hybrid soft relief + clear flat text/focus, rather than low-contrast embossed labels. */
body.m-site .m-header { padding-block: 20px; gap: 24px; }
body.m-site .m-nav {
    background: var(--home-menu);
    border: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
    padding: 7px;
    gap: 8px;
    border-radius: 20px;
    box-shadow: 6px 6px 14px var(--home-shadow), -6px -6px 14px var(--home-highlight);
}
body.m-site .m-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    transition: background-color .18s ease, box-shadow .18s ease;
}
body.m-site .m-nav a:hover {
    background: var(--home-menu);
    box-shadow: 3px 3px 7px var(--home-shadow), -3px -3px 7px var(--home-highlight);
}
body.m-site .m-nav a:active {
    box-shadow: inset 3px 3px 6px var(--home-shadow), inset -3px -3px 6px var(--home-highlight);
}
body.m-site .m-nav a:focus-visible { outline: 3px solid #b52c20; outline-offset: 2px; }
body.m-site .m-header-actions .m-btn.secondary,
body.m-site .m-header-actions > button,
body.m-site .m-menu {
    background: var(--home-menu);
    border: 1px solid var(--line);
    box-shadow: 4px 4px 9px var(--home-shadow), -4px -4px 9px var(--home-highlight);
    border-radius: 14px;
}
body.m-site .m-header-actions > button { min-width: 44px; min-height: 44px; border-radius: 50%; }
body.m-site .m-header-actions .m-btn.secondary:hover { color: var(--ink); }
body.m-site .m-header-actions .m-btn.secondary:active,
body.m-site .m-header-actions > button:active,
body.m-site .m-menu[aria-expanded=true] {
    box-shadow: inset 3px 3px 7px var(--home-shadow), inset -3px -3px 7px var(--home-highlight);
}
html[data-theme=dark] body.m-site {
    --home-menu: #202723;
    --home-shadow: #0b100d;
    --home-highlight: #303932;
}
html[data-theme=dark] body.m-site .m-brand b,
html[data-theme=dark] body.m-site .m-product-link { color: #f47d70; }
html[data-theme=dark] body.m-site .m-footer-bottom { color: #b6b9ae; }
@media(max-width:1100px) {
    body.m-site .m-header { gap: 15px; }
    body.m-site .m-nav { gap: 3px; padding: 5px; }
    body.m-site .m-nav a { padding-inline: 9px; font-size: 11px; }
    body.m-site .m-home-hero h1 { font-size: 46px; }
}
@media(max-width:760px) {
    body.m-site .m-header { padding: 16px 18px; gap: 14px; }
    body.m-site .m-home-hero h1 { font-size: clamp(32px, 9vw, 38px); line-height: 1.65; }
    body.home.m-site .m-home-hero { padding-bottom: 300px; }
    body.m-site .m-menu { border-top: 1px solid var(--line); padding: 9px 16px; text-align: right; }
    body.m-site .m-nav { padding: 9px; gap: 6px; border-radius: 16px; }
    body.m-site .m-nav a { justify-content: flex-start; padding: 12px 16px; font-size: 13px; }
    body.m-site .m-nav a + a { border-top: 1px solid var(--line); }
    body.m-site .m-nav a:hover { box-shadow: none; }
    body.m-site .m-section-head h2 { font-size: 30px; }
}
@media(prefers-reduced-motion:reduce) { body.m-site .m-nav a { transition: none; } }

/* One-shot identity reveal; original company mark and spelling remain untouched. */
body.m-site .m-header .m-brand { position: relative; }
body.m-site .m-header .m-brand img { transition: transform .3s ease; }
body.m-site .m-header .m-brand:after { content: none; }
body.m-site .m-header .m-brand:hover img { transform: translateY(-2px) rotate(-3deg); }
body.m-site .m-home-hero:before { animation: vn-home-scene 1.4s cubic-bezier(.2,.7,.25,1) both; }
body.m-site .m-home-hero .m-hero-copy > * { animation: vn-home-copy 1.9s cubic-bezier(.2,.75,.25,1) both; }
body.m-site .m-home-hero .m-hero-copy h1 { animation-delay: .5s; }
body.m-site .m-home-hero .m-hero-copy p { animation-delay: .85s; }
body.m-site .m-home-hero .m-actions { animation-delay: 1.1s; }
@keyframes vn-home-mark { from { opacity: 0; transform: translateX(-12px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes vn-home-word { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(9px); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes vn-home-line { 0% { transform: scaleX(0); opacity: 0; } 65% { transform: scaleX(1); opacity: .8; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes vn-home-scene { from { transform: scale(1.025); opacity: .75; } to { transform: scale(1); opacity: 1; } }
@keyframes vn-home-copy { from { transform: translateY(24px); } to { transform: none; } }

body.m-site .m-home-reveal { opacity: 1; transform: translateY(22px); transition: transform .55s ease var(--reveal-delay,0ms),box-shadow .25s ease; }
body.m-site .m-home-reveal.is-in-view,body.m-site .m-home-reveal:focus-within { opacity: 1; transform: none; }
body.m-site .m-card { transform-style: preserve-3d; }
body.m-site .m-card-image img { transition: transform .55s cubic-bezier(.2,.7,.25,1); }
body.m-site .m-card:after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; pointer-events: none; }
body.m-site .m-card:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
body.m-site .m-card:focus-visible:after { transform: scaleX(1); }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
    body.m-site .m-card.is-in-view:hover { transform: perspective(1100px) translateY(-6px) rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg)); box-shadow: 0 18px 35px #0e0f1020; transition: transform .16s ease,box-shadow .25s ease; }
    body.m-site .m-card:hover .m-card-image img { transform: scale(1.035); }
    body.m-site .m-card:hover:after { transform: scaleX(1); }
    body.m-site .m-card:hover .m-arrow { transform: translateX(-3px); }
}

@media(prefers-reduced-motion:reduce) {
    body.m-site .m-header .m-brand img,body.m-site .m-header .m-brand span,body.m-site .m-header .m-brand:after,
    body.m-site .m-home-hero:before,body.m-site .m-home-hero .m-hero-copy > * { animation: none; }
    body.m-site .m-home-reveal { opacity: 1; transform: none; transition: none; }
    body.m-site .m-card,body.m-site .m-card.is-in-view:hover,body.m-site .m-card-image img,body.m-site .m-card:after,body.m-site .m-arrow,body.m-site .m-header .m-brand:hover img { transform: none; transition: none; }
}
