/*
Theme Name: AnaiMartinezMont
Theme URI: https://anaimartinezmont.com/
Author: Emmy
Description: Portafolio y catálogo de Anaí Martínez-Mont.
Version: 1.3.10
Text Domain: anaimartinezmont
License: GNU General Public License v2 or later
License URI: LICENSE
*/

:root {
	--black: #171717;
	--white: #ffffff;
	--ink: #252525;
	--line: #dedede;
	--sans: "Noto Sans", Arial, Helvetica, sans-serif;
	--display: Sanchez, Rockwell, Georgia, serif;
	--content: 1120px;
}

* { box-sizing: border-box; }
html, body, #page, .site, .site-main { margin: 0; max-width: none; padding: 0; width: 100%; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.72; margin: 0; }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; }
a:hover { opacity: .72; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-family: var(--display); font-weight: 400; letter-spacing: .08em; }
h2, h3, h4 { font-family: var(--sans); font-weight: 400; letter-spacing: .12em; }

.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: var(--white); clip: auto !important; clip-path: none; color: var(--black); display: block; height: auto; left: 1rem; padding: .75rem 1rem; top: 1rem; width: auto; z-index: 100; }

/* Minimal transparent navigation, matching the reference home. */
.site-header { background: var(--black); color: var(--white); height: 54px; position: relative; z-index: 20; }
.home .site-header { background: rgba(24, 24, 24, .34); margin-bottom: -54px; }
.site-header__inner { align-items: center; display: flex; height: 54px; justify-content: space-between; margin: 0 auto; max-width: var(--content); padding: 0 28px; }
.site-branding { display: none; }
.main-navigation { order: 1; }
.menu-toggle { display: none; }
.main-navigation ul { align-items: center; display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.main-navigation a { color: var(--white); font-family: var(--display); font-size: .8rem; letter-spacing: .06em; text-decoration: none; transition: color 180ms ease, text-decoration-color 180ms ease; }
.main-navigation .current-menu-item a { text-decoration: underline; text-underline-offset: .32em; }
.site-header__tools { align-items: center; display: flex; gap: 17px; order: 3; }
.site-header__tools a, .site-search-toggle { background: transparent; border: 0; color: var(--white); display: grid; height: 23px; padding: 0; place-items: center; transition: opacity 180ms ease, transform 180ms ease; width: 23px; }
.site-header__tools a:hover, .site-search-toggle:hover { opacity: .72; transform: translateY(-1px) scale(1.08); }
.site-header__tools img { display: block; filter: invert(1); height: 22px; width: 22px; }
.site-header__tools svg { fill: none; height: 22px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; width: 22px; }
.site-search-panel { background: rgba(19, 19, 19, .97); bottom: auto; left: 0; opacity: 0; padding: 9px 28px; pointer-events: none; position: absolute; right: 0; top: 100%; transform: translateY(-8px); transition: opacity 220ms ease, transform 220ms cubic-bezier(.2, .75, .25, 1); }
.site-search-panel[hidden] { display: none; }
.site-search-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.site-search-form { align-items: center; display: flex; gap: 13px; margin: 0 auto; max-width: var(--content); }
.site-search-form input { background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .62); border-radius: 0; color: var(--white); flex: 1; font: 400 .82rem var(--sans); min-width: 0; outline: 0; padding: .6rem 0; }
.site-search-form input::placeholder { color: rgba(255, 255, 255, .68); }
.site-search-form input:focus { border-color: var(--white); }
.site-search-form button { background: transparent; border: 0; color: var(--white); cursor: pointer; font: 400 .7rem var(--sans); letter-spacing: .08em; padding: .6rem 0; text-transform: uppercase; }
.site-search-form .site-search-close { font-family: Arial, sans-serif; font-size: 1.6rem; font-weight: 200; line-height: 1; margin-left: 7px; }

