/*
	Home-screen layouts. index.html uses body.layout-a, option-b.html uses body.layout-b.
	Articles, galleries and forms are shared (theme.css).
*/

/* ---------- Shared resets of the Dimension centred header ---------- */

#header > *:before { display: none !important; }
#header > * { margin-top: 0 !important; }
#header .content { border: 0 !important; max-width: none; }
#header .content .inner { padding: 0; max-height: none; }
#header .logo { width: auto; height: auto; border: 0; margin: 0; display: block; border-radius: 0; }
#header .logo img { width: 100%; max-width: none; display: block; }
#header nav ul { border: 0; border-radius: 0; }
#header nav ul li, #header nav ul li:first-child { border: 0; padding: 0; }
#header nav ul li a {
	min-width: 0; height: auto; line-height: 1.2; padding: 0;
	border: 0; background: transparent; border-radius: 0;
	font-family: var(--sans); font-weight: 500; font-size: 0.78rem;
	letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
	transition: color 0.2s ease;
}
#header nav ul li a:hover { background: transparent; color: var(--accent); }
#header nav.use-middle:after { display: none; }

#header h1 {
	font-family: var(--serif);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	line-height: 0.88;
	margin: 0;
}
#header h1 span { display: block; white-space: nowrap; }
#header h1 .accent { color: var(--accent); }
#header .content p {
	font-family: var(--sans);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.35em;
	color: var(--ink);
	margin: 0;
}

#bg:before { background: none; }
#bg:after { background-size: cover; background-repeat: no-repeat; }
body.is-article-visible #bg:after { filter: blur(0.3rem) brightness(0.45); }

#footer .copyright { letter-spacing: 0.18em; font-size: 0.62rem; color: rgba(245,245,245,0.45); }
#footer .copyright a { color: rgba(245,245,245,0.7); border-bottom: 0; }

/* =========================================================
   OPTION A — Editorial: full-bleed photo, name bottom-left
   ========================================================= */

body.layout-a #bg:after {
	background-image: url("../../images/bg-a.jpg");
	background-position: 65% 30%;
	animation: drift-a 26s ease-in-out infinite alternate;
}
@keyframes drift-a {
	from { transform: scale(1.06) translate3d(0, 0, 0); }
	to   { transform: scale(1.22) translate3d(-2.5%, -1.5%, 0); }
}
body.layout-a #bg:before {
	background:
		linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0) 70%),
		linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%);
}

body.layout-a #header {
	position: fixed;
	inset: 0;
	padding: 2.25rem 3.5rem 3rem;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto 1fr;
	align-items: start;
	justify-items: start;
	text-align: left;
	max-width: none;
	z-index: 3;
}
body.layout-a #header .logo { width: 4.5rem; grid-column: 1; grid-row: 1; }
body.layout-a #header nav { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
body.layout-a #header nav ul { display: flex; flex-direction: row; gap: 2.5rem; }
body.layout-a #header nav ul li a { position: relative; padding: 0.4rem 0; }
body.layout-a #header nav ul li a:after {
	content: ""; position: absolute; left: 0; bottom: 0;
	width: 0; height: 2px; background: var(--accent);
	transition: width 0.3s ease;
}
body.layout-a #header nav ul li a:hover:after { width: 100%; }

body.layout-a #header .content {
	grid-column: 1 / -1; grid-row: 2;
	align-self: end;
	margin-bottom: 2.5rem;
}
body.layout-a #header h1 { font-size: clamp(4.5rem, 12vw, 11rem); }
body.layout-a #header .content p {
	display: inline-flex; align-items: center; gap: 1rem;
	margin-top: 1.5rem;
}
body.layout-a #header .content p:before {
	content: ""; width: 3.5rem; height: 4px; background: var(--accent);
}

body.layout-a #footer {
	position: fixed; right: 3.5rem; bottom: 2.5rem;
	z-index: 4; text-align: right; width: auto;
}
body.layout-a #footer .icons { margin-bottom: 0.75rem; justify-content: flex-end; }

