/* ==========================================================================
   Aeshora — main stylesheet
   1. Tokens  2. Base  3. Typography  4. Actions  5. Forms  6. 3D library
   7. Header & navigation  8. Footer  9. Page heroes & breadcrumbs
   10. Homepage  11. Cards & grids  12. Journal & articles  13. Content
   14. Templates (help, legal, contact, categories, quizzes, search, 404)
   15. Comments  16. Responsive  17. Motion & print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--ae-burgundy: #511D35;
	--ae-wine: #783A55;
	--ae-rose: #D8A9BC;
	--ae-mauve: #EBD9E5;
	--ae-ivory: #FFF8F4;
	--ae-ink: #3F1428;
	--ae-muted: #55283D;
	--ae-error: #A3324F;
	--ae-line: rgba(81, 29, 53, .12);
	--ae-line-strong: rgba(81, 29, 53, .22);
	--ae-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--ae-sans: Manrope, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--ae-wrap: 1240px;
	--ae-gutter: clamp(20px, 5vw, 64px);
	--ae-sec: clamp(48px, 6vw, 96px);
	--ae-radius: 22px;
	--ae-shadow: 0 26px 50px -26px rgba(81, 29, 53, .5);
	--ae-header-h: 70px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ae-ivory);
	color: var(--ae-ink);
	font-family: var(--ae-sans);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--ae-wine); }
:focus-visible { outline: 2px solid var(--ae-wine); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--ae-header-h) + 24px); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; left: 16px; top: 16px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 12px 20px; background: var(--ae-burgundy); color: var(--ae-ivory); border-radius: 999px; font-weight: 700;
}
.wrap { max-width: var(--ae-wrap); margin: 0 auto; padding-left: var(--ae-gutter); padding-right: var(--ae-gutter); }
.wrap--narrow { max-width: 960px; }
.sec { padding-top: var(--ae-sec); padding-bottom: var(--ae-sec); }
.sec--mauve { background: var(--ae-mauve); }
.sec--white { background: #fff; border-top: 1px solid var(--ae-line); }
.sec--dark { background: var(--ae-burgundy); color: var(--ae-ivory); }
.sec--wine { background: var(--ae-wine); color: var(--ae-ivory); }
.sec--dark .k, .sec--wine .k { color: var(--ae-rose); }
.sec--dark .h2, .sec--wine .h2 { color: var(--ae-ivory); }
.ae-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ae-main { display: block; }

/* 3. Typography ------------------------------------------------------------ */
.s, .h1, .h2, h1, h2, h3 { font-family: var(--ae-serif); }
h1, h2, h3, h4 { color: var(--ae-burgundy); margin: 0; }
h4, h5, h6 { font-family: var(--ae-sans); font-weight: 800; }
.s { font-weight: 700; letter-spacing: -.005em; }
.h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.08; font-weight: 700; margin: 0; }
.h1--hero { font-size: clamp(42px, 5.6vw, 76px); }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; font-weight: 700; margin: 0; }
.h1 em, .h2 em { color: var(--ae-wine); font-style: italic; }
.k {
	display: inline-block; margin: 0 0 12px; color: var(--ae-wine); text-decoration: none;
	font-family: var(--ae-sans); font-size: 13px; font-weight: 800; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase;
}
.lead { margin: 0; color: var(--ae-muted); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; }
.muted { color: var(--ae-muted); }
.meta { color: var(--ae-muted); font-size: 14px; font-weight: 700; }

/* 4. Actions --------------------------------------------------------------- */
.btn, .wp-block-button__link, .wp-element-button,
input[type="submit"], button[type="submit"]:not(.ae-reset) {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
	background: var(--ae-burgundy); color: var(--ae-ivory);
	font-family: var(--ae-sans); font-size: 16px; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s;
	box-shadow: 0 12px 24px -12px rgba(81, 29, 53, .7);
}
.btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover, button[type="submit"]:not(.ae-reset):hover {
	background: var(--ae-wine); color: var(--ae-ivory); transform: translateY(-1px);
}
.btn--outline, .is-style-aeshora-outline .wp-block-button__link, .is-style-outline .wp-block-button__link {
	background: transparent; color: var(--ae-burgundy); border-color: rgba(81, 29, 53, .3); box-shadow: none;
}
.btn--outline:hover, .is-style-aeshora-outline .wp-block-button__link:hover { background: var(--ae-mauve); color: var(--ae-burgundy); }
.btn--light { background: var(--ae-ivory); color: var(--ae-burgundy); box-shadow: none; }
.btn--light:hover { background: #fff; color: var(--ae-burgundy); }
.btn--ghost-light { background: transparent; color: var(--ae-ivory); border-color: rgba(255, 248, 244, .5); box-shadow: none; }
.btn--ghost-light:hover { background: rgba(255, 248, 244, .12); color: var(--ae-ivory); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { min-height: 54px; padding: 0 34px; font-size: 17px; }
.btn--block { width: 100%; }
.ae-textlink {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
	font-size: 15.5px; font-weight: 800; text-decoration: none; border-bottom: 1.5px solid currentColor;
}
.tag {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
	font-size: 11.5px; font-weight: 800; line-height: 1; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
	background: var(--ae-mauve); color: var(--ae-burgundy); text-decoration: none;
}
.tag--new { background: var(--ae-rose); }
.tag--dark { background: var(--ae-wine); color: var(--ae-ivory); }
.tag--glass { background: rgba(255, 248, 244, .9); border: 1px solid rgba(81, 29, 53, .12); }
.chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
	border: 1px solid var(--ae-line-strong); background: #fff; color: var(--ae-burgundy);
	font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--ae-wine); color: var(--ae-burgundy); }
.chip.is-active, .chip[aria-current="page"] { background: var(--ae-burgundy); border-color: var(--ae-burgundy); color: var(--ae-ivory); }
.ae-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ae-notice {
	margin: 0 0 24px; padding: 16px 18px; border-radius: 16px; border: 1px dashed #B07A92; background: #fff;
	color: var(--ae-muted); font-size: 15px; line-height: 1.55;
}
.ae-notice span { display: block; font-size: 13px; margin-top: 4px; }

