/*!
Theme Name: PerfumeCologne Midnight
Theme URI: https://perfumecologne.us/
Author: PerfumeCologne.us
Description: An owned classic editorial theme for the PerfumeCologne fragrance library, derived from a clean Automattic Underscores reference.
Version: 0.2.5
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: perfumecologne-midnight
Tags: custom-logo, custom-menu, translation-ready
*/

:root {
	--pc-ink: #120b16;
	--pc-aubergine: #251128;
	--pc-plum: #4a203f;
	--pc-wine: #71334e;
	--pc-rose: #d9a49b;
	--pc-rose-bright: #f1c8bd;
	--pc-ivory: #f8eee8;
	--pc-muted: rgba(248, 238, 232, 0.68);
	--pc-line: rgba(241, 200, 189, 0.22);
	--pc-shadow: 0 28px 70px rgba(3, 0, 6, 0.42);
	--pc-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--pc-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	min-width: 320px;
	margin: 0;
	color: var(--pc-ivory);
	background:
		radial-gradient(circle at 80% 10%, rgba(113, 51, 78, 0.35), transparent 34rem),
		radial-gradient(circle at 12% 41%, rgba(74, 32, 63, 0.55), transparent 30rem),
		linear-gradient(145deg, var(--pc-ink), #1d0d20 45%, #110b17);
	font-family: var(--pc-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body::before {
	position: fixed;
	z-index: 20;
	inset: 0;
	content: "";
	pointer-events: none;
	opacity: 0.12;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--pc-rose-bright); outline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.glass-panel {
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--pc-shadow);
	backdrop-filter: blur(18px);
}
.eyebrow {
	margin: 0;
	color: var(--pc-rose);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.announcement {
	position: relative;
	z-index: 12;
	padding: 9px 24px;
	border-bottom: 1px solid rgba(241, 200, 189, 0.15);
	background: rgba(15, 7, 18, 0.86);
	color: #efd8d1;
	font-size: 0.67rem;
	letter-spacing: 0.14em;
	text-align: center;
	text-transform: uppercase;
}
.site-header {
	position: absolute;
	z-index: 10;
	top: 35px;
	left: 0;
	right: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 84px;
	gap: 24px;
}
.nav-list ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-list a, .nav-tools button, .menu-toggle {
	border: 0;
	background: none;
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	cursor: pointer;
}
.nav-list a { position: relative; display: block; padding-block: 12px; }
.nav-list a::after { position: absolute; right: 100%; bottom: 6px; left: 0; height: 1px; content: ""; background: var(--pc-rose); transition: right 0.25s; }
.nav-list a:hover::after { right: 0; }
.logo { display: inline-block; line-height: 0.9; text-align: center; }
.logo strong { display: block; font: 600 1.55rem/1 var(--pc-serif); letter-spacing: 0.12em; text-transform: uppercase; }
.logo span { color: var(--pc-rose); font-size: 0.48rem; letter-spacing: 0.34em; text-transform: uppercase; }
.nav-tools { justify-self: end; }
.menu-toggle { display: none; }

.hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: 810px;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(15, 7, 18, 0.96), rgba(17, 7, 20, 0.72) 48%, rgba(17, 7, 20, 0.16)),
		radial-gradient(circle at 76% 48%, rgba(217, 164, 155, 0.26), transparent 18rem),
		linear-gradient(145deg, #170b1a, #35162f 58%, #120b16);
}
.hero::after {
	position: absolute;
	top: 110px;
	right: -230px;
	width: 580px;
	height: 580px;
	border: 1px solid rgba(244, 199, 190, 0.22);
	border-radius: 50%;
	content: "";
	box-shadow: 0 0 100px rgba(212, 146, 139, 0.11), inset 0 0 80px rgba(212, 146, 139, 0.05);
}
.hero-orb { position: absolute; border: 1px solid rgba(241, 200, 189, 0.24); border-radius: 50%; filter: blur(0.2px); }
.hero-orb-one { top: 34%; right: 16%; width: 230px; height: 230px; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.2), rgba(113,51,78,0.08) 42%, rgba(8,3,10,0.55)); box-shadow: 0 35px 80px rgba(0,0,0,0.45); }
.hero-orb-two { top: 50%; right: 8%; width: 110px; height: 110px; background: rgba(241,200,189,0.08); }
.hero-content { position: relative; z-index: 2; padding: 220px 0 120px; }
.hero-content > * { max-width: 680px; }
.hero h1 { margin: 20px 0 26px; font: 500 clamp(4rem, 7.5vw, 7.2rem)/0.84 var(--pc-serif); letter-spacing: -0.045em; }
.hero h1 em { display: block; color: var(--pc-rose-bright); font-weight: 400; }
.hero-copy { color: var(--pc-muted); font-size: 1rem; font-weight: 350; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button-primary, .button-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 27px;
	border: 1px solid var(--pc-rose);
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}
.button-primary { background: var(--pc-rose); color: #1a0d18; }
.button-secondary { border-color: rgba(255,255,255,0.32); background: rgba(17,7,20,0.18); }
.button-primary:hover, .button-secondary:hover { transform: translateY(-2px); background: var(--pc-rose-bright); color: #1a0d18; box-shadow: 0 12px 30px rgba(201,141,137,0.22); }
.hero-note { position: absolute; z-index: 2; right: 5%; bottom: 54px; margin: 0; color: rgba(248,238,232,0.58); font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; transform: rotate(90deg); transform-origin: right bottom; }

section { padding: 110px 0; }
.section-heading { margin-bottom: 44px; }
.section-heading h2, .foundation-copy h2 { max-width: 760px; margin: 12px 0 0; font: 500 clamp(2.8rem, 5vw, 4.8rem)/0.94 var(--pc-serif); letter-spacing: -0.035em; }
.discovery-paths { position: relative; z-index: 4; margin-top: -38px; padding-top: 0; }
.discovery-paths .section-heading { padding-top: 94px; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.path-card { position: relative; min-height: 270px; padding: 36px; border-right: 1px solid rgba(255,255,255,0.12); transition: background 0.25s; }
.path-card:last-child { border-right: 0; }
.path-card:hover { background: rgba(255,255,255,0.08); }
.path-number { color: rgba(241,200,189,0.58); font: italic 1.1rem var(--pc-serif); }
.path-arrow { position: absolute; top: 34px; right: 34px; display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--pc-line); border-radius: 50%; color: var(--pc-rose); }
.path-card h3 { margin: 52px 0 10px; font: 500 2.2rem/1 var(--pc-serif); }
.path-card p { max-width: 300px; margin: 0; color: rgba(248,238,232,0.58); font-size: 0.82rem; }

.library-foundation { background: linear-gradient(180deg, transparent, rgba(81,34,67,0.18), transparent); }
.foundation-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 590px; overflow: hidden; }
.foundation-art { position: relative; min-height: 480px; overflow: hidden; background: radial-gradient(circle at 50% 44%, rgba(217,164,155,0.34), transparent 7rem), linear-gradient(145deg, #170b1a, #562444 62%, #180c1b); }
.foundation-art::before, .foundation-art::after { position: absolute; content: ""; border: 1px solid rgba(241,200,189,0.26); border-radius: 50%; }
.foundation-art::before { width: 420px; height: 420px; top: 80px; left: -80px; }
.foundation-art::after { width: 240px; height: 240px; top: 178px; left: 90px; box-shadow: 0 0 80px rgba(217,164,155,0.2); }
.foundation-art span { position: absolute; bottom: 75px; width: 66px; border: 1px solid rgba(241,200,189,0.36); background: linear-gradient(rgba(255,255,255,0.16), rgba(0,0,0,0.15)); box-shadow: 0 25px 45px rgba(0,0,0,0.35); }
.foundation-art span:nth-child(1) { left: 24%; height: 210px; }
.foundation-art span:nth-child(2) { left: 43%; height: 270px; width: 82px; }
.foundation-art span:nth-child(3) { left: 66%; height: 180px; }
.foundation-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 7vw, 92px); }
.foundation-copy p:not(.eyebrow) { color: var(--pc-muted); }

.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--pc-line); background: var(--pc-line); }
.principles-grid article { min-height: 235px; padding: 36px; background: #190e1c; }
.principles-grid article > span { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--pc-line); border-radius: 50%; color: var(--pc-rose); font: italic 1rem var(--pc-serif); }
.principles-grid h3 { margin: 28px 0 9px; font: 500 1.55rem var(--pc-serif); }
.principles-grid p { margin: 0; color: rgba(248,238,232,0.56); font-size: 0.8rem; }