.hero { color: var(--white); display: grid; height: clamp(470px, 46vw, 630px); min-height: 95vh; overflow: hidden; position: relative; }
.hero__slides, .hero__overlay, .hero__content, .hero__dots { grid-area: 1 / 1; }
.hero__slides { height: 100%; position: relative; width: 100%; }
.hero__image { height: 100%; left: 0; object-fit: cover; opacity: 0; position: absolute; top: 0; transition: opacity 900ms ease; width: 100%; }
.hero__image.is-active { opacity: 1; }
.hero__overlay { background: rgba(0, 0, 0, .12); }
.hero__content { align-self: end; margin: 0 auto; max-width: var(--content); padding: 0 62px 46px; position: relative; width: 100%; z-index: 1; }
.hero .eyebrow { display: none; }
.hero h1 { font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.2; margin: 0 0 .45rem; }
.hero__text { font-size: clamp(.9rem, 1.2vw, 1.08rem); letter-spacing: .06em; margin: 0; max-width: 760px; }
.hero__dots { align-self: end; display: flex; gap: 12px; justify-content: center; padding-bottom: 22px; position: relative; z-index: 2; }
.hero__dot { background: transparent; border: 1px solid var(--white); border-radius: 50%; cursor: pointer; height: 8px; padding: 0; transition: background 180ms ease, transform 180ms ease; width: 8px; }
.hero__dot.is-active { background: var(--white); }
.hero__dot:hover { transform: scale(1.35); }
.button { background: transparent; border: 1.5px solid currentColor; border-radius: 999px; color: inherit; display: inline-block; font-family: var(--display); font-size: .84rem; letter-spacing: .06em; margin-top: 1.4rem; padding: .65rem 2.15rem; text-decoration: none; transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms ease; }
.button:hover, .button:focus { background: var(--white); border-color: var(--white); box-shadow: 0 8px 22px rgba(0, 0, 0, .2); color: var(--black); opacity: 1; transform: translateY(-2px); }

/* Artwork and artist statement are deliberately narrow and quiet. */
.home-content { padding: 62px 28px 88px; }
.home-content__inner { align-items: start; display: grid; gap: clamp(34px, 5vw, 78px); grid-template-columns: minmax(220px, .95fr) minmax(260px, 1.05fr); margin: 0 auto; max-width: 820px; }
.home-content__image img { aspect-ratio: 3 / 4.15; object-fit: cover; width: 100%; }
.home-content__image { overflow: hidden; }
.home-content__image img { transition: transform 700ms cubic-bezier(.2, .75, .25, 1); }
.home-content__image:hover img { transform: scale(1.035); }
.home-content__copy { font-size: .95rem; line-height: 1.75; }
.home-content__copy h1, .home-content__copy h2, .home-content__copy h3 { font-family: var(--sans); font-size: 1.35rem; font-weight: 400; letter-spacing: .11em; line-height: 1.4; margin: 0 0 1.55rem; }
.home-content__copy p { margin-bottom: 1.35rem; }
.home-content__copy strong { font-size: .86rem; }
.home-content__copy figure, .home-content__copy .wp-block-image { margin: 0 0 1.5rem; }

.collection-callout { color: var(--white); height: clamp(190px, 23vw, 320px); overflow: hidden; position: relative; }
.collection-callout__image, .collection-callout__overlay, .collection-callout__content { bottom: 0; left: 0; position: absolute; right: 0; top: 0; }
.collection-callout__image { height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2, .75, .25, 1); width: 100%; z-index: 0; }
.collection-callout:hover .collection-callout__image { transform: scale(1.045); }
.collection-callout__overlay { background: rgba(0, 0, 0, .42); z-index: 1; }
.collection-callout__content { align-items: center; display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; text-align: center; z-index: 2; }
.collection-callout h2 { color: var(--white); font-family: var(--display); font-size: clamp(1.55rem, 2.6vw, 2.65rem); font-weight: 400; letter-spacing: .08em; line-height: 1.35; margin: 0; text-shadow: 0 1px 10px rgba(0, 0, 0, .72); }
.collection-callout .button { color: var(--white); margin-top: 1rem; position: relative; z-index: 3; }
.collection-callout .button:hover, .collection-callout .button:focus { color: var(--black); }