/* 5. Forms ----------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"],
input[type="password"], input[type="number"], input[type="date"], select, textarea {
	width: 100%; min-height: 52px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid rgba(81, 29, 53, .2);
	background: #fff; color: var(--ae-ink); font-family: var(--ae-sans); font-size: 16px; font-weight: 500; line-height: 1.4;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ae-wine); box-shadow: 0 0 0 4px rgba(216, 169, 188, .45); }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--ae-burgundy); }
label { font-weight: 700; }
::placeholder { color: #8A6676; opacity: 1; }
/* Common forms plugins */
.wpcf7 form p, .wpforms-field, .gform_wrapper .gfield { margin: 0 0 18px; }
.wpcf7-not-valid-tip, .wpforms-error, .gfield_validation_message { color: var(--ae-error); font-size: 14px; font-weight: 700; }
.wpcf7-response-output { border-radius: 14px; padding: 12px 16px !important; margin: 18px 0 0 !important; }
/* Pill search */
.ae-search {
	display: flex; align-items: center; gap: 10px; max-width: 640px; padding: 6px 6px 6px 18px;
	border-radius: 999px; background: #fff; border: 1.5px solid rgba(81, 29, 53, .2); box-shadow: 0 20px 40px -28px rgba(81, 29, 53, .5);
}
.ae-search svg { flex: 0 0 auto; width: 20px; height: 20px; stroke: var(--ae-wine); fill: none; stroke-width: 2; }
.ae-search label { flex: 1 1 auto; display: flex; margin: 0; }
.ae-search input[type="search"] { min-height: 44px; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 16.5px; font-weight: 600; }
.ae-search .btn { min-height: 44px; padding: 0 20px; font-size: 15px; box-shadow: none; }
.ae-search--center { margin: 0 auto; }