@media screen and (max-width: 980px) {
	body.layout-a #header { padding: 1.5rem 1.5rem 2rem; }
	body.layout-a #header nav ul { gap: 1.4rem; }
	body.layout-a #footer { right: 1.5rem; bottom: 1.5rem; }
}
@media screen and (max-width: 736px) {
	body.layout-a #bg:after { background-position: 70% center; }
	body.layout-a #bg:before {
		background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.2) 100%);
	}
	body.layout-a #header { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
	body.layout-a #header .logo { width: 3.5rem; }
	body.layout-a #header .content { grid-row: 2; margin-bottom: 1.75rem; }
	body.layout-a #header nav { grid-column: 1; grid-row: 3; justify-self: stretch; }
	body.layout-a #header nav ul { flex-direction: column; gap: 0; min-width: 0; }
	body.layout-a #header nav ul li { border-top: 1px solid var(--line) !important; }
	body.layout-a #header nav ul li a { display: flex; justify-content: space-between; width: 100%; padding: 0.95rem 0; height: auto; line-height: 1.2; }
	body.layout-a #header nav ul li a:before { content: "\2192"; order: 2; color: var(--accent); letter-spacing: 0; }
	body.layout-a #header nav ul li a:after { display: none; }
	body.layout-a #header .content p { letter-spacing: 0.22em; font-size: 0.65rem; }
	body.layout-a #header h1 { font-size: clamp(3.4rem, 16vw, 4.75rem); }
	body.layout-a #footer { position: relative; right: auto; bottom: auto; display: none; }
}

/* =========================================================
   OPTION B — Split: black panel left, portrait right
   ========================================================= */

body.layout-b { background: #0a0a0a; }
body.layout-b #bg:after {
	left: 44%; width: 56%;
	background-image: url("../../images/bg-b.jpg");
	background-position: 40% 20%;
	transform: none;
}
body.layout-b #bg:before {
	left: 44%; width: 56%;
	background: linear-gradient(to right, #0a0a0a 0%, rgba(10,10,10,0) 30%);
	z-index: 2;
}
body.layout-b #bg {
	background: #0a0a0a;
}
/* thin red rule where the panel meets the photo */
body.layout-b #wrapper:before {
	content: ""; position: fixed; top: 0; bottom: 0; left: 44%;
	width: 4px; background: var(--accent); z-index: 2;
	transition: opacity 0.3s ease;
}
body.layout-b.is-article-visible #wrapper:before { opacity: 0; }
body.layout-b.is-article-visible #bg:after { filter: blur(0.3rem) brightness(0.4); }

body.layout-b #header {
	position: fixed;
	top: 0; bottom: 0; left: 0;
	width: 44%;
	padding: 3rem 4rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	text-align: left;
	max-width: none;
	z-index: 3;
}
body.layout-b #header .logo { width: 4.25rem; }
body.layout-b #header .content { margin-top: auto !important; margin-bottom: 2.75rem !important; }
body.layout-b #header h1 { font-size: clamp(4rem, 7.4vw, 8.5rem); }
body.layout-b #header .content p { margin-top: 1.25rem; color: var(--accent); }

body.layout-b #header nav ul {
	display: flex; flex-direction: column; gap: 0; counter-reset: nav;
	min-width: 18rem;
}
body.layout-b #header nav ul li { border-top: 1px solid var(--line) !important; }
body.layout-b #header nav ul li:last-child { border-bottom: 1px solid var(--line) !important; }
body.layout-b #header nav ul li a {
	counter-increment: nav;
	display: flex; align-items: center; gap: 1.25rem;
	padding: 0.9rem 0; width: 100%;
	transition: color 0.2s ease, padding-left 0.25s ease;
}
body.layout-b #header nav ul li a:before {
	content: counter(nav, decimal-leading-zero);
	font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0.05em;
	color: var(--accent);
}
body.layout-b #header nav ul li a:hover { padding-left: 0.6rem; }

body.layout-b #footer {
	position: fixed; left: 4rem; bottom: 2.5rem; z-index: 4;
	text-align: left; width: auto;
	display: none;
}
body.layout-b #header .social { display: flex; gap: 0.6rem; margin-top: 2rem; }
body.layout-b #header .social a {
	display: inline-flex; width: 2.4rem; height: 2.4rem;
	align-items: center; justify-content: center;
	border: 1px solid var(--line); border-radius: 2px; color: var(--ink);
}
body.layout-b #header .social a:hover { background: var(--accent); border-color: var(--accent); }