.site-footer { padding: 72px 0 26px; border-top: 1px solid var(--pc-line); background: rgba(7,3,9,0.5); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 58px; }
.footer-brand .logo { text-align: left; }
.footer-brand p { max-width: 340px; color: rgba(248,238,232,0.5); font-size: 0.76rem; }
.site-footer h2 { margin: 0 0 18px; color: var(--pc-rose); font: 700 0.65rem var(--pc-sans); letter-spacing: 0.2em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 9px 0; }
.site-footer li a { color: rgba(248,238,232,0.66); font: 500 1.05rem var(--pc-serif); }
.site-footer li a:hover { color: var(--pc-rose-bright); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.09); color: rgba(248,238,232,0.55); font-size: 0.75rem; letter-spacing: 0.09em; text-transform: uppercase; }

.drawer-backdrop { position: fixed; z-index: 29; inset: 0; background: rgba(5,2,7,0.72); }
.drawer { position: fixed; z-index: 30; top: 0; right: 0; bottom: 0; width: min(430px, 92vw); padding: 38px; border-left: 1px solid var(--pc-line); background: linear-gradient(150deg, #32172f, #140b18); box-shadow: -30px 0 80px rgba(0,0,0,0.45); transform: translateX(102%); transition: transform 0.35s ease; }
.drawer.is-open { transform: translateX(0); }
.drawer-close { display: grid; place-items: center; width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--pc-line); border-radius: 50%; background: transparent; cursor: pointer; }
.drawer .eyebrow { margin-top: 54px; }
.drawer h2 { margin: 14px 0 30px; font: 500 3rem/0.94 var(--pc-serif); }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 0 15px; border: 1px solid var(--pc-line); border-radius: 0; background: rgba(6,2,8,0.3); color: var(--pc-ivory); }
.search-submit { min-height: 48px; padding: 0 18px; border: 1px solid var(--pc-rose); background: var(--pc-rose); color: #1a0d18; cursor: pointer; }

.site-main:not(.midnight-front-page .site-main), .content-area { width: min(920px, calc(100% - 48px)); margin: 0 auto; padding: 180px 0 100px; }
.entry-title, .page-title { font: 500 clamp(2.8rem, 6vw, 5rem)/0.95 var(--pc-serif); }
.entry-content, .entry-summary { color: var(--pc-muted); }
.entry-content a { color: var(--pc-rose-bright); text-decoration: underline; text-underline-offset: 3px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); border: 0; word-wrap: normal !important; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; display: block; width: auto; height: auto; padding: 14px 20px; clip: auto !important; clip-path: none; background: var(--pc-ivory); color: var(--pc-ink); font-weight: 700; }

