/**
 * Get More from Every Photo Photo Kit landing page
 *
 * Hero and closing are pinned dark over a collage of the lesson photos; the
 * intro and What's Included sections are pinned light. Everything else follows
 * the theme toggle. Type follows the Photo RAW 2027 hero and the flash sale
 * price, not the mockup's stylesheet.
 *
 * @copyright   2026, ON1
 */

/* !- Buttons
   House sizing, same as the blog index. */
#site-main .btn {
	font-size: var(--text-sm);
	padding: 0.75rem 1.25rem;
}

/* !- Section rhythm */
#site-main > section {
	padding: 5rem 0;
}

#intro h2,
#lessons h2,
#included h2,
#instructor h2,
#faqs h2,
#closing h2 {
	font-size: var(--text-5xl);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.15;
	text-wrap: balance;
}

/* !- Price and buy block, repeated down the page */
.kit-price {
	color: var(--text-50);
	font-size: 2.625rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 0;
}

.kit-price .fa-spin {
	font-size: var(--text-base);
}

.kit-price-note {
	color: var(--text-400);
	font-size: var(--text-sm);
	line-height: 1.5;
	margin: 0;
}

.kit-price-note del {
	text-decoration-thickness: 2px;
}

.kit-buy {
	margin-top: 3rem;
	text-align: center;
}

.kit-buy .kit-price {
	margin-bottom: 0.625rem;
}

.kit-buy .kit-price-note {
	margin-bottom: 1.5rem;
}

.kit-offer-ends {
	color: var(--text-400);
	font-size: var(--text-sm);
	margin: 1rem 0 0;
}

/* !- Passed video. ?vs= and ?vid= put the video, price and button above the
   hero. Pinned dark, so it states its own text color. */
#site-main > #passed-video {
	background-color: #141414;
	color: var(--text-300);
	padding: 3.5rem 0;
}

#passed-video .video-figure {
	margin-bottom: 1.75rem;
}

#site-main #passed-video h2 {
	color: var(--text-50);
	font-size: 1.875rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin-bottom: 0.75rem;
}

#passed-video .kit-price {
	margin-bottom: 0.625rem;
}

#passed-video .kit-price-note {
	margin-bottom: 1.5rem;
}

/* !- Photo collage behind the hero and closing */
.photo-collage {
	inset: 0;
	overflow: hidden;
	position: absolute;
}

.photo-collage .col {
	height: 50%;
}

.photo-collage img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* !- Hero */
#site-main > #hero {
	background-color: #1e1e1e;
	color: var(--text-300);
	overflow: hidden;
	padding: 3.5rem 0 5.5rem;
	position: relative;
}

#hero::after {
	background: linear-gradient(90deg, rgba(30, 30, 30, 0.92) 0%, rgba(30, 30, 30, 0.82) 55%, rgba(30, 30, 30, 0.7) 100%);
	content: '';
	inset: 0;
	position: absolute;
}

#hero > .container {
	position: relative;
	z-index: 1;
}

#hero h1 {
	color: var(--white);
	font-size: 4.75rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.02;
	margin-bottom: 1.375rem;
	text-wrap: balance;
}

#hero .hero-kit {
	color: var(--blue-300);
	font-size: var(--text-lg);
	font-weight: 600;
	margin-bottom: 1rem;
}

#hero .hero-sub {
	color: var(--text-100);
	font-size: var(--text-lg);
	line-height: 1.6;
	margin-bottom: 0;
}

#hero .hero-price-row {
	margin-bottom: 1.625rem;
	margin-top: 0.875rem;
}

#hero .kit-price-note {
	color: var(--text-300);
}

#hero .hero-trailer {
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
}

#hero .hero-trailer:hover {
	color: var(--blue-300);
}

#hero .hero-trailer-icon {
	background-color: var(--white);
	border-radius: 50%;
	color: var(--blue-500);
	display: inline-block;
	height: 2.5rem;
	line-height: 2.5rem;
	margin-right: 0.625rem;
	text-align: center;
	vertical-align: middle;
	width: 2.5rem;
}