/* Contact is a continuous dark ending, not a card. */
.home-contact { background: var(--black); color: var(--white); padding: 68px 28px 82px; text-align: center; }
.home-contact__inner { margin: 0 auto; max-width: 520px; }
.home-contact h2 { font-family: var(--display); font-size: 1.38rem; font-weight: 400; letter-spacing: .1em; margin-bottom: 3.4rem; }
.home-contact__inner > p { display: none; }
.home-contact .text-link { color: var(--white); display: inline-block; font-size: .76rem; margin-bottom: 1.4rem; }
.contact-form { margin: 0 auto; max-width: 340px; text-align: left; }
.contact-form p { margin-bottom: 1.05rem; }
.contact-form label { color: #e5e5e5; display: block; font-size: .78rem; margin-bottom: .5rem; }
.contact-form input, .contact-form textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .38); border-radius: 0; color: var(--white); display: block; font: inherit; padding: .5rem 0; width: 100%; }
.contact-form textarea { min-height: 78px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 1px solid var(--white); outline-offset: 3px; }
.contact-form__honeypot { left: -9999px; position: absolute; }
.home-contact .button--dark { background: transparent; border-color: var(--white); color: var(--white); display: block; margin: 1.6rem auto 0; padding: .58rem 1.9rem; }
.home-contact .button--dark:hover { background: var(--white); color: var(--black); }
.home-contact__note { color: #d8d8d8; font-size: .67rem; line-height: 1.7; margin: 2.7rem auto 0; max-width: 280px; text-align: center; }
.form-notice { font-size: .72rem; margin-bottom: 1rem; padding: .6rem .8rem; }
.form-notice--success { background: #23432d; }
.form-notice--error { background: #63372f; }

/* Reveal only after JavaScript is available, so content remains accessible by default. */
.has-scroll-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity 720ms cubic-bezier(.2, .75, .25, 1), transform 720ms cubic-bezier(.2, .75, .25, 1); }
.has-scroll-reveal .reveal--left { transform: translateX(-30px); }
.has-scroll-reveal .reveal.is-revealed { opacity: 1; transform: translate(0); }

/* Supporting WordPress templates retain the same restrained language. */
.page-shell { margin: 0 auto; max-width: 980px; min-height: 55vh; padding: 82px 28px; }
.page-shell .entry-header, .page-shell .entry-content, .page-shell .post-thumbnail { margin-left: auto; margin-right: auto; max-width: 700px; }
.page-shell .entry-header { margin-bottom: 2.5rem; }
.page-shell .entry-title, .archive-hero h1, .single-exhibition h1 { font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.3; margin: 0; }
.page-shell .entry-content { font-size: .9rem; }
.archive-hero { margin: 0 auto 3.5rem; max-width: 700px; text-align: center; }
.archive-hero > p:not(.eyebrow) { font-size: .82rem; margin: 1.2rem auto 0; }
.exhibition-list { margin: 0 auto; max-width: 700px; }
.exhibition-card { border-bottom: 1px solid var(--line); display: grid; gap: 2.2rem; grid-template-columns: 120px 1fr; padding: 1.8rem 0; }
.exhibition-card__date p, .exhibition-card__venue { font-size: .72rem; margin: 0 0 .35rem; }
.exhibition-card h2 { font-size: 1rem; letter-spacing: .08em; margin: 0 0 .65rem; }
.exhibition-card h2 a { text-decoration: none; }
.exhibition-card__content > p { font-size: .83rem; }
.exhibition-card__image { display: none; }
.single-exhibition { display: grid; gap: 3rem; grid-template-columns: 160px 1fr; margin: 0 auto; max-width: 700px; }
.single-exhibition__meta { font-size: .75rem; }
.gallery, .blocks-gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; }
.gallery-item { margin: 0; }
.gallery img, .blocks-gallery-grid img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.alignleft { float: left; margin: .4rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.5rem; }
.aligncenter { clear: both; display: block; margin: 1.5rem auto; }
.wp-caption-text { font-size: .74rem; margin-top: .45rem; }
.nav-links { display: flex; justify-content: space-between; margin-top: 3rem; }

.site-footer { background: var(--black); color: #d8d8d8; padding: 3.25rem 28px 2.75rem; text-align: center; }
.site-footer__inner, .site-footer__bottom { margin: 0 auto; max-width: var(--content); }
.site-footer__inner { display: block; }
.site-footer__eyebrow, .site-footer__name { display: none; }
.site-footer__links { display: flex; gap: 1.5rem; justify-content: center; padding: 0 0 2.1rem; }
.site-footer__links a { font-family: var(--display); font-size: .85rem; letter-spacing: .07em; text-decoration: none; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; padding-top: 1.8rem; }
.site-footer__bottom p { margin: 0; }

/* Gallery page: WordPress gallery, artist statement and Instagram carousel. */
.gallery-page { margin: 0 auto; max-width: 980px; padding: 96px 28px 122px; }
.gallery-page__article { margin: 0 auto; max-width: 912px; }
.gallery-page__content > :last-child { margin-bottom: 0; }
.instagram-feed { margin-top: 5.8rem; position: relative; }
.instagram-feed__viewport { position: relative; }
.instagram-feed__track { display: flex; gap: 12px; overflow-x: auto; padding: 0 0 12px; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x mandatory; }
.instagram-feed__track::-webkit-scrollbar { display: none; }
.instagram-feed__item { flex: 0 0 calc((100% - 36px) / 4); overflow: hidden; scroll-snap-align: start; }
.instagram-feed__item img { aspect-ratio: 1 / 1; object-fit: cover; transition: transform 300ms ease; width: 100%; }
.instagram-feed__item:hover img { transform: scale(1.035); }
.instagram-feed__controls { display: flex; gap: 8px; justify-content: flex-end; margin-top: 11px; }
.instagram-feed__control { background: var(--black); border: 0; color: var(--white); cursor: pointer; font: 400 1.2rem/1 var(--sans); height: 36px; padding: 0; transition: opacity 180ms ease, transform 180ms ease; width: 36px; }
.instagram-feed__control:hover, .instagram-feed__control:focus { opacity: .75; transform: translateY(-1px); }
.instagram-feed__profile-link { border-bottom: 1px solid currentColor; font-family: var(--display); font-size: .9rem; text-decoration: none; }

/* Exhibition archive: a quiet, fully informational event listing. */
.post-type-archive-amm_exhibition .site-header,
.post-type-archive-amm_exhibition .site-header__inner { height: 120px; }
.post-type-archive-amm_exhibition .site-header__inner { max-width: none; padding: 0 5.1vw; }
.post-type-archive-amm_exhibition .main-navigation ul { gap: clamp(2rem, 4vw, 4.1rem); }
.post-type-archive-amm_exhibition .main-navigation .current-menu-item a { text-decoration: none; }
.post-type-archive-amm_exhibition .main-navigation .current-menu-item a::before { content: "- "; }
.post-type-archive-amm_exhibition .page-shell { max-width: none; min-height: 0; padding: 138px 28px; }
.post-type-archive-amm_exhibition .archive-hero { margin: 0 auto 138px; max-width: 1210px; text-align: center; }
.post-type-archive-amm_exhibition .archive-hero h1 { font-size: 1.75rem; letter-spacing: .08em; }
.post-type-archive-amm_exhibition .exhibition-list { max-width: 1210px; }
.post-type-archive-amm_exhibition .exhibition-card { column-gap: clamp(2.5rem, 5vw, 5.4rem); grid-template-columns: minmax(190px, 270px) minmax(0, 1fr) minmax(190px, 270px); padding: 0 0 56px; }
.post-type-archive-amm_exhibition .exhibition-card + .exhibition-card { padding-top: 56px; }
.post-type-archive-amm_exhibition .exhibition-card__date p { font-size: 1.7rem; letter-spacing: .08em; line-height: 1.25; margin: 0; }
.post-type-archive-amm_exhibition .exhibition-card h2 { font-size: 1.28rem; letter-spacing: .1em; line-height: 1.38; margin: 0 0 1.15rem; text-transform: uppercase; }
.post-type-archive-amm_exhibition .exhibition-card__content > p { font-size: .92rem; line-height: 1.55; margin: 0; max-width: 34rem; }
.post-type-archive-amm_exhibition .exhibition-card__details { text-align: right; }
.post-type-archive-amm_exhibition .exhibition-card__time { font-size: 1.28rem; letter-spacing: .09em; line-height: 1.35; margin: 0 0 1.15rem; }
.post-type-archive-amm_exhibition .exhibition-card__venue { font-size: .9rem; line-height: 1.45; margin: 0; text-transform: uppercase; }
.post-type-archive-amm_exhibition .site-footer { align-items: center; display: flex; flex-direction: column; min-height: 360px; padding: 78px 28px 0; }
.post-type-archive-amm_exhibition .site-footer__bottom { border: 0; font-size: .78rem; order: 1; padding: 0; }
.post-type-archive-amm_exhibition .site-footer__inner { margin-top: 38px; order: 2; }
.post-type-archive-amm_exhibition .site-footer__links { padding: 0; }
.post-type-archive-amm_exhibition .site-footer__links a { font-size: .85rem; }
.post-type-archive-amm_exhibition .site-footer::after { background: rgba(255, 255, 255, .12); content: ""; height: 1px; margin-top: 58px; width: 71px; }

@media (max-width: 720px) {
	.site-header, .site-header__inner { height: 56px; }
	.home .site-header { margin-bottom: -56px; }
	.site-header__inner { padding: 0 20px; }
	.menu-toggle { background: transparent; border: 0; color: var(--white); display: block; height: 40px; padding: 8px 0; width: 30px; }
	.menu-toggle span[aria-hidden] { background: currentColor; display: block; height: 1px; margin: 5px 0; width: 18px; }
	.main-navigation ul { background: var(--black); display: none; left: 0; list-style: none; margin: 0; min-width: 230px; padding: 10px 20px 20px; position: absolute; top: 56px; }
	.main-navigation.toggled ul { display: block; }
	.main-navigation li { border-bottom: 1px solid rgba(255, 255, 255, .25); }
	.main-navigation li:last-child { border-bottom: 0; }
	.main-navigation a { display: block; padding: .65rem 0; }
	.main-navigation.toggled .menu-toggle span:first-of-type { transform: translateY(3px) rotate(45deg); }
	.main-navigation.toggled .menu-toggle span:last-of-type { transform: translateY(-3px) rotate(-45deg); }
	.site-header__tools { gap: 14px; }
	.site-header__tools a, .site-search-toggle { height: 21px; width: 21px; }
	.site-header__tools img, .site-header__tools svg { height: 20px; width: 20px; }
	.site-search-panel { padding: 9px 20px; }
	.hero { height: 480px; min-height: 480px; }
	.hero__content { padding: 0 30px 36px; }
	.hero h1 { font-size: 1.9rem; }
	.hero__text { font-size: .9rem; line-height: 1.6; }
	.hero__dots { gap: 11px; padding-bottom: 17px; }
	.home-content { padding: 48px 24px 64px; }
	.home-content__inner { gap: 33px; grid-template-columns: 1fr; max-width: 390px; }
	.home-content__image { max-width: 260px; }
	.home-content__copy { font-size: .92rem; }
	.home-content__copy h1, .home-content__copy h2, .home-content__copy h3 { font-size: 1.2rem; }
	.collection-callout { height: 205px; }
	.collection-callout h2 { font-size: 1.1rem; max-width: 300px; }
	.home-contact { padding: 55px 24px 68px; }
	.home-contact h2 { margin-bottom: 2.5rem; }
	.page-shell { padding: 66px 24px; }
	.gallery-page { padding: 64px 24px 84px; }
	.instagram-feed { margin-top: 3.5rem; }
	.instagram-feed__item { flex-basis: calc((100% - 12px) / 2); }
	.exhibition-card, .single-exhibition { grid-template-columns: 1fr; }
	.exhibition-card { gap: .75rem; }
	.post-type-archive-amm_exhibition .site-header, .post-type-archive-amm_exhibition .site-header__inner { height: 72px; }
	.post-type-archive-amm_exhibition .site-header__inner { padding: 0 20px; }
	.post-type-archive-amm_exhibition .main-navigation ul { top: 72px; }
	.post-type-archive-amm_exhibition .page-shell { padding: 76px 24px; }
	.post-type-archive-amm_exhibition .archive-hero { margin-bottom: 72px; }
	.post-type-archive-amm_exhibition .exhibition-card { gap: 1.25rem; grid-template-columns: 1fr; padding-bottom: 38px; }
	.post-type-archive-amm_exhibition .exhibition-card + .exhibition-card { padding-top: 38px; }
	.post-type-archive-amm_exhibition .exhibition-card__date p { font-size: 1.3rem; }
	.post-type-archive-amm_exhibition .exhibition-card__details { text-align: left; }
	.post-type-archive-amm_exhibition .exhibition-card__time { font-size: 1.05rem; margin-bottom: .45rem; }
	.post-type-archive-amm_exhibition .site-footer { min-height: 285px; padding-top: 54px; }
	.post-type-archive-amm_exhibition .site-footer__links { gap: .85rem; }
	.post-type-archive-amm_exhibition .site-footer__links a { font-size: .72rem; }
	.gallery, .blocks-gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer { padding: 2.5rem 20px 2.25rem; }
	.site-footer__links { flex-wrap: wrap; }
	.site-footer__links a { font-size: .78rem; }
	.site-footer__bottom { font-size: .76rem; padding-top: 1.5rem; }
}