@media (max-width: 900px) {
	.nav-list { display: none; }
	.main-navigation.toggled .nav-list { position: absolute; top: 84px; right: 0; left: 0; display: block; padding: 22px max(24px, calc((100vw - 1220px) / 2)); border-top: 1px solid var(--pc-line); background: rgba(18, 11, 22, 0.97); box-shadow: 0 24px 50px rgba(0,0,0,0.36); }
	.main-navigation.toggled .nav-list ul { align-items: flex-start; flex-direction: column; gap: 4px; }
	.menu-toggle { display: inline-block; justify-self: start; }
	.hero-orb { opacity: 0.5; }
	.path-grid { grid-template-columns: 1fr 1fr; }
	.path-card:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.12); }
	.foundation-grid { grid-template-columns: 1fr; }
	.foundation-art { min-height: 430px; }
}
@media (max-width: 620px) {
	.shell { width: min(100% - 30px, 1220px); }
	.announcement { padding: 8px 12px; font-size: 0.75rem; letter-spacing: 0.08em; }
	.site-header { position: relative; top: auto; } /* in flow on phones: the announcement may wrap */
	.nav { min-height: 70px; gap: 10px; }
	.main-navigation.toggled .nav-list { top: 70px; }
	.logo strong { font-size: 1.05rem; letter-spacing: 0.08em; }
	.logo span { font-size: 0.4rem; letter-spacing: 0.25em; }
	.search-trigger { font-size: 0 !important; white-space: nowrap; } /* keeps the accessible name "Search library" */
	.search-trigger::after { content: "Search"; color: var(--pc-ivory); font-size: 0.7rem; letter-spacing: 0.15em; }
	.hero { min-height: 730px; }
	.hero-content { padding: 90px 0 90px; }
	.hero h1 { font-size: clamp(3.7rem, 18vw, 5.4rem); }
	.hero-copy { max-width: 94%; }
	.hero-actions { flex-direction: column; max-width: 285px; }
	.hero-note, .hero-orb { display: none; }
	section { padding: 82px 0; }
	.discovery-paths { margin-top: -22px; }
	.discovery-paths .section-heading { padding-top: 80px; }
	.section-heading h2, .foundation-copy h2 { font-size: 3.1rem; }
	.path-grid, .principles-grid { grid-template-columns: 1fr; }
	.path-card { min-height: 230px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
	.path-card:last-child { grid-column: auto; border-bottom: 0; }
	.foundation-art { min-height: 370px; }
	.foundation-copy { padding: 42px 26px 50px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 22px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; gap: 12px; }
}
/* ---------------------------------------------------------------------------
 * Editorial pages: singles, indexes, taxonomy archives (render plan Task 7)
 * Mobile first; tokens from :root; no web fonts, no JavaScript.
 * ------------------------------------------------------------------------ */

.pc-page { color: var(--pc-ivory); }
.pc-page h2 { margin: 2.4em 0 0.6em; font: 500 clamp(1.6rem, 4vw, 2.2rem)/1.1 var(--pc-serif); letter-spacing: -0.01em; }
.pc-page h3 { margin: 1.6em 0 0.5em; font: 500 1.25rem/1.2 var(--pc-serif); color: var(--pc-rose-bright); }

.pc-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 22px; padding: 0; list-style: none; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(248,238,232,0.6); }
.pc-breadcrumb li:not(:last-child)::after { margin: 0 10px; content: "\203A"; color: var(--pc-rose); }
.pc-breadcrumb a { color: var(--pc-rose); }
.pc-breadcrumb a:hover { color: var(--pc-rose-bright); }
.pc-breadcrumb [aria-current] { color: rgba(248,238,232,0.8); }