/* !- Hero before/after carousel. Bootstrap carousel; swipe and arrow keys are
   off so dragging the comparison slider never changes the slide. */
#hero-compare image-compare {
	border-radius: var(--border-radius);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
	display: block;
	overflow: hidden;
}

#hero-compare .hero-compare-controls {
	margin-top: 0.875rem;
}

#hero-compare .hero-compare-arrow {
	background-color: rgba(255, 255, 255, 0.14);
	border: 0;
	border-radius: 50%;
	color: var(--white);
	height: 2.75rem;
	width: 2.75rem;
}

#hero-compare .hero-compare-arrow:hover {
	background-color: var(--blue-500);
}

#hero-compare .carousel-indicators {
	margin: 0;
	position: static;
}

#hero-compare .carousel-indicators [data-bs-target] {
	background-color: var(--white);
	border: 0;
	border-radius: 50%;
	height: 0.625rem;
	margin: 0 0.3125rem;
	opacity: 0.35;
	width: 0.625rem;
}

#hero-compare .carousel-indicators .active {
	opacity: 1;
}

/* !- Intro. Pinned light. */
#site-main > #intro {
	background-color: var(--bg-900);
	color: var(--text-400);
}

#intro h2 span {
	font-weight: 400;
	letter-spacing: -0.01em;
	margin-top: 0.375rem;
}

#intro .intro-text {
	font-size: var(--text-lg);
	margin: 1.25rem 0 0;
}

#intro .kit-buy {
	margin-top: 2.5rem;
}

/* !- Lessons */
#site-main > #lessons {
	background-color: var(--bg-900);
}

[data-theme="light"] #site-main > #lessons {
	background-color: var(--bg-800);
}

#lessons .lessons-lead {
	font-size: var(--text-lg);
	margin: 1.25rem 0 0;
}

#lessons .lessons-note {
	color: var(--text-500);
	margin: 0.875rem 0 2.75rem;
}

.lesson-card {
	background-color: var(--bg-800);
	border-radius: var(--border-radius);
	overflow: hidden;
}

[data-theme="light"] .lesson-card {
	background-color: var(--white);
}

.lesson-thumb {
	aspect-ratio: 16 / 10;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.lesson-pair .col-lg-4,
.lesson-pair .col-lg-6,
.lesson-pair .col-lg-8 {
	position: relative;
}

.lesson-pair img {
	aspect-ratio: 3 / 2;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.lesson-pair .is-portrait img {
	aspect-ratio: 4 / 5;
}

.photo-tag {
	background-color: rgba(30, 30, 30, 0.86);
	border-radius: var(--border-radius);
	bottom: 0.625rem;
	color: var(--white);
	font-size: var(--text-micro);
	font-weight: 600;
	left: 0.75rem;
	letter-spacing: 0.14em;
	padding: 0.3125rem 0.625rem;
	position: absolute;
	text-transform: uppercase;
}

.lesson-body {
	padding: 1.375rem 1.75rem 1.75rem;
}

.lesson-num {
	color: var(--link-alt);
	font-size: var(--text-mini);
	font-weight: 600;
	letter-spacing: 0.12em;
	margin: 0;
	text-transform: uppercase;
}

.lesson-body h3 {
	font-size: var(--text-xl);
	font-weight: 700;
	line-height: 1.35;
	margin: 0.375rem 0 0;
}

.lesson-body p:last-child {
	color: var(--text-200);
	margin: 0.625rem 0 0;
}

/* !- What's Included. Pinned light; the tiles are pinned dark. */
#site-main > #included {
	background-color: var(--bg-900);
	color: var(--text-400);
}

/* Shadow on a wrapper, not drop-shadow on the img. The wrapper is sized up
   front (the icon's 380px, square) and the img isn't lazy, so the box doesn't
   change after first paint; Safari kept a square first-paint shadow until the
   next repaint. The radius matches the icon artwork's corner, which is why it
   isn't var(--border-radius). */
#included .included-icon {
	aspect-ratio: 1 / 1;
	border-radius: 22.5%;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
	display: block;
	max-width: 100%;
	width: 23.75rem;
}