@media screen and (max-width: 980px) {
	body.layout-b #header { padding: 2.5rem; }
}
@media screen and (max-width: 736px) {
	body.layout-b #bg:after, body.layout-b #bg:before { left: 0; width: 100%; height: 58vh; }
	body.layout-b #bg:after { background-position: 60% 15%; }
	body.layout-b #bg:before { background: linear-gradient(to top, #0a0a0a 0%, rgba(10,10,10,0) 45%); }
	body.layout-b #wrapper:before { left: 0; right: 0; top: 58vh; bottom: auto; width: auto; height: 4px; }
	body.layout-b #header {
		position: relative; width: 100%; min-height: 100vh;
		padding: 1.5rem 1.5rem 2rem;
	}
	body.layout-b #header .content { margin-top: calc(58vh - 4rem) !important; margin-bottom: 2rem !important; }
	body.layout-b #header h1 { font-size: 3.6rem; }
	body.layout-b #header nav { width: 100%; }
	body.layout-b #header nav ul { min-width: 0; }
	body.layout-b #header .content p { letter-spacing: 0.22em; font-size: 0.65rem; }
}

/* social row inside header: only used by option B */
#header .social { display: none; }
body.layout-b #header .social { display: flex; }

/* ---------- Scroll navigation ---------- */

.scroll-cue { display: none; }
body.layout-a #header .scroll-cue {
	display: flex; align-items: center; justify-content: center;
	position: absolute; left: 50%; bottom: 2.25rem; transform: translateX(-50%);
	width: 2.75rem; height: 2.75rem;
	border: 0; color: var(--ink); opacity: 0.8;
	transition: color 0.2s ease, opacity 0.2s ease;
}
body.layout-a #header .scroll-cue:hover { color: var(--accent); opacity: 1; }
@media screen and (max-width: 736px) {
	body.layout-a #header .scroll-cue { display: none; }
}

.page-count {
	position: absolute; top: 1.6rem; left: 3rem;
	font-size: 0.65rem; letter-spacing: 0.3em; color: var(--muted);
}
.page-count b { color: var(--accent); font-weight: 700; }
@media screen and (max-width: 736px) { .page-count { left: 1.5rem; top: 1.4rem; } }