.entry-header, .page-header { margin-bottom: 34px; }
.entry-title, .page-title { margin: 0; overflow-wrap: anywhere; }
.pc-hook { max-width: 46em; margin: 22px 0 0; color: var(--pc-ivory); font: 400 clamp(1.1rem, 2.6vw, 1.3rem)/1.55 var(--pc-serif); }
.pc-term-description { max-width: 46em; margin-top: 20px; color: var(--pc-muted); }

.pc-figure { margin: 0 0 34px; }
.pc-figure img { width: 100%; border: 1px solid var(--pc-line); background: var(--pc-ivory); }
.pc-figure figcaption { margin-top: 8px; color: rgba(248,238,232,0.55); font-size: 0.75rem; }
.pc-figure--hero { max-width: 560px; } /* matches the hero sizes attribute (core picture data) */
.pc-figure--logo { max-width: 200px; }
.pc-figure--logo img { border: 0; background: transparent; }
.pc-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 34px 0; }
.pc-gallery .pc-figure { margin: 0; }

.entry-content { font-size: 1.02rem; line-height: 1.75; }
.entry-content > * { max-width: 46em; }
.entry-content h2, .entry-content h3 { color: var(--pc-ivory); }
.entry-content h3 { color: var(--pc-rose-bright); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin: 0.3em 0; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--pc-rose); color: var(--pc-ivory); font: italic 1.15rem/1.6 var(--pc-serif); }
.entry-content strong { color: var(--pc-ivory); }

