/* Phone composition: compact rhythm, generous art, and touch-first controls. */
@media (max-width: 700px) {
	:root { --andres-phone-gutter: clamp(1rem, 4.6vw, 1.5rem); }
	.wp-site-blocks { overflow-x: clip; }
	.wp-site-blocks :where(h1, h2, h3) { overflow-wrap: normal; }
	.wp-site-blocks :where(input, select, textarea) { font-size: 16px; }

	/* The menu reads as a page of destinations rather than a compressed desktop bar. */
	.andres-site-header .andres-header-inner { min-height: 66px; gap: .75rem; }
	.andres-site-brand { font-size: clamp(1.2rem, 5vw, 1.4rem); }
	.andres-primary-navigation .wp-block-navigation__responsive-container-open { min-width: 48px; min-height: 48px; }
	.andres-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
		padding: max(1.25rem, env(safe-area-inset-top)) var(--andres-phone-gutter) max(2rem, env(safe-area-inset-bottom));
	}
	.andres-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { width: 100%; gap: 0; }
	.andres-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid #d9d4ca; }
	.andres-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		display: flex; align-items: center; min-height: 58px; width: 100%; padding: .6rem 0; font-size: 1.2rem; letter-spacing: -.02em; text-transform: none;
	}
	.andres-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .andres-nav-cta { margin-top: 1.25rem; border: 0; }
	.andres-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .andres-nav-cta .wp-block-navigation-item__content {
		justify-content: center; padding: .85rem 1rem; background: #22211f; color: #fffefa; font-size: .9rem; letter-spacing: .03em; text-transform: uppercase;
	}
	.andres-site-footer { padding-top: 3.5rem; }
	.andres-site-footer .andres-footer-main { gap: 2.5rem; padding-bottom: 3rem; }
	.andres-footer-navigation .wp-block-navigation__container { gap: .15rem; }
	.andres-footer-navigation .wp-block-navigation-item__content,
	.andres-footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
	.andres-footer-bottom { align-items: flex-start; flex-direction: column; gap: .5rem; }
	.andres-footer-legal { gap: .25rem 1.5rem; }

	/* Editorial pages need a shorter introduction and a clearer section cadence. */
	.andres-home-hero-copy { min-height: 0; padding: 3.5rem var(--andres-phone-gutter) 3.75rem; }
	.andres-home-hero h1 { font-size: clamp(3.55rem, 14.5vw, 5.4rem); margin-bottom: 1.5rem; }
	.andres-home-lead { font-size: clamp(1.3rem, 5.3vw, 1.55rem); margin-bottom: 1.75rem; }
	.andres-home-hero-art { min-height: 280px; padding: var(--andres-phone-gutter); }
	.andres-home-hero-art img { height: min(48svh, 430px); }
	.andres-home-button { min-height: 52px; }
	.andres-home-section { padding: 3.75rem var(--andres-phone-gutter); }
	.andres-home-section-head { gap: 1rem; margin-bottom: 1.8rem; }
	.andres-home-section h2 { font-size: clamp(2.4rem, 10vw, 3.7rem); }
	.andres-home-grid { gap: 2.5rem; }
	.andres-home-card-art { aspect-ratio: 1 / 1.12; }
	.andres-home-intro-inner { gap: 1.5rem; }
	.andres-home-series { gap: 2rem; }
	.andres-home-collector { padding-block: 4.5rem; }
	.andres-home-collector-form input[type=email] { width: 100%; min-height: 52px; }

	/* Gallery controls stay together and gallery images keep their natural ratio. */
	.andres-work-page, .andres-available-page { padding-block: 2.25rem 5rem; }
	.andres-work-heading, .andres-available-heading { margin-bottom: 2.5rem; }
	.andres-work-heading h1, .andres-available-heading h1 { font-size: clamp(3.4rem, 13vw, 5.25rem); line-height: 1; }
	.andres-work-heading > p:last-child, .andres-available-heading > p:last-child { margin-top: 1rem; font-size: 1.08rem; }
	.andres-work-filters, .andres-available-filters { padding-block: 1.2rem; gap: .85rem; }
	.andres-work-filter-fields { grid-template-columns: 1fr; gap: .45rem; }
	.andres-work-filter-fields select, .andres-available-filters select { width: 100%; max-width: none; min-height: 52px; }
	.andres-work-filter-fields button { grid-column: 1; min-height: 52px; margin: .4rem 0 0; }
	.andres-work-count, .andres-available-count { margin: 1.15rem 0 1.7rem; }
	.andres-work-grid, .andres-available-grid { gap: 3.25rem; }
	.andres-work-image, .andres-available-image { min-height: 0; }
	.andres-work-image img, .andres-available-image img { max-height: min(72svh, 680px); }
	.andres-work-card-title, .andres-available-card-title { margin-top: 1rem; font-size: 1.5rem; }
	.andres-work-pagination, .andres-available-pagination { margin-top: 3rem; }
	.andres-work-empty, .andres-available-empty { min-height: 9rem; padding-block: 2rem; }
	.andres-work-empty p, .andres-available-empty > p { font-size: 1.55rem; }

	/* Artwork starts with the uncropped image, then a readable inventory of facts. */
	.andres-artwork-page { padding-block: 1.1rem 4.5rem; }
	.andres-artwork-back { margin-bottom: 1rem; }
	.andres-artwork-hero { gap: 1.6rem; }
	.andres-artwork-primary-image { margin-inline: calc(-1 * var(--andres-phone-gutter)); padding: 1.25rem var(--andres-phone-gutter); background: #ebe6dc; }
	.andres-artwork-primary-image img { max-height: min(74svh, 760px); margin-inline: auto; }
	.andres-artwork-summary .wp-block-post-title { font-size: clamp(2.45rem, 9vw, 3.5rem); margin-bottom: 1rem; }
	.andres-artwork-intro { font-size: 1.08rem; margin-bottom: 1.5rem; }
	.andres-artwork-facts > div { grid-template-columns: minmax(0, 35%) minmax(0, 1fr); gap: .75rem; padding: .9rem 0; }
	.andres-artwork-facts dt { font-size: .84rem; }
	.andres-artwork-facts dd { font-size: .95rem; overflow-wrap: anywhere; }
	.andres-artwork-cta { box-sizing: border-box; min-height: 54px; margin-top: 1.6rem; }
	.andres-artwork-after-hero, .andres-artwork-section + .andres-artwork-section,
	.andres-artwork-section + .andres-artwork-assistance { margin-top: 3.75rem; }
	.andres-artwork-section h2 { margin-bottom: 1.5rem; font-size: clamp(2rem, 8vw, 2.7rem); }
	.andres-artwork-image-grid { gap: 2rem; }
	.andres-artwork-image-grid figcaption, .andres-artwork-room figcaption { margin-top: .75rem; }
	.andres-related-grid { gap: 2.5rem; }
	.andres-artwork-assistance { align-items: flex-start; flex-direction: column; gap: 1rem; }

	/* The remaining content paths use the same measured vertical rhythm. */
	.andres-series-hero { min-height: 0; }
	.andres-series-hero-copy { padding: 3.75rem var(--andres-phone-gutter); }
	.andres-series-hero h1 { font-size: clamp(3.2rem, 12.5vw, 5.2rem); margin-bottom: 1.4rem; }
	.andres-series-hero-art { padding: 1.5rem var(--andres-phone-gutter); }
	.andres-series-hero-art img { max-height: 55svh; }
	.andres-series-works, .andres-series-story { padding: 3.75rem var(--andres-phone-gutter); }
	.andres-series-grid { gap: 3rem; }
	.andres-series-card-art { min-height: 0; }
	.andres-about-heading, .andres-collectors-hero, .andres-studio-hero, .andres-contact-hero { padding: 3.75rem var(--andres-phone-gutter) 3.25rem; }
	.andres-about-heading h1, .andres-collectors-hero h1, .andres-studio-hero h1, .andres-contact-hero h1 { font-size: clamp(3.2rem, 12.5vw, 5rem); }
	.andres-about-photo-placeholder, .andres-about-studio-photo-placeholder { min-height: 260px; }
	.andres-about-biography, .andres-about-philosophy-copy, .andres-about-statement, .andres-about-cv,
	.andres-collectors-intro, .andres-collectors-questions, .andres-collectors-cta,
	.andres-studio-content, .andres-studio-collector, .andres-contact-options, .andres-contact-compose { padding: 3.75rem var(--andres-phone-gutter); }
	.andres-studio-filters { margin-right: calc(-1 * var(--andres-phone-gutter)); padding-right: var(--andres-phone-gutter); scroll-snap-type: x proximity; }
	.andres-studio-filters a { min-height: 48px; scroll-snap-align: start; }
	.andres-studio-grid { gap: 3rem; }
	.andres-contact-topic { min-height: 0; padding: 1.5rem; }
	.andres-contact-topic h3 { margin-top: 1.5rem; }
	.andres-contact-compose { gap: 2rem; }
	.andres-contact-form { padding: 1.25rem; gap: 1.2rem; }
	.andres-contact-field input, .andres-contact-field select, .andres-contact-field textarea { min-height: 52px; }
	.andres-contact-artwork { padding: 1rem; }
	.andres-collectors-questions > h2 { margin-bottom: 2.5rem; }
	.andres-collectors-faq-section { padding: 1.75rem 0; }
	.andres-collectors-faq-items .wp-block-details summary { min-height: 56px; box-sizing: border-box; }
}

@media (max-width: 390px) {
	.andres-site-brand { font-size: 1.18rem; }
	.andres-home-hero h1 { font-size: clamp(3.35rem, 14vw, 4.2rem); }
	.andres-contact-hero h1, .andres-collectors-hero h1 { font-size: clamp(3rem, 12vw, 4rem); }
	.andres-artwork-facts > div { grid-template-columns: 1fr; gap: .1rem; }
}
