/*
Theme Name: Anteros Art
Theme URI: https://anterosart.com
Description: Storybook + Greek myth child theme for Anteros Art. A folk-botanical aesthetic with vines, roses, olive branches, and pomegranates. Built on Twenty Twenty-Five.
Author: Anteros Art
Author URI: https://anterosart.com
Template: twentytwentyfive
Version: 2.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anteros-art
Tags: block-theme, custom-colors, custom-typography, e-commerce, two-columns, three-columns, four-columns
*/

:root {
	--anteros-green: #6E942F;
	--anteros-green-dark: #556F25;
	--anteros-green-light: #8FB04A;
	--anteros-crimson: #AE162E;
	--anteros-crimson-dark: #8A1124;
	--anteros-crimson-deep: #6B0E1F;
	--anteros-cream: #F4ECD8;
	--anteros-cream-warm: #EFE5CC;
	--anteros-cream-dark: #E8DDB9;
	--anteros-cream-darker: #DACFAD;
	--anteros-ink: #1F1812;
	--anteros-ink-soft: #4A3F35;
	--anteros-grey: #8B7F75;
	--anteros-grey-light: #C9BEB0;
	--anteros-paper: #FAF5E8;
}

/* ----- Base body ----- */
body {
	font-family: 'EB Garamond', Georgia, serif !important;
	font-size: 18px;
	line-height: 1.65;
	color: var(--anteros-ink);
	background: var(--anteros-paper);
	background-image:
		radial-gradient(ellipse at top left, rgba(110, 148, 47, 0.05) 0%, transparent 45%),
		radial-gradient(ellipse at bottom right, rgba(174, 22, 46, 0.04) 0%, transparent 45%);
	background-attachment: fixed;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	opacity: 0.06;
	pointer-events: none;
	z-index: 1;
	mix-blend-mode: multiply;
}

.wp-site-blocks { position: relative; z-index: 2; }

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	font-family: 'Fraunces', Georgia, serif;
	font-variation-settings: 'SOFT' 100, 'opsz' 144;
	font-weight: 400;
	font-style: italic;
	color: var(--anteros-ink);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

h1 em, h2 em, h3 em, h4 em,
.wp-block-heading em {
	color: var(--anteros-crimson);
	font-style: italic;
}

p { line-height: 1.65; }

/* ============================================================
   CUSTOM HEADER
   ============================================================ */
.anteros-header {
	padding: 18px 32px !important;
	background: var(--anteros-paper);
	border-bottom: 1px solid var(--anteros-cream-darker);
	position: relative;
	z-index: 10;
}

.anteros-header .wp-block-site-logo img {
	max-width: 42px;
	height: auto;
}

.anteros-header .wp-block-site-title {
	font-family: 'Fraunces', Georgia, serif !important;
	font-variation-settings: 'SOFT' 100, 'opsz' 144;
	font-weight: 500 !important;
	font-style: italic;
	font-size: 24px !important;
	color: var(--anteros-ink) !important;
	letter-spacing: 0.5px;
	line-height: 1 !important;
	margin: 0 !important;
}

.anteros-header .wp-block-site-title a { text-decoration: none; color: inherit; }

.anteros-header .wp-block-navigation {
	font-family: 'Fraunces', Georgia, serif;
	font-variation-settings: 'SOFT' 80, 'opsz' 14;
	font-weight: 400;
	font-size: 15px !important;
	letter-spacing: 0.02em;
}

.anteros-header .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--anteros-ink-soft);
	transition: color 0.3s;
}
.anteros-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--anteros-crimson);
}

.anteros-brand-mark {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	display: inline-block;
	vertical-align: middle;
}

/* ============================================================
   HERO
   ============================================================ */
.anteros-hero {
	text-align: center;
	padding: 60px 0 100px;
	position: relative;
}

.anteros-hero h1 {
	font-size: clamp(48px, 7vw, 92px) !important;
	line-height: 1.05;
	margin-bottom: 28px;
}

