/* ============================================================
   REM ARCHITECTURE MEDIA — rem-architecture-media.css
   All selectors scoped under .rem-am-page
   Visual-first service-detail page: cinematic hero, featured film,
   supporting films, photography portfolio, then deliverables.
   ============================================================ */

:root {
	--primary:      #29ABE2;
	--primary-dk:   #1d8ab5;
	--authority:    #0D1B2A;
	--gold:         #C9A84C;
	--mid:          #4a4a4a;
	--muted:        #6b7280;
	--faint:        #9ca3af;
	--bdr:          #E2E5E9;
	--bdr-soft:     #F0F2F5;
	--platinum:     #F2F4F7;
	--font-display: 'Afacad', sans-serif;
	--font-body:    'Avenir Next', 'Avenir', sans-serif;
}

/* 1. PAGE FRAME */
.rem-am-page {
	background: #ffffff;
	color: var(--authority);
	font-family: var(--font-body);
}
.rem-am-page .am-w {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 32px;
}
.rem-am-page .am-eye {
	display: block;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 18px;
}
.rem-am-page .am-h2 {
	font-family: var(--font-display);
	font-size: 38px;
	line-height: 1.12;
	font-weight: 700;
	color: var(--authority);
	margin: 0;
}
.rem-am-page .am-h2 em {
	font-style: italic;
	color: var(--primary);
}
.rem-am-page .am-sec-body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--mid);
	margin: 18px 0 0;
}
.rem-am-page .am-sec-head {
	margin-bottom: 44px;
}
.rem-am-page .am-sec-head--center {
	text-align: center;
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

/* 2. CINEMATIC HERO */
.rem-am-page .am-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(460px, 74vh, 760px);
	background-color: var(--authority);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}
/* Navy fallback when no hero image is set: still reads as a deliberate
   cinematic dark hero rather than a bare text block. */
.rem-am-page .am-hero--noimg {
	background-image:
		radial-gradient(120% 90% at 78% 0%, rgba(41,171,226,.18) 0%, rgba(41,171,226,0) 55%),
		linear-gradient(160deg, #11233A 0%, #0D1B2A 60%, #0A1521 100%);
}
.rem-am-page .am-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 32px 64px;
}
.rem-am-page .am-hero__eye {
	display: block;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #7CCFF2;
	margin-bottom: 18px;
}
.rem-am-page .am-hero__h1 {
	font-family: var(--font-display);
	font-size: clamp(40px, 6vw, 76px);
	line-height: 1.02;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 22px;
	text-shadow: 0 2px 24px rgba(0,0,0,.28);
}
.rem-am-page .am-hero__deck {
	font-family: var(--font-body);
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.6;
	color: rgba(255,255,255,.92);
	max-width: 640px;
	margin: 0 0 32px;
	text-shadow: 0 1px 12px rgba(0,0,0,.22);
}
.rem-am-page .am-hero__cta {
	display: inline-block;
	padding: 15px 36px;
	background: var(--primary);
	color: #ffffff;
	border-radius: 3px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .2s ease, transform .2s ease;
}
.rem-am-page .am-hero__cta:hover {
	background: var(--primary-dk);
	transform: translateY(-1px);
}

/* 3. FILMS */
.rem-am-page .am-films-section {
	padding: 80px 0 80px;
}
/* Video frame */
.rem-am-page .am-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: var(--authority);
	box-shadow: 0 18px 48px rgba(13, 27, 42, 0.20);
}
.rem-am-page .am-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
/* Featured film: large, centered, leads the section */
.rem-am-page .am-featured {
	max-width: 1000px;
	margin: 0 auto;
}
.rem-am-page .am-featured .am-video {
	box-shadow: 0 28px 70px rgba(13, 27, 42, 0.26);
}
/* Supporting films below the featured one */
.rem-am-page .am-film-grid {
	display: grid;
	gap: 28px;
	margin-top: 40px;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
.rem-am-page .am-film-grid--1 { grid-template-columns: minmax(0, 620px); justify-content: center; }
.rem-am-page .am-film-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rem-am-page .am-film {
	margin: 0;
}
.rem-am-page .am-film__cap {
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted);
	margin: 16px 0 0;
	text-align: center;
}

