/**
 * Dream Catapult — homepage styles.
 * Scoped entirely to .dc-front-page so nothing here can ever touch an
 * Elementor-built page. Mobile-first; tablet and desktop layer on top.
 *
 * Breakpoints: mobile < 768px (Figma mobile frame, 393px baseline),
 * tablet 768–1023px (no Figma frame exists — fluid-interpolated between
 * the mobile and desktop designs, see project notes), desktop >= 1024px
 * (Figma desktop frame, 1440px baseline).
 */

.dc-front-page {
	--dc-ink: #000000;
	--dc-paper: #ffffff;
	--dc-mist: #d9d9d9;
	--dc-header-bg: #ffffff;
	--dc-footer-bg: #ffffff;
	--dc-footer-text: #000000;
	--dc-font-display: 'Jost', serif;
	--dc-font-body: 'Inter', sans-serif;
	--dc-gutter: clamp(20px, 5vw, 80px);
	--dc-section-vh: 100svh;

	background: var(--dc-paper);
	color: var(--dc-ink);
	font-family: var(--dc-font-body);
	overflow-x: clip;
}

.dc-front-page * {
	box-sizing: border-box;
}

.dc-front-page img {
	max-width: 100%;
	display: block;
}

.dc-front-page .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.dc-skip-link.screen-reader-text:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	clip: auto;
	background: var(--dc-ink);
	color: var(--dc-paper);
	padding: 10px 16px;
	z-index: 9999;
	border-radius: 4px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.dc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--dc-font-body);
	font-size: 14px;
	text-decoration: none;
	color: var(--dc-ink);
	border: 1px solid currentColor;
	border-radius: 999px;
	padding: 8px 20px;
	transition: background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.dc-btn:hover,
.dc-btn:focus-visible {
	background: var(--dc-ink);
	color: var(--dc-paper);
}

.dc-btn--thin {
	padding: 6px 16px;
	font-size: 13px;
}

.dc-btn--thick {
	padding: 10px 24px;
	font-weight: 500;
}

.dc-btn--primary {
	background: var(--dc-ink);
	color: var(--dc-paper);
	padding: 14px 32px;
	font-size: 16px;
}

.dc-btn--primary:hover,
.dc-btn--primary:focus-visible {
	background: transparent;
	color: var(--dc-ink);
}

/* ==========================================================================
   Header
   ========================================================================== */

