/*
 * Sonorelle main stylesheet.
 * A violet-black stage for songs from the late hours: poster-scale Abril
 * Fatface type that crosses the hero seam, a neon Mr Dafoe script leaning
 * across section titles, vinyl-record date badges, and dark cards that
 * bloom with a coral glow on hover.
 * Design tokens live on :root so Customizer colors can override them.
 */

:root {
	--so-accent: #e0785c;
	--so-accent-dark: #b34f33;
	--so-bg: #16131f;
	--so-band: #1e1a2a;
	--so-blush: #262033;
	--so-heading: #f0eae4;
	--so-text: #c6c1cf;
	--so-muted: #8f8899;
	--so-line: #322c40;
	--so-white: #1c1828; /* card/panel surface color in Sonorelle's dark palette */

	--so-font-serif: "Abril Fatface", Georgia, serif;
	--so-font-script: "Mr Dafoe", cursive;
	--so-font-body: "Epilogue", "Helvetica Neue", Arial, sans-serif;

	--so-container: 1200px;
	--so-radius: 0px;
	--so-shadow: 0 18px 45px -22px rgba(5, 3, 10, 0.8);
	--so-glow: 0 0 34px -4px rgba(224, 120, 92, 0.4), 0 20px 44px -18px rgba(5, 3, 10, 0.9);
	--so-transition: 0.25s ease;
}

/* ---------- Reset-ish base ---------- */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	/* clip (not hidden) contains .alignfull's 100vw without making body a scroll container, so buyer-added position:sticky and anchor scrolling keep working */
	overflow-x: clip;
	background: var(--so-bg);
	color: var(--so-text);
	font-family: var(--so-font-body);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--so-font-serif);
	color: var(--so-heading);
	font-weight: 400;
	line-height: 1.16;
	letter-spacing: 0.01em;
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1.2em;
}

a {
	color: var(--so-accent);
	text-decoration: none;
	transition: color var(--so-transition);
}

a:hover {
	color: #eb9a83;
}

.so-container {
	max-width: var(--so-container);
	margin-inline: auto;
	padding-inline: 24px;
}

::selection {
	background: var(--so-accent);
	color: #16131f;
}

/* ---------- Accessibility helpers ---------- */

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--so-accent);
	color: #16131f;
	padding: 10px 18px;
	z-index: 999;
}

.skip-link:focus {
	left: 0;
	color: #16131f;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--so-accent);
	outline-offset: 2px;
}

/* ---------- Type helpers: the neon script voice ---------- */

.so-eyebrow {
	display: inline-block;
	font-family: var(--so-font-script);
	font-size: clamp(22px, 2.6vw, 30px);
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--so-accent);
	line-height: 1.2;
	margin-bottom: 8px;
}

.so-script-accent {
	display: block;
	font-family: var(--so-font-script);
	font-size: clamp(26px, 3.4vw, 38px);
	color: var(--so-accent);
	line-height: 1.1;
	margin-bottom: 6px;
}

/* Centered poster headings: the script word leans across the title at -6°. */

.so-section-heading {
	position: relative;
	text-align: center;
	margin-bottom: 60px;
	padding-top: 10px;
}

.so-section-heading .so-eyebrow {
	position: absolute;
	left: 50%;
	top: 46%;
	transform: translate(-50%, -50%) rotate(-6deg);
	margin: 0;
	z-index: 2;
	pointer-events: none;
	text-shadow: 0 2px 18px rgba(22, 19, 31, 0.85);
}

.so-section-heading__title {
	font-size: clamp(34px, 4.4vw, 52px);
	margin: 0;
}

.so-section-heading__rule {
	display: none;
}

/* ---------- Buttons: coral pill outline with a faint glow on hover ---------- */

.so-button {
	position: relative;
	display: inline-block;
	font-family: var(--so-font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--so-accent);
	background: transparent;
	border: 1px solid var(--so-accent);
	border-radius: 999px;
	padding: 13px 32px;
	cursor: pointer;
	transition: transform var(--so-transition), color var(--so-transition), border-color var(--so-transition);
}

.so-button::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	box-shadow: 0 0 22px 0 rgba(224, 120, 92, 0.5);
	opacity: 0;
	transition: opacity var(--so-transition);
	pointer-events: none;
}

.so-button:hover {
	color: #eb9a83;
	border-color: #eb9a83;
	transform: translateY(-2px);
}

.so-button:hover::after {
	opacity: 1;
}

.so-button--ghost {
	background: transparent;
	color: var(--so-heading);
	border-color: var(--so-line);
}