/* 4. PHOTOGRAPHY PORTFOLIO (Elfsight) */
.rem-am-page .am-port-section {
	padding: 24px 0 84px;
	background: var(--platinum);
	padding-top: 80px;
}
.rem-am-page .am-embed {
	min-height: 200px;
}
.rem-am-page .am-embed--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	background: #ffffff;
	border: 1px dashed var(--bdr);
	border-radius: 6px;
}
.rem-am-page .am-embed--placeholder span {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--faint);
}

/* 5. WHAT WE PRODUCE (deliverables, after the proof) */
.rem-am-page .am-deliv-section {
	padding: 80px 0 80px;
}
.rem-am-page .am-deliv-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}
.rem-am-page .am-deliv-card {
	position: relative;
	background: var(--platinum);
	border-radius: 6px;
	padding: 38px 34px 34px;
	border-top: 3px solid var(--primary);
	box-shadow: 0 1px 3px rgba(13, 27, 42, 0.05);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.rem-am-page .am-deliv-card:hover {
	box-shadow: 0 14px 40px rgba(13, 27, 42, 0.12);
	transform: translateY(-3px);
}
.rem-am-page .am-deliv-card__num {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .14em;
	color: var(--primary);
	margin-bottom: 14px;
}
.rem-am-page .am-deliv-card__title {
	font-family: var(--font-display);
	font-size: 22px;
	line-height: 1.22;
	font-weight: 700;
	color: var(--authority);
	margin: 0 0 14px;
}
.rem-am-page .am-deliv-card__body {
	font-family: var(--font-body);
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--mid);
	margin: 0;
}
.rem-am-page .am-note {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted);
	font-style: italic;
	margin: 6px 0 0;
}
.rem-am-page .am-note--center {
	text-align: center;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}
.rem-am-page .am-deliv-grid + .am-note--center {
	margin-top: 36px;
}

/* 6. MEMBERSHIP CTA (logged-out only) */
.rem-am-page .am-cta-section {
	padding: 0 0 80px;
}
.rem-am-page .am-cta {
	background: var(--authority);
	border-radius: 6px;
	padding: 60px 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 28px;
}
.rem-am-page .am-cta__copy {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.86);
	max-width: 600px;
	margin: 0;
}
.rem-am-page .am-cta__btn {
	display: inline-block;
	padding: 14px 32px;
	background: var(--primary);
	color: #ffffff;
	border-radius: 3px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}
.rem-am-page .am-cta__btn:hover {
	background: var(--primary-dk);
	transform: translateY(-1px);
}

/* 7. FOOTER NOTE */
.rem-am-page .am-footer-note {
	padding: 0 0 80px;
}
.rem-am-page .am-footer-note p {
	font-family: var(--font-body);
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--faint);
	margin: 0;
	text-align: center;
}

/* 8. RESPONSIVE */
@media (max-width: 980px) {
	.rem-am-page .am-film-grid--2 {
		grid-template-columns: 1fr;
		max-width: 620px;
	}
}
@media (max-width: 640px) {
	.rem-am-page .am-w {
		padding: 0 24px;
	}
	.rem-am-page .am-hero {
		min-height: clamp(420px, 80vh, 560px);
	}
	.rem-am-page .am-hero__inner {
		padding: 0 24px 44px;
	}
	.rem-am-page .am-h2 {
		font-size: 28px;
	}
	.rem-am-page .am-sec-head {
		margin-bottom: 30px;
	}
	.rem-am-page .am-films-section {
		padding: 48px 0 48px;
	}
	.rem-am-page .am-film-grid {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-top: 28px;
	}
	.rem-am-page .am-port-section {
		padding-top: 48px;
		padding-bottom: 52px;
	}
	.rem-am-page .am-deliv-section {
		padding: 48px 0 48px;
	}
	.rem-am-page .am-deliv-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.rem-am-page .am-deliv-card {
		padding: 30px 24px 26px;
	}
	.rem-am-page .am-cta {
		padding: 40px 28px;
		gap: 24px;
	}
	.rem-am-page .am-cta__copy {
		font-size: 15px;
	}
	.rem-am-page .am-footer-note {
		padding: 0 0 48px;
	}
}
