/* Shared finish: type, material hierarchy and immediate, restrained feedback. */
@font-face {
    font-family: "MMH Wordmark";
    src: url("brand-wordmark.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
}
:root {
    font-size: 100%;
    --card: #1c1d21;
    --field: #24252a;
    --edge: #ffffff0d;
    --card-shadow: 0 2px 4px #0000000a, 0 12px 32px #00000014;
    --floating-shadow: 0 12px 48px #00000038, 0 1px 0 #ffffff0b inset;
    --button-hover: #0870d4;
    --button-pressed: #005bae;
    --header-bg: #151518df;
    --ease-settle: cubic-bezier(.2, .8, .2, 1);
}
:root[data-theme="light"] {
    --card: #fff;
    --field: #fff;
    --edge: #15151b0a;
    --card-shadow: 0 2px 4px #17203303, 0 12px 32px #17203308;
    --floating-shadow: 0 12px 48px #17203318, 0 1px 0 #ffffffd9 inset;
    --header-bg: #fafafadf;
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-size: 1rem; letter-spacing: 0; font-optical-sizing: auto; }
/* Native color transitions remain interruptible and never cover interactive content. */
body, .site-header, .mmh-nav, .mmh-header-tools, .mmh-languages, .mmh-languages a,
.home-feature, .home-contact, .product-guide-callout, .store-summary, .store-item,
.mmh-cookie-notice, .mmh-footer, .catalog-price-switch, .library-layout,
.library-layout a, .gallery-viewer, input, select, textarea {
    transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
/* The existing wordmark keeps its own face; interface text follows the platform. */
.mmh-brand { font-family: "MMH Wordmark", -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: -.035em; }
:root[data-theme="light"] .mmh-amber { color: #876520; }
.mmh-brand img { aspect-ratio: 5 / 6; }
h1, h2, h3 { font-optical-sizing: auto; }
h2 { letter-spacing: -.028em; }
h3 { letter-spacing: -.018em; }
.home-intro h1 { font-size: clamp(2.625rem, 6.5vw, 5.5rem); letter-spacing: -.05em; line-height: 1.06; }
.home-intro-text { max-width: 33rem; font-size: clamp(1.0625rem, 1.7vw, 1.3125rem); line-height: 1.6; text-wrap: pretty; }
.home-kicker, .mmh-eyebrow { font-size: .8125rem; letter-spacing: .045em; line-height: 1.5; }
.home-purpose h2, .home-free h2, .home-contact h2, .home-section-heading h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; line-height: 1.14; }
.home-feature h2 { font-size: clamp(1.875rem, 3.6vw, 2.875rem); letter-spacing: -.032em; line-height: 1.16; }
.home-story h3, .library-card h2, .catalog-card h2 { letter-spacing: -.02em; font-weight: 600; line-height: 1.28; }
.mmh-reading h1, .catalog-product-intro h1, .mmh-catalog .catalog-heading h1,
.library-heading h1, .store-heading h1, .site-page-heading h1,
.mmh-editorial .editorial-heading h1 { font-size: clamp(2.125rem, 4.7vw, 3.75rem); line-height: 1.12; letter-spacing: -.038em; font-weight: 650; }
.mmh-lead, .store-heading > p:last-child { font-size: clamp(1.0625rem, 1.7vw, 1.25rem); line-height: 1.65; text-wrap: pretty; }
.mmh-nav a { font-size: .8125rem; letter-spacing: .005em; }
.mmh-nav a:hover, .mmh-back:hover, .mmh-footer a:hover { color: var(--accent); }
.mmh-nav a.active::after { height: 2px; bottom: .75rem; }
.mmh-header { min-height: 4.75rem; height: auto; }
.site-header { border-bottom: 0; box-shadow: 0 1px 0 var(--edge); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); }
.site-header::after { content: ""; position: absolute; top: 100%; inset-inline: 0; height: .5rem; background: linear-gradient(to bottom, #00000004, transparent); pointer-events: none; }
.header-cart, .mmh-theme-toggle, .menu-toggle { touch-action: manipulation; transition: background-color 160ms, transform 160ms var(--ease-settle); }
.header-cart:active, .mmh-theme-toggle:active, .menu-toggle:active { transform: scale(.94); background: var(--quiet-hover); transition-duration: 70ms; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link:focus { z-index: 80; border-radius: .75rem; padding: .875rem 1.125rem; background: var(--text); color: var(--bg); box-shadow: var(--floating-shadow); }
.mmh-button { font-size: .9375rem; min-height: 3rem; padding: .875rem 1.5rem; font-weight: 600; letter-spacing: -.01em; touch-action: manipulation; box-shadow: 0 1px 1px #0000000a; transition: transform 180ms var(--ease-settle), background-color 160ms; }
.mmh-button:hover { background: var(--button-hover); transform: none; }
.mmh-button:active { background: var(--button-pressed); color: #fff; transform: scale(.975); transition-duration: 70ms; }
.mmh-button:disabled { transform: none; cursor: default; opacity: .6; }
.mmh-quiet-link, .mmh-text-link, .mmh-back, .catalog-explore { min-height: 2.75rem; display: inline-flex; align-items: center; }
.mmh-quiet-link, .mmh-text-link { font-size: .9375rem; }
.catalog-card, .library-card, .home-story { background: var(--card); border: 1px solid var(--edge); box-shadow: var(--card-shadow); }
.catalog-card, .library-card, .home-story, .home-showcase-product img { transition: transform 240ms var(--ease-settle), box-shadow 240ms var(--ease-settle), border-color 220ms ease, background-color 220ms ease, color 220ms ease; }
.library-card:hover, .library-card:focus-within, .home-showcase-product:hover img, .catalog-card-link:hover .catalog-art img { transform: none; }
.catalog-card:focus-within, .library-card:focus-within, .home-story:focus-visible { border-color: var(--accent); }
.home-feature, .home-contact, .product-guide-callout { border: 1px solid var(--edge); }
.home-story p, .catalog-summary, .library-card p { font-size: .9375rem; line-height: 1.7; }
.home-story-type, .library-card time { font-size: .75rem; letter-spacing: .02em; }
.home-story h3 { font-size: 1.5rem; }
.catalog-card h2, .library-card h2 { font-size: clamp(1.3125rem, 2vw, 1.625rem); }
.catalog-card-foot { align-items: center; }
.price-main strong, .store-item-price, .store-total, .mmh-amounts { font-variant-numeric: tabular-nums; }
.catalog-price-switch { position: relative; isolation: isolate; display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-color: var(--edge); }
.catalog-price-switch::before { content: ""; position: absolute; z-index: -1; inset: 4px auto 4px 4px; width: calc((100% - 8px) / 2); border-radius: inherit; background: var(--surface-raised); box-shadow: 0 1px 5px #00000012; transition: transform 260ms var(--ease-settle); }
.catalog-price-switch:has(input[value="gross"]:checked)::before { transform: translateX(100%); }
.catalog-price-switch span { text-align: center; min-height: 2.75rem; padding: .6875rem 1.25rem; font-size: .875rem; transition: color 140ms, transform 140ms var(--ease-settle); }
.catalog-price-switch input:checked + span { background: transparent; color: var(--text); }
.catalog-price-switch label:active span { transform: scale(.97); }
.library-layout { border: 1px solid var(--edge); }
.library-layout a[aria-current] { background: var(--surface-raised); box-shadow: 0 1px 5px #00000012; }
.mmh-library[data-layout="list"] .library-card { background: transparent; box-shadow: none; border-bottom-color: var(--line); }
.gallery-stage { border-color: var(--edge); box-shadow: var(--card-shadow); }
.gallery-stage[aria-busy="true"] > img { opacity: .65; }
.gallery-stage > img { transition: opacity 160ms; }
.gallery-viewer { background: var(--card); box-shadow: var(--floating-shadow); }
.gallery-viewer header { padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.gallery-viewer::backdrop { background: #0009; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gallery-expand-label { background: var(--card); box-shadow: 0 2px 8px #0000000d; }
.gallery-thumb { transition: border-color 140ms, transform 140ms var(--ease-settle); }
.gallery-thumb:active, .gallery-arrows button:active { transform: scale(.96); }
.gallery-thumb[aria-current] { box-shadow: 0 0 0 1px var(--accent); }
.mmh-editorial { max-width: 56rem; }
.editorial-heading { padding-bottom: 2rem; margin-bottom: 2.75rem; border-bottom: 1px solid var(--line); }
.editorial-intro { font-size: clamp(1.125rem, 2.1vw, 1.4375rem); line-height: 1.6; text-wrap: pretty; }
.mmh-editorial .mmh-prose { max-width: min(100%, 68ch); font-size: 1.125rem; line-height: 1.8; }
.mmh-editorial .mmh-prose h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); letter-spacing: -.025em; line-height: 1.25; }
.mmh-editorial .mmh-prose h3 { font-size: 1.4375rem; letter-spacing: -.015em; line-height: 1.35; }
.mmh-editorial .mmh-prose img { padding: .5rem; background: var(--card); border-color: var(--edge); box-shadow: var(--card-shadow); }
.mmh-editorial .mmh-prose blockquote { color: var(--text); border-radius: 0 1rem 1rem 0; }
.mmh-editorial .mmh-prose pre { font-size: .8125rem; line-height: 1.75; border-radius: 1rem; }
.mmh-editorial .mmh-prose :not(pre) > code { box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mmh-checkout-form input:is([type="email"], [type="text"]), .mmh-checkout-form select,
.store-form input:not([type="checkbox"]):not([type="hidden"]), .store-form select,
.catalog-search input, .catalog-search select, .library-search { background: var(--field); border-color: var(--line); font-size: 1rem; box-shadow: 0 1px 2px #00000003; }
.store-form { gap: .5rem; }
.store-form > label:not(.store-terms) { margin-top: .75rem; font-size: .875rem; }
.store-form > input:not([type="hidden"]), .store-form > select { margin-bottom: .75rem; }
.store-form > .mmh-text-link { font-size: .8125rem; justify-self: start; }
.store-form details { padding: .375rem 0; margin: 1rem 0; }
.store-form details > summary { min-height: 2.75rem; padding-block: .75rem; font-size: .9375rem; }
.store-form details[open] { padding-bottom: 1rem; }
.store-form details > label { margin-top: 1.25rem; }
.store-form details input { margin-bottom: .5rem; }
.store-form .store-terms { min-height: 2.75rem; padding-block: .5rem; }
.store-form :is(input, select)[readonly] { background: var(--surface); color: var(--muted); }
.store-summary { background: var(--card); border: 1px solid var(--edge); box-shadow: var(--card-shadow); }
.store-summary h2 { font-size: 1.3125rem; letter-spacing: -.02em; }
.store-summary .store-total { font-size: 1.5rem; line-height: 1.35; }
.store-item h2 { font-size: 1.1875rem; letter-spacing: -.015em; }
.store-remove { min-height: 2.75rem; padding: .625rem .75rem; margin-left: -.75rem; border-radius: .75rem; }
.store-remove:hover { background: var(--quiet-hover); }
.store-checkout-back, .store-continue { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--accent); font-size: .875rem; text-underline-offset: .2em; }
.mmh-cookie-notice { border-color: var(--edge); box-shadow: var(--floating-shadow); }
.mmh-cookie-content p { font-size: .8125rem; }
.mmh-cookie-actions button { min-height: 2.75rem; font-size: .8125rem; }
.mmh-footer { font-size: .8125rem; }
.mmh-footer nav { gap: .375rem 1.5rem; }
.mmh-footer nav a { display: flex; align-items: center; min-height: 2.75rem; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
    .catalog-card:hover, .home-story:hover, .library-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px #00000012; }
    .home-showcase-product:hover img { transform: translateY(-4px); }
    .catalog-card-link:hover .catalog-art img { transform: scale(1.018); }
    .mmh-library[data-layout="list"] .library-card:hover { transform: none; box-shadow: none; }
}
@media (max-width: 1000px) {
    .mmh-header { min-height: 4rem; }
    .mmh-nav { top: 100%; max-height: calc(100dvh - 4rem); background: var(--card); border-bottom: 1px solid var(--edge); box-shadow: var(--floating-shadow); opacity: 1; transform: translateY(0); }
    .navigation-used .mmh-nav { transition: opacity 180ms, transform 220ms var(--ease-settle), display 220ms allow-discrete, background-color 220ms ease, color 220ms ease, border-color 220ms ease; }
    .mmh-nav a { font-size: 1.375rem; min-height: 3.25rem; }
    .navigation-ready:not(.menu-open) .mmh-nav { opacity: 0; transform: translateY(-.5rem); }
    .mobile-preferences { border-color: var(--line); }
    .mobile-preferences .mmh-languages a { font-size: .875rem; min-height: 2.75rem; }
    .mobile-preferences .mmh-theme-toggle { width: 2.75rem; }
    @starting-style { .menu-open .mmh-nav { opacity: 0; transform: translateY(-.5rem); } }
}
@media (max-width: 600px) {
    .mmh-inner { width: calc(100% - 2.5rem); }
    .mmh-header.mmh-inner { width: calc(100% - 2rem); }
    .home-intro { padding-top: 3rem; }
    .home-kicker { font-size: .6875rem; letter-spacing: .035em; }
    .home-actions { gap: .875rem 1.5rem; margin-block: 1.75rem 2.75rem; }
    .home-purpose { padding-top: 4.5rem; }
    .home-purpose > p:last-child, .home-free > p:not(.home-kicker), .home-contact p:not(.home-kicker) { font-size: 1.0625rem; }
    .home-story, .library-card { border-radius: 1.25rem; }
    .catalog-card h2, .library-card h2 { font-size: 1.5rem; }
    .editorial-heading { padding-bottom: 1.5rem; margin-bottom: 2rem; }
    .mmh-editorial .mmh-prose { font-size: 1.0625rem; line-height: 1.8; }
    .store-item h2 { font-size: 1.0625rem; }
    .store-summary { border-radius: 1.25rem; }
    .store-form > .mmh-button { min-height: 3.25rem; }
}
@media (prefers-reduced-transparency: reduce) {
    .site-header, .mmh-nav, .mmh-cookie-notice { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
    .gallery-viewer::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; background: #000c; }
}
@media (prefers-contrast: more) {
    :root { --muted: #d5d5db; --line: #909098; --edge: #909098; }
    :root[data-theme="light"] { --muted: #393940; --line: #73737c; --edge: #73737c; }
    .site-header, .mmh-nav, .mmh-cookie-notice { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); }
    :focus-visible { outline-width: 3px; }
    .catalog-price-switch::before { border: 1px solid var(--text); }
}
@media (prefers-reduced-motion: reduce) {
    .mmh-button:active, .header-cart:active, .mmh-theme-toggle:active, .menu-toggle:active,
    .catalog-price-switch label:active span, .gallery-thumb:active, .gallery-arrows button:active,
    .catalog-card:hover, .library-card:hover, .home-story:hover,
    .home-showcase-product:hover img, .catalog-card-link:hover .catalog-art img { transform: none; }
    .mmh-nav, .navigation-ready:not(.menu-open) .mmh-nav { transform: none; }
}