.so-button--ghost:hover {
	color: var(--so-accent);
	border-color: var(--so-accent);
}

.so-textlink {
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--so-accent);
	padding-bottom: 3px;
}

/* ---------- Icons ---------- */

.so-icon {
	width: 1.05em;
	height: 1.05em;
	vertical-align: -0.18em;
}

/* ---------- Header ---------- */

.site-header {
	background: var(--so-white);
	border-bottom: 1px solid var(--so-line);
}

.so-header-top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
	padding-block: 26px;
}

.so-header-top__cta {
	justify-self: end;
}

.so-branding {
	text-align: center;
}

.so-logo-text {
	margin: 0;
	font-family: var(--so-font-script);
	font-weight: 400;
	font-size: clamp(36px, 4.6vw, 52px);
	line-height: 1.1;
}

.so-logo-text a {
	color: var(--so-heading);
}

.custom-logo-link img {
	max-height: 90px;
	width: auto;
	margin-inline: auto;
}

.so-social {
	list-style: none;
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.so-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: var(--so-heading);
	transition: background var(--so-transition), color var(--so-transition);
}

.so-social a:hover {
	background: var(--so-blush);
	color: var(--so-accent);
}

/* Nav */

.so-nav {
	border-top: 1px solid var(--so-line);
	background: var(--so-white);
}

.so-nav__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.so-nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.so-nav li {
	position: relative;
}

.so-nav a {
	display: block;
	padding: 16px 18px;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--so-heading);
}

.so-nav a:hover {
	color: var(--so-accent);
}

/* Dropdowns */

.so-nav ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--so-white);
	border: 1px solid var(--so-line);
	box-shadow: var(--so-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--so-transition), transform var(--so-transition), visibility var(--so-transition);
	z-index: 50;
	display: block;
}

.so-nav ul ul li {
	border-bottom: 1px solid var(--so-band);
}

.so-nav ul ul a {
	padding: 12px 18px;
	letter-spacing: 0.12em;
	text-transform: none;
	font-size: 14px;
}

.so-nav ul ul ul {
	top: 0;
	left: 100%;
}

.so-nav li:hover > ul,
.so-nav li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.so-search-toggle {
	background: none;
	border: none;
	color: var(--so-heading);
	cursor: pointer;
	padding: 10px;
	font-size: 16px;
}

.so-search-bar {
	border-top: 1px solid var(--so-line);
	padding-block: 18px;
	background: var(--so-band);
}

/* Mobile nav toggle */

.so-nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--so-line);
	padding: 10px;
	cursor: pointer;
	justify-self: end;
}

.so-nav-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--so-heading);
	margin: 4px 0;
	transition: transform var(--so-transition), opacity var(--so-transition);
}

.so-nav-toggle[aria-expanded="true"] .so-nav-toggle__bar:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.so-nav-toggle[aria-expanded="true"] .so-nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.so-nav-toggle[aria-expanded="true"] .so-nav-toggle__bar:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Front page: hero (gig-poster split, title crosses the seam) ---------- */

.so-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 640px;
	background: var(--so-bg);
	overflow: hidden;
}

.so-hero__panel {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	text-align: left;
	min-height: 640px;
	padding: 60px 0 60px 24px;
}

.so-hero__text {
	position: relative;
	width: 100%;
	max-width: calc(var(--so-container) / 2 - 24px);
}

/* The neon script word leans across the top of the title. */
.so-hero .so-eyebrow {
	position: absolute;
	top: -34px;
	left: 4px;
	transform: rotate(-6deg);
	z-index: 3;
	margin: 0;
	font-size: clamp(28px, 3.6vw, 44px);
	text-shadow: 0 2px 18px rgba(22, 19, 31, 0.85);
	pointer-events: none;
}

/* Oversized poster type deliberately overruns the seam onto the image. */
.so-hero__title {
	position: relative;
	z-index: 2;
	font-size: clamp(48px, 7vw, 104px);
	font-weight: 400;
	line-height: 1.04;
	color: var(--so-heading);
	margin: 0 0 34px;
	width: 132%;
	max-width: none;
	text-shadow: 0 4px 30px rgba(22, 19, 31, 0.75);
}

.so-hero__media {
	position: relative;
	z-index: 1;
	overflow: hidden;
	min-height: 640px;
}

.so-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(22, 19, 31, 0.9), rgba(22, 19, 31, 0.25) 45%, rgba(22, 19, 31, 0.15));
}

