:root {
	--an-bg: #101116;
	--an-surface: #17191f;
	--an-text: #eef0f4;
	--an-muted: #a3a7b2;
	--an-line: rgba(255, 255, 255, 0.16);
	--an-glow: rgba(226, 232, 255, 0.42);
	--an-width: 1180px;
	--an-radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.an-art-theme { margin: 0; padding-top: 108px; background: var(--an-bg); color: var(--an-text); font-family: Inter, Arial, sans-serif; line-height: 1.5; }
body.admin-bar .site-header { top: 32px; }
[id] { scroll-margin-top: 124px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; padding: 12px 16px; margin: 8px; clip: auto; background: #fff; color: #111; z-index: 100000; }
.content-shell { width: min(calc(100% - 40px), var(--an-width)); margin-inline: auto; }
.site-main { min-height: 65vh; }

.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 18px 20px; background: rgba(16, 17, 22, 0.82); backdrop-filter: blur(18px); }
.site-header__inner { width: min(100%, var(--an-width)); min-height: 56px; margin-inline: auto; padding: 8px 10px 8px 18px; display: flex; align-items: center; gap: 28px; border: 1px solid var(--an-line); border-radius: var(--an-radius); background: rgba(23, 25, 31, 0.72); box-shadow: 0 0 30px rgba(0, 0, 0, 0.3); }
.site-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.site-brand .custom-logo { display: block; width: auto; max-height: 34px; }
.site-brand__mark { color: #dce3ff; text-shadow: 0 0 12px var(--an-glow); }
.primary-navigation { margin-left: auto; }
.primary-navigation__list, .site-footer__menu { display: flex; align-items: center; gap: 24px; padding: 0; margin: 0; list-style: none; }
.primary-navigation a, .site-footer__menu a { color: var(--an-muted); font-size: 13px; text-decoration: none; transition: color .2s ease; }
.site-footer__menu a { white-space: nowrap; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a, .site-footer__menu a:hover { color: var(--an-text); }
.site-header__cta { padding: 9px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; text-decoration: none; font-size: 13px; white-space: nowrap; box-shadow: inset 0 0 12px rgba(255,255,255,.08), 0 0 16px rgba(202,211,255,.12); }
.menu-toggle { display: none; width: 42px; height: 42px; margin-left: auto; border: 0; background: transparent; color: inherit; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 22px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.page-heading { padding-block: 64px 28px; }
.page-heading h1 { margin: 0; font-size: clamp(36px, 6vw, 72px); font-weight: 300; letter-spacing: -.03em; }
.content-entry { padding-block: 60px; }
.shop-shell { padding-block: 48px 80px; }

/* Elementor homepage system */
.elementor-page .site-main { overflow: hidden; }
.an-section.e-con { width: min(calc(100% - 40px), var(--an-width)); margin-inline: auto; padding: 110px 0; }
.an-section-title .elementor-heading-title { margin: 0; color: var(--an-text) !important; font-size: clamp(32px, 4.4vw, 58px); font-weight: 300; line-height: 1.02; letter-spacing: -.035em; }
.an-center { text-align: center; }
.an-eyebrow { color: #8990a2; font-size: 11px; letter-spacing: .2em; text-align: center; text-transform: uppercase; }
.an-eyebrow p, .an-lead p, .an-copy p, .an-section-subtitle p { margin: 0; }
.an-lead { margin: 24px 0 30px; color: #c8ccd6; font-size: clamp(16px, 1.5vw, 20px); }
.an-copy { color: var(--an-muted); font-size: 15px; }
.an-copy .an-intro { margin-bottom: 20px; color: var(--an-text); font-size: 19px; }
.an-section-subtitle { margin-top: 16px; color: var(--an-muted); }
.an-button .elementor-button { padding: 12px 22px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.04)) !important; color: #fff !important; font-size: 13px; box-shadow: inset 0 0 16px rgba(255,255,255,.08), 0 0 22px rgba(180,195,255,.12); }
.an-button .elementor-button:hover { background: rgba(255,255,255,.92) !important; color: #13141a !important; }
.an-button--ghost .elementor-button { background: transparent !important; }
.an-button--center { width: max-content; margin: 32px auto 0; }
.an-glass-card { border: 1px solid var(--an-line); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012)); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.25); }

.an-hero.e-con { min-height: min(760px, calc(100vh - 108px)); display: grid !important; grid-template-columns: .9fr 1.1fr; align-items: center; padding-top: 55px; }
.an-hero__copy .an-eyebrow { text-align: left; }
.an-display-title .elementor-heading-title { margin: 18px 0 0; color: var(--an-text) !important; font-size: clamp(54px, 6.4vw, 92px); font-weight: 250; line-height: .92; letter-spacing: -.055em; }
.an-hero__visual { position: relative; min-height: 560px; }
.an-hero-art, .an-hero-art .elementor-widget-container { position: absolute; inset: 0; }
.an-hero-art .elementor-widget-container { overflow: hidden; border-radius: 45% 16% 42% 12%; background: radial-gradient(circle at 58% 42%, #a9d6ee 0 2%, #506f91 5%, #222b42 23%, #12141c 54%, transparent 72%); filter: saturate(.75); }
.an-hero-silhouette { position: absolute; right: 8%; bottom: 2%; width: 64%; aspect-ratio: .76; border-radius: 48% 48% 35% 45%; background: radial-gradient(circle at 45% 25%, #d7dbe5 0 2%, #6f778d 8%, #252a38 24%, #090a0f 62%); box-shadow: -28px 0 70px rgba(150,201,255,.16); transform: rotate(4deg); }
.an-hero-silhouette span { position: absolute; right: 12%; bottom: 8%; color: rgba(255,255,255,.11); font-size: 72px; letter-spacing: .2em; }
.an-orbit { position: absolute; z-index: 2; border: 1px solid rgba(185,215,255,.28); border-radius: 50%; box-shadow: 0 0 28px rgba(140,195,255,.12); }
.an-orbit--one { inset: 15% 3% 23% 17%; transform: rotate(-18deg); }
.an-orbit--two { inset: 25% 11% 14% 5%; transform: rotate(22deg); }

.an-about.e-con { display: grid !important; grid-template-columns: .8fr 1fr .65fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.an-about__portrait { min-height: 420px; }
.an-portrait, .an-portrait .elementor-widget-container, .an-portrait-placeholder { height: 100%; }
.an-portrait-placeholder { min-height: 420px; display: grid; place-items: center; border: 1px solid var(--an-line); border-radius: 14px; background: radial-gradient(circle at 50% 28%, #676d7a, #272a31 30%, #131419 72%); box-shadow: 0 22px 50px rgba(0,0,0,.35); }
.an-portrait-placeholder span { color: rgba(255,255,255,.36); font-size: 12px; letter-spacing: .2em; text-align: center; }
.an-author-photo, .an-author-photo .elementor-widget-container { height: 100%; }
.an-author-photo img { width: 100%; height: 420px; display: block; object-fit: cover; object-position: 50% 34%; border: 1px solid var(--an-line); border-radius: 14px; box-shadow: 0 22px 50px rgba(0,0,0,.35); }
.an-about__copy .an-eyebrow { text-align: left; }
.an-about__copy .an-section-title { margin: 14px 0 26px; }
.an-about__copy .an-button { margin-top: 28px; }
.an-sketch-stack { position: relative; min-height: 300px; }
.an-sketch-stack i { position: absolute; width: 140px; height: 180px; border: 8px solid #ddd8cd; background: linear-gradient(135deg, #ddd8cd, #7b7d84); box-shadow: 0 18px 30px rgba(0,0,0,.4); }
.an-sketch-stack i:nth-child(1) { left: 0; top: 20px; transform: rotate(-12deg); }
.an-sketch-stack i:nth-child(2) { right: 0; top: 80px; transform: rotate(9deg); }
.an-sketch-stack i:nth-child(3) { left: 34px; bottom: 0; transform: rotate(4deg); }

.an-gallery .an-eyebrow { margin-bottom: 12px; }
.an-filter-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.an-filter-pills span { padding: 7px 13px; border: 1px solid var(--an-line); border-radius: 999px; color: var(--an-muted); font-size: 12px; }
.an-filter-pills span:first-child { background: #e9eaf0; color: #17181d; }
.an-gallery-grid.e-con { display: grid !important; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 12px; }
.an-art-card.e-con { position: relative; overflow: hidden; justify-content: flex-end; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: radial-gradient(circle at 30% 20%, var(--card-glow, #7b70a6), #262936 35%, #111218 80%); transition: transform .25s ease, border-color .25s ease; }
.an-art-card.e-con:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.35); }
.an-art-card--1 { --card-glow: #cf667c; grid-row: span 2; }
.an-art-card--2 { --card-glow: #4c9ba0; }
.an-art-card--3 { --card-glow: #ba9362; }
.an-art-card--4 { --card-glow: #737990; grid-column: span 1; grid-row: span 2; }
.an-art-card--5 { --card-glow: #4f5da0; }
.an-art-card--6 { --card-glow: #a4594e; }
.an-art-card--7 { --card-glow: #6b6b73; grid-column: span 2; }
.an-art-card--8 { --card-glow: #98644a; }
.an-art-card__meta { position: absolute; top: 14px; right: 14px; color: rgba(255,255,255,.42); font-size: 11px; }
.an-art-card__title .elementor-heading-title { margin: 0; color: #fff !important; font-size: 17px; font-weight: 400; }

.an-commission__panel.e-con { display: grid !important; grid-template-columns: .85fr 1fr .9fr; gap: 32px; align-items: stretch; margin-top: 40px; padding: 28px; }
.an-commission-preview { min-height: 380px; display: grid; place-items: center; border-radius: 11px; background: radial-gradient(circle at 60% 35%, #685da3, #28305e 24%, #171927 58%, #0c0d12); }
.an-commission-preview span { color: rgba(255,255,255,.42); font-size: 13px; letter-spacing: .22em; text-align: center; }
.an-commission__copy { justify-content: center; }
.an-card-title .elementor-heading-title { color: var(--an-text) !important; font-size: 24px; font-weight: 400; }
.an-feature-list { padding: 0; margin: 28px 0 0; list-style: none; }
.an-feature-list li { margin: 12px 0; color: #d6d9e1; }
.an-feature-list li::before { content: '◇'; margin-right: 10px; color: #aebbe8; }
.an-commission__form { justify-content: center; padding: 22px; }
.an-form-preview { display: grid; gap: 10px; margin: 18px 0; }
.an-form-preview span { min-height: 42px; padding: 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 7px; background: rgba(3,4,8,.48); color: #6f7480; font-size: 12px; }
.an-form-preview .an-form-preview__message { min-height: 100px; }

.an-closing-grid.e-con { display: grid !important; grid-template-columns: .65fr 1.35fr; gap: 54px; align-items: center; }
.an-support.e-con { padding: 44px 30px; }
.an-heart { width: 74px; height: 74px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #fff, #8790a8 45%, #272a35 70%); color: #171922; font-size: 36px; box-shadow: 0 0 35px rgba(217,225,255,.25); }
.an-support .an-section-title .elementor-heading-title { font-size: clamp(30px, 3.5vw, 46px); }
.an-rehab .an-eyebrow { text-align: left; }
.an-rehab .an-section-title { margin: 12px 0 20px; }
.an-progress { height: 12px; margin-top: 36px; padding: 3px; border: 1px solid var(--an-line); border-radius: 999px; background: #0b0c10; }
.an-progress__value { position: relative; width: 65%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7d86a3, #f0f2f8); box-shadow: 0 0 16px rgba(218,225,255,.34); }
.an-progress__value span { position: absolute; right: -18px; top: -34px; padding: 3px 8px; border-radius: 12px; background: #eceef4; color: #17181c; font-size: 11px; }
.an-progress-labels { display: flex; justify-content: space-between; margin-top: 10px; color: #747986; font-size: 10px; }
.an-milestones.e-con { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.an-milestone-card.e-con { padding: 16px; border: 1px solid var(--an-line); border-radius: 10px; background: rgba(255,255,255,.025); }
.an-milestone small, .an-milestone strong { display: block; }
.an-milestone small { margin-bottom: 5px; color: #717684; }
.an-milestone strong { color: #d9dce4; font-size: 14px; font-weight: 400; }

.site-footer { margin-top: 80px; border-top: 1px solid var(--an-line); color: var(--an-muted); }
.site-footer__inner { width: min(calc(100% - 40px), var(--an-width)); min-height: 120px; margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.site-footer__brand { color: var(--an-text); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.site-footer__details { display: grid; gap: 3px; color: #858a96; font-size: 11px; font-style: normal; line-height: 1.45; white-space: nowrap; }
.site-footer__copyright { margin-left: auto; font-size: 12px; }

@media (max-width: 900px) {
	body.an-art-theme { padding-top: 92px; }
	body.admin-bar .site-header { top: 46px; }
	[id] { scroll-margin-top: 106px; }
	.site-header { padding: 10px 14px; }
	.site-header__inner { position: relative; flex-wrap: wrap; gap: 12px; }
	.menu-toggle { display: block; }
	.primary-navigation { display: none; flex-basis: 100%; order: 4; margin: 0; padding: 12px 0 6px; border-top: 1px solid var(--an-line); }
	.primary-navigation.is-open { display: block; }
	.primary-navigation__list { align-items: stretch; flex-direction: column; gap: 4px; }
	.primary-navigation a { display: block; padding: 10px 4px; font-size: 15px; }
	.site-header__cta { display: none; }
	.site-footer__inner { padding-block: 36px; align-items: flex-start; flex-direction: column; }
	.site-footer__menu { align-items: flex-start; flex-direction: column; gap: 10px; }
	.site-footer__details { white-space: normal; }
	.site-footer__copyright { margin: 0; }
	.an-section.e-con { padding: 78px 0; }
	.an-hero.e-con { min-height: auto; grid-template-columns: 1fr; padding-top: 45px; }
	.an-hero__visual { min-height: 460px; }
	.an-about.e-con { grid-template-columns: .85fr 1.15fr; }
	.an-about__details { display: none !important; }
	.an-gallery-grid.e-con { grid-template-columns: repeat(2, 1fr); }
	.an-art-card--7 { grid-column: span 1; }
	.an-commission__panel.e-con { grid-template-columns: 1fr 1fr; }
	.an-commission__visual { display: none !important; }
	.an-closing-grid.e-con { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
	body.admin-bar .site-header { top: 0; }
}

@media (max-width: 620px) {
	.an-section.e-con { width: min(calc(100% - 28px), var(--an-width)); padding: 62px 0; }
	.an-display-title .elementor-heading-title { font-size: 48px; line-height: .96; }
	.an-hero__copy { position: relative; z-index: 3; }
	.an-hero__visual { min-height: 350px; }
	.an-about.e-con, .an-commission__panel.e-con { grid-template-columns: 1fr; }
	.an-about__portrait, .an-portrait-placeholder { min-height: 360px; }
	.an-author-photo img { height: 420px; }
	.an-gallery-grid.e-con { grid-auto-rows: 145px; }
	.an-art-card.e-con { padding: 12px; }
	.an-art-card--1, .an-art-card--4 { grid-row: span 1; }
	.an-closing-grid.e-con { gap: 24px; }
	.an-progress-labels span:nth-child(2), .an-progress-labels span:nth-child(3) { display: none; }
}