.pc-kind { margin: 0 0 10px; color: var(--pc-rose); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.pc-kind a:hover { color: var(--pc-rose-bright); }
.pc-last-verified { margin: 0 0 24px; color: rgba(248,238,232,0.55); font-size: 0.78rem; }

.pc-facts, .pc-hub-panel, .pc-offers { margin: 46px 0; padding: 24px 22px; border: 1px solid var(--pc-line); background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)); }
.pc-facts h2, .pc-hub-panel h2 { margin: 0 0 16px; color: var(--pc-rose); font: 700 0.7rem/1.4 var(--pc-sans); letter-spacing: 0.22em; text-transform: uppercase; }
.pc-facts dl { margin: 0; }
.pc-facts__row { padding: 10px 0; border-top: 1px solid rgba(241,200,189,0.12); }
.pc-facts__row:first-child { border-top: 0; padding-top: 0; }
.pc-facts dt { color: rgba(248,238,232,0.6); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.pc-facts dd { margin: 2px 0 0; }
.pc-facts dd a, .pc-hub-panel a, .pc-offers a, .pc-sources a, .pc-term-description a { color: var(--pc-rose-bright); text-decoration: underline; text-decoration-color: rgba(241,200,189,0.4); text-underline-offset: 3px; }
.pc-facts dd a:hover, .pc-hub-panel a:hover, .pc-offers a:hover, .pc-sources a:hover, .pc-term-description a:hover { text-decoration-color: currentColor; }
.pc-list a { color: var(--pc-rose-bright); }
.pc-list a:hover, .pc-list a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.pc-facts__note { color: rgba(248,238,232,0.6); font-size: 0.85em; }
.pc-source-mark { color: var(--pc-rose); }
.pc-facts__legend { margin: 14px 0 0; color: rgba(248,238,232,0.55); font-size: 0.75rem; }

.pc-hub-panel h3 { margin: 14px 0 6px; font: 600 0.8rem var(--pc-sans); letter-spacing: 0.08em; color: var(--pc-ivory); }
.pc-hub-panel ul, .pc-offers ul, .pc-sources ul, .pc-list ul, .pc-article-index { margin: 0; padding: 0; list-style: none; }
.pc-hub-panel li, .pc-offers li { margin: 4px 0; }
.pc-offers__disclosure { display: block; color: rgba(248,238,232,0.55); font-size: 0.75rem; }

.pc-dan-note { margin: 46px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--pc-rose); color: var(--pc-ivory); font: italic 1.1rem/1.6 var(--pc-serif); }

.pc-sources { margin-top: 46px; padding: 0; font-size: 0.85rem; }
.pc-sources h2 { font-size: 1.3rem; }
.pc-sources li { margin: 6px 0; overflow-wrap: anywhere; }

section.pc-list, section.pc-sources { padding: 0; }
.pc-list { margin: 40px 0; }
.pc-list li { padding: 9px 0; border-bottom: 1px solid rgba(241,200,189,0.1); }
.pc-list__meta, .pc-list__with, .pc-list__role { color: rgba(248,238,232,0.55); font-size: 0.82rem; }
.pc-list__meta::before, .pc-list__with::before, .pc-list__role::before { content: "\00B7\00A0"; }
.pc-list--alpha, .pc-list--brand { margin: 28px 0; }
.pc-list--alpha h2 { margin: 0 0 6px; color: var(--pc-rose); font-size: 1.9rem; }
.pc-list--brand h2 { margin: 0 0 6px; font-size: 1.5rem; }
.pc-list--brand h2 a { color: var(--pc-ivory); text-decoration: none; }
.pc-list--brand h2 a:hover { color: var(--pc-rose-bright); }