.so-hero__media img,
.so-hero__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.so-hero__placeholder {
	background:
		radial-gradient(ellipse at 70% 30%, #3b2f52 0%, transparent 55%),
		radial-gradient(ellipse at 30% 80%, #2c2440 0%, transparent 50%),
		var(--so-blush);
}

/* ---------- Front page: services ---------- */

.so-services {
	padding: 96px 0 80px;
}

.so-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	align-items: start;
}

.so-service {
	position: relative;
	text-align: center;
}

.so-service:nth-child(2) {
	margin-top: 48px;
}

.so-service__media {
	position: relative;
	margin-bottom: 46px;
}

.so-service__media img,
.so-service__placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	box-shadow: var(--so-shadow);
}

.so-service__placeholder {
	background: linear-gradient(135deg, var(--so-band), var(--so-blush));
}

.so-service__badge {
	position: absolute;
	left: 50%;
	bottom: -28px;
	transform: translateX(-50%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px solid var(--so-accent);
	background: var(--so-bg);
	color: var(--so-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}

.so-service__num {
	display: block;
	font-family: var(--so-font-script);
	font-weight: 400;
	font-size: 26px;
	letter-spacing: 0.02em;
	line-height: 1;
	color: var(--so-accent);
	margin-bottom: 12px;
}

.so-service__title {
	font-size: 23px;
	margin-bottom: 10px;
}

.so-service__text {
	color: var(--so-muted);
	max-width: 320px;
	margin-inline: auto;
}

/* ---------- Front page: about ---------- */

.so-about {
	padding: 60px 0 90px;
}

.so-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 70px;
	align-items: center;
}

.so-about__media {
	position: relative;
	padding-left: 56px;
	padding-bottom: 40px;
}

.so-about__img-main,
.so-about__placeholder {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	box-shadow: var(--so-shadow);
}

.so-about__placeholder {
	background: linear-gradient(160deg, var(--so-blush), var(--so-band) 70%);
}

.so-about__inset {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46%;
	border: 8px solid var(--so-white);
	box-shadow: var(--so-shadow);
}

.so-about__inset img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.so-about__title {
	font-size: clamp(30px, 3.6vw, 44px);
	margin-bottom: 18px;
}

.so-about__text {
	color: var(--so-muted);
	margin-bottom: 30px;
}

/* ---------- Front page: category tiles ---------- */

.so-cats {
	position: relative;
	padding: 90px 0;
	background: var(--so-band);
}

.so-cats__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px;
	align-items: start;
}

.so-cat-tile {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background: linear-gradient(150deg, #362b4d, #211b31);
	background-size: cover;
	background-position: center;
	overflow: hidden;
	box-shadow: var(--so-shadow);
}

.so-cat-tile--2 {
	margin-top: 44px;
}

.so-cat-tile--3 {
	margin-top: 88px;
}

.so-cat-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(11, 8, 18, 0.5);
	transition: background var(--so-transition);
}

.so-cat-tile:hover::before {
	background: rgba(11, 8, 18, 0.66);
}

.so-cat-tile__frame {
	position: absolute;
	inset: 16px;
	border: 1px solid rgba(224, 120, 92, 0.65);
	border-radius: 999px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	padding: 12px;
}

.so-cat-tile:hover .so-cat-tile__frame {
	inset: 24px;
}

.so-cat-tile__name {
	font-family: var(--so-font-serif);
	font-size: 24px;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--so-heading);
}

.so-cat-tile__count {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(240, 234, 228, 0.85);
}

/* ---------- Front page: note ---------- */

.so-note {
	padding: 90px 0;
	background: var(--so-bg);
}

.so-note__inner {
	max-width: 680px;
	text-align: center;
}

.so-note__avatar img {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 22px;
	border: 2px solid var(--so-accent);
	box-shadow: var(--so-glow);
}

.so-note__title {
	font-size: 30px;
	color: var(--so-accent);
	margin-bottom: 16px;
}

.so-note__text {
	font-style: italic;
	color: var(--so-muted);
}

.so-note__signature {
	display: block;
	font-family: var(--so-font-script);
	font-size: 44px;
	color: var(--so-accent);
	margin-top: 18px;
	text-shadow: 0 0 24px rgba(224, 120, 92, 0.45);
}

/* ---------- Front page: latest ---------- */

.so-latest {
	padding: 20px 0 100px;
}

/* ---------- Page hero (blog/archive title band) ---------- */

