/* Sound Creations - catalog templates (Products / Brands / Projects) v0.2.0 */

.sc-archive-head { margin-bottom: 2.25rem; max-width: 60ch; }
.sc-archive-head h1 { margin-bottom: .5rem; }

.sc-breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; color: var(--sc-muted); margin-bottom: 1.25rem; font-family: var(--sc-font-display); }
.sc-breadcrumb a:hover { color: var(--sc-red); }
.sc-breadcrumb .sep { color: var(--sc-border); }

.sc-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.sc-chip { display: inline-flex; align-items: center; border: 1px solid var(--sc-border); border-radius: 999px; padding: .4rem .95rem; font-size: .82rem; color: var(--sc-muted); font-family: var(--sc-font-display); transition: border-color .2s, color .2s, background-color .2s; }
.sc-chip:hover { border-color: var(--sc-text); color: var(--sc-text); }
.sc-chip.is-active { background: var(--sc-red); border-color: var(--sc-red); color: #fff; }

/* Media cards */
.sc-card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.sc-card__media { aspect-ratio: 16 / 10; background: var(--sc-surface-2); overflow: hidden; }
.sc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--sc-ease); }
.sc-card--media:hover .sc-card__media img { transform: scale(1.04); }
.sc-card__media--logo { display: grid; place-items: center; padding: 1.5rem; }
.sc-card__media--logo img { width: auto; max-height: 72px; object-fit: contain; }
.sc-card__ph { width: 100%; height: 100%; min-height: 120px; display: grid; place-items: center; color: var(--sc-border); font-family: var(--sc-font-display); font-size: 2rem; letter-spacing: .08em; }
.sc-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.sc-card__kicker { font-family: var(--sc-font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--sc-red); }
.sc-card__title { font-family: var(--sc-font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.22; }
.sc-card__meta { color: var(--sc-muted); font-size: .85rem; margin-top: auto; padding-top: .35rem; }

/* Detail layout */
.sc-detail { display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.sc-detail__media { border-radius: var(--sc-radius-lg); overflow: hidden; background: var(--sc-surface-2); }
.sc-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.sc-detail__ph { width: 100%; min-height: 280px; display: grid; place-items: center; color: var(--sc-border); font-family: var(--sc-font-display); font-size: 2.4rem; letter-spacing: .12em; }
.sc-prose { max-width: 68ch; }
.sc-prose h2, .sc-prose h3 { margin-top: 2rem; }
.sc-prose a { color: var(--sc-red); }

.sc-aside { position: sticky; top: 96px; background: var(--sc-surface); border: 1px solid var(--sc-border); border-radius: var(--sc-radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.sc-aside__row { display: flex; flex-direction: column; gap: .25rem; }
.sc-aside__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sc-muted); font-family: var(--sc-font-display); }
.sc-aside__val { font-weight: 500; }
.sc-aside .sc-btn { width: 100%; justify-content: center; }

.sc-specs { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .92rem; }
.sc-specs th, .sc-specs td { text-align: left; padding: .6rem .25rem; border-bottom: 1px solid var(--sc-border); vertical-align: top; }
.sc-specs th { color: var(--sc-muted); font-weight: 500; font-family: var(--sc-font-display); width: 42%; }

.sc-ticklist { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .5rem; }
.sc-ticklist li { position: relative; padding-left: 1.4rem; color: var(--sc-muted); font-size: .92rem; }
.sc-ticklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; background: var(--sc-red); border-radius: 2px; }

.sc-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.sc-tag { border: 1px solid var(--sc-border); border-radius: 999px; padding: .3rem .8rem; font-size: .78rem; color: var(--sc-muted); font-family: var(--sc-font-display); }
.sc-tag:hover { color: var(--sc-text); border-color: var(--sc-text); }

.sc-metalist { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin: 1.25rem 0 0; }
.sc-metalist > div { display: flex; flex-direction: column; gap: .15rem; }
.sc-metalist .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sc-muted); font-family: var(--sc-font-display); }
.sc-metalist .v { font-family: var(--sc-font-display); font-weight: 600; font-size: 1.1rem; }

.sc-detail-hero { margin-bottom: 2.5rem; }
.sc-section-head { margin: 0 0 1.5rem; }
.sc-section-head h2 { margin: 0; }
.sc-empty { border: 1px dashed var(--sc-border); border-radius: var(--sc-radius-lg); padding: 2.5rem; text-align: center; color: var(--sc-muted); }

.sc-brand-hero { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; background: var(--sc-surface); border: 1px solid var(--sc-border); border-radius: var(--sc-radius-lg); padding: 2rem; margin-bottom: 2.5rem; }
.sc-brand-hero__logo { width: 200px; max-width: 40vw; display: grid; place-items: center; background: var(--sc-surface-2); border-radius: var(--sc-radius); padding: 1.5rem; }
.sc-brand-hero__logo img { max-height: 96px; width: auto; object-fit: contain; }
.sc-brand-hero__ph { font-family: var(--sc-font-display); font-size: 2.2rem; color: var(--sc-border); letter-spacing: .1em; }

