/*
Theme Name: Aurora Archive 24
Theme URI: https://auroraarchive24.com/
Author: WP Vibecoder
Description: A clean editorial WordPress theme for Aurora Archive 24 exhibitions and archival projects.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wp-vibecoder-starter
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--background: #eeeef7;
	--surface: #f8f6f1;
	--surface-soft: #ded9ea;
	--text: #0d42b5;
	--text-dark: #17151c;
	--muted: rgba(13, 66, 181, 0.58);
	--accent: #0d42b5;
	--accent-dark: #062b82;
	--warm: #b79a6b;
	--ink-soft: rgba(23, 21, 28, 0.62);
	--border: rgba(13, 66, 181, 0.18);
	--white-rule: rgba(255, 255, 255, 0.26);
	--content-width: 1180px;
	--font-editorial: "Cormorant Garamond", Cormorant, Georgia, serif;
	--font-functional: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--background);
	color: var(--text);
	font-family: var(--font-functional);
	font-size: 18px;
	line-height: 1.65;
	margin: 0;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}

body.home,
body.page-template,
body.page {
	background: var(--background);
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

a {
	color: inherit;
}

.site-container {
	margin-inline: auto;
	max-width: var(--content-width);
	padding-inline: clamp(20px, 4vw, 44px);
	width: 100%;
}

.site-header {
	animation: aurora-fade-down 720ms ease both;
	background: rgba(238, 238, 247, 0.94);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 20;
}

.site-header__inner {
	align-items: center;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	min-height: 82px;
}

.site-title,
.footer-brand {
	align-items: center;
	color: var(--accent);
	display: inline-flex;
	font-family: var(--font-editorial);
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	gap: 12px;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.brand-mark {
	flex: 0 0 auto;
	height: 44px;
	width: auto;
}

.site-title__text {
	align-items: center;
	display: inline-flex;
}

.site-title__number {
	border: 1px solid currentColor;
	display: inline-grid;
	font-family: var(--font-functional);
	font-size: 0.62em;
	height: 2.15em;
	margin-left: 0.42em;
	place-items: center;
	vertical-align: 0.15em;
	width: 2.15em;
}

.site-nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: clamp(14px, 2.5vw, 34px);
	justify-content: flex-end;
}

.site-nav a {
	color: var(--accent);
	font-family: var(--font-functional);
	font-size: 0.68rem;
	letter-spacing: 0.22em;
	opacity: 0.66;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus {
	opacity: 1;
}

.aurora-hero {
	border-bottom: 1px solid var(--border);
	min-height: clamp(560px, 72svh, 760px);
	padding-block: clamp(42px, 6vw, 72px);
}

.aurora-hero__grid {
	align-items: center;
	display: grid;
	gap: clamp(44px, 7vw, 108px);
	grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
}

.aurora-hero__copy {
	animation: aurora-rise 860ms ease 120ms both;
	max-width: 620px;
}

.eyebrow,
.pillar__number,
.feature-card span {
	color: var(--warm);
	display: block;
	font-family: var(--font-functional);
	font-size: 0.68rem;
	letter-spacing: 0.24em;
	line-height: 1.35;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.aurora-hero h1,
.editorial-band h2,
.section-heading h2,
.contact-panel h2,
.entry-title,
.content-section h2 {
	font-family: var(--font-editorial);
	font-weight: 300;
	letter-spacing: 0;
	line-height: 0.98;
	margin: 0;
}

.aurora-hero h1 {
	font-size: clamp(3.1rem, 5.35vw, 5.65rem);
	max-width: 11.5ch;
}

.aurora-hero h1 span {
	display: block;
	white-space: nowrap;
}

.aurora-hero__lede {
	color: var(--muted);
	font-size: clamp(1rem, 1.2vw, 1.16rem);
	line-height: 1.8;
	margin: 24px 0 0;
	max-width: 460px;
}

.hero-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 18px 30px;
	margin-top: 44px;
}

.button-link,
.text-link {
	font-family: var(--font-functional);
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-decoration: none;
	text-transform: uppercase;
}

.button-link {
	background: var(--accent);
	color: #fff;
	display: inline-flex;
	justify-content: center;
	min-width: 190px;
	padding: 15px 24px;
	transition: background 180ms ease;
}

.button-link:hover,
.button-link:focus {
	background: var(--accent-dark);
}

.text-link {
	border-bottom: 1px solid currentColor;
	color: var(--accent);
	padding-bottom: 4px;
}

.aurora-hero__image {
	animation: aurora-soft-reveal 980ms ease 260ms both;
	justify-self: end;
	margin: 0;
	max-width: 680px;
	position: relative;
	width: 100%;
}

.aurora-hero__image img {
	aspect-ratio: 16 / 10;
	border: 1px solid var(--border);
	object-fit: cover;
	transition: transform 700ms ease, filter 700ms ease;
	width: 100%;
}

.aurora-hero__image:hover img {
	filter: saturate(1.05);
	transform: scale(1.018);
}

.aurora-hero__image figcaption {
	color: var(--muted);
	font-family: var(--font-functional);
	font-size: 0.66rem;
	letter-spacing: 0.22em;
	margin-top: 14px;
	text-align: right;
	text-transform: uppercase;
}

.signal-bar {
	animation: aurora-fade-in 760ms ease 360ms both;
	background: var(--accent);
	color: rgba(255, 255, 255, 0.86);
}

.signal-bar__inner {
	display: flex;
	flex-wrap: wrap;
	font-family: var(--font-functional);
	font-size: 0.68rem;
	gap: 12px 28px;
	justify-content: space-between;
	letter-spacing: 0.24em;
	padding-block: 13px;
	text-transform: uppercase;
}

.pillars {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding-block: clamp(44px, 7vw, 78px);
}

.pillar {
	animation: aurora-rise 760ms ease both;
	border-left: 1px solid var(--border);
	min-height: 260px;
	padding: clamp(22px, 3vw, 34px);
}

.pillar:nth-child(1) {
	animation-delay: 120ms;
}

.pillar:nth-child(2) {
	animation-delay: 200ms;
}

.pillar:nth-child(3) {
	animation-delay: 280ms;
}

.pillar:nth-child(4) {
	animation-delay: 360ms;
}

.pillar:last-child {
	border-right: 1px solid var(--border);
}

.pillar h2 {
	font-family: var(--font-editorial);
	font-size: clamp(1.7rem, 2.4vw, 2.35rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.02;
	margin: 0 0 18px;
}

.pillar p {
	color: var(--muted);
	font-size: 0.94rem;
	line-height: 1.85;
	margin: 0;
}

.editorial-band {
	animation: aurora-fade-in 820ms ease both;
	background: var(--accent);
	color: #fff;
	padding-block: clamp(60px, 9vw, 108px);
}

.editorial-band__inner {
	display: grid;
	gap: clamp(28px, 5vw, 70px);
	grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
}

.editorial-band .eyebrow {
	color: rgba(255, 255, 255, 0.62);
	grid-column: 1 / -1;
	margin-bottom: 0;
}

.editorial-band h2 {
	font-size: clamp(3rem, 6.7vw, 7rem);
}

.editorial-band p:not(.eyebrow) {
	align-self: end;
	border-left: 1px solid var(--white-rule);
	color: rgba(255, 255, 255, 0.72);
	font-size: clamp(1.02rem, 1.55vw, 1.22rem);
	line-height: 1.9;
	margin: 0;
	padding-left: clamp(24px, 4vw, 44px);
}

.featured-section {
	padding-block: clamp(54px, 8vw, 96px);
}

.section-heading {
	animation: aurora-rise 760ms ease both;
	align-items: end;
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	margin-bottom: 32px;
}

.section-heading h2 {
	font-size: clamp(2.6rem, 5.2vw, 5.8rem);
	max-width: 780px;
}

.feature-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: 1.35fr 0.82fr 0.82fr;
}

.feature-card {
	animation: aurora-rise 760ms ease both;
	min-height: 430px;
	overflow: hidden;
	padding: clamp(24px, 3vw, 34px);
	position: relative;
	transition: transform 260ms ease, box-shadow 260ms ease;
}

.feature-card:nth-child(2) {
	animation-delay: 120ms;
}

.feature-card:nth-child(3) {
	animation-delay: 220ms;
}

.feature-card:hover {
	transform: translateY(-4px);
}

.feature-card h3 {
	font-family: var(--font-editorial);
	font-size: clamp(2rem, 3.1vw, 3.45rem);
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1.04;
	margin: 0;
}

.feature-card--image {
	align-items: end;
	color: #fff;
	display: flex;
	min-height: 430px;
	padding: 0;
}

.feature-grid .feature-card--image:first-child {
	min-height: 560px;
}

.feature-card--image img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	transition: transform 760ms ease, filter 760ms ease;
	width: 100%;
}

.feature-card--image:hover img {
	filter: saturate(1.06);
	transform: scale(1.025);
}

.feature-card--image::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.52));
	content: "";
	inset: 0;
	position: absolute;
}

.feature-card__copy {
	padding: clamp(24px, 3vw, 38px);
	position: relative;
	z-index: 1;
}

.feature-card--image span {
	color: rgba(255, 255, 255, 0.78);
}

.feature-card--blue {
	background: var(--accent);
	color: #fff;
}

.feature-card--blue span {
	color: rgba(255, 255, 255, 0.62);
}

.feature-card--light {
	background: var(--surface);
	color: var(--accent);
}

.contact-panel {
	animation: aurora-rise 760ms ease both;
	border-top: 1px solid var(--border);
	padding-block: clamp(54px, 8vw, 92px);
}

@keyframes aurora-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes aurora-fade-down {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes aurora-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes aurora-soft-reveal {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 1ms !important;
	}
}

.contact-panel__inner {
	align-items: end;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
}

.contact-panel h2 {
	font-size: clamp(2.8rem, 5vw, 5.8rem);
	max-width: 760px;
}

.contact-panel p:not(.eyebrow) {
	border-left: 1px solid var(--border);
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.8;
	margin: 0;
	padding-left: 28px;
}

.site-footer {
	background: var(--surface);
	border-top: 1px solid var(--border);
	color: var(--accent);
}

.site-footer__inner {
	align-items: center;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr) minmax(0, 0.6fr);
	min-height: 118px;
	padding-block: 28px;
}

.footer-brand {
	gap: 14px;
}

.brand-mark--footer {
	height: 56px;
}

.footer-brand span {
	display: inline-block;
}

.footer-note,
.footer-domain {
	color: var(--ink-soft);
	font-family: var(--font-functional);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	margin: 0;
	text-transform: uppercase;
}

.footer-note {
	text-align: center;
}

.footer-domain {
	text-align: right;
}

.entry {
	margin-inline: auto;
	max-width: 760px;
}

.entry-title,
.content-section h2 {
	font-size: clamp(2.75rem, 6vw, 5rem);
}

.content-section {
	padding-block: clamp(54px, 8vw, 96px);
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.screen-reader-text:focus {
	background: #fff;
	clip: auto;
	clip-path: none;
	height: auto;
	left: 12px;
	padding: 12px;
	top: 12px;
	width: auto;
	z-index: 100000;
}

@media (max-width: 920px) {
	.site-header__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
		padding-block: 20px;
	}

	.site-nav {
		justify-content: flex-start;
	}

	.aurora-hero {
		min-height: auto;
	}

	.aurora-hero__grid,
	.editorial-band__inner,
	.section-heading,
	.contact-panel__inner {
		grid-template-columns: 1fr;
	}

	.aurora-hero h1 {
		max-width: 10ch;
	}

	.pillars,
	.feature-grid {
		grid-template-columns: 1fr 1fr;
	}

	.feature-card--image {
		grid-column: 1 / -1;
		min-height: 440px;
	}

	.editorial-band p:not(.eyebrow),
	.contact-panel p:not(.eyebrow) {
		border-left: 0;
		padding-left: 0;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.footer-note,
	.footer-domain {
		text-align: left;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 17px;
	}

	.site-title {
		font-size: 1.12rem;
	}

	.brand-mark {
		height: 34px;
	}

	.brand-mark--footer {
		height: 42px;
	}

	.site-nav {
		gap: 12px 18px;
	}

	.site-nav a,
	.button-link,
	.text-link,
	.signal-bar__inner {
		font-size: 0.62rem;
		letter-spacing: 0.16em;
	}

	.aurora-hero h1 {
		font-size: clamp(2.85rem, 13.8vw, 3.85rem);
		max-width: 100%;
	}

	.aurora-hero__lede {
		max-width: 30ch;
	}

	.aurora-hero__image img {
		aspect-ratio: 1 / 1.08;
	}

	.signal-bar__inner {
		display: grid;
		justify-content: start;
	}

	.pillars,
	.feature-grid {
		grid-template-columns: 1fr;
	}

	.pillar,
	.pillar:last-child {
		border-left: 0;
		border-right: 0;
		border-top: 1px solid var(--border);
		min-height: auto;
		padding-inline: 0;
	}

	.pillar:last-child {
		border-bottom: 1px solid var(--border);
	}

	.feature-card,
	.feature-card--image {
		min-height: 340px;
	}
}