.so-page-hero {
	background:
		linear-gradient(180deg, rgba(224, 120, 92, 0.12), rgba(224, 120, 92, 0.03)),
		linear-gradient(140deg, #251e38, #120f1a);
	padding: 84px 0;
}

.so-page-hero__frame {
	max-width: 560px;
	margin-inline: auto;
	border: 1px solid rgba(224, 120, 92, 0.6);
	border-radius: 999px;
	padding: 30px 44px;
	text-align: center;
}

.so-page-hero__title {
	margin: 0;
	color: var(--so-heading);
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 400;
}

.so-page-hero__desc {
	color: rgba(240, 234, 228, 0.85);
	margin-top: 10px;
	font-size: 15px;
}

/* ---------- Content area + sidebar ---------- */

.so-content-area {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 56px;
	padding-block: 72px;
}

.so-no-sidebar .so-content-area {
	grid-template-columns: minmax(0, 1fr);
	max-width: 900px;
}

/* ---------- Post cards: borderless dark, coral glow on hover ---------- */

.so-card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 44px 34px;
}

.so-card-grid--three {
	grid-template-columns: repeat(3, 1fr);
}

.so-card {
	position: relative;
	background: var(--so-white);
	border: none;
	transition: transform var(--so-transition);
}

.so-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: var(--so-glow);
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
	z-index: -1;
}

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

.so-card:hover::after {
	opacity: 1;
}

.so-card__media {
	position: relative;
}

.so-card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.so-card__body {
	padding: 26px 26px 30px;
}

.so-card__title {
	font-size: 22px;
	margin-bottom: 12px;
}

.so-card__title a {
	color: var(--so-heading);
}

.so-card__title a:hover {
	color: var(--so-accent);
}

.so-card__excerpt {
	color: var(--so-muted);
	font-size: 15px;
}

.so-card__excerpt p {
	margin-bottom: 18px;
}

.so-card__more {
	font-size: 11px;
	padding: 10px 22px;
}

/* Vinyl-record date badge: concentric rings around a center dot */

.so-date-badge {
	position: absolute;
	left: 18px;
	bottom: -16px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(17, 14, 24, 0.92);
	border: 1px solid var(--so-accent);
	transform: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 16px -8px rgba(5, 3, 10, 0.8);
}

.so-date-badge::before {
	content: "";
	position: absolute;
	inset: 5px;
	border-radius: 50%;
	border: 1px solid rgba(224, 120, 92, 0.45);
	pointer-events: none;
}

.so-date-badge::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--so-accent);
	transform: translate(-50%, -50%);
}

.so-date-badge__day,
.so-date-badge__month {
	transform: none;
	line-height: 1;
}

.so-date-badge__day {
	font-family: var(--so-font-serif);
	font-size: 18px;
	color: var(--so-accent);
	margin: 0 0 10px;
}

.so-date-badge__month {
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--so-heading);
	position: static;
}

/* Format badge */

.so-format-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(22, 19, 31, 0.7);
	color: var(--so-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(2px);
}

/* Entry meta */

.so-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: 12.5px;
	letter-spacing: 0.06em;
	color: var(--so-muted);
	margin-bottom: 14px;
}

.so-entry-meta a {
	color: var(--so-muted);
}

.so-entry-meta a:hover {
	color: var(--so-accent);
}

.so-entry-meta .so-icon {
	color: var(--so-accent);
	margin-right: 4px;
}

/* ---------- Single post ---------- */

.so-single__header {
	text-align: center;
	margin-bottom: 34px;
}

.so-single__cats a {
	font-size: 11.5px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	margin: 0 6px;
}

.so-single__title {
	font-size: clamp(32px, 4.2vw, 49px);
	margin: 10px 0 16px;
}

.so-single__header .so-entry-meta {
	justify-content: center;
}

.so-single__media {
	position: relative;
	margin-bottom: 40px;
}

.so-single__media .so-date-badge {
	bottom: 22px;
}

.entry-content {
	font-size: 17px;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.6em;
}

.entry-content blockquote {
	border: none;
	position: relative;
	margin: 2.2em 0;
	padding: 30px 40px;
	background: var(--so-band);
	font-family: var(--so-font-serif);
	font-size: 20px;
	font-style: normal;
	color: var(--so-heading);
}

.entry-content blockquote::before {
	content: "”";
	position: absolute;
	top: -28px;
	left: 20px;
	font-family: var(--so-font-serif);
	font-size: 90px;
	color: var(--so-accent);
	opacity: 0.5;
}

.entry-content blockquote p {
	margin-bottom: 0;
}

.entry-content img {
	box-shadow: var(--so-shadow);
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.wp-element-caption {
	font-size: 13px;
	color: var(--so-muted);
	text-align: center;
	margin-top: 8px;
}

.alignwide {
	margin-inline: -40px;
	max-width: calc(100% + 80px);
}

.alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
}

/* Tags + author box */

.so-single__tags {
	margin: 34px 0;
}