.pc-article-index__item { padding: 22px 0; border-bottom: 1px solid var(--pc-line); }
.pc-article-index__item:first-child { padding-top: 0; }
.pc-page .pc-article-index__title { margin: 0 0 6px; font: 500 clamp(1.4rem, 3.6vw, 1.9rem)/1.15 var(--pc-serif); }
.pc-article-index__title a { color: var(--pc-ivory); text-decoration: none; }
.pc-article-index__title a:hover { color: var(--pc-rose-bright); }
.pc-article-index__hook { margin: 0; color: var(--pc-muted); }

.pc-empty { color: var(--pc-muted); font-style: italic; }

.pc-pagination { margin: 48px 0 0; }
.pc-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pc-pagination li > .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--pc-line); font-size: 0.8rem; letter-spacing: 0.08em; }
.pc-pagination a.page-numbers:hover { border-color: var(--pc-rose); color: var(--pc-rose-bright); }
.pc-pagination li > .current { border-color: var(--pc-rose); background: var(--pc-rose); color: #1a0d18; }

@media (min-width: 621px) {
	.pc-facts, .pc-hub-panel, .pc-offers { padding: 30px 34px; }
	.pc-facts__row { display: grid; grid-template-columns: 11rem 1fr; gap: 18px; align-items: baseline; }
	.pc-facts dd { margin: 0; }
	.pc-gallery { grid-template-columns: repeat(3, 1fr); }
	.pc-list--alpha ul, .pc-list--brand ul { columns: 2; column-gap: 40px; }
	.pc-list--alpha li, .pc-list--brand li { break-inside: avoid; }
}
@media (max-width: 620px) {
	.site-main:not(.midnight-front-page .site-main), .content-area { width: calc(100% - 30px); padding: 36px 0 72px; }
}
@media (max-width: 380px) {
	.search-trigger::after, .menu-toggle { letter-spacing: 0.05em; }
	.logo strong { font-size: 0.92rem; letter-spacing: 0.05em; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---- Help pages (404, search) and the "Last Drop" flacon; back to top (theme 0.2.3) ---- */
.pc-page--help { max-width: 820px; }
.pc-help-hero { display: grid; grid-template-columns: 190px 1fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.pc-help-hero--compact { grid-template-columns: 64px 1fr; gap: 18px; }
.pc-help-hero .page-header { margin: 0; }
.pc-help-lede { color: var(--pc-muted); font-size: 1.05rem; margin: 10px 0 0; }
.pc-flacon { width: 100%; height: auto; overflow: visible; }
.pc-flacon path, .pc-flacon rect { fill: none; stroke: var(--pc-rose-bright); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.pc-flacon .pc-flacon__glass { fill: var(--pc-plum); fill-opacity: .55; }
.pc-flacon .pc-flacon__stopper { fill: var(--pc-wine); }
.pc-flacon .pc-flacon__juice { fill: #c9893f; stroke: none; opacity: .85; }
.pc-flacon .pc-flacon__drop { fill: #e0a24f; stroke: none; }
.pc-flacon .pc-flacon__shine { stroke: var(--pc-ivory); stroke-opacity: .25; }
.pc-flacon .pc-flacon__shelf { stroke: var(--pc-line); }
.pc-flacon .pc-flacon__ribbon { stroke: var(--pc-rose-bright); stroke-width: 2.6; stroke-dasharray: 5 6; opacity: .9; }
.pc-flacon .pc-flacon__q { stroke: var(--pc-rose-bright); stroke-width: 2.5; opacity: 0; }
.pc-flacon--evaporated .pc-flacon__ribbon--2, .pc-flacon--evaporated .pc-flacon__ribbon--3 { opacity: .35; }
.pc-flacon--evaporated .pc-flacon__juice { transform: translateY(14px); clip-path: inset(0 0 14px 0); }
.pc-flacon--empty .pc-flacon__ribbons { opacity: .35; }
.pc-flacon--empty .pc-flacon__q { opacity: .9; }
.pc-flacon--empty .pc-flacon__juice, .pc-flacon--empty .pc-flacon__drop { opacity: 0; }
.pc-flacon--found .pc-flacon__ribbon { stroke-dasharray: none; opacity: .9; }
.pc-flacon--found .pc-flacon__drop, .pc-flacon--found .pc-flacon__shelf { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pc-flacon--evaporated .pc-flacon__ribbon--1 { animation: pc-evaporate 2.4s ease-out .4s 1 both; }
}
@keyframes pc-evaporate { from { opacity: .8; transform: translateY(0); } to { opacity: .12; transform: translateY(-8px); } }
.pc-help-sections ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0; }
.pc-help-sections a { display: inline-block; padding: 9px 16px; border: 1px solid var(--pc-line); border-radius: 999px; color: var(--pc-ivory); text-decoration: none; }
.pc-help-sections a:hover, .pc-help-sections a:focus-visible { border-color: var(--pc-rose); color: var(--pc-rose-bright); }
.pc-help-alts { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin: 0 0 18px; }
.pc-help-alts span, .pc-help-surprise span { color: var(--pc-muted); }
.pc-help-alts a { color: var(--pc-rose-bright); font-weight: 600; }
.pc-help-discovery { border-top: 1px solid var(--pc-line); margin-top: 26px; padding-top: 18px; }
.pc-help-recent h2 { font-family: var(--pc-serif); font-size: 1.25rem; margin: 0 0 10px; }
.pc-help-recent ul { list-style: none; padding: 0; margin: 0; }
.pc-help-recent li { padding: 7px 0; border-bottom: 1px solid var(--pc-line); }
.pc-help-recent .pc-kind { display: inline; margin-left: 6px; font-size: .8rem; color: var(--pc-muted); }
.pc-help-surprise { margin: 18px 0 0; }
.pc-help-surprise a { color: var(--pc-rose-bright); font-weight: 600; }
@media (max-width: 600px) {
  .pc-help-hero { grid-template-columns: 1fr; gap: 12px; }
  .pc-help-hero .pc-flacon { width: 130px; }
  .pc-help-hero--compact { grid-template-columns: 48px 1fr; }
  .pc-help-hero--compact .pc-flacon { width: 48px; }
}
.pc-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--pc-wine); color: var(--pc-ivory); border: 1px solid var(--pc-line); box-shadow: var(--pc-shadow); text-decoration: none; font-size: 1.3rem; line-height: 1; opacity: .92; transition: opacity .2s, transform .2s, visibility .2s; }
.pc-to-top.is-auto:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(8px); }
.pc-to-top:hover, .pc-to-top:focus-visible { opacity: 1; background: var(--pc-plum); outline: 2px solid var(--pc-rose); outline-offset: 2px; }
@media print { .pc-to-top { display: none; } }

/* ---- Sticky compact header (theme 0.2.4): fixed after the masthead scrolls away, hides on scroll-down,
   returns on scroll-up. Without JS the header stays as it is. ---- */
.site-header.is-stuck { position: fixed; top: 0; z-index: 30; background: rgba(18, 11, 22, 0.96); box-shadow: 0 10px 30px rgba(3, 0, 6, 0.35); transition: transform 0.25s ease; }
@supports (backdrop-filter: blur(8px)) { .site-header.is-stuck { background: rgba(18, 11, 22, 0.86); backdrop-filter: blur(8px); } }
.site-header.is-stuck .nav { min-height: 58px; }
.site-header.is-stuck .logo strong { font-size: 1.15rem; }
.site-header.is-stuck .logo span { display: none; }
.site-header.is-stuck.is-hidden { transform: translateY(-105%); }
.site-header.is-stuck .main-navigation.toggled .nav-list { top: 58px; }
.site-header.is-arriving { animation: pc-header-in 0.25s ease both; }
@keyframes pc-header-in { from { transform: translateY(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-header.is-stuck, .site-header.is-arriving { transition: none; animation: none; } }

/* Footer credit (theme 0.2.5) */
.footer-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(248,238,232,0.3); text-underline-offset: 3px; }
.footer-credit a:hover, .footer-credit a:focus-visible { color: var(--pc-rose-bright); text-decoration-color: currentColor; }
@media (max-width: 760px) { .site-footer { padding-bottom: 86px; } } /* keep the last footer line clear of the back-to-top button */
