/*
 * Type system — MUMUMALL
 *
 * A Japanese lifestyle brand needs one calm, dependable type voice. This
 * layer intentionally removes the former Mincho/sans mixture: it often
 * rendered inconsistently on Windows and made practical product pages feel
 * like unrelated editorial pages. Noto Sans JP is loaded by the theme and
 * the system fallbacks preserve the same character proportions while it is
 * loading or when Google Fonts is unavailable.
 */

:root {
	/* Meiryo is intentionally ahead of Yu Gothic for Windows fallback. It has
	 * more stable glyph weight in Chromium while the web font is loading. */
	--mumumall-font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "Yu Gothic UI", "Yu Gothic", YuGothic, sans-serif;
	--mumumall-type-ink: #262b40;
	--mumumall-type-muted: #5d6680;
	--mumumall-type-subtle: #79819a;
	--mumumall-type-accent: #253fb0;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body,
button,
input,
textarea,
select {
	font-family: var(--mumumall-font-sans);
	font-feature-settings: "kern" 1;
	font-kerning: normal;
	font-synthesis: none;
}

body {
	color: var(--mumumall-type-ink);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.012em;
	line-height: 1.8;
	word-break: normal;
	line-break: strict;
}

/* Core Gutenberg content should read like one system, including content later
 * edited in the WordPress administrator. */
.wp-site-blocks :where(p, li, dt, dd, td, th, label, input, textarea, select) {
	font-family: var(--mumumall-font-sans);
}

.wp-site-blocks :where(p, li, dd) {
	line-height: 1.82;
}

.wp-site-blocks :where(h1, h2, h3, h4, h5, h6, .wp-block-heading) {
	color: var(--mumumall-type-ink);
	font-family: var(--mumumall-font-sans);
	font-weight: 500;
	letter-spacing: 0.012em;
	line-height: 1.42;
	text-wrap: balance;
}

/* Small labels remain useful signposts, rather than decorative microtype. */
.mumumall-eyebrow,
.mumumall-page-hero .mumumall-section-eyebrow,
.mumumall-contact-method__eyebrow,
.mumumall-line-support__eyebrow,
.mumumall-product-card__category,
.mumumall-product-query .wp-block-post-terms,
.mumumall-video-card__product,
.mumumall-journal-card__brand,
.mumumall-pillar__number,
.mumumall-support-action__number,
.mumumall-product-hero .wp-block-post-terms,
.mumumall-article__date {
	color: var(--mumumall-type-accent);
	font-family: var(--mumumall-font-sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.55;
}

/* Main display headings: restrained enough for product information, still
 * distinct from supporting copy. */
.wp-site-blocks .mumumall-hero__title,
.wp-site-blocks .mumumall-visual-banner__title,
.wp-site-blocks .mumumall-brand-feature__title,
.wp-site-blocks .mumumall-section-title,
.wp-site-blocks .mumumall-page-hero h1,
.wp-site-blocks .mumumall-page-hero .wp-block-query-title,
.wp-site-blocks .mumumall-contact-cta__title,
.wp-site-blocks .mumumall-inner-hero__title,
.wp-site-blocks .mumumall-product-hero h1,
.wp-site-blocks .mumumall-article__title {
	font-family: var(--mumumall-font-sans);
	font-weight: 500;
	letter-spacing: 0.012em;
	line-height: 1.3;
}

.wp-site-blocks .mumumall-hero__title {
	font-size: clamp(2rem, 3.15vw, 3.3rem);
	font-weight: 500;
}

.wp-site-blocks .mumumall-visual-banner__title,
.wp-site-blocks .mumumall-brand-feature__title {
	font-size: clamp(1.8rem, 2.7vw, 2.75rem);
}

.wp-site-blocks .mumumall-section-title,
.wp-site-blocks .mumumall-page-hero h1,
.wp-site-blocks .mumumall-page-hero .wp-block-query-title,
.wp-site-blocks .mumumall-inner-hero__title,
.wp-site-blocks .mumumall-product-hero h1,
.wp-site-blocks .mumumall-article__title {
	font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

.wp-site-blocks .mumumall-contact-cta__title {
	font-size: clamp(1.45rem, 2.15vw, 2.05rem);
}

/* The one card/section hierarchy works across products, videos, support and
 * Journal. This fixes the previous mix of large Mincho titles and tiny copy. */
.wp-site-blocks .mumumall-category-card h3,
.wp-site-blocks .mumumall-product-card h3,
.wp-site-blocks .mumumall-about-lead__copy h2,
.wp-site-blocks .mumumall-product-query .wp-block-post-title,
.wp-site-blocks .mumumall-video-card h3,
.wp-site-blocks .mumumall-journal-grid .wp-block-post-title,
.wp-site-blocks .mumumall-pillar h2,
.wp-site-blocks .mumumall-support-action h3,
.wp-site-blocks .mumumall-contact-method h2,
.wp-site-blocks .mumumall-contact-methods .mumumall-line-support h2,
.wp-site-blocks .mumumall-line-support h2,
.wp-site-blocks .mumumall-product-content h2,
.wp-site-blocks .mumumall-product-specs h2,
.wp-site-blocks .mumumall-product-faq h2,
.wp-site-blocks .mumumall-about-copy h2,
.wp-site-blocks .mumumall-support-actions__title,
.wp-site-blocks .mumumall-journal-empty h2,
.wp-site-blocks .mumumall-video-guides__empty h2,
.wp-site-blocks .mumumall-contact-form__heading h2 {
	font-family: var(--mumumall-font-sans);
	font-size: clamp(1.18rem, 1.55vw, 1.5rem);
	font-weight: 500;
	letter-spacing: 0.008em;
	line-height: 1.48;
}

.wp-site-blocks .mumumall-product-content h2,
.wp-site-blocks .mumumall-about-lead__copy h2,
.wp-site-blocks .mumumall-about-copy h2,
.wp-site-blocks .mumumall-support-actions__title,
.wp-site-blocks .mumumall-journal-empty h2,
.wp-site-blocks .mumumall-video-guides__empty h2 {
	font-size: clamp(1.45rem, 2.1vw, 2.05rem);
	line-height: 1.38;
}

.wp-site-blocks .mumumall-product-card__catalog-index {
	font-family: var(--mumumall-font-sans);
	font-size: clamp(1.5rem, 2.4vw, 2.2rem);
	font-weight: 500;
	letter-spacing: 0.01em;
}

/* Paragraph language remains readable without looking over-spaced. */
.mumumall-hero__description,
.mumumall-visual-banner__description,
.mumumall-section-note,
.mumumall-inner-hero__description,
.mumumall-about-copy .wp-block-post-content,
.mumumall-support-page__intro .wp-block-post-content,
.mumumall-journal-page__intro,
.mumumall-product-information__copy,
.mumumall-product-content p,
.mumumall-article__body,
.mumumall-page-hero p {
	color: var(--mumumall-type-muted);
	font-size: 0.9375rem;
	letter-spacing: 0.01em;
	line-height: 1.85;
}

.mumumall-article__body {
	font-size: 1rem;
	line-height: 1.95;
}

.mumumall-about-copy .wp-block-post-content,
.mumumall-support-page__intro .wp-block-post-content,
.mumumall-journal-page__intro,
.mumumall-article__body {
	max-width: 46rem;
}

/* Navigation and actions should feel like controls, never like a poster. */
.mumumall-catalog-header__brand {
	font-family: var(--mumumall-font-sans);
	font-size: 0.94rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.mumumall-catalog-header__nav a,
.mumumall-catalog-header__mobile-menu a,
.mumumall-section-link,
.mumumall-text-link,
.wp-block-button__link,
.mumumall-product-card .mumumall-text-link,
.mumumall-support-action .mumumall-text-link,
.mumumall-video-card__body .mumumall-text-link {
	font-family: var(--mumumall-font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.025em;
	line-height: 1.5;
}

.wp-block-button__link {
	min-height: 2.75rem;
	padding: 0.68rem 1.1rem;
}

.mumumall-catalog-header__nav a {
	font-size: 0.84rem;
	font-weight: 500;
	letter-spacing: 0.012em;
}

.mumumall-catalog-header__mobile-menu summary {
	font-family: var(--mumumall-font-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
}

/* Support data needs particularly reliable numerals and body sizes. */
.mumumall-product-specs th,
.mumumall-product-specs td,
.mumumall-product-information__highlights li,
.mumumall-product-faq summary,
.mumumall-product-faq details p,
.mumumall-contact-form label,
.mumumall-contact-form input,
.mumumall-contact-form textarea,
.mumumall-line-support__phone,
.mumumall-catalog-footer__channel-phone {
	font-family: var(--mumumall-font-sans);
	font-variant-numeric: tabular-nums;
}

.mumumall-product-specs th,
.mumumall-product-specs td,
.mumumall-product-information__highlights li,
.mumumall-product-faq summary,
.mumumall-product-faq details p,
.mumumall-contact-form label,
.mumumall-contact-form input,
.mumumall-contact-form textarea {
	font-size: 0.875rem;
	line-height: 1.75;
}

.mumumall-catalog-footer,
.mumumall-catalog-footer :is(p, a, h2, h3) {
	font-family: var(--mumumall-font-sans);
}

.mumumall-catalog-footer__tagline,
.mumumall-catalog-footer__contact-link,
.mumumall-catalog-footer__hours,
.mumumall-catalog-footer__channel-copy p {
	letter-spacing: 0.01em;
	line-height: 1.75;
}

@media (max-width: 760px) {
	body {
		letter-spacing: 0.008em;
		line-height: 1.78;
	}

	.wp-site-blocks .mumumall-hero__title {
		font-size: clamp(1.85rem, 7.7vw, 2.35rem);
		line-height: 1.32;
	}

	.wp-site-blocks .mumumall-visual-banner__title,
	.wp-site-blocks .mumumall-brand-feature__title,
	.wp-site-blocks .mumumall-section-title,
	.wp-site-blocks .mumumall-page-hero h1,
	.wp-site-blocks .mumumall-page-hero .wp-block-query-title,
	.wp-site-blocks .mumumall-inner-hero__title,
	.wp-site-blocks .mumumall-product-hero h1,
	.wp-site-blocks .mumumall-article__title {
		font-size: clamp(1.55rem, 6.3vw, 2.05rem);
	}

	.wp-site-blocks .mumumall-product-content h2,
	.wp-site-blocks .mumumall-about-copy h2,
	.wp-site-blocks .mumumall-support-actions__title,
	.wp-site-blocks .mumumall-journal-empty h2,
	.wp-site-blocks .mumumall-video-guides__empty h2 {
		font-size: clamp(1.35rem, 5.5vw, 1.7rem);
	}

	.mumumall-hero__description,
	.mumumall-visual-banner__description,
	.mumumall-section-note,
	.mumumall-inner-hero__description,
	.mumumall-about-copy .wp-block-post-content,
	.mumumall-support-page__intro .wp-block-post-content,
	.mumumall-journal-page__intro,
	.mumumall-product-information__copy,
	.mumumall-product-content p,
	.mumumall-page-hero p {
		font-size: 0.9rem;
		line-height: 1.8;
	}
}

@media (max-width: 390px) {
	.mumumall-catalog-header__brand {
		font-size: 0.82rem;
		letter-spacing: 0.09em;
	}

	.mumumall-eyebrow,
	.mumumall-page-hero .mumumall-section-eyebrow,
	.mumumall-contact-method__eyebrow,
	.mumumall-line-support__eyebrow {
		font-size: 0.68rem;
		letter-spacing: 0.065em;
	}
}