.so-single__tags a {
	display: inline-block;
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border: 1px solid var(--so-line);
	border-radius: 999px;
	padding: 6px 16px;
	margin: 0 8px 8px 0;
	color: var(--so-muted);
}

.so-single__tags a:hover {
	border-color: var(--so-accent);
	color: var(--so-accent);
}

.so-author-box {
	display: flex;
	gap: 26px;
	align-items: center;
	background: var(--so-band);
	padding: 30px;
	margin-top: 26px;
}

.so-author-box__avatar img {
	border-radius: 50%;
	border: 2px solid var(--so-accent);
}

.so-author-box__name {
	margin: 2px 0 6px;
	font-size: 22px;
}

.so-author-box__bio {
	margin: 0;
	color: var(--so-muted);
	font-size: 15px;
}

/* Prev/next */

.so-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid var(--so-line);
	border-bottom: 1px solid var(--so-line);
	padding: 22px 0;
	margin: 44px 0;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* ---------- Comments ---------- */

.comments-area {
	margin-top: 30px;
}

.comments-title,
.comment-reply-title {
	font-size: 26px;
	text-align: center;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-list .comment-body {
	border: 1px solid var(--so-line);
	background: var(--so-white);
	padding: 24px;
	margin-bottom: 22px;
}

.comment-list .children {
	list-style: none;
	padding-left: 40px;
}

.comment-author .avatar {
	border-radius: 50%;
	float: left;
	margin-right: 14px;
}

.comment-metadata {
	font-size: 12px;
	color: var(--so-muted);
}

.comment-metadata a {
	color: var(--so-muted);
}

.reply a {
	font-size: 11.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.comment-form label {
	display: block;
	font-size: 12.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 6px;
	color: var(--so-heading);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--so-line);
	background: var(--so-white);
	padding: 12px 14px;
	font-family: var(--so-font-body);
	font-size: 15px;
	color: var(--so-text);
	margin-bottom: 16px;
}

.comment-form .submit {
	position: relative;
	display: inline-block;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--so-accent);
	background: transparent;
	border: 1px solid var(--so-accent);
	border-radius: 999px;
	padding: 13px 32px;
	cursor: pointer;
	transition: transform var(--so-transition), color var(--so-transition), border-color var(--so-transition);
}

.comment-form .submit:hover {
	color: #eb9a83;
	border-color: #eb9a83;
	transform: translateY(-2px);
}

/* ---------- Search form ---------- */

.so-searchform {
	display: flex;
	border: 1px solid var(--so-line);
	background: var(--so-white);
	max-width: 460px;
}

.so-searchform__field {
	flex: 1;
	border: none;
	background: transparent;
	padding: 12px 16px;
	font-family: var(--so-font-body);
	font-size: 15px;
	color: var(--so-text);
}

.so-searchform__field:focus {
	outline: none;
}

.so-searchform__submit {
	border: none;
	background: var(--so-accent);
	color: #16131f;
	padding: 0 18px;
	cursor: pointer;
	transition: background var(--so-transition);
}

.so-searchform__submit:hover {
	background: #eb9a83;
}

/* ---------- Widgets ---------- */

.widget {
	background: var(--so-white);
	border: 1px solid var(--so-line);
	padding: 28px;
	margin-bottom: 34px;
}

.widget-title {
	font-size: 19px;
	margin-bottom: 22px;
	position: relative;
	padding-left: 26px;
}

.widget-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 16px;
	height: 1px;
	background: var(--so-accent);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid var(--so-band);
	font-size: 15px;
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget ul li a {
	color: var(--so-text);
}

.widget ul li a:hover {
	color: var(--so-accent);
}

/* About widget */

.so-about-widget {
	text-align: center;
}

.so-about-widget__image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	margin-bottom: 18px;
}

.so-about-widget__name {
	font-size: 21px;
	margin-bottom: 2px;
}

.so-about-widget__role {
	display: block;
	font-size: 11.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--so-accent);
	margin-bottom: 12px;
}

.so-about-widget__bio {
	color: var(--so-muted);
	font-size: 14.5px;
}

/* Mini posts widget */

.so-mini-posts .so-mini-post {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 10px 0;
}

.so-mini-post__thumb img {
	width: 68px;
	height: 68px;
	object-fit: cover;
}

.so-mini-post__title {
	display: block;
	font-family: var(--so-font-body);
	font-weight: 500;
	font-size: 15.5px;
	line-height: 1.35;
	color: var(--so-heading);
}

.so-mini-post__title:hover {
	color: var(--so-accent);
}