/* 6. 3D library ------------------------------------------------------------ */
.orb {
	display: block; border-radius: 50%;
	background: radial-gradient(circle at 32% 27%, #fff 0 3%, #F3D3E0 9%, #D8A9BC 28%, #783A55 68%, #3A1226 100%);
	box-shadow: inset -16px -20px 40px rgba(40, 10, 25, .45), 0 40px 50px -26px rgba(81, 29, 53, .6);
}
.pearl {
	display: block; border-radius: 50%;
	background: radial-gradient(circle at 34% 28%, #fff 0 10%, #FFF8F4 22%, #EBD9E5 55%, #C08DA3 100%);
	box-shadow: inset -6px -8px 16px rgba(120, 58, 85, .25), 0 16px 26px -12px rgba(81, 29, 53, .45);
}
.glass {
	display: block;
	background: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 248, 244, .32));
	border: 1px solid rgba(255, 255, 255, .8);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 30px 60px -30px rgba(81, 29, 53, .5), inset 0 1px 0 #fff;
}
.ring {
	display: block; border-radius: 50%;
	background: radial-gradient(circle at 30% 20%, #fff 0 5%, rgba(255, 255, 255, 0) 22%), linear-gradient(145deg, #F6DCE7, #D8A9BC 30%, #783A55 68%, #3A1226);
	-webkit-mask: radial-gradient(circle closest-side, transparent 57%, #000 59% 97%, transparent 99%);
	mask: radial-gradient(circle closest-side, transparent 57%, #000 59% 97%, transparent 99%);
}
.sh { display: block; border-radius: 50%; background: radial-gradient(closest-side, rgba(81, 29, 53, .3), rgba(81, 29, 53, 0)); }
.fl { animation: ae-float 7s ease-in-out infinite; }
.fl2 { animation: ae-float 9s ease-in-out -3s infinite; }
@keyframes ae-float { 50% { transform: translateY(-10px); } }
.ae-obj { display: block; height: auto; overflow: visible; }
.ae-glyph {
	font-family: var(--ae-serif); font-style: italic; font-weight: 600; line-height: 1; color: #E2B5C7;
	text-shadow: 1px 1px 0 #D3A1B6, 2px 2px 0 #C38FA6, 3px 3px 0 #B47D96, 4px 4px 0 #A46B86, 5px 5px 0 #925A77, 6px 6px 0 #783A55, 16px 24px 30px rgba(81, 29, 53, .35);
}

/* Covers (quiz cards without images) */
.ae-cover { position: relative; overflow: hidden; height: 100%; min-height: inherit; }
.ae-cover > span { position: absolute; }
.ae-cover--personality { background: linear-gradient(160deg, #F7EBF1, #D8A9BC); }
.ae-cover--friendship { background: linear-gradient(160deg, #FFF8F4, #E6CCDA); }
.ae-cover--aesthetic { background: linear-gradient(160deg, #F7E9F0, #D8A9BC); }
.ae-cover--love { background: linear-gradient(160deg, #783A55, #511D35); }
.ae-cover__obj { left: 50%; top: 50%; transform: translate(-50%, -54%); }
.ae-cover__sh { left: 50%; bottom: 12px; width: 150px; height: 22px; margin-left: -75px; }
.ae-cover__p { right: 14%; top: 18%; width: 30px; height: 30px; }
.ae-cover__r1, .ae-cover__r2 { top: 50%; width: 120px; height: 120px; }
.ae-cover__r1 { left: calc(50% - 110px); margin-top: -66px; transform: rotate(-14deg); }
.ae-cover__r2 { left: calc(50% - 20px); margin-top: -52px; transform: rotate(30deg); filter: brightness(1.08); }
.ae-cover__arch {
	left: 50%; bottom: -6px; width: 130px; height: 82%; margin-left: -20px; border-radius: 70px 70px 0 0;
	background: linear-gradient(90deg, #EBD9E5, #FFF8F4 42%, #D8A9BC);
	box-shadow: inset -10px 0 24px rgba(120, 58, 85, .22), 0 20px 40px -20px rgba(81, 29, 53, .5);
}
.ae-cover--aesthetic .ae-cover__sh { left: calc(50% - 116px); margin-left: 0; width: 126px; }
.ae-cover__orb { left: calc(50% - 100px); bottom: 18px; width: 90px; height: 90px; }
.ae-cover__glow { inset: 0; background: radial-gradient(50% 60% at 50% 45%, rgba(216, 169, 188, .35), rgba(216, 169, 188, 0)); }
.ae-cover--love .ae-cover__p { top: auto; bottom: 22%; right: 16%; }

/* Journal art */
.ae-art { position: relative; overflow: hidden; height: 100%; min-height: inherit; }
.ae-art > span { position: absolute; }
.ae-art--0 { background: linear-gradient(150deg, #8A4664, #511D35); }
.ae-art--0 .ae-art__orb { left: 18%; top: 20%; width: 42%; max-width: 180px; aspect-ratio: 1; }
.ae-art--0 .ae-art__ring { right: 10%; top: 12%; width: 32%; max-width: 150px; aspect-ratio: 1; transform: rotate(24deg); }
.ae-art--1 { background: linear-gradient(160deg, #FFF8F4, #EBD9E5); }
.ae-art__panel { left: 16%; top: 18%; width: 46%; height: 62%; border-radius: 22px; transform: rotate(-6deg); background: linear-gradient(150deg, rgba(216, 169, 188, .6), rgba(255, 248, 244, .4)); }
.ae-art__p1 { right: 20%; top: 26%; width: 20%; max-width: 80px; aspect-ratio: 1; }
.ae-art__p2 { right: 30%; bottom: 16%; width: 10%; max-width: 40px; aspect-ratio: 1; }
.ae-art--2 { background: linear-gradient(160deg, #F3E3EC, #D8A9BC); }
.ae-art__arch { left: 44%; bottom: 0; width: 30%; height: 78%; border-radius: 999px 999px 0 0; background: linear-gradient(90deg, #EBD9E5, #FFF8F4 42%, #C995AB); box-shadow: inset -10px 0 24px rgba(120, 58, 85, .22); }
.ae-art--2 .ae-art__orb { left: 22%; bottom: 10%; width: 26%; max-width: 110px; aspect-ratio: 1; }
.ae-art--3 { background: linear-gradient(160deg, #EBD9E5, #D8A9BC); }
.ae-art__obj { left: 50%; top: 50%; width: 34%; max-width: 150px; transform: translate(-50%, -50%); }
.ae-art--3 .ae-art__ring { left: 8%; bottom: 10%; width: 22%; max-width: 90px; aspect-ratio: 1; transform: rotate(-20deg); }

/* 7. Header & navigation --------------------------------------------------- */
.ae-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 248, 244, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(81, 29, 53, .1);
}
.admin-bar .ae-header { top: 32px; }
.ae-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--ae-header-h); }
.ae-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ae-burgundy); text-decoration: none; }
.ae-logo:hover { color: var(--ae-burgundy); }
.ae-logo__mark { width: 26px; height: 26px; }
.ae-logo__text { font-family: var(--ae-serif); font-size: 29px; font-weight: 700; line-height: 1; }
.ae-logo--light { color: var(--ae-ivory); }
.ae-logo--light:hover { color: var(--ae-ivory); }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 48px; width: auto; }
.ae-nav ul { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.ae-nav a { display: inline-block; padding: 6px 0; font-size: 16px; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.ae-nav .current-menu-item > a, .ae-nav .current-menu-ancestor > a, .ae-nav .current_page_item > a, .ae-nav a[aria-current="page"] { color: var(--ae-wine); border-bottom-color: var(--ae-rose); }
.ae-nav .sub-menu { display: none; }
.ae-header__actions { display: flex; align-items: center; gap: 8px; }
.ae-iconbtn {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	border-radius: 50%; border: 1px solid rgba(81, 29, 53, .25); background: transparent; color: var(--ae-burgundy); cursor: pointer; padding: 0;
}
.ae-iconbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.ae-iconbtn--dark { background: var(--ae-burgundy); border-color: var(--ae-burgundy); color: var(--ae-ivory); }
.ae-menu-toggle { display: none; }
.ae-menu-toggle .ae-ico-close { display: none; }
.ae-menu-toggle[aria-expanded="true"] .ae-ico-open { display: none; }
.ae-menu-toggle[aria-expanded="true"] .ae-ico-close { display: inline; }
.ae-mobile-nav { border-top: 1px solid rgba(81, 29, 53, .1); padding-bottom: 20px; }
.ae-mobile-nav[hidden] { display: none; }
.ae-mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.ae-mobile-nav a:not(.btn) { display: block; padding: 13px 0; font-size: 18px; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(81, 29, 53, .1); }
.ae-mobile-nav .btn { margin-top: 16px; width: 100%; }
.ae-search-panel { border-top: 1px solid rgba(81, 29, 53, .1); padding: 16px 0 20px; }
.ae-search-panel[hidden] { display: none; }

/* 8. Footer ---------------------------------------------------------------- */
.ae-foot { background: var(--ae-burgundy); color: var(--ae-ivory); }
.ae-foot a { color: var(--ae-ivory); text-decoration: none; }
.ae-foot a:hover { color: var(--ae-rose); }
.ae-foot__in { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 28px; }
.ae-foot__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px 28px; }
.ae-foot__brand { flex: 2 1 260px; max-width: 340px; }
.ae-foot__tag { margin: 10px 0; font-family: var(--ae-serif); font-size: 19px; font-style: italic; color: var(--ae-rose); }
.ae-foot__text { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255, 248, 244, .88); }
.ae-foot__col { flex: 1 1 130px; }
.ae-foot__title { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ae-rose); }
.ae-foot__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; font-weight: 600; }
.ae-foot__hint { font-size: 14px; opacity: .8; }
.ae-foot__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 32px;
	margin-top: clamp(36px, 5vw, 56px); padding-top: 20px; border-top: 1px solid rgba(255, 248, 244, .16);
	font-size: 14px; color: rgba(255, 248, 244, .82);
}
.ae-social ul { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-weight: 700; }

/* 9. Page heroes & breadcrumbs -------------------------------------------- */
.ae-bc { margin: 0 0 18px; }
.ae-bc ol { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ae-muted); }
.ae-bc li + li::before { content: "/"; margin-right: 8px; opacity: .7; }
.ae-bc a { text-decoration: none; }
.ae-bc a:hover { text-decoration: underline; }
.ae-bc [aria-current] { color: var(--ae-wine); font-weight: 700; }
.ae-phero { position: relative; overflow: hidden; background: radial-gradient(55% 80% at 82% 40%, #F3E3EC 0%, rgba(255, 248, 244, 0) 70%); }
.ae-phero--mauve { background: linear-gradient(160deg, var(--ae-ivory) 20%, var(--ae-mauve)); }
.ae-phero--plain { background: var(--ae-mauve); }
.ae-phero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-top: clamp(24px, 3.5vw, 48px); padding-bottom: clamp(36px, 4.5vw, 64px); }
.ae-phero__text { flex: 1 1 460px; min-width: 0; max-width: 680px; }
.ae-phero__text .h1 { margin-bottom: 16px; }
.ae-phero__extra { margin-top: 22px; }
.ae-phero__art { position: relative; flex: 0 0 320px; height: 220px; }
.ae-phero__art .orb { position: absolute; left: 40px; top: 30px; width: 140px; height: 140px; }
.ae-phero__art .ring { position: absolute; left: 160px; top: 10px; width: 140px; height: 140px; transform: rotate(28deg); }
.ae-phero__art .pearl { position: absolute; left: 220px; top: 150px; width: 44px; height: 44px; }
.ae-phero__art .sh { position: absolute; left: 30px; top: 180px; width: 220px; height: 30px; }
.ae-phero__art .ae-obj-wrap { position: absolute; left: 70px; top: 10px; }
.ae-phero--center { text-align: center; }
.ae-phero--center .ae-phero__text { margin: 0 auto; }
.ae-phero--center .ae-bc ol { justify-content: center; }
.ae-phero--center .lead { margin: 0 auto; max-width: 600px; }
.ae-phero--dark { background: linear-gradient(160deg, #783A55 10%, #511D35); color: var(--ae-ivory); }
.ae-phero--dark .h1, .ae-phero--dark .ae-bc [aria-current] { color: var(--ae-ivory); }
.ae-phero--dark .k { color: var(--ae-rose); }
.ae-phero--dark .lead, .ae-phero--dark .ae-bc ol { color: rgba(255, 248, 244, .92); }

/* Stage: fixed-size 3D compositions that scale down on small screens */
.ae-stage { position: relative; flex: 1 1 420px; min-width: 0; height: var(--h, 520px); }
.ae-stage__inner { position: absolute; left: 50%; top: 0; width: var(--w, 520px); height: var(--h, 520px); transform: translateX(-50%); }
.ae-stage__inner > * { position: absolute; }

/* 10. Homepage ------------------------------------------------------------- */
.ae-hero { position: relative; overflow: hidden; background: radial-gradient(55% 75% at 78% 45%, #F3E3EC 0%, rgba(255, 248, 244, 0) 70%); }
.ae-hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 80px); }
.ae-hero__text { flex: 1 1 440px; min-width: 0; max-width: 580px; }
.ae-hero__text .h1 { margin-bottom: 20px; }
.ae-hero__text .lead { margin-bottom: 28px; max-width: 500px; }
.ae-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.st-arch { left: 170px; top: 28px; width: 250px; height: 404px; border-radius: 125px 125px 16px 16px; background: linear-gradient(90deg, #EBD9E5, #FFF8F4 45%, #E2C3D1); box-shadow: inset -14px 0 30px rgba(120, 58, 85, .18), 0 30px 60px -30px rgba(81, 29, 53, .4); }
.st-recess { left: 198px; top: 60px; width: 194px; height: 372px; border-radius: 97px 97px 0 0; background: linear-gradient(90deg, rgba(120, 58, 85, .16), rgba(120, 58, 85, .05)); box-shadow: inset 10px 10px 24px rgba(81, 29, 53, .12); }
.st-ground { left: 20px; top: 446px; width: 320px; height: 44px; }
.st-plinth { left: 58px; top: 399px; width: 230px; height: 66px; border-radius: 0 0 115px 115px / 0 0 24px 24px; background: linear-gradient(90deg, #C08DA3, #FFF8F4 38%, #EBD9E5 62%, #A86E88); }
.st-plinth-top { left: 58px; top: 376px; width: 230px; height: 46px; border-radius: 50%; background: radial-gradient(ellipse at 40% 40%, #fff, #EBD9E5 70%, #D8A9BC); }
.st-orb { left: 73px; top: 198px; width: 200px; height: 200px; }
.st-ringwrap { left: 318px; top: 30px; width: 190px; height: 190px; perspective: 600px; }
.st-ringwrap .ring { width: 100%; height: 100%; transform: rotateX(60deg) rotateY(-16deg); }
.st-q { left: 330px; top: 190px; font-size: 200px; }
.st-glassorb { left: 40px; top: 64px; width: 88px; height: 88px; border-radius: 50%; }
.st-pearl { left: 462px; top: 300px; width: 50px; height: 50px; }
.st-card { left: 244px; top: 338px; width: 262px; padding: 16px 18px; border-radius: 20px; transform: rotate(-3deg); color: var(--ae-burgundy); }
.st-card__top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; color: var(--ae-wine); margin-bottom: 8px; text-transform: uppercase; }
.st-card__bar { height: 4px; border-radius: 4px; background: rgba(81, 29, 53, .12); margin-bottom: 12px; }
.st-card__bar span { display: block; width: 30%; height: 100%; border-radius: 4px; background: var(--ae-wine); }
.st-card__q { font-size: 15px; font-weight: 800; margin-bottom: 12px; line-height: 1.35; }
.st-card__opts { display: flex; gap: 8px; }
.st-card__opts span { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(81, 29, 53, .25); font-size: 12px; font-weight: 700; }
.st-card__opts span:first-child { background: var(--ae-burgundy); color: var(--ae-ivory); border-color: var(--ae-burgundy); }

.ae-shead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.ae-shead p.lead { margin-top: 12px; max-width: 620px; }

.ae-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.ae-cat {
	display: flex; flex-direction: column; min-height: clamp(240px, 24vw, 320px); padding: clamp(18px, 2vw, 28px);
	border-radius: 24px; background: var(--ae-mauve); text-decoration: none; transition: transform .3s, box-shadow .3s;
}
.ae-cat:hover { transform: translateY(-4px); box-shadow: var(--ae-shadow); color: inherit; }
.ae-cat .ae-obj { width: clamp(72px, 8vw, 108px) !important; margin-bottom: auto; }
.ae-cat__title { margin: 18px 0 8px; font-size: 25px; line-height: 1.2; }
.ae-cat__text { margin: 0 0 14px; font-size: 15.5px; line-height: 1.55; color: var(--ae-muted); }
.ae-cat__more { font-size: 15px; font-weight: 800; }

.ae-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ae-mauve); }
.ae-tab { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; color: var(--ae-burgundy); font-family: var(--ae-sans); font-size: 15px; font-weight: 800; cursor: pointer; }
.ae-tab[aria-selected="true"] { background: var(--ae-burgundy); color: var(--ae-ivory); }
.ae-tabpanel[hidden] { display: none; }

.ae-preview { position: relative; overflow: hidden; }
.ae-preview__ring { position: absolute; left: -60px; bottom: -60px; width: 260px; height: 260px; opacity: .5; transform: rotate(20deg); }
.ae-preview__in { position: relative; display: flex; flex-wrap: wrap; gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.ae-preview__intro { flex: 1 1 320px; max-width: 420px; }
.ae-preview__intro p { color: rgba(255, 248, 244, .94); }
.ae-preview__panel { flex: 999 1 520px; min-width: 0; background: var(--ae-ivory); color: var(--ae-ink); border-radius: 28px; padding: clamp(22px, 3.4vw, 44px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }

.ae-about { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(32px, 5vw, 80px); }
.ae-about__art { --w: 440px; --h: 460px; flex: 1 1 380px; }
.ae-about__art .glass.big { left: 30px; top: 40px; width: 250px; height: 300px; border-radius: 28px; transform: rotate(-6deg); background: linear-gradient(150deg, rgba(235, 217, 229, .9), rgba(255, 248, 244, .5)); }
.ae-about__art .gem { left: 150px; top: 90px; }
.ae-about__art .sh { left: 150px; top: 400px; width: 240px; height: 36px; }
.ae-about__art .pearl { left: 90px; top: 330px; width: 60px; height: 60px; }
.ae-about__art .note { left: 250px; top: 40px; width: 170px; padding: 16px; border-radius: 18px; font-size: 12.5px; line-height: 1.5; font-weight: 700; color: var(--ae-burgundy); }
.ae-about__art .note b { display: block; font-size: 11px; letter-spacing: .12em; color: var(--ae-wine); margin-bottom: 6px; }
.ae-about__text { flex: 1 1 520px; min-width: 0; }
.ae-about__text .h2 { margin-bottom: 16px; }
.ae-about__text .lead { margin-bottom: 28px; }
.ae-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin-bottom: 32px; }
.ae-points__n { font-family: var(--ae-serif); font-size: 22px; font-style: italic; color: var(--ae-wine); }
.ae-points h3 { margin: 4px 0 6px; font-family: var(--ae-sans); font-size: 19px; font-weight: 800; color: var(--ae-ink); }
.ae-points p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ae-muted); }

.ae-result { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(32px, 5vw, 80px); }
.ae-result__art { --w: 460px; --h: 520px; flex: 1 1 420px; }
.ae-result__art .orb { left: 290px; top: 10px; width: 160px; height: 160px; }
.ae-result__art .ringwrap { left: 0; top: 330px; width: 170px; height: 170px; perspective: 600px; }
.ae-result__art .ringwrap .ring { width: 100%; height: 100%; transform: rotateX(55deg) rotateZ(-20deg); }
.ae-result__art .sh { left: 90px; top: 480px; width: 300px; height: 36px; }
.ae-result__art .pearl { left: 380px; top: 400px; width: 48px; height: 48px; }
.ae-rcard {
	left: 70px; top: 40px; width: 320px; padding: 28px; border-radius: 26px; transform: rotate(-4deg);
	background: linear-gradient(160deg, rgba(255, 248, 244, .94), rgba(255, 248, 244, .68)); border: 1px solid #fff;
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 70px -30px rgba(81, 29, 53, .55), inset 0 1px 0 #fff;
}
.ae-rcard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.ae-rcard__top span:last-child { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--ae-wine); }
.ae-rcard__label { margin: 0 0 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ae-wine); }
.ae-rcard__name { margin: 0 0 12px; font-family: var(--ae-serif); font-size: 38px; line-height: 1.06; font-weight: 700; color: var(--ae-burgundy); }
.ae-rcard__text { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--ae-muted); }
.ae-rcard__foot { padding-top: 14px; border-top: 1px solid rgba(81, 29, 53, .14); font-size: 12px; font-weight: 700; color: var(--ae-muted); }
.ae-result__text { flex: 1 1 420px; min-width: 0; max-width: 520px; }
.ae-result__text .h2 { margin-bottom: 16px; }

.ae-news { position: relative; overflow: hidden; }
.ae-news__in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: clamp(44px, 5vw, 72px); padding-bottom: clamp(44px, 5vw, 72px); }
.ae-news__text { flex: 1 1 360px; max-width: 540px; }
.ae-news__title { margin: 0 0 8px; color: var(--ae-ivory); font-size: clamp(30px, 3vw, 40px); line-height: 1.15; }
.ae-news__text p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255, 248, 244, .94); }
.ae-news__form { flex: 1 1 380px; max-width: 520px; color: var(--ae-ivory); }
.ae-news__form input[type="email"], .ae-news__form input[type="text"] { border: 0; border-radius: 999px; }
.ae-news__pearl { position: absolute; right: 8%; top: -30px; width: 120px; height: 120px; }

/* 11. Cards & grids -------------------------------------------------------- */
.ae-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ae-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.ae-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ae-list { display: flex; flex-direction: column; gap: 14px; }
.card, .is-style-aeshora-card { background: #fff; border: 1px solid rgba(81, 29, 53, .08); border-radius: var(--ae-radius); }
.is-style-aeshora-card { padding: clamp(20px, 3vw, 32px); }
.lift { transition: transform .3s, box-shadow .3s; }
.lift:hover { transform: translateY(-4px); box-shadow: var(--ae-shadow); }
.ae-qcard, .ae-pcard { display: flex; flex-direction: column; overflow: hidden; }
.ae-qcard__media, .ae-pcard__media { display: block; position: relative; height: clamp(180px, 16vw, 220px); overflow: hidden; }
.ae-qcard__media img, .ae-pcard__media img, .ae-row__media img, .ae-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ae-qcard__body, .ae-pcard__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 22px 22px; }
.ae-qcard__top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ae-qcard__top .k, .ae-pcard__body .k { margin: 0; }
.ae-pcard__body .k { margin-bottom: 8px; }
.ae-qcard__title, .ae-pcard__title { margin: 0 0 8px; font-size: 22px; line-height: 1.24; }
.ae-qcard__title a, .ae-pcard__title a, .ae-row__title a, .ae-qrow__title a { text-decoration: none; }
.ae-qcard__desc, .ae-pcard__desc { margin: 0 0 16px; font-size: 15.5px; line-height: 1.55; color: var(--ae-muted); }
.ae-qcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ae-pcard__foot { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ae-muted); }
.ae-pcard__foot a { font-weight: 800; text-decoration: none; color: var(--ae-ink); }
.ae-avatar { border-radius: 50%; flex: 0 0 auto; }
.ae-avatar--ini { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--ae-burgundy); font-family: var(--ae-sans); }
.ae-row { display: flex; flex-wrap: wrap; overflow: hidden; }
.ae-row__media { flex: 1 1 240px; max-width: 100%; min-height: 190px; display: block; position: relative; }
.ae-row__body { flex: 999 1 340px; min-width: 0; padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.ae-row__title { margin: 0; font-size: clamp(23px, 2vw, 27px); line-height: 1.22; }
.ae-row__body p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ae-muted); }
.ae-qrow { display: flex; align-items: center; gap: 16px; padding: 14px; }
.ae-qrow__rank { flex: 0 0 44px; text-align: center; font-family: var(--ae-serif); font-size: 30px; font-style: italic; font-weight: 600; color: var(--ae-wine); }
.ae-thumb { flex: 0 0 76px; height: 76px; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ae-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ae-thumb--personality { background: linear-gradient(160deg, #F7EBF1, #D8A9BC); }
.ae-thumb--friendship { background: linear-gradient(160deg, #FFF8F4, #E6CCDA); }
.ae-thumb--aesthetic { background: linear-gradient(160deg, #F7E9F0, #E2B9CA); }
.ae-thumb--love { background: linear-gradient(160deg, #EBD9E5, #D8A9BC); }
.ae-thumb--art { background: none; }
.ae-thumb--art .ae-art { width: 100%; height: 100%; }
.ae-qrow__body { flex: 1 1 auto; min-width: 0; }
.ae-qrow__cat { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ae-wine); }
.ae-qrow__title { margin: 0 0 4px; font-family: var(--ae-sans); font-size: 17px; line-height: 1.35; font-weight: 800; color: var(--ae-ink); }

/* 12. Journal & articles --------------------------------------------------- */
.ae-feature-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(16px, 2vw, 28px); }
.ae-feature { overflow: hidden; display: flex; flex-direction: column; }
.ae-feature__media { display: block; position: relative; height: clamp(240px, 26vw, 360px); }
.ae-feature__body { padding: clamp(22px, 2.6vw, 34px); }
.ae-feature__title { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.ae-feature__title a { text-decoration: none; }
.ae-feature__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ae-picks { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 20px); }
.ae-pick { display: flex; overflow: hidden; }
.ae-pick__media { flex: 0 0 38%; min-height: 150px; position: relative; display: block; }
.ae-pick__body { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.ae-pick__body .k { margin: 0; }
.ae-pick__title { margin: 0; font-size: 19px; line-height: 1.25; }
.ae-pick__title a { text-decoration: none; }
.ae-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 15px; font-weight: 600; color: var(--ae-muted); }
.ae-byline a { font-weight: 800; color: var(--ae-burgundy); text-decoration: none; }
.ae-article-head { max-width: 900px; text-align: center; padding-top: clamp(24px, 3vw, 40px); }
.ae-article-head .ae-bc ol, .ae-article-head .ae-byline { justify-content: center; }
.ae-article-head .h1 { margin: 16px 0; }
.ae-article-head .lead { max-width: 680px; margin: 0 auto 22px; }
.ae-article-figure { margin: clamp(28px, 3.5vw, 44px) auto 0; }
.ae-article-figure img, .ae-article-figure .ae-art { width: 100%; height: clamp(240px, 36vw, 500px); object-fit: cover; border-radius: 28px; display: block; }
.ae-article-figure figcaption { margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--ae-muted); text-align: center; }
.ae-article { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 5vw, 80px); align-items: flex-start; justify-content: center; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 80px); }
.ae-article__aside { flex: 0 0 240px; position: sticky; top: calc(var(--ae-header-h) + 26px); }
.ae-article__body { flex: 1 1 560px; min-width: 0; max-width: 700px; }
.ae-toc__list { margin: 0 0 28px; padding: 0; list-style: none; }
.ae-toc__list a { display: flex; gap: 10px; padding: 9px 0 9px 14px; border-left: 2px solid rgba(81, 29, 53, .15); text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.4; }
.ae-toc__list a:hover { border-left-color: var(--ae-wine); }
.ae-toc__list.is-numbered a { border-left: 0; padding-left: 0; }
.ae-toc__list span { color: var(--ae-wine); min-width: 20px; }
.ae-toc-mobile { display: none; margin-bottom: 24px; overflow: hidden; }
.ae-toc-mobile summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 18px; cursor: pointer; font-size: 16px; font-weight: 800; color: var(--ae-burgundy); list-style: none; }
.ae-toc-mobile summary::-webkit-details-marker { display: none; }
.ae-toc-mobile summary::after { content: "+"; font-size: 22px; }
.ae-toc-mobile[open] summary::after { content: "−"; }
.ae-toc-mobile .ae-toc__list { padding: 0 18px 8px; margin: 0; }
.ae-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ae-share__btn {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
	border: 1px solid var(--ae-line-strong); background: #fff; color: var(--ae-burgundy);
	font-family: var(--ae-sans); font-size: 12.5px; font-weight: 800; text-decoration: none; cursor: pointer; padding: 0;
}
.ae-share__btn:hover { background: var(--ae-mauve); color: var(--ae-burgundy); }
.ae-copy__status { font-size: 13.5px; font-weight: 700; color: var(--ae-wine); }
.ae-share--inline { display: none; margin-bottom: 24px; }
.ae-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 24px; }
.ae-tags a { min-height: 40px; font-size: 14px; }
.ae-author-box { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 24px; }
.ae-author-box__body { flex: 1 1 280px; min-width: 0; }
.ae-author-box__name { display: block; margin-bottom: 6px; font-family: var(--ae-serif); font-size: 24px; font-weight: 700; text-decoration: none; color: var(--ae-burgundy); }
.ae-author-box p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ae-muted); }
.ae-archive { display: flex; flex-wrap: wrap; gap: 32px clamp(32px, 4vw, 56px); align-items: flex-start; padding-bottom: clamp(48px, 6vw, 96px); }
.ae-archive__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ae-sidebar { flex: 1 1 300px; min-width: 0; max-width: 400px; position: sticky; top: calc(var(--ae-header-h) + 26px); display: flex; flex-direction: column; gap: 18px; }
.ae-sidebar .widget { padding: 20px 22px; }
.widget-title { margin: 0 0 10px; font-size: 20px; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li a, .ae-topics a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 4px; border-bottom: 1px solid var(--ae-line); text-decoration: none; font-size: 16px; font-weight: 600; }
.ae-topics a.is-current { color: var(--ae-wine); font-weight: 800; }
.ae-pair { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.ae-pair__label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--ae-wine); text-transform: uppercase; }
.ae-pair__title { display: block; margin-top: 4px; font-family: var(--ae-serif); font-size: 20px; line-height: 1.25; font-weight: 700; text-decoration: none; color: var(--ae-burgundy); }
.ae-pair hr { margin: 0; border: 0; border-top: 1px solid var(--ae-line); }
.ae-author-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(32px, 5vw, 64px); }
.ae-author-hero__mark { position: relative; flex: 0 0 auto; width: 200px; height: 200px; }
.ae-author-hero__mark .ae-avatar { width: 200px !important; height: 200px !important; font-size: 64px !important; font-family: var(--ae-serif); }
.ae-author-hero__mark .ring { position: absolute; right: -30px; top: -20px; width: 90px; height: 90px; transform: rotate(24deg); }

/* 13. Content (blocks inside .entry-content) ------------------------------- */
.entry-content > * { margin-top: 0; margin-bottom: 20px; }
.entry-content p, .entry-content li { font-size: clamp(17px, 1.3vw, 18.5px); line-height: 1.8; color: var(--ae-ink); }
.entry-content h2 { margin: 48px 0 14px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.entry-content h3 { margin: 32px 0 10px; font-family: var(--ae-sans); font-size: 20px; font-weight: 800; color: var(--ae-ink); }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content a { color: var(--ae-wine); font-weight: 700; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content blockquote, .wp-block-quote.is-style-aeshora-pull {
	margin: 36px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--ae-rose);
	font-family: var(--ae-serif); font-size: clamp(25px, 2.6vw, 32px); line-height: 1.3; font-style: italic; font-weight: 600; color: var(--ae-wine);
}
.entry-content blockquote p { font: inherit; color: inherit; margin: 0; }
.entry-content blockquote cite { display: block; margin-top: 10px; font-family: var(--ae-sans); font-size: 14px; font-style: normal; color: var(--ae-muted); }
.wp-block-pullquote { border-color: var(--ae-rose); color: var(--ae-wine); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content img { border-radius: 18px; }
.entry-content figcaption, .wp-element-caption { font-size: 14px; color: var(--ae-muted); text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--ae-line); text-align: left; }
.entry-content thead th { background: var(--ae-mauve); }
.entry-content hr, .wp-block-separator { border: 0; border-top: 1px solid var(--ae-line-strong); margin: 40px 0; }
.entry-content .alignwide { max-width: var(--ae-wrap); }
.entry-content .alignleft { float: left; margin: 6px 24px 16px 0; }
.entry-content .alignright { float: right; margin: 6px 0 16px 24px; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.is-style-aeshora-mauve { background: var(--ae-mauve); border-radius: 24px; padding: clamp(22px, 3vw, 36px); }
.is-style-aeshora-burgundy { background: var(--ae-burgundy); color: var(--ae-ivory); border-radius: 24px; padding: clamp(22px, 3vw, 36px); }
.is-style-aeshora-burgundy h2, .is-style-aeshora-burgundy h3, .is-style-aeshora-burgundy p { color: var(--ae-ivory); }
.wp-block-details, .is-style-aeshora-faq { background: #fff; border: 1px solid rgba(81, 29, 53, .08); border-radius: var(--ae-radius); margin: 0 0 10px; overflow: hidden; }
.wp-block-details summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 22px;
	cursor: pointer; list-style: none; font-size: 17px; font-weight: 800; line-height: 1.4; color: var(--ae-ink);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; flex: 0 0 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%; background: var(--ae-mauve); font-size: 20px; font-weight: 700; color: var(--ae-burgundy);
}
.wp-block-details[open] summary::after { content: "−"; }
.wp-block-details > *:not(summary) { margin: 0; padding: 0 22px 20px; font-size: 16.5px; }
.ae-key { margin: 36px 0 0; padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--ae-line); }
.ae-quiz-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin: 36px 0; padding: 22px; border-radius: 24px; background: var(--ae-mauve); }
.ae-quiz-cta .ae-thumb { flex-basis: 110px; height: 110px; }
.ae-quiz-cta__body { flex: 1 1 260px; min-width: 0; }
.ae-quiz-cta__title { margin: 0 0 6px; font-size: 23px; line-height: 1.2; }

/* 14. Templates ------------------------------------------------------------ */
.ae-page-body { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 96px); }
.ae-page-body .entry-content { max-width: 760px; margin: 0 auto; }
.ae-page-body--wide .entry-content { max-width: var(--ae-wrap); }
.ae-legal { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 5vw, 80px); align-items: flex-start; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 96px); }
.ae-legal__toc { flex: 0 0 260px; position: sticky; top: calc(var(--ae-header-h) + 26px); }
.ae-legal__body { flex: 1 1 560px; min-width: 0; max-width: 760px; }
.ae-legal-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ae-help-layout { display: flex; flex-wrap: wrap; gap: 28px clamp(28px, 4vw, 56px); align-items: flex-start; padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(48px, 6vw, 96px); }
.ae-help-nav { flex: 1 1 260px; max-width: 320px; position: sticky; top: calc(var(--ae-header-h) + 26px); display: flex; flex-direction: column; gap: 8px; }
.ae-help-nav:empty { display: none; }
.ae-help-nav a { display: flex; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 16px; border: 1px solid rgba(81, 29, 53, .14); background: #fff; font-size: 15.5px; font-weight: 800; text-decoration: none; }
.ae-help-nav a:hover { border-color: var(--ae-wine); }
.ae-help-body { flex: 999 1 560px; min-width: 0; }
.ae-help-body .entry-content h2 { font-size: 26px; margin-top: 36px; }
.ae-help-status { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--ae-muted); }
.ae-cta-dark { margin-top: 32px; border-radius: 28px; background: var(--ae-burgundy); color: var(--ae-ivory); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.ae-cta-dark h2 { margin: 0 0 6px; color: var(--ae-ivory); font-size: 28px; }
.ae-cta-dark p { margin: 0; color: rgba(255, 248, 244, .94); }
.ae-contact { display: flex; flex-wrap: wrap; gap: 28px clamp(28px, 4vw, 56px); align-items: flex-start; padding-bottom: clamp(48px, 6vw, 96px); }
.ae-contact__form { flex: 999 1 520px; min-width: 0; padding: clamp(22px, 3.4vw, 44px); border-radius: 28px; box-shadow: 0 30px 60px -40px rgba(81, 29, 53, .5); }
.ae-contact__aside { flex: 1 1 300px; min-width: 0; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.ae-contact__aside .card { padding: 20px 22px; }
.ae-contact__aside h2 { margin: 0 0 6px; font-size: 21px; }
.ae-contact__aside p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ae-muted); }
.ae-helpcard { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--ae-radius); background: var(--ae-burgundy); color: var(--ae-ivory); text-decoration: none; }
.ae-helpcard:hover { color: var(--ae-ivory); }
.ae-helpcard .pearl { flex: 0 0 46px; height: 46px; }
.ae-helpcard strong { display: block; font-family: var(--ae-serif); font-size: 20px; }
.ae-panel__in { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(32px, 5vw, 80px); padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(40px, 5vw, 80px); }
.ae-panel--rev .ae-panel__in { flex-direction: row-reverse; }
.ae-panel__stage { position: relative; flex: 1 1 380px; min-width: 0; height: clamp(240px, 28vw, 360px); border-radius: 28px; overflow: hidden; }
.ae-panel__stage .ae-obj-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -55%); }
.ae-panel__stage .ae-obj { width: clamp(150px, 16vw, 220px) !important; }
.ae-panel__stage .pearl { position: absolute; right: 14%; top: 16%; width: 44px; height: 44px; }
.ae-panel__stage .sh { position: absolute; left: 50%; bottom: 12%; width: 240px; height: 30px; margin-left: -120px; }
.ae-panel__text { flex: 1 1 420px; min-width: 0; }
.ae-panel__text .h2 { margin: 6px 0 12px; }
.ae-panel__text .lead { margin-bottom: 22px; }
.ae-panel__list { list-style: none; margin: 0 0 24px; padding: 0; }
.ae-panel__list li { border-top: 1px solid var(--ae-line); }
.ae-panel__list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; text-decoration: none; font-size: 16px; font-weight: 700; }
.ae-toolbar { position: sticky; top: var(--ae-header-h); z-index: 10; background: rgba(255, 248, 244, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid rgba(81, 29, 53, .08); border-bottom: 1px solid rgba(81, 29, 53, .08); }
.admin-bar .ae-toolbar { top: calc(var(--ae-header-h) + 32px); }
.ae-toolbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.ae-toolbar form { display: flex; align-items: center; gap: 10px; }
.ae-toolbar select { min-height: 44px; padding: 8px 14px; width: auto; }
.ae-count { margin: 0 0 20px; font-size: 15px; font-weight: 700; color: var(--ae-muted); }
.ae-timeline { display: flex; flex-wrap: wrap; gap: 16px clamp(24px, 4vw, 56px); margin-bottom: clamp(36px, 4vw, 56px); }
.ae-timeline__label { flex: 0 0 180px; }
.ae-timeline__label h2 { position: sticky; top: calc(var(--ae-header-h) + 26px); font-size: 26px; }
.ae-timeline__items { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding-left: clamp(0px, 2.4vw, 34px); border-left: 2px solid var(--ae-mauve); }
.ae-quiz-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(32px, 5vw, 72px); }
.ae-quiz-hero__media { position: relative; flex: 1 1 440px; min-width: 0; height: clamp(300px, 36vw, 480px); border-radius: 32px; overflow: hidden; }
.ae-quiz-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.ae-quiz-hero__text { flex: 1 1 440px; min-width: 0; }
.ae-quiz-hero__text .h1 { margin: 14px 0 16px; }
.ae-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 24px; }
.ae-fact { flex: 1 1 110px; padding: 14px 16px; border-radius: 16px; background: var(--ae-mauve); }
.ae-fact strong { display: block; font-family: var(--ae-serif); font-size: 24px; font-weight: 700; color: var(--ae-burgundy); }
.ae-fact span { font-size: 14px; font-weight: 700; color: var(--ae-muted); }
.ae-quiz-engine { scroll-margin-top: calc(var(--ae-header-h) + 16px); }
.ae-sticky-cta { display: none; }
.ae-search-group { margin-bottom: 40px; }
.ae-search-group h2 { margin: 0 0 14px; font-size: 24px; }
.ae-empty { padding: clamp(28px, 4vw, 48px); text-align: center; }
.ae-empty .pearl { width: 64px; height: 64px; margin: 0 auto 18px; }
.ae-empty h2 { margin: 0 0 8px; font-size: 26px; }
.ae-404__art { position: relative; height: clamp(200px, 24vw, 280px); margin-bottom: 8px; }
.ae-404__glyph { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-size: clamp(140px, 18vw, 230px); font-style: normal; font-weight: 700; }
.ae-404__glyph em { font-style: italic; }
.ae-404__art .orb { position: absolute; left: 12%; top: 20%; width: 70px; height: 70px; }
.ae-404__art .pearl { position: absolute; right: 14%; top: 10%; width: 46px; height: 46px; }
.ae-404__art .ring { position: absolute; right: 8%; bottom: 4%; width: 90px; height: 90px; transform: rotate(30deg); }
.ae-pagination { margin-top: 36px; }
.ae-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ae-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ae-line-strong); background: #fff; text-decoration: none; font-weight: 700; }
.ae-pagination .page-numbers.current { background: var(--ae-burgundy); border-color: var(--ae-burgundy); color: var(--ae-ivory); }