#included .included-icon img {
	display: block;
	height: 100%;
	width: 100%;
}

#included .included-tiles {
	margin-top: 1.25rem;
}

.included-tile {
	background-color: #1e1e1e;
	border-radius: var(--border-radius);
	color: var(--text-300);
	padding: 1.5rem;
}

.included-tile.is-first {
	background: linear-gradient(-40deg, var(--blue-500), var(--legacy-purple-500));
	color: var(--white);
}

.included-icon-circle {
	background-color: var(--blue-transparent);
	border-radius: 50%;
	color: var(--blue-300);
	display: inline-block;
	font-size: 1.375rem;
	height: 3.25rem;
	line-height: 3.25rem;
	text-align: center;
	width: 3.25rem;
}

.included-tile.is-first .included-icon-circle {
	background-color: rgba(255, 255, 255, 0.18);
	color: var(--white);
}

.included-count {
	color: var(--white);
	font-size: var(--text-5xl);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
	margin: 0;
}

.included-name {
	color: var(--text-100);
	font-weight: 700;
	margin: 0.25rem 0 0;
}

.included-desc {
	font-size: var(--text-sm);
	line-height: 1.5;
	margin: 0.375rem 0 0;
}

.included-tile.is-first .included-name {
	color: var(--white);
}

.included-tile.is-first .included-desc {
	color: rgba(255, 255, 255, 0.92);
}

#included .included-note {
	color: var(--text-500);
	font-size: var(--text-sm);
	margin: 0.875rem 0 0;
}

/* !- Instructor */
#site-main > #instructor {
	background-color: var(--bg-800);
}

#instructor .instructor-photo {
	aspect-ratio: 1 / 1;
	border-radius: var(--border-radius);
	object-fit: cover;
}

#instructor p {
	font-size: var(--text-lg);
	margin: 1.125rem 0 0;
}

/* !- FAQs */
#site-main > #faqs {
	background-color: var(--bg-900);
}

#faqs h2 {
	margin-bottom: 2.25rem;
}

/* !- Closing. Pinned dark over the collage. */
#site-main > #closing {
	background-color: #1e1e1e;
	color: var(--text-300);
	overflow: hidden;
	position: relative;
}

#closing::after {
	background-color: rgba(30, 30, 30, 0.84);
	content: '';
	inset: 0;
	position: absolute;
}

#closing > .container {
	position: relative;
	z-index: 1;
}

#closing h2 {
	color: var(--white);
}

#closing .closing-text {
	color: var(--text-100);
	font-size: var(--text-lg);
	margin: 1.125rem 0 0;
}

#closing .kit-buy {
	margin-top: 2rem;
}

#closing .kit-price-note,
#closing .kit-offer-ends {
	color: var(--text-300);
}

/* !- Large screens: lesson 10's photo fills its half of the card, and the
   portrait after photos match the height of the landscape before. */
@media (min-width: 992px) {
	.lesson-side-media {
		min-height: 16.25rem;
		position: relative;
	}

	.lesson-side-media .lesson-thumb {
		aspect-ratio: auto;
		height: 100%;
		inset: 0;
		position: absolute;
	}

	.lesson-pair .is-portrait img {
		aspect-ratio: auto;
		height: 100%;
	}
}

/* !- Medium screens and down */
@media (max-width: 991.98px) {
	#hero h1 {
		font-size: 2.75rem;
	}

	#intro h2,
	#lessons h2,
	#included h2,
	#instructor h2,
	#faqs h2,
	#closing h2 {
		font-size: var(--text-4xl);
	}
}

/* !- Small screens */
@media (max-width: 767.98px) {
	#site-main > section {
		padding: 3rem 0;
	}
}

/* !- Phones: full-width buttons */
@media (max-width: 575.98px) {
	#hero .btn,
	.kit-buy .btn {
		width: 100%;
	}
}