@media (max-width: 860px) {
  .sc-detail { grid-template-columns: 1fr; }
  .sc-aside { position: static; }
  .sc-brand-hero { grid-template-columns: 1fr; }
  .sc-brand-hero__logo { width: 100%; }
}

/* Interactive presence map */
.sc-map { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
.sc-map__stage { position: relative; border: 1px solid var(--sc-border); border-radius: var(--sc-radius-lg); overflow: hidden; background: var(--sc-bg); }
.sc-map__bg { width: 100%; height: auto; display: block; }
.sc-map__pin { position: absolute; transform: translate(-50%, -50%); width: 22px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.sc-map__dot { display: block; width: 14px; height: 14px; margin: 4px; border-radius: 50%; background: var(--sc-red); box-shadow: 0 0 0 4px rgba(186,11,11,.25); transition: transform .2s var(--sc-ease), box-shadow .2s; }
.sc-map__pin:hover .sc-map__dot, .sc-map__pin.is-active .sc-map__dot { transform: scale(1.3); box-shadow: 0 0 0 7px rgba(186,11,11,.30); }
.sc-map__panel { align-self: center; }
.sc-map__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.sc-map__item { border: 1px solid var(--sc-border); border-radius: var(--sc-radius); padding: 1rem 1.15rem; cursor: pointer; transition: border-color .2s, background-color .2s; }
.sc-map__item:hover, .sc-map__item.is-active { border-color: var(--sc-red); background: var(--sc-surface); }
.sc-map__itemhead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sc-map__name { font-family: var(--sc-font-display); font-weight: 600; }
.sc-map__role { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sc-red); font-family: var(--sc-font-display); white-space: nowrap; }
.sc-map__note { color: var(--sc-muted); font-size: .9rem; margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s var(--sc-ease), opacity .3s, margin .3s; }
.sc-map__item.is-active .sc-map__note { max-height: 200px; opacity: 1; margin-top: .6rem; }
@media (max-width: 820px) { .sc-map { grid-template-columns: 1fr; } .sc-map__stage { max-width: 460px; margin-inline: auto; } }

/* ============================================================
   FAQ block (sound-creations-core/includes/seo-faq.php)

   Built on <details>/<summary> so it collapses with zero
   JavaScript and the answer text is in the DOM on first paint.
   That matters for more than progressive enhancement: Google
   requires FAQPage answers to be visible on the page, and a
   JS-built accordion risks the text being absent at crawl time.

   Animates only max-height/opacity-free properties that do not
   trigger layout on adjacent sections, and honours
   prefers-reduced-motion for the marker rotation.
   ============================================================ */
.sc-faq {
	margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
	padding-top: clamp(1.75rem, 4vw, 2.75rem);
	border-top: 1px solid var(--sc-border, rgba(255, 255, 255, 0.12));
}

.sc-faq__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	line-height: 1.2;
}

.sc-faq__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sc-faq__item {
	border: 1px solid var(--sc-border, rgba(255, 255, 255, 0.12));
	border-radius: 10px;
	background: var(--sc-surface-2, rgba(255, 255, 255, 0.03));
	overflow: hidden;
}

.sc-faq__q {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	/* 44px min tap target, per the accessibility pass. */
	min-height: 44px;
	padding: 0.95rem 1.1rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
}

/* Remove the default disclosure triangle across engines. */
.sc-faq__q::-webkit-details-marker {
	display: none;
}

.sc-faq__q::marker {
	content: "";
}

/* Custom chevron, drawn with a rotated border so it needs no asset. */
.sc-faq__q::after {
	content: "";
	flex: 0 0 auto;
	width: 0.5rem;
	height: 0.5rem;
	margin: 0.35rem 0 0 auto;
	border-right: 2px solid var(--sc-accent, currentColor);
	border-bottom: 2px solid var(--sc-accent, currentColor);
	transform: rotate(45deg);
	transition: transform 180ms ease;
}

.sc-faq__item[open] > .sc-faq__q::after {
	transform: rotate(-135deg);
}

.sc-faq__q:focus-visible {
	outline: 2px solid var(--sc-accent, currentColor);
	outline-offset: -2px;
}

.sc-faq__a {
	padding: 0 1.1rem 1.1rem;
	color: var(--sc-text-muted, inherit);
}

.sc-faq__a > :first-child {
	margin-top: 0;
}

.sc-faq__a > :last-child {
	margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	.sc-faq__q::after {
		transition: none;
	}
}

@media print {
	/* Print every answer: a collapsed FAQ prints as a list of questions. */
	.sc-faq__item {
		border: 0;
		break-inside: avoid;
	}

	.sc-faq__a {
		display: block;
		padding-left: 0;
	}

	.sc-faq__q::after {
		display: none;
	}
}