.anteros-hero .hero-tagline {
	font-style: italic;
	font-size: 22px;
	color: var(--anteros-ink-soft);
	max-width: 540px;
	margin: 0 auto 40px;
	line-height: 1.55;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.wp-block-button .wp-block-button__link {
	font-family: 'Fraunces', Georgia, serif !important;
	font-variation-settings: 'SOFT' 60, 'opsz' 14;
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.06em;
	border-radius: 100px;
	padding: 14px 32px;
	text-transform: uppercase;
	transition: all 0.3s ease;
	border: 1.5px solid transparent;
	text-decoration: none;
}

.wp-block-button.is-style-anteros-primary .wp-block-button__link {
	background: var(--anteros-crimson);
	color: var(--anteros-paper);
}
.wp-block-button.is-style-anteros-primary .wp-block-button__link:hover {
	background: var(--anteros-crimson-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(174, 22, 46, 0.28);
}

.wp-block-button.is-style-anteros-secondary .wp-block-button__link {
	border-color: var(--anteros-ink);
	color: var(--anteros-ink);
	background: transparent;
}
.wp-block-button.is-style-anteros-secondary .wp-block-button__link:hover {
	background: var(--anteros-ink);
	color: var(--anteros-paper);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.anteros-section-header { text-align: center; margin-bottom: 56px; }

.anteros-section-header .anteros-eyebrow {
	font-family: 'EB Garamond', Georgia, serif;
	font-style: italic;
	font-size: 15px;
	color: var(--anteros-green-dark);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 10px;
	font-weight: 500;
}

.anteros-section-header h2 {
	font-size: clamp(36px, 5vw, 56px) !important;
	margin-bottom: 16px;
}

.anteros-section-header p {
	max-width: 580px;
	margin: 0 auto;
	font-size: 19px;
	color: var(--anteros-ink-soft);
	line-height: 1.55;
}

/* ============================================================
   FEATURED ARTWORK FRAMES (editable images)
   ============================================================ */
.anteros-artwork-frame {
	aspect-ratio: 4/5;
	background: var(--anteros-cream);
	border: 1px solid var(--anteros-cream-darker);
	border-radius: 3px;
	position: relative;
	overflow: hidden;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	margin: 0 !important;
}

.anteros-artwork-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.anteros-artwork-frame:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 48px rgba(26, 20, 16, 0.14);
}

.anteros-artwork-frame::before,
.anteros-artwork-frame::after {
	content: '';
	position: absolute;
	width: 28px;
	height: 28px;
	border: 1.5px solid var(--anteros-green);
	opacity: 0.5;
	pointer-events: none;
	z-index: 2;
}
.anteros-artwork-frame::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.anteros-artwork-frame::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.anteros-artwork-caption {
	font-family: 'Fraunces', Georgia, serif !important;
	font-variation-settings: 'SOFT' 80;
	font-style: italic;
	font-weight: 500 !important;
	font-size: 17px !important;
	color: var(--anteros-ink-soft) !important;
	margin: 16px 0 0 !important;
}

/* ============================================================
   SHOP CATEGORIES GRID
   ============================================================ */
.anteros-shop-section {
	background: linear-gradient(180deg, var(--anteros-paper) 0%, var(--anteros-cream) 100%);
}

.anteros-shop-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.anteros-shop-card {
	aspect-ratio: 1;
	background: var(--anteros-paper);
	border: 1px solid var(--anteros-cream-darker);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--anteros-ink);
	transition: all 0.35s ease;
	padding: 24px;
	font-family: 'Fraunces', Georgia, serif;
	font-variation-settings: 'SOFT' 80, 'opsz' 14;
	font-weight: 500;
	font-size: 17px;
}

.anteros-shop-card:hover {
	background: var(--anteros-crimson);
	color: var(--anteros-paper);
	border-color: var(--anteros-crimson);
	transform: translateY(-4px);
}

.anteros-shop-card svg {
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	color: var(--anteros-green);
	transition: transform 0.4s ease, color 0.35s ease;
}

.anteros-shop-card:hover svg {
	color: var(--anteros-paper);
	transform: scale(1.1) rotate(-4deg);
}

@media (max-width: 960px) {
	.anteros-shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
	.anteros-shop-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ORIGINAL CHARACTERS
   ============================================================ */
.anteros-oc-section { background: var(--anteros-cream); }

.anteros-oc-card {
	background: var(--anteros-paper);
	border: 1px solid var(--anteros-cream-darker);
	border-radius: 4px;
	overflow: hidden;
	transition: all 0.35s ease;
}

.anteros-oc-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 40px rgba(26, 20, 16, 0.10);
}

.anteros-oc-portrait {
	aspect-ratio: 1;
	background: var(--anteros-cream);
	border-bottom: 1px solid var(--anteros-cream-darker);
	position: relative;
	overflow: hidden;
	margin: 0 !important;
}

.anteros-oc-portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.anteros-oc-portrait::before,
.anteros-oc-portrait::after {
	content: '';
	position: absolute;
	width: 24px; height: 24px;
	border: 1.5px solid var(--anteros-green);
	opacity: 0.4;
	pointer-events: none;
	z-index: 2;
}
.anteros-oc-portrait::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.anteros-oc-portrait::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.anteros-oc-content { padding: 28px 26px 30px; }

.anteros-oc-name {
	font-family: 'Fraunces', Georgia, serif !important;
	font-variation-settings: 'SOFT' 100, 'opsz' 144;
	font-weight: 400 !important;
	font-style: italic;
	font-size: 30px !important;
	color: var(--anteros-crimson) !important;
	margin: 0 0 4px !important;
	line-height: 1;
}

.anteros-oc-tag {
	font-family: 'EB Garamond', Georgia, serif !important;
	font-style: italic;
	color: var(--anteros-green-dark) !important;
	font-size: 14px !important;
	letter-spacing: 0.08em;
	margin: 0 0 14px !important;
	text-transform: uppercase;
}

.anteros-oc-blurb {
	color: var(--anteros-ink-soft) !important;
	font-size: 16px !important;
	line-height: 1.6;
	margin: 0 !important;
}

/* ============================================================
   PET PORTRAITS (dark section)
   ============================================================ */
.anteros-pet-section {
	background: var(--anteros-ink) !important;
	color: var(--anteros-cream);
	position: relative;
	overflow: hidden;
}

.anteros-pet-section::before {
	content: '';
	position: absolute;
	top: -50px; right: -50px;
	width: 300px; height: 300px;
	background: radial-gradient(circle, rgba(174, 22, 46, 0.18) 0%, transparent 70%);
	pointer-events: none;
}
.anteros-pet-section::after {
	content: '';
	position: absolute;
	bottom: -60px; left: -60px;
	width: 280px; height: 280px;
	background: radial-gradient(circle, rgba(110, 148, 47, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

.anteros-pet-section .anteros-eyebrow { color: var(--anteros-green-light) !important; }
.anteros-pet-section h2 { color: var(--anteros-cream) !important; }
.anteros-pet-section p { color: var(--anteros-cream); opacity: 0.92; }

.anteros-pet-stat-label {
	font-family: 'EB Garamond', Georgia, serif !important;
	font-style: italic;
	font-size: 13px !important;
	color: var(--anteros-green-light) !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 6px !important;
}

.anteros-pet-stat-value {
	font-family: 'Fraunces', Georgia, serif !important;
	font-variation-settings: 'SOFT' 100;
	font-weight: 500 !important;
	font-size: 22px !important;
	color: var(--anteros-cream) !important;
	margin: 0 !important;
}

.anteros-pet-visual {
	aspect-ratio: 1;
	background: rgba(244, 236, 216, 0.05);
	border: 1px solid rgba(244, 236, 216, 0.2);
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	margin: 0 !important;
}

.anteros-pet-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.anteros-pet-visual::before,
.anteros-pet-visual::after {
	content: '';
	position: absolute;
	width: 28px; height: 28px;
	border: 1.5px solid var(--anteros-green-light);
	opacity: 0.6;
	pointer-events: none;
	z-index: 2;
}
.anteros-pet-visual::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.anteros-pet-visual::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* ============================================================
   EVENT CARDS
   ============================================================ */
.anteros-event-card {
	background: var(--anteros-paper);
	border: 1px solid var(--anteros-cream-darker);
	border-left: 3px solid var(--anteros-green);
	padding: 28px 24px !important;
	transition: all 0.3s ease;
	margin: 0 !important;
}

.anteros-event-card:hover {
	border-left-color: var(--anteros-crimson);
	transform: translateX(3px);
	box-shadow: 0 8px 18px rgba(26, 20, 16, 0.06);
}

.anteros-event-date {
	font-family: 'Fraunces', Georgia, serif !important;
	font-variation-settings: 'SOFT' 100, 'opsz' 14;
	font-weight: 500 !important;
	font-style: italic;
	font-size: 13px !important;
	color: var(--anteros-green-dark) !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 10px !important;
}

.anteros-event-name {
	font-family: 'Fraunces', Georgia, serif !important;
	font-weight: 500 !important;
	font-size: 22px !important;
	margin: 0 0 8px !important;
	color: var(--anteros-ink) !important;
	line-height: 1.2;
}

.anteros-event-location {
	font-size: 16px !important;
	color: var(--anteros-ink-soft) !important;
	font-style: italic;
	margin: 0 0 12px !important;
}

.anteros-event-booth {
	font-size: 13px !important;
	color: var(--anteros-crimson) !important;
	font-family: 'Fraunces', Georgia, serif !important;
	font-weight: 500 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 !important;
}

/* ============================================================
   ORNAMENT SVGs
   ============================================================ */
.anteros-vine-flourish,
.anteros-vine-divider,
.anteros-classical-band {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.anteros-vine-flourish { width: 320px; max-width: 100%; height: auto; }
.anteros-vine-divider { width: 220px; max-width: 100%; height: auto; opacity: 0.85; }
.anteros-classical-band { width: 80px; height: auto; opacity: 0.75; }

/* ============================================================
   FOOTER
   ============================================================ */
.anteros-footer {
	background: var(--anteros-cream);
	border-top: 1px solid var(--anteros-cream-darker);
	padding: 70px 32px 40px;
}

.anteros-footer h4 {
	font-family: 'Fraunces', Georgia, serif;
	font-variation-settings: 'SOFT' 100;
	font-style: italic;
	font-weight: 500;
	font-size: 18px;
	margin: 0 0 16px;
	color: var(--anteros-ink);
}

.anteros-footer a {
	color: var(--anteros-ink-soft);
	text-decoration: none;
	transition: color 0.3s;
}
.anteros-footer a:hover { color: var(--anteros-crimson); }

.anteros-footer-bottom {
	text-align: center;
	padding-top: 32px;
	margin-top: 48px;
	border-top: 1px solid var(--anteros-cream-darker);
	font-size: 14px;
	color: var(--anteros-grey);
	font-style: italic;
}

/* ============================================================
   GENERAL LAYOUT
   ============================================================ */
.anteros-section { padding: 90px 0; position: relative; }

@media (max-width: 600px) {
	.anteros-section { padding: 64px 0; }
	.anteros-hero { padding: 32px 0 64px; }
}

/* Hide default WP page title block in templates that don't use one */
.is-page-no-title .wp-block-post-title { display: none; }