a.next-page {
	display: grid; grid-template-columns: 1fr auto; align-items: end;
	margin: 3rem -3rem -2rem; padding: 2rem 3rem 2.25rem;
	border: 0; border-top: 1px solid var(--line);
	color: var(--ink); background: transparent;
	transition: background-color 0.3s ease;
}
a.next-page span { grid-column: 1; font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
a.next-page strong {
	grid-column: 1; font-family: var(--serif); font-weight: 400; font-size: 3rem;
	line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink);
}
a.next-page em {
	grid-column: 2; grid-row: 1 / span 2; font-style: normal;
	font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted);
	display: flex; align-items: center; gap: 0.75rem;
}
a.next-page em:after { content: "\2193"; font-size: 1.1rem; color: var(--accent); letter-spacing: 0; }
a.next-page:hover { background: var(--accent); color: #fff; }
a.next-page:hover span, a.next-page:hover em, a.next-page:hover em:after { color: #fff; }
#contact a.next-page em:after { content: "\2191"; }
@media screen and (max-width: 736px) {
	a.next-page { margin: 2.5rem -1.5rem -1rem; padding: 1.75rem 1.5rem 2rem; }
	a.next-page strong { font-size: 2.4rem; }
	a.next-page em { display: none; }
}

a.next-page .chev {
	grid-column: 2; grid-row: 1 / span 2; align-self: center;
	display: flex; align-items: center; justify-content: center;
	width: 3rem; height: 3rem; color: var(--accent);
	transition: transform 0.3s ease, color 0.3s ease;
}
a.next-page .chev svg { width: 2.5rem; height: 2.5rem; }
a.next-page:hover .chev { color: #fff; transform: translateX(6px); }
#contact a.next-page:hover .chev { transform: translateY(-6px); }
@media screen and (max-width: 736px) {
	a.next-page .chev svg { width: 2rem; height: 2rem; }
}

/* ---------- Music Credits ---------- */

ul.credits { list-style: none; padding: 0; margin: 0 0 1rem; border-top: 1px solid var(--line); }
ul.credits li {
	display: grid; grid-template-columns: 4rem 1fr auto; gap: 1rem; align-items: center;
	padding: 1rem 0; border-bottom: 1px solid var(--line);
	transition: background-color 0.2s ease, padding 0.2s ease;
}
ul.credits li:hover { background: rgba(202, 40, 44, 0.08); padding-left: 0.6rem; padding-right: 0.6rem; }
ul.credits .yr { font-family: var(--serif); font-size: 1.4rem; color: var(--accent); letter-spacing: 0.04em; }
ul.credits .ttl { color: var(--ink); font-weight: 500; line-height: 1.3; }
ul.credits .ttl em { display: block; font-style: normal; font-weight: 300; font-size: 0.85rem; color: var(--muted); }
ul.credits .role {
	font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; text-align: right;
	color: var(--ink); border: 1px solid var(--line); padding: 0.35rem 0.65rem; border-radius: 2px; white-space: nowrap;
}
@media screen and (max-width: 736px) {
	ul.credits li { grid-template-columns: 3rem 1fr; }
	ul.credits .role { grid-column: 2; justify-self: start; }
}

/* ---------- Stevezone Productions ---------- */

.sz-intro { display: grid; grid-template-columns: 6rem 1fr; gap: 1.5rem; align-items: center; margin-bottom: 1rem; }
.sz-intro .sz-badge { width: 6rem; height: 6rem; display: block; }
.sz-intro p { margin: 0; }
@media screen and (max-width: 480px) { .sz-intro { grid-template-columns: 1fr; } }

ul.services { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0 0 2rem; }
ul.services li {
	padding: 1.4rem 1.25rem; border: 1px solid var(--line); border-radius: 2px;
	border-top: 3px solid var(--accent); background: rgba(255,255,255,0.02);
}
ul.services .icon { color: var(--accent); font-size: 1.3rem; display: block; margin-bottom: 0.8rem; }
ul.services strong {
	display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem;
	letter-spacing: 0.03em; text-transform: uppercase; line-height: 1; margin-bottom: 0.4rem;
}
ul.services p { margin: 0; font-size: 0.85rem; line-height: 1.6; }
@media screen and (max-width: 480px) { ul.services { grid-template-columns: 1fr; } }

p.small-note { font-size: 0.85rem; margin-top: -0.5rem; }
#gallery .section-label:first-of-type { margin-top: 1rem; }

/* Portraits: even 4-across grid of tall tiles */
.gallery.portraits { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 7rem; }
.gallery.portraits a, .gallery.portraits a.wide { grid-column: auto; grid-row: span 2; }
.gallery.portraits img { object-position: center 25%; }
@media screen and (max-width: 736px) {
	.gallery.portraits { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 7rem; }
}

/* ---------- Featured video release ---------- */

.release.video-release { grid-template-columns: 1fr; padding: 0; overflow: hidden; gap: 0; }
.release-poster { position: relative; display: block; border: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.release.video-release .release-poster img {
	width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center;
	border-radius: 0; transition: transform 0.6s ease;
}
.release-poster .play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 4.5rem; height: 4.5rem; border-radius: 50%;
	background: var(--accent); color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 30px rgba(0,0,0,0.5);
	transition: transform 0.3s ease, background-color 0.3s ease;
}
.release-poster .play svg { width: 2rem; height: 2rem; margin-left: 0.2rem; }
.release-poster:hover img { transform: scale(1.04); }
.release-poster:hover .play { transform: translate(-50%, -50%) scale(1.1); background: var(--accent-hover); }
.release.video-release .release-info { padding: 1.5rem 1.5rem 0.5rem; }
.release.video-release h3 { font-size: 2.4rem; margin-bottom: 0.1rem; }
.release-sub { font-size: 1rem !important; color: var(--ink) !important; margin-bottom: 0.75rem !important; }

p.credit-note {
	font-size: 0.8rem; margin: -0.75rem 0 1.25rem;
	padding-left: 0.9rem; border-left: 3px solid var(--accent);
}