/* 15. Comments ------------------------------------------------------------- */
.ae-comments { max-width: 700px; margin: 0 auto; padding-bottom: clamp(48px, 6vw, 80px); }
.ae-comments .comment-list { list-style: none; padding: 0; }
.ae-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--ae-line); }
.ae-comments .children { list-style: none; padding-left: 28px; }
.ae-comments .comment-meta { font-size: 14px; color: var(--ae-muted); }
.ae-comments .avatar { border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.comment-form p { margin: 0 0 16px; }
.comment-form label { display: block; margin-bottom: 6px; }

/* 16. Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
	.ae-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.ae-nav, .ae-header__cta { display: none; }
	.ae-menu-toggle { display: inline-flex; }
	.ae-feature-grid { grid-template-columns: 1fr; }
	.ae-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ae-article__aside, .ae-legal__toc { display: none; }
	.ae-toc-mobile { display: block; }
	.ae-share--inline { display: flex; }
	.ae-help-nav { position: static; max-width: none; flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
	.ae-help-nav a { flex: 0 0 auto; white-space: nowrap; }
	.ae-sidebar { position: static; max-width: none; }
}
@media (max-width: 782px) {
	.admin-bar .ae-header { top: 46px; }
	.admin-bar .ae-toolbar { top: calc(var(--ae-header-h) + 46px); }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.ae-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ae-cat { min-height: 0; }
	.ae-cat__title { font-size: 19px; }
	.ae-cat__text { font-size: 14px; }
	.ae-grid, .ae-grid--2, .ae-grid--4, .ae-points { grid-template-columns: minmax(0, 1fr); }
	.ae-swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--ae-gutter) * -1); padding: 0 var(--ae-gutter) 8px 0; scrollbar-width: none; }
	.ae-swipe > * { flex: 0 0 84%; scroll-snap-align: start; }
	.ae-scroll-x { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--ae-gutter) * -1); padding-right: var(--ae-gutter); scrollbar-width: none; }
	.ae-stage { height: calc(var(--h, 520px) * var(--m, .6)); flex-basis: 100%; }
	.ae-stage .ae-stage__inner { transform: translateX(-50%) scale(var(--m, .6)); transform-origin: top center; }
	.ae-hero .ae-stage { --m: .6; }
	.ae-result__art { --m: .66; }
	.ae-about__art { display: none; }
	.ae-phero__art { display: none; }
	.ae-qrow .btn { display: none; }
	.ae-timeline__label { flex-basis: 100%; }
	.ae-timeline__label h2 { position: static; }
	.ae-timeline__items { border-left: 0; padding-left: 0; }
	.ae-pick__media { flex-basis: 34%; }
	.ae-sticky-cta {
		display: flex; position: sticky; bottom: 0; z-index: 20; align-items: center; justify-content: space-between; gap: 12px;
		padding: 12px var(--ae-gutter); background: rgba(255, 248, 244, .96); border-top: 1px solid var(--ae-line);
	}
	.ae-sticky-cta .btn { flex: 1 1 auto; max-width: 220px; }
	.ae-preview__ring, .ae-news__pearl { display: none; }
}

/* 17. Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.fl, .fl2 { animation: none; }
	.lift, .btn, .ae-cat { transition: none; }
}
@media print {
	.ae-header, .ae-foot, .ae-article__aside, .ae-share, .ae-sticky-cta, .ae-news { display: none !important; }
	body { background: #fff; }
}
