/*
Theme Name: EnyoreMaginArts Gallery
Theme URI: https://enyoremaginarts.com/
Author: EnyoreMaginArts
Description: A refined, cinematic, portrait-first AI-assisted art gallery with nine featured artworks and editable collections. No store or checkout included.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ema-gallery
*/
:root{--bg:#0a0e14;--bg2:#111823;--panel:#151d27;--panel2:#1a2531;--ivory:#f3f0e9;--paper:#f7f1e6;--soft:#b7bdc4;--muted:#828e9a;--gold:#d6b88b;--gold-light:#f3d4a4;--hair:rgba(231,222,203,.16);--serif:Georgia,'Iowan Old Style','Palatino Linotype','Times New Roman',serif;--sans:'Avenir Next',Avenir,'Segoe UI',Inter,Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:85px}
body{margin:0;background:var(--bg);color:var(--ivory);font-family:var(--sans);font-size:15px;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
a,button{ -webkit-tap-highlight-color:transparent}
a:hover{color:var(--gold-light)}
a:focus-visible,button:focus-visible{outline:2px solid var(--gold-light);outline-offset:4px}
.container{width:min(91%,1360px);margin-inline:auto}
.skip-link{position:fixed;z-index:500;left:15px;top:-100px;padding:12px 16px;color:#111;background:var(--gold)}
.skip-link:focus{top:12px}
.eyebrow{font-size:10px;letter-spacing:.25em;text-transform:uppercase;font-weight:700;color:var(--gold);line-height:1.65}
.section-pad{padding:115px 0}
/* navigation */
.site-header{position:relative;z-index:15;border-bottom:1px solid var(--hair);background:#0a0e14}
.header-inner{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.brand{display:inline-flex;align-items:center;gap:15px;flex-shrink:0;color:var(--ivory)}
.brand:hover{color:var(--ivory)}
.brand-monogram{font-family:var(--serif);font-size:32px;font-weight:normal;letter-spacing:-.12em;line-height:1;position:relative;border:1px solid rgba(214,184,139,.52);height:43px;width:43px;display:grid;place-items:center;padding-right:5px}
.brand-monogram span{position:absolute;bottom:0px;right:0px;font-family:var(--sans);color:var(--gold);font-size:14px;letter-spacing:0;line-height:1}
.brand-wordmark{font-size:17px;letter-spacing:-.045em;font-weight:400;white-space:nowrap}
.brand-wordmark span{font-weight:800;color:var(--gold-light)}
.site-nav{display:flex;align-items:center;gap:33px}
.site-nav a{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#d0d2d2;white-space:nowrap;transition:color .2s}
.site-nav a:hover{color:var(--gold-light)}
.site-nav .nav-cta{border:1px solid rgba(214,184,139,.58);padding:16px 19px;color:var(--gold-light);margin-left:8px;transition:border-color .2s,background .2s}
.site-nav .nav-cta:hover{background:rgba(214,184,139,.1);border-color:var(--gold-light)}
.nav-cta span{padding-left:15px;font-size:15px}
.menu-toggle{display:none;background:transparent;border:0;padding:10px}
.menu-toggle span{width:26px;height:2px;background:var(--ivory);display:block;margin:5px 0}
/* hero */
.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse 48% 62% at 77% 46%,rgba(31,60,86,.22),transparent 85%),#0a0e14}
.hero-ambient{pointer-events:none;position:absolute;top:10%;left:-12%;width:800px;height:780px;background:radial-gradient(ellipse,rgba(42,57,75,.12),transparent 70%)}
.hero-grid{display:grid;grid-template-columns:1fr .9fr;gap:8.5%;align-items:center;padding-top:65px;padding-bottom:65px;min-height:710px}
.hero-copy{position:relative;z-index:2}
.tiny-star{display:inline-block;font-size:14px;vertical-align:-1px;margin-right:12px}
.hero h1{font-family:var(--serif);font-size:clamp(68px,7.2vw,112px);font-weight:normal;line-height:1.03;letter-spacing:-.07em;max-width:760px;margin:27px 0 30px}
.hero h1 em{color:var(--gold-light);font-weight:normal;display:block;white-space:nowrap}
.hero-rule{width:70px;height:1px;background:var(--gold);margin:32px 0}
.hero-intro{color:#b6bdc5;font-size:16px;line-height:1.88;max-width:470px;margin:0}
.hero-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin-top:34px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:27px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;transition:color .2s,background .2s,transform .2s}
.button-primary{background:var(--gold);color:#111823;padding:20px 24px}
.button-primary:hover{background:var(--gold-light);color:#111823;transform:translateY(-2px)}
.button-ghost{border-bottom:1px solid var(--hair);padding:19px 0;color:var(--ivory)}
.button-ghost:hover{border-color:var(--gold)}
.hero-smallprint{display:flex;align-items:center;gap:20px;margin-top:90px;color:#7e8993;font-size:9px;font-weight:800;letter-spacing:.18em;white-space:nowrap}
.smallprint-line{height:1px;max-width:125px;width:25%;background:rgba(214,184,139,.35)}
.hero-visual{position:relative;width:min(100%,510px);justify-self:center;padding:16px 26px 12px}
.hero-frame{height:min(65vw,645px);max-height:645px;min-height:450px;position:relative;background:#14202e;box-shadow:0 28px 90px rgba(0,0,0,.45);border:1px solid rgba(214,184,139,.17);overflow:hidden}
.hero-frame img{display:block;height:100%;width:100%;object-fit:cover;object-position:50% 43%}
.hero-art-label{display:flex;justify-content:space-between;gap:14px;margin:15px 0 0;color:#b7bbc1;font-size:9px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;line-height:1.6}
.hero-art-label span:first-child{color:var(--gold)}
.frame-accent{position:absolute;border:1px solid rgba(214,184,139,.7);width:90px;height:95px;bottom:45px;right:3px;pointer-events:none;border-left:0;border-top:0}
.hero-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--hair);padding-top:19px;padding-bottom:22px;color:#7e8993;font-size:9px;letter-spacing:.2em;font-weight:800}
.hero-bottom a{color:#b1bbc6}
.hero-bottom a span{margin-left:13px;font-size:14px;color:var(--gold)}
/* introduction */
.intro{background:var(--paper);color:#18202a}
.intro-inner{display:grid;grid-template-columns:.55fr 1.8fr auto;gap:30px;align-items:center;padding:49px 0 53px}
.intro .eyebrow{color:#8f6c3f}
.intro p{font-family:var(--serif);font-size:clamp(23px,2.65vw,39px);line-height:1.33;letter-spacing:-.04em;margin:0;max-width:900px}
.intro p em{color:#a17c50;white-space:normal}
.intro-mark{color:#a98a68;font-size:44px;line-height:1}
/* section headings */
.section-heading{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:42px}
.section-heading h2{font-family:var(--serif);font-weight:normal;font-size:clamp(45px,5.5vw,80px);line-height:1.08;letter-spacing:-.064em;margin:19px 0 0;max-width:750px}
.section-heading h2 em{color:var(--gold-light);font-weight:normal}
.section-heading>p{color:#a7b0ba;line-height:1.9;max-width:290px;margin:0 0 7px;font-size:14px}
/* collection covers */
.collections{background:#0f151d;border-bottom:1px solid var(--hair)}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.collection-card{position:relative;display:block;aspect-ratio:0.78;overflow:hidden;background:#1b2633;color:var(--ivory)}
.collection-card img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .55s ease,filter .45s ease}
.collection-card:hover img{transform:scale(1.035);filter:brightness(.87)}
.collection-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,14,20,.25) 0%,rgba(9,14,20,0) 41%,rgba(9,14,20,.9) 100%)}
.collection-no{position:absolute;top:21px;left:22px;font-size:9px;font-weight:800;letter-spacing:.2em;color:#faf1de}
.collection-bottom{position:absolute;left:23px;right:43px;bottom:27px;display:flex;flex-direction:column;gap:10px}
.collection-bottom strong{font-family:var(--serif);font-size:clamp(27px,2.75vw,43px);font-weight:normal;line-height:1.12;letter-spacing:-.05em}
.collection-bottom small{font-size:11px;color:#d1d4d5;letter-spacing:.02em;line-height:1.5}
.collection-arrow{position:absolute;bottom:39px;right:22px;color:var(--gold-light);font-size:26px}
/* full gallery */
.gallery{background:#0a0e14}
.gallery-head{margin-bottom:52px}
.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--hair);padding-bottom:20px;margin-bottom:40px}
.filter-list{display:flex;gap:11px;flex-wrap:wrap}
.filter-button{border:1px solid rgba(214,184,139,.25);background:transparent;color:#aeb7c0;padding:12px 15px;font-size:10px;letter-spacing:.06em;font-weight:700;transition:.2s}
.filter-button:hover{border-color:var(--gold);color:var(--ivory)}
.filter-button.is-active{background:var(--gold);border-color:var(--gold);color:#15191e}
.filter-button span{margin-left:9px;opacity:.65}
.gallery-instruction{white-space:nowrap;color:#697581;font-size:9px;font-weight:800;letter-spacing:.15em}
.art-grid{columns:3;column-gap:24px}
.art-card{break-inside:avoid;display:block;margin:0 0 47px;animation:ema-enter .36s ease}
.art-card[hidden]{display:none!important}
.art-open{background:transparent;border:0;padding:0;text-align:left;width:100%;color:var(--ivory);display:block}
.art-image-wrap{display:block;position:relative;background:var(--panel);overflow:hidden}
.art-image-wrap img{width:100%;height:auto;display:block;transition:transform .45s,filter .45s}
.art-open:hover .art-image-wrap img{transform:scale(1.024);filter:brightness(.9)}
.art-zoom{position:absolute;top:15px;right:15px;display:grid;place-items:center;background:rgba(12,18,26,.87);border:1px solid rgba(231,222,203,.26);width:38px;height:38px;font-size:19px;opacity:0;transform:translateY(5px);transition:.2s}
.art-open:hover .art-zoom,.art-open:focus-visible .art-zoom{opacity:1;transform:translateY(0)}
.art-details{display:block;padding:17px 2px 0}
.art-category{display:block;color:var(--gold);text-transform:uppercase;letter-spacing:.17em;font-size:9px;font-weight:800}
.art-title{display:block;font-family:var(--serif);font-size:clamp(24px,2.4vw,33px);line-height:1.2;letter-spacing:-.046em;margin:8px 0}
.art-description{display:block;color:#89949e;font-size:12px;line-height:1.65}
.gallery-bottom{display:flex;align-items:center;gap:22px;margin-top:33px;color:#76818c;font-size:9px;font-weight:800;letter-spacing:.15em}
.bottom-rule{flex:1;height:1px;background:var(--hair)}
.gallery-bottom a{color:var(--gold);white-space:nowrap}
.filter-empty,.empty-gallery{color:#b7c0c9;padding:35px 0}
/* studio */
.about{background:#141c26;border-top:1px solid var(--hair)}
.about-grid{display:grid;grid-template-columns:.8fr 1.12fr;gap:10%;align-items:center}
.about-art{position:relative;max-width:450px;padding:12px 12px 36px;border:1px solid rgba(214,184,139,.27);background:#111824}
.about-art img{width:100%;max-height:560px;object-fit:cover;object-position:50% 52%;display:block}
.about-art-index{position:absolute;bottom:12px;left:13px;color:var(--gold);letter-spacing:.2em;font-size:9px;font-weight:800}
.about-copy h2{font-family:var(--serif);font-weight:normal;font-size:clamp(51px,6.15vw,86px);letter-spacing:-.066em;line-height:1.07;margin:24px 0 28px;max-width:650px}
.about-copy h2 em{color:var(--gold-light);font-weight:normal}
.about-copy>p{max-width:570px;color:#b4bdc6;line-height:1.97;font-size:15px}
.about-copy .about-note{color:#d0bc9d;font-family:var(--serif);font-style:italic;font-size:21px;margin-top:21px}
.text-link{display:inline-flex;gap:25px;align-items:center;border-bottom:1px solid var(--gold);padding:12px 0;color:var(--gold-light);font-size:10px;letter-spacing:.14em;font-weight:800;text-transform:uppercase;margin-top:23px}
/* footer */
.site-footer{background:#080b0f}
.footer-main{display:flex;justify-content:space-between;align-items:end;gap:25px;padding:80px 0 75px}
.footer-main h2{font-family:var(--serif);font-weight:normal;letter-spacing:-.056em;font-size:clamp(48px,5.4vw,76px);line-height:1.08;max-width:850px;margin:18px 0}
.footer-main h2 em{color:var(--gold-light)}
.footer-main p{color:#9ea8b2;line-height:1.8}
.footer-cta{display:inline-flex;gap:25px;align-items:center;text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:800;color:var(--gold);border-bottom:1px solid var(--gold);padding:15px 0;margin-top:17px}
.back-top{height:48px;width:48px;border:1px solid var(--hair);display:grid;place-items:center;color:var(--gold);font-size:23px;flex-shrink:0}
.footer-bottom{border-top:1px solid var(--hair);display:flex;justify-content:space-between;gap:20px;padding:28px 0 35px;color:#808d99;font-size:11px;line-height:1.7}
/* dialog / lightbox */
.art-dialog{inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;padding:28px;background:rgba(6,9,14,.96);color:var(--ivory);overscroll-behavior:contain}
.art-dialog::backdrop{background:rgba(0,0,0,.95)}
.lightbox-inner{height:100%;position:relative;display:grid;grid-template-columns:70px minmax(0,1fr) 70px;gap:6px;align-items:center}
.lightbox-figure{height:100%;min-height:0;max-width:1080px;width:100%;margin:0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px}
.lightbox-figure img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(100dvh - 196px);object-fit:contain;box-shadow:0 25px 70px #0008}
.lightbox-figure figcaption{text-align:center;padding:0 5px}
.lightbox-figure h2{font-family:var(--serif);font-size:clamp(23px,3vw,34px);letter-spacing:-.04em;font-weight:normal;line-height:1.13;margin:6px 0}
.lightbox-figure p{font-size:12px;line-height:1.5;color:#aab5bf;margin:4px 0}
.lightbox-close{z-index:2;position:absolute;right:0;top:0;height:44px;width:44px;border:1px solid #394453;background:#18202a;color:var(--ivory);font-size:27px;line-height:1}
.lightbox-nav{height:52px;width:54px;background:#19232e;border:1px solid #394453;color:var(--ivory);font-family:var(--serif);font-size:37px}
.lightbox-nav:hover,.lightbox-close:hover{background:#293747}
/* WordPress standard content */
.standard-page{padding:90px 0 120px;min-height:60vh}
.standard-page h1{font-family:var(--serif);font-size:clamp(50px,6vw,75px);font-weight:normal;letter-spacing:-.05em;line-height:1.1;margin:25px 0}
.standard-page p,.prose-content{color:#bcc5cd;line-height:1.9;max-width:850px}
.standard-page .single-image img{max-height:700px;object-fit:contain}
.standard-post{border-top:1px solid var(--hair);padding:25px 0}
.standard-post h2{font-family:var(--serif);font-weight:normal;font-size:28px}
.prose-content a{color:var(--gold);text-decoration:underline}
@keyframes ema-enter{from{opacity:.48;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1180px){.hero-grid{gap:5%}.hero h1{font-size:clamp(60px,7vw,90px)}.site-nav{gap:20px}.hero-frame{min-height:410px}.section-heading h2{font-size:clamp(45px,5.7vw,74px)}}
@media(max-width:880px){.header-inner{min-height:74px}.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#111923;box-shadow:0 22px 30px rgba(0,0,0,.6);border-bottom:1px solid var(--hair);padding:16px 5% 22px;flex-direction:column;align-items:stretch;gap:0}.site-nav.is-open{display:flex}.site-nav>a{padding:16px 6px;border-bottom:1px solid var(--hair)}.site-nav .nav-cta{margin:16px 0 0;text-align:center}.hero-grid{grid-template-columns:1fr;gap:42px;padding-top:66px;padding-bottom:42px;min-height:0}.hero h1{font-size:clamp(64px,10vw,100px)}.hero-smallprint{margin-top:38px}.hero-visual{width:min(100%,580px)}.hero-frame{height:650px;max-height:none}.intro-inner{grid-template-columns:1fr auto;gap:12px;padding:35px 0}.intro-inner .eyebrow{grid-column:1/-1}.intro p{font-size:clamp(26px,3.6vw,37px)}.section-pad{padding:80px 0}.section-heading{flex-direction:column;align-items:start;gap:18px}.section-heading>p{max-width:630px}.collection-grid{gap:13px}.collection-bottom{left:14px;right:24px;bottom:18px}.collection-bottom strong{font-size:clamp(23px,3.1vw,33px)}.collection-arrow{bottom:27px;right:10px}.collection-no{left:14px;top:14px}.art-grid{columns:2}.gallery-toolbar{align-items:flex-start;flex-direction:column}.gallery-instruction{display:none}.about-grid{gap:6%;grid-template-columns:.75fr 1fr}.about-copy h2{font-size:clamp(47px,6vw,70px)}}
@media(max-width:650px){.container{width:min(90%,540px)}.brand{gap:10px}.brand-wordmark{font-size:15px}.brand-monogram{width:37px;height:37px;font-size:27px}.hero-grid{padding-top:55px}.hero h1{font-size:clamp(53px,11vw,76px);margin-top:18px}.hero h1 em{white-space:normal}.hero-intro{font-size:14px}.hero-actions{gap:17px}.button-primary{padding:18px 19px}.button-ghost{padding:12px 0}.hero-visual{padding:10px 12px 6px;max-width:450px}.hero-frame{height:550px;min-height:0}.hero-art-label{font-size:8px}.frame-accent{bottom:42px;right:0;width:50px;height:70px}.hero-bottom{font-size:8px}.intro-inner{padding:34px 0}.intro-mark{font-size:28px}.section-pad{padding:66px 0}.section-heading h2{font-size:clamp(44px,10vw,63px)}.collection-grid{grid-template-columns:1fr;gap:17px}.collection-card{aspect-ratio:1.02}.collection-card img{object-position:50% 42%}.collection-no{font-size:9px;left:18px;top:18px}.collection-bottom{left:19px;bottom:23px}.collection-bottom strong{font-size:35px}.collection-arrow{right:17px;bottom:31px}.filter-list{gap:8px}.filter-button{padding:11px 12px;font-size:10px}.art-grid{columns:1}.art-card{margin-bottom:32px}.art-title{font-size:29px}.about-grid{grid-template-columns:1fr;gap:39px}.about-art{max-width:470px}.about-copy h2{font-size:clamp(50px,10vw,68px)}.footer-main{padding:63px 0;align-items:start}.footer-main h2{font-size:clamp(45px,10vw,66px)}.footer-bottom{flex-direction:column;gap:8px}.art-dialog{padding:10px}.lightbox-inner{grid-template-columns:35px minmax(0,1fr) 35px;gap:0}.lightbox-nav{width:31px;height:49px;font-size:29px}.lightbox-close{right:0;top:0;height:39px;width:39px}.lightbox-figure img{max-height:calc(100dvh - 205px)}.lightbox-figure h2{font-size:23px}.lightbox-figure p{font-size:10px}.standard-page{padding:70px 0}}
@media(max-width:370px){.brand-wordmark{font-size:13px}.hero h1{font-size:51px}.hero-actions{align-items:flex-start;flex-direction:column}.hero-frame{height:470px}.hero-art-label{font-size:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Display featured artwork in its complete portrait composition. */
.hero-visual{width:min(100%,460px)}
.hero-frame{aspect-ratio:1084 / 1940;height:auto;max-height:none;min-height:0}
.hero-frame img{width:100%;height:100%;object-fit:contain;object-position:center}
.collection-card{aspect-ratio:.7}
@media(max-width:880px){.hero-frame{height:auto;min-height:0}}
@media(max-width:650px){.hero-frame{height:auto;min-height:0}.collection-card{aspect-ratio:.78}}

.custom-brand-logo{display:block;width:auto;max-width:245px;height:auto;max-height:52px;object-fit:contain}