.so-mini-post__date {
	font-size: 12px;
	color: var(--so-muted);
}

/* Photo grid widget */

.so-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.so-photo-grid img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: opacity var(--so-transition);
}

.so-photo-grid img:hover {
	opacity: 0.8;
}

.so-photo-grid__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--so-heading);
}

/* ---------- Pagination ---------- */

.pagination,
.navigation.pagination {
	margin-top: 56px;
}

.nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 12px;
	border: 1px solid var(--so-line);
	border-radius: 50%;
	color: var(--so-heading);
	font-size: 13px;
	letter-spacing: 0.1em;
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
	background: var(--so-accent);
	border-color: var(--so-accent);
	color: #16131f;
}

/* ---------- 404 / none ---------- */

.so-none {
	text-align: center;
	padding: 60px 20px;
}

.so-none .so-searchform {
	margin: 26px auto;
}

.so-404__code {
	font-size: clamp(90px, 14vw, 160px);
	line-height: 1;
	color: var(--so-blush);
	-webkit-text-stroke: 1px var(--so-accent);
	margin-bottom: 0;
}

.so-none .so-button {
	margin-top: 10px;
}

/* ---------- Footer ---------- */

.site-footer {
	background: #100d18;
	color: #a49dae;
	margin-top: 40px;
}

.so-front + .site-footer,
.so-fullwidth + .site-footer {
	margin-top: 0;
}

.so-footer-widgets {
	padding: 70px 0 50px;
}

.so-footer-widgets__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
}

.site-footer .widget {
	background: transparent;
	border: none;
	padding: 0;
	margin-bottom: 30px;
}

.site-footer .widget-title {
	color: var(--so-heading);
	font-size: 20px;
}

.site-footer .widget ul li {
	border-color: rgba(224, 120, 92, 0.14);
}

.site-footer .widget a {
	color: #a49dae;
}

.site-footer .widget a:hover {
	color: var(--so-accent);
}

.site-footer .so-photo-grid__link {
	color: var(--so-heading);
}

.site-footer .so-social a {
	color: #a49dae;
}

.site-footer .so-social a:hover {
	background: rgba(224, 120, 92, 0.12);
	color: var(--so-accent);
}

.so-footer-bottom {
	border-top: 1px solid rgba(224, 120, 92, 0.16);
	padding: 22px 0;
}

.so-footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.so-footer-credit {
	margin: 0;
	font-size: 13.5px;
}

/* Back to top */

.so-to-top {
	position: fixed;
	right: 26px;
	bottom: 26px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--so-accent);
	background: var(--so-bg);
	color: var(--so-accent);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity var(--so-transition), transform var(--so-transition), visibility var(--so-transition);
	z-index: 90;
	box-shadow: var(--so-glow);
}

.so-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* ---------- WooCommerce light touch ---------- */

.so-woo {
	padding-block: 60px;
}

.so-woo ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--so-font-serif);
	font-size: 19px;
}

.so-woo .button,
.woocommerce .so-woo a.button {
	background: var(--so-accent);
	color: #16131f;
	border-radius: 999px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.so-card-grid--three {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 960px) {
	.so-content-area {
		grid-template-columns: minmax(0, 1fr);
	}

	.so-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.so-hero__panel {
		min-height: 0;
		justify-content: flex-start;
		padding: 90px 24px 60px;
	}

	.so-hero__text {
		max-width: none;
	}

	.so-hero__title {
		width: 100%;
	}

	.so-hero .so-eyebrow {
		top: -40px;
	}

	.so-hero__media {
		min-height: 380px;
	}

	.so-services__grid,
	.so-cats__grid {
		grid-template-columns: 1fr;
		max-width: 460px;
		margin-inline: auto;
	}

	.so-service:nth-child(2),
	.so-cat-tile--2,
	.so-cat-tile--3 {
		margin-top: 0;
	}

	.so-about__grid {
		grid-template-columns: 1fr;
		gap: 46px;
	}

	.so-footer-widgets__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.so-header-top {
		grid-template-columns: auto 1fr auto;
		padding-block: 18px;
	}

	.so-header-top__social {
		display: none;
	}

	.so-header-top__cta {
		display: none;
	}

	.so-branding {
		text-align: left;
	}

	.so-nav-toggle {
		display: block;
	}

	.so-nav {
		display: none;
	}

	.so-nav.is-open {
		display: block;
	}

	.so-nav__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.so-nav ul {
		flex-direction: column;
	}

	.so-nav a {
		padding: 13px 6px;
		border-bottom: 1px solid var(--so-band);
	}

	.so-nav ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: none;
		box-shadow: none;
		background: var(--so-band);
		min-width: 0;
	}

	.so-card-grid,
	.so-card-grid--three {
		grid-template-columns: 1fr;
	}

	.so-author-box {
		flex-direction: column;
		text-align: center;
	}

	.so-post-nav {
		flex-direction: column;
		text-align: center;
	}

	.alignwide {
		margin-inline: 0;
		max-width: 100%;
	}
}