.dc-site-header {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: var(--dc-header-bg, #fff);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.dc-site-header--sticky {
	position: fixed;
}

.dc-site-header--transparent-top {
	background: transparent;
	box-shadow: none;
}

.dc-site-header--transparent-top.dc-site-header--scrolled {
	background: var(--dc-header-bg, #fff);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.dc-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1600px;
	margin: 0 auto;
	padding: 18px var(--dc-gutter);
}

.dc-site-header__logo {
	display: block;
	color: inherit;
	text-decoration: none;
	font-family: var(--dc-font-display);
	font-size: 20px;
}

.dc-site-header__logo-img {
	height: 32px;
	width: auto;
}

.dc-site-header__nav-list {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 32px;
}

.dc-site-header__nav-item a {
	color: inherit;
	text-decoration: none;
	font-size: 14px;
	text-transform: lowercase;
	letter-spacing: 0.02em;
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.dc-site-header__nav-item a:hover,
.dc-site-header__nav-item a:focus-visible,
.dc-site-header__nav-item a.is-active {
	border-bottom-color: currentColor;
}

.dc-site-header__burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1;
}

.dc-site-header__burger span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile nav: below 768px the link list becomes a full-screen overlay,
   toggled by the burger button (see assets/js/home.js). */
@media (max-width: 767.98px) {
	.dc-site-header__nav-list {
		position: fixed;
		inset: 0;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 32px;
		background: var(--dc-paper);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
	}

	.dc-site-header__nav-list.is-open {
		display: flex;
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.dc-site-header__nav-item a {
		font-size: 22px;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

.dc-site-footer {
	background: var(--dc-footer-bg, #fff);
	color: var(--dc-footer-text, #000);
	padding: 64px var(--dc-gutter) 48px;
}

.dc-site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.dc-site-footer__heading {
	font-family: var(--dc-font-display);
	font-size: clamp(28px, 4vw, 48px);
	font-weight: 600;
	margin: 0 0 12px;
}

.dc-site-footer__text {
	max-width: 60ch;
	line-height: 1.5;
	margin: 0;
}

.dc-site-footer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.dc-site-footer__social {
	display: flex;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dc-site-footer__social a {
	color: inherit;
	text-decoration: none;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ==========================================================================
   Scroll journey shell
   ========================================================================== */

.dc-scroll-journey {
	position: relative;
}

.dc-section {
	position: relative;
	min-height: var(--dc-section-vh);
	display: flex;
	align-items: center;
	padding: 120px var(--dc-gutter) 80px;
	overflow: clip;
	background: linear-gradient(180deg, #f7f7f7 0%, #dcdcdc 100%);
}

/* Shared "beat" reveal unit — JS toggles opacity/transform per scroll
   position; this is the resting (visible) and reduced-motion state. */
.dc-mission__beat {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: no-preference) {
	.dc-mission__beat[data-dc-beat] {
		opacity: 0;
		transform: translateY(24px);
	}
}

/* ==========================================================================
   Shared decorative system: starfield + orbiting "sun"
   ========================================================================== */

.dc-starfield {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent),
		radial-gradient(1.5px 1.5px at 60% 15%, #fff, transparent),
		radial-gradient(2px 2px at 80% 40%, #fff, transparent),
		radial-gradient(1.5px 1.5px at 35% 65%, #fff, transparent),
		radial-gradient(1.5px 1.5px at 90% 70%, #fff, transparent);
	opacity: 0;
	transition: opacity 0.6s ease;
}

.dc-section.is-starfield-visible .dc-starfield {
	opacity: 0.8;
}

.dc-orbit-system {
	position: absolute;
	left: 50%;
	top: 50%;
	width: clamp(220px, 40vw, 720px);
	height: clamp(220px, 40vw, 720px);
	transform: translate(-50%, -50%) scale(0.4);
	pointer-events: none;
	transition: transform 0.6s ease;
}

.dc-orbit-system__sun {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1c76a 55%, #e79a3d 100%);
	box-shadow: 0 0 120px rgba(231, 154, 61, 0.35);
}

.dc-orbit-system__ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.dc-orbit-system__ring--1 {
	inset: -12%;
}

.dc-orbit-system__ring--2 {
	inset: -24%;
}

.dc-clouds {
	position: absolute;
	left: 0;
	right: 0;
	pointer-events: none;
	display: flex;
	justify-content: space-between;
	padding: 0 4%;
}

.dc-clouds--top {
	top: -5%;
}

.dc-clouds--bottom {
	bottom: -5%;
}

.dc-cloud {
	width: clamp(80px, 14vw, 220px);
	height: clamp(40px, 7vw, 110px);
	background: #fff;
	border-radius: 999px;
	filter: blur(1px);
	opacity: 0.9;
}

/* ==========================================================================
   Mission
   ========================================================================== */

.dc-mission {
	flex-direction: column;
	justify-content: center;
	text-align: center;
	gap: 48px;
}

.dc-mission__stage {
	position: absolute;
	inset: 0;
}

.dc-mission__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 64px;
	max-width: 960px;
	margin: 0 auto;
}

.dc-mission__heading {
	font-family: var(--dc-font-display);
	font-weight: 600;
	font-size: clamp(36px, 6vw, 96px);
	line-height: 1.05;
	margin: 0 0 20px;
}

.dc-mission__intro {
	max-width: 62ch;
	margin: 0 auto;
	line-height: 1.6;
	font-size: clamp(15px, 1.4vw, 16px);
}

.dc-mission__statements {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.dc-mission__statement-heading {
	font-family: var(--dc-font-display);
	font-weight: 600;
	font-size: clamp(26px, 3.4vw, 48px);
	margin: 0 0 16px;
}

.dc-mission__statement-body {
	max-width: 68ch;
	margin: 0 auto;
	line-height: 1.6;
}

.dc-mission__formula-heading {
	font-family: var(--dc-font-display);
	font-weight: 600;
	font-size: clamp(26px, 3.4vw, 48px);
	margin: 0 0 32px;
}

.dc-mission__formula-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	text-align: left;
	max-width: 720px;
	margin: 0 auto;
}

.dc-mission__formula-card h3 {
	font-family: var(--dc-font-display);
	font-size: 20px;
	margin: 0 0 8px;
}

.dc-mission__formula-card p {
	line-height: 1.5;
	margin: 0;
}

/* ==========================================================================
   About
   ========================================================================== */

.dc-about {
	flex-direction: column;
	justify-content: center;
}

.dc-about__content {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0 auto;
	width: 100%;
}

.dc-about__heading {
	font-family: var(--dc-font-display);
	font-weight: 600;
	font-size: clamp(30px, 4vw, 48px);
	margin: 0 0 40px;
}

.dc-about__body {
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: flex-start;
}

.dc-about__photo img {
	border-radius: 24px;
	width: 100%;
	max-width: 360px;
}

.dc-about__byline {
	font-family: var(--dc-font-display);
	font-size: 20px;
	margin: 0 0 16px;
}

.dc-about__bio-text p {
	line-height: 1.6;
	margin: 0 0 16px;
}

/* ==========================================================================
   Clients
   ========================================================================== */

.dc-clients {
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.dc-clients__content {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin: 0 auto;
}

.dc-clients__heading {
	font-family: var(--dc-font-display);
	font-weight: 600;
	font-size: clamp(28px, 3.4vw, 48px);
	margin: 0 0 20px;
}

.dc-clients__intro {
	max-width: 68ch;
	margin: 0 auto 40px;
	line-height: 1.6;
}

.dc-clients__logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(16px, 3vw, 40px);
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.dc-clients__logo img {
	max-height: 56px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.dc-clients__logo a:hover img,
.dc-clients__logo a:focus-visible img {
	filter: none;
	opacity: 1;
}

.dc-clients__closing {
	font-family: var(--dc-font-display);
	font-size: clamp(20px, 2.4vw, 28px);
	margin: 0;
}

/* ==========================================================================
   Strategy
   ========================================================================== */

.dc-strategy {
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.dc-strategy__content {
	position: relative;
	z-index: 1;
	max-width: 1000px;
	margin: 0 auto;
}

.dc-strategy__heading {
	font-family: var(--dc-font-display);
	font-weight: 600;
	font-size: clamp(28px, 3.6vw, 48px);
	margin: 0 0 40px;
}

.dc-strategy__services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dc-strategy__service {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 20px;
}

.dc-strategy__service-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.dc-strategy__service-label {
	font-family: var(--dc-font-display);
	font-size: 18px;
}

.dc-strategy__service-desc {
	font-size: 13px;
	line-height: 1.5;
	opacity: 0.8;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.dc-contact {
	flex-direction: column;
	justify-content: center;
	text-align: center;
	background: linear-gradient(180deg, #dcdcdc 0%, #f3d9a8 60%, #f1c76a 100%);
	min-height: auto;
	padding-top: 160px;
	padding-bottom: 140px;
}

.dc-contact__horizon {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 45%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 100%);
	pointer-events: none;
}

.dc-contact__sun {
	position: absolute;
	left: 50%;
	bottom: 10%;
	width: clamp(200px, 30vw, 460px);
	height: clamp(200px, 30vw, 460px);
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1c76a 55%, #e79a3d 100%);
	pointer-events: none;
}

.dc-contact__content {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0 auto;
}

.dc-contact__heading {
	font-family: var(--dc-font-display);
	font-weight: 600;
	font-size: clamp(32px, 5vw, 64px);
	margin: 0 0 20px;
}

.dc-contact__copy {
	line-height: 1.6;
	margin: 0 0 32px;
}

.dc-contact__actions {
	margin-bottom: 24px;
}

.dc-contact__meta {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}

.dc-contact__meta a {
	color: inherit;
	text-decoration: none;
	font-size: 14px;
	border-bottom: 1px solid transparent;
}

.dc-contact__meta a:hover,
.dc-contact__meta a:focus-visible {
	border-bottom-color: currentColor;
}

/* ==========================================================================
   Tablet (768px+) — fluid-interpolated; no Figma tablet frame exists.
   ========================================================================== */

@media (min-width: 768px) {
	.dc-site-header__nav-list {
		display: flex;
	}

	.dc-site-header__burger {
		display: none;
	}

	.dc-about__body {
		flex-direction: row;
		align-items: center;
	}

	.dc-about__photo {
		flex: 0 0 340px;
	}

	.dc-about__bio {
		flex: 1;
	}
}

/* ==========================================================================
   Desktop (1024px+) — matches the 1440px Figma desktop frame.
   ========================================================================== */

@media (min-width: 1024px) {
	.dc-mission__statements {
		gap: 96px;
	}

	.dc-strategy__services {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* ==========================================================================
   Reduced motion: every section is simply visible, no pinning/animation.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.dc-section {
		min-height: auto;
		padding: 80px var(--dc-gutter);
	}

	.dc-orbit-system,
	.dc-starfield,
	.dc-clouds {
		display: none;
	}
}