/* ---------- WordPress core classes ---------- */

.sticky .so-card__title::after {
	content: "★";
	color: var(--so-accent);
	font-size: 0.6em;
	vertical-align: super;
	margin-left: 6px;
}

.gallery-caption {
	font-size: 13px;
	color: var(--so-muted);
	text-align: center;
}

.bypostauthor > .comment-body {
	border-left: 2px solid var(--so-accent);
}

.alignleft {
	float: left;
	margin: 0.5em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

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

/* ===== Premium sections (v1.1.0) ===== */

/* ---------- Portfolio ---------- */

.so-portfolio {
	padding: 96px 0;
}

.so-portfolio__grid {
	/* CSS columns, not CSS grid. A 3-column grid of 2 tall + 4 short tiles needs
	   8 cells but offers 9, so one interior cell is always left empty. Columns
	   pack 3, 4 or 6 tiles with no hole. */
	columns: 3;
	column-gap: 22px;
	margin-bottom: -22px;
}

.so-portfolio__tile {
	position: relative;
	margin: 0 0 22px;
	break-inside: avoid;
	overflow: hidden;
	box-shadow: var(--so-shadow);
	background: linear-gradient(150deg, var(--so-band), var(--so-blush));
}

.so-portfolio__media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.so-portfolio__tile--tall .so-portfolio__media {
	aspect-ratio: 3 / 4;
}
.so-portfolio__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--so-transition);
}

.so-portfolio__tile:hover .so-portfolio__media img {
	transform: scale(1.04);
}

.so-portfolio__actions {
	text-align: center;
	margin-top: 44px;
}

/* ---------- Reviews ---------- */

.so-reviews {
	padding: 96px 0;
	background: var(--so-band);
}

.so-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.so-review {
	position: relative;
	background: var(--so-white);
	border: none;
	padding: 38px 32px 34px;
	text-align: center;
	transition: transform var(--so-transition);
}

.so-review::after {
	content: "";
	position: absolute;
	inset: 0;
	box-shadow: var(--so-glow);
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
	z-index: -1;
}

.so-review:hover {
	transform: translateY(-4px);
}

.so-review:hover::after {
	opacity: 1;
}

.so-review__avatar {
	display: block;
	width: 72px;
	height: 72px;
	margin: 0 auto 16px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--so-accent);
}

.so-review__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.so-review__quote {
	display: block;
	font-family: var(--so-font-serif);
	font-size: 60px;
	line-height: 0.6;
	color: var(--so-accent);
	opacity: 0.35;
}

.so-review__text {
	font-style: italic;
	color: var(--so-text);
	margin: 14px 0 20px;
}

.so-review__name {
	display: block;
	font-family: var(--so-font-serif);
	font-size: 19px;
	color: var(--so-heading);
}

.so-review__role {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--so-muted);
}

/* ---------- Pricing ---------- */

.so-pricing {
	padding: 96px 0;
}

.so-pricing__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	align-items: start;
}

.so-plan {
	position: relative;
	background: var(--so-white);
	border: 1px solid var(--so-line);
	padding: 44px 34px;
	text-align: center;
	transition: transform var(--so-transition);
}

.so-plan--featured {
	border: 1px solid var(--so-accent);
	box-shadow: var(--so-glow);
	transform: scale(1.04);
	z-index: 1;
}

.so-plan__name {
	font-size: 22px;
	margin-bottom: 8px;
}

.so-plan__amount {
	font-family: var(--so-font-serif);
	font-size: 42px;
	line-height: 1;
	color: var(--so-accent);
	margin-bottom: 26px;
}

.so-plan__features {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	text-align: left;
}

.so-plan__features li {
	position: relative;
	padding: 9px 0 9px 26px;
	border-bottom: 1px solid var(--so-line);
	color: var(--so-text);
	font-size: 15px;
}

.so-plan__features li:last-child {
	border-bottom: none;
}

.so-plan__features li::before {
	content: "\2713";
	position: absolute;
	left: 2px;
	color: var(--so-accent);
	font-weight: 700;
}

/* ---------- CTA banner ---------- */

.so-cta-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 460px;
	overflow: hidden;
	text-align: center;
}

.so-cta-banner__img,
.so-cta-banner__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.so-cta-banner__placeholder {
	background: linear-gradient(150deg, var(--so-blush), var(--so-band));
}

/* Overlay tuned for WCAG-AA light text over any image, on Sonorelle's violet base. */
.so-cta-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(22, 19, 31, 0.64), rgba(22, 19, 31, 0.82));
}

.so-cta-banner__content {
	position: relative;
	z-index: 1;
	max-width: 640px;
	padding: 60px 24px;
	color: var(--so-heading);
}

.so-cta-banner .so-eyebrow {
	color: var(--so-accent);
}

.so-cta-banner__title {
	color: var(--so-heading);
	font-size: clamp(30px, 4vw, 48px);
	margin-bottom: 16px;
}

.so-cta-banner__text {
	color: var(--so-text);
	margin-bottom: 30px;
}

.so-cta-banner .so-button {
	color: var(--so-heading);
	border-color: var(--so-heading);
}

.so-cta-banner .so-button:hover {
	color: var(--so-accent);
	border-color: var(--so-accent);
}

/* ---------- Instagram strip ---------- */

.so-insta {
	padding: 84px 0 0;
}

.so-insta__head {
	text-align: center;
	margin-bottom: 34px;
	padding-inline: 24px;
}

.so-insta__title {
	font-size: clamp(26px, 3.2vw, 36px);
	margin-bottom: 6px;
}

.so-insta__handle {
	display: inline-block;
	font-family: var(--so-font-script);
	font-size: 22px;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--so-accent);
}

.so-insta__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
}

.so-insta__tile {
	position: relative;
	display: block;
	overflow: hidden;
}

.so-insta__tile img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.so-insta__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(22, 19, 31, 0.6);
	color: var(--so-heading);
	opacity: 0;
	transition: opacity var(--so-transition);
}

.so-insta__overlay .so-icon {
	width: 26px;
	height: 26px;
}

.so-insta__tile:hover .so-insta__overlay,
.so-insta__tile:focus-visible .so-insta__overlay {
	opacity: 1;
}

/* ---------- Footer newsletter band ---------- */

.so-newsletter {
	background: var(--so-accent);
	color: #16131f;
	padding: 56px 0;
}

.so-newsletter__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 34px;
	flex-wrap: wrap;
}

.so-newsletter__intro {
	flex: 1 1 320px;
}

.so-newsletter__title {
	color: #16131f;
	font-size: 30px;
	margin-bottom: 6px;
}

.so-newsletter__text {
	margin: 0;
	color: rgba(22, 19, 31, 0.82);
}

.so-newsletter__form {
	display: flex;
	flex: 1 1 360px;
	gap: 12px;
	flex-wrap: wrap;
}

.so-newsletter__input {
	flex: 1 1 220px;
	border: 1px solid var(--so-accent-dark);
	border-radius: 999px;
	background: #fdf3ef;
	padding: 13px 20px;
	font-family: var(--so-font-body);
	font-size: 15px;
	color: #16131f;
}

/* Ink pill on the coral band, keeping the outline language. */
.so-newsletter .so-button {
	background: #16131f;
	border-color: #16131f;
	color: #fdf3ef;
}

.so-newsletter .so-button:hover {
	background: #0d0a14;
	border-color: #0d0a14;
	color: #fdf3ef;
}

/* ---------- Premium sections: responsive ---------- */

@media (max-width: 860px) {
	.so-portfolio__grid {
		/* Two columns of three tiles cannot balance a 3-tall / 3-short mix:
		   one column always takes two tall tiles and ends ~200px lower. Give
		   every tile the same ratio here so the columns stay flush. */
		columns: 2;
	}

	.so-portfolio__tile--tall .so-portfolio__media {
		aspect-ratio: 4 / 3;
	}

	.so-reviews__grid,
	.so-pricing__grid {
		grid-template-columns: 1fr;
		max-width: 440px;
		margin-inline: auto;
	}

	.so-plan--featured {
		transform: none;
	}

	.so-insta__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 700px) {
	.so-newsletter__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.so-newsletter__form {
		justify-content: center;
	}
}

@media (max-width: 560px) {
	.so-portfolio__grid {
		columns: 1;
	}

	.so-portfolio__tile--tall .so-portfolio__media {
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 480px) {
	.so-insta__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* ---------- Tap targets ---------- */

/* These are compact text buttons, so we grow the padding rather than set a
   min-height: the label stays where it is while the touch area reaches the
   44px platform minimum. */
.so-card__more {
	padding-top: 13px;
	padding-bottom: 13px;
}

/* ===== End premium sections ===== */
