/* ==========================================================================
   MIERDCD landing page — design tokens
   Palette ported from the mierdcd Next.js site (globals.css): "gold" is
   intentionally a dark green, not literal gold — keep the naming for parity.
   ========================================================================== */
:root {
	--navy: #f7faf9;
	--charcoal: #eef4f1;
	--ivory: #0f172a;
	--gold: #1b4d3e;
	--gold-soft: #2f8f72;
	--muted: #52685d;
	--muted-soft: #7c9088;
	--line: rgba(27, 77, 62, 0.16);
	--white: #ffffff;
	--shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
	--shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
	--font-display: "Playfair Display", Georgia, serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--nav-h: 84px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

html.no-scroll,
html.no-scroll body {
	overflow: hidden;
}

body.mierdcd-landing-page {
	margin: 0;
	font-family: var(--font-body);
	background: var(--navy);
	color: var(--ivory);
	line-height: 1.65;
	overflow-x: clip;
	position: relative;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

button {
	font: inherit;
	cursor: pointer;
}

::selection {
	background: var(--gold);
	color: var(--navy);
}

.container-fluid {
	width: 100%;
	max-width: 90rem;
	margin: 0 auto;
	padding-inline: clamp(18px, 4vw, 64px);
}

.font-display {
	font-family: var(--font-display);
}

/* ambient depth (stand-in for the Three.js particle background) */
.ambient-bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
	background: radial-gradient(circle at 18% 8%, rgba(27, 77, 62, 0.08), transparent 45%),
		radial-gradient(circle at 82% 18%, rgba(47, 143, 114, 0.1), transparent 40%), var(--navy);
}

.ambient-bg span {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.35;
	background: radial-gradient(circle, rgba(47, 143, 114, 0.55), transparent 70%);
	animation: float-slow 12s ease-in-out infinite;
}

.ambient-bg span:nth-child(1) {
	width: 340px;
	height: 340px;
	top: 6%;
	left: 8%;
}

.ambient-bg span:nth-child(2) {
	width: 260px;
	height: 260px;
	top: 40%;
	right: 6%;
	animation-duration: 16s;
	animation-delay: -4s;
}

.ambient-bg span:nth-child(3) {
	width: 300px;
	height: 300px;
	bottom: 4%;
	left: 30%;
	animation-duration: 20s;
	animation-delay: -8s;
}

.grain-overlay {
	pointer-events: none;
	position: fixed;
	inset: 0;
	z-index: 55;
	opacity: 0.02;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes float-slow {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-18px) rotate(3deg);
	}
}

@keyframes shimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

@keyframes marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.text-gold-gradient {
	background: linear-gradient(110deg, #123b30 10%, #6fcba9 35%, #1b4d3e 55%, #6fcba9 75%, #123b30 90%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.text-gold-shimmer {
	background: linear-gradient(110deg, #123b30 20%, #6fcba9 40%, #1b4d3e 55%, #123b30 70%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: shimmer 3.4s linear infinite;
}

.glass-panel {
	background: linear-gradient(155deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(27, 77, 62, 0.16);
	box-shadow: 0 8px 34px -14px rgba(15, 23, 42, 0.18);
}

.hairline {
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(27, 77, 62, 0.5), transparent);
}

/* reveal-on-scroll (Framer Motion fade/slide stand-in) */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
	opacity: 1;
	transform: translateY(0);
}

.reveal-left {
	transform: translateX(-40px);
}

.reveal-left.in {
	transform: translateX(0);
}

.reveal-right {
	transform: translateX(40px);
}

.reveal-right.in {
	transform: translateX(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 13px 26px;
	border-radius: 999px;
	background: var(--gold);
	color: var(--white);
	font-weight: 700;
	border: 1px solid var(--gold);
	box-shadow: 0 14px 30px rgba(27, 77, 62, 0.25);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn span {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn:hover {
	box-shadow: 0 18px 36px rgba(27, 77, 62, 0.32);
}

.btn .arrow {
	display: inline-block;
	transition: transform 0.25s ease;
}

.btn:hover .arrow {
	transform: translateX(4px);
}

.btn-secondary,
.btn-outline {
	background: transparent;
	color: var(--gold);
	box-shadow: none;
	border: 1px solid var(--line);
}

.btn-ghost {
	background: transparent;
	color: var(--ivory);
	border-color: transparent;
	box-shadow: none;
	min-height: auto;
	padding: 8px 4px;
}

.btn-small {
	min-height: 42px;
	padding: 10px 20px;
}

.btn.magnetic {
	will-change: transform;
}

/* Solid green actions always need high-contrast copy and currentColor icons. */
body.mierdcd-landing-page a.bg-gold,
body.mierdcd-landing-page button.bg-gold,
body.mierdcd-landing-page input.bg-gold {
	color: #ffffff !important;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header {
	position: fixed;
	top: 18px;
	left: 0;
	right: 0;
	z-index: 40;
	display: flex;
	justify-content: center;
	pointer-events: none;
}

.nav-pill {
	pointer-events: auto;
	width: min(94vw, 1180px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 10px 16px 10px 14px;
	border-radius: 999px;
	background: transparent;
	transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
	border: 1px solid transparent;
}

.site-header.is-scrolled .nav-pill {
	background: rgba(247, 250, 249, 0.86);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-color: var(--line);
	box-shadow: var(--shadow-soft);
	padding: 8px 14px 8px 12px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-family: var(--font-display);
}

.brand img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: none;
	flex: 0 0 auto;
}

.brand strong {
	font-size: 19px;
	letter-spacing: 0.02em;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 26px;
	font-weight: 600;
	font-size: 14.5px;
}

.nav-links > li {
	list-style: none;
	position: relative;
}

.nav-links ul {
	margin: 0;
	padding: 0;
	display: contents;
}

.has-dropdown > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.has-dropdown .caret {
	font-size: 10px;
	transition: transform 0.25s ease;
}

.has-dropdown.open .caret {
	transform: rotate(180deg);
}

.dropdown {
	position: absolute;
	top: calc(100% + 16px);
	left: 50%;
	transform: translate(-50%, -8px);
	min-width: 220px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--shadow);
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
	z-index: 30;
}

.has-dropdown.open .dropdown {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.dropdown a {
	display: block;
	padding: 9px 12px;
	border-radius: 10px;
	font-weight: 600;
	color: var(--ivory);
}

.dropdown a:hover {
	background: var(--charcoal);
	color: var(--gold);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	padding: 12px;
}

.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--gold);
	margin: 5px 0;
	transition: transform 0.2s ease;
}

/* scroll progress bar */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0%;
	background: linear-gradient(90deg, var(--gold), var(--gold-soft));
	z-index: 60;
}

/* mobile menu */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: var(--navy);
	clip-path: circle(0% at 100% 0%);
	transition: clip-path 0.65s cubic-bezier(0.65, 0, 0.35, 1);
	pointer-events: none;
	display: flex;
	flex-direction: column;
	padding: 26px 26px 40px;
}

.mobile-menu.open {
	clip-path: circle(150% at 100% 0%);
	pointer-events: auto;
}

.mobile-menu-top {
	display: flex;
	justify-content: flex-end;
}

.mobile-close {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--white);
	font-size: 20px;
	color: var(--gold);
}

.mobile-menu nav {
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	overflow-y: auto;
}

.mobile-menu nav > .mobile-item {
	opacity: 0;
	transform: translateX(24px);
	transition: opacity 0.4s ease, transform 0.4s ease;
	border-bottom: 1px solid var(--line);
}

.mobile-menu.open nav > .mobile-item {
	opacity: 1;
	transform: translateX(0);
}

.mobile-item > a,
.mobile-item > button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background: none;
	border: none;
	text-align: left;
	padding: 16px 4px;
	font-size: 22px;
	font-family: var(--font-display);
	color: var(--ivory);
}

.mobile-submenu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
	padding-left: 12px;
}

.mobile-item.expanded .mobile-submenu {
	max-height: 400px;
}

.mobile-submenu a {
	display: block;
	padding: 10px 4px;
	font-size: 15px;
	font-weight: 600;
	color: var(--muted);
}

.mobile-menu-footer {
	margin-top: auto;
	padding-top: 24px;
	color: var(--muted);
	font-size: 14px;
}

/* ==========================================================================
   Section shell / heading
   ========================================================================== */
.section {
	position: relative;
	padding: 96px 0;
}

.section-tight {
	padding: 56px 0;
}

.section-alt {
	background: var(--white);
}

.section-dark {
	background: linear-gradient(160deg, #10251f, var(--gold));
	color: var(--white);
}

.section-heading {
	max-width: 760px;
	margin: 0 auto 44px;
	text-align: center;
}

.section-heading.align-left {
	margin-inline: 0;
	text-align: left;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--gold);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 12.5px;
}

.eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--gold);
}

.section-dark .eyebrow,
.section-dark .eyebrow::before {
	color: #cdeee1;
	background: #cdeee1;
}

.section-heading h2,
.split-heading h2 {
	font-family: var(--font-display);
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.12;
	margin: 12px 0 14px;
	font-weight: 700;
}

.section-heading p {
	color: var(--muted);
	font-size: 17px;
}

.section-dark .section-heading p {
	color: #d9ece5;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background-color: var(--navy);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0) 45%, rgba(15, 23, 42, 0.72) 100%);
}

.hero-inner {
	position: relative;
	width: 100%;
	padding-bottom: 64px;
	color: var(--white);
}

.hero .eyebrow {
	color: #bfe6d8;
}

.hero .eyebrow::before {
	background: #bfe6d8;
}

.hero h1 {
	font-family: var(--font-display);
	font-size: clamp(38px, 6.4vw, 78px);
	line-height: 1.05;
	margin: 14px 0 22px;
	max-width: 16ch;
}

.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}

.hero-foot {
	font-size: 13.5px;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.72);
	text-transform: uppercase;
}

.home-hero-primary,
.home-hero-primary:hover,
.home-hero-primary:focus {
	color: #ffffff;
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	align-items: center;
}

.about-image {
	position: relative;
}

.about-image .poster {
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	aspect-ratio: 4 / 5;
}

.about-image .poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-badge {
	position: absolute;
	bottom: -22px;
	left: -22px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 18px 22px;
	box-shadow: var(--shadow-soft);
}

.about-badge strong {
	display: block;
	font-family: var(--font-display);
	font-size: 30px;
	color: var(--gold);
}

.about-badge span {
	font-size: 12.5px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.about-copy p {
	color: var(--muted);
	margin: 0 0 14px;
}

.stat-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 32px;
	text-align: center;
}

.stat-row div {
	border-top: 1px solid var(--line);
	padding-top: 12px;
}

.counter {
	display: block;
	font-family: var(--font-display);
	font-size: 36px;
	color: var(--gold);
}

.stat-row span:not(.counter) {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: var(--muted);
	font-weight: 600;
}

/* ==========================================================================
   Vision & Mission
   ========================================================================== */
.vm-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.vm-card {
	border-radius: 24px;
	padding: 40px;
	transform: rotate(var(--tilt-rot, 0deg));
}

.vm-card:nth-child(1) {
	--tilt-rot: -1deg;
}

.vm-card:nth-child(2) {
	--tilt-rot: 1deg;
}

.vm-icon {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--charcoal);
	display: grid;
	place-items: center;
	color: var(--gold);
	margin-bottom: 20px;
}

.vm-card h3 {
	font-family: var(--font-display);
	font-size: 26px;
	margin: 0 0 12px;
}

.vm-card p {
	color: var(--muted);
	margin: 0;
}

.tilt {
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	transform-style: preserve-3d;
	will-change: transform;
}

/* ==========================================================================
   History timeline
   ========================================================================== */
.timeline {
	position: relative;
	margin-top: 20px;
}

.timeline-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	transform: translateX(-50%);
	background: var(--line);
}

.timeline-fill {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0%;
	background: linear-gradient(180deg, var(--gold), var(--gold-soft));
	transition: height 0.6s ease;
}

.timeline-item {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 60px 1fr;
	gap: 30px;
	align-items: center;
	padding: 34px 0;
}

.timeline-item:nth-child(even) .timeline-copy {
	grid-column: 3;
	text-align: left;
}

.timeline-item:nth-child(even) .timeline-image {
	grid-column: 1;
}

.timeline-item:nth-child(odd) .timeline-copy {
	grid-column: 1;
	text-align: right;
}

.timeline-item:nth-child(odd) .timeline-image {
	grid-column: 3;
}

.timeline-dot {
	grid-column: 2;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--white);
	border: 3px solid var(--line);
	justify-self: center;
	position: relative;
	z-index: 2;
	transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease;
}

.timeline-item.filled .timeline-dot {
	border-color: var(--gold);
	background: var(--gold);
	transform: scale(1.15);
}

.timeline-year {
	font-family: var(--font-display);
	font-size: 34px;
	color: var(--gold);
}

.timeline-copy h3 {
	margin: 4px 0 10px;
	font-size: 20px;
}

.timeline-copy ul {
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 14.5px;
	display: grid;
	gap: 6px;
}

.timeline-item:nth-child(odd) .timeline-copy ul {
	justify-items: end;
}

.timeline-image img {
	border-radius: 18px;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
	aspect-ratio: 4/3;
	object-fit: cover;
	width: 100%;
}

/* ==========================================================================
   Core values
   ========================================================================== */
.corevalues-banner {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	padding: 72px 40px;
	text-align: center;
	color: var(--white);
	background-color: var(--gold);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: 40px;
}

.corevalues-banner h2 {
	font-family: var(--font-display);
	font-size: clamp(28px, 4vw, 44px);
	margin: 10px auto 14px;
	max-width: 20ch;
}

.corevalues-banner p {
	max-width: 640px;
	margin: 0 auto;
	color: #e4f1ec;
}

.cv-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.cv-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 34px;
	box-shadow: var(--shadow-soft);
	perspective: 1000px;
}

.cv-letter {
	font-family: var(--font-display);
	font-size: 44px;
	color: var(--gold);
	line-height: 1;
}

.cv-card h3 {
	margin: 10px 0 10px;
	font-size: 22px;
}

.cv-card p {
	color: var(--muted);
	margin: 0 0 14px;
}

.cv-card .cv-point {
	font-size: 14px;
	color: var(--gold);
	font-weight: 600;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

/* ==========================================================================
   Horizontal scrollers shared (Awards / Properties)
   ========================================================================== */
.scroller-wrap {
	position: relative;
}

.scroller {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	padding: 6px 6px 20px;
	scrollbar-width: none;
}

.scroller::-webkit-scrollbar {
	display: none;
}

.scroller.autoplay-scroll {
	scroll-snap-type: none;
}

.scroller-arrows {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-bottom: 18px;
}

.scroller-arrow {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--gold);
	font-size: 18px;
	display: grid;
	place-items: center;
	transition: background 0.2s ease, color 0.2s ease;
}

.scroller-arrow:hover {
	background: var(--gold);
	color: var(--white);
}

/* Awards */
.award-card {
	flex: 0 0 300px;
	scroll-snap-align: start;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.award-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.award-card .award-media {
	aspect-ratio: 4/3;
	background: var(--charcoal);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.award-card .award-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 14px;
}

.award-body {
	padding: 18px 20px 22px;
}

.award-body .award-year {
	font-size: 12.5px;
	font-weight: 800;
	color: var(--gold);
	letter-spacing: 0.06em;
}

.award-body h3 {
	font-size: 17px;
	margin: 6px 0 4px;
	line-height: 1.35;
}

.award-body span {
	font-size: 13.5px;
	color: var(--muted);
}

/* ==========================================================================
   Founder
   ========================================================================== */
.founder-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 60px;
	align-items: start;
}

.founder-portrait {
	position: relative;
}

.founder-portrait::before {
	content: "";
	position: absolute;
	inset: -20px;
	background: radial-gradient(circle, rgba(47, 143, 114, 0.25), transparent 70%);
	filter: blur(30px);
	z-index: -1;
}

.founder-portrait .poster {
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	aspect-ratio: 658/823;
}

.founder-portrait .poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.founder-credentials {
	margin-top: 20px;
	display: grid;
	gap: 10px;
}

.founder-credentials li {
	list-style: none;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	color: var(--muted);
	font-weight: 600;
}

.founder-credentials li::before {
	content: "★";
	color: var(--gold);
}

.founder-name {
	font-family: var(--font-display);
	font-size: 32px;
	margin: 6px 0 2px;
}

.founder-title {
	color: var(--muted);
	font-weight: 600;
	margin-bottom: 22px;
}

.founder-quote-title {
	font-family: var(--font-display);
	font-size: 22px;
	color: var(--gold);
	margin-bottom: 12px;
}

.founder-copy p {
	color: var(--muted);
	margin: 0 0 14px;
}

.signature {
	margin-top: 20px;
	width: 220px;
}

.signature path {
	fill: none;
	stroke: var(--gold);
	stroke-width: 2;
	stroke-dasharray: 340;
	stroke-dashoffset: 340;
	transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.signature.in path {
	stroke-dashoffset: 0;
}

.signature-caption {
	font-size: 13px;
	color: var(--muted);
	margin-top: 6px;
}

/* ==========================================================================
   Offices
   ========================================================================== */
.offices-grid {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 40px;
	align-items: stretch;
}

.office-list {
	display: grid;
	gap: 16px;
	align-content: start;
}

.office-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 22px 24px;
	box-shadow: var(--shadow-soft);
	transition: transform 0.25s ease;
}

.office-card:hover {
	transform: translateY(-3px);
}

.office-card h3 {
	margin: 0 0 6px;
	font-size: 18px;
}

.office-card p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.office-arrow {
	font-size: 20px;
	color: var(--gold);
	transition: transform 0.25s ease;
}

.office-card:hover .office-arrow {
	transform: translate(4px, -4px);
}

.office-map {
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
}

.office-map img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cta-banner {
	margin-top: 40px;
	border-radius: 26px;
	overflow: hidden;
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	background: linear-gradient(160deg, #10251f, var(--gold));
	color: var(--white);
}

.cta-banner-copy {
	padding: 56px;
}

.cta-banner .eyebrow {
	color: #bfe6d8;
}

.cta-banner .eyebrow::before {
	background: #bfe6d8;
}

.cta-banner h2 {
	font-family: var(--font-display);
	font-size: clamp(26px, 3vw, 36px);
	margin: 10px 0 14px;
}

.cta-banner p {
	color: #dcefe8;
	margin: 0 0 24px;
}

.cta-banner-image {
	height: 100%;
	min-height: 280px;
}

.cta-banner-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.9;
}

/* ==========================================================================
   Developers
   ========================================================================== */
.marquee-wrap {
	position: relative;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
	display: flex;
	align-items: center;
	gap: 48px;
	width: max-content;
	animation: marquee 42s linear infinite;
}

.marquee-wrap:hover .marquee-track {
	animation-play-state: paused;
}

.dev-logo {
	flex: 0 0 auto;
	height: clamp(140px, 14vw, 176px);
	width: clamp(240px, 27vw, 380px);
	display: grid;
	place-items: center;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 24px 32px;
}

.dev-logo img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.dev-pills {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.dev-pills span {
	background: var(--charcoal);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 9px 16px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--muted);
}

/* ==========================================================================
   Properties (horizontal scroller cards)
   ========================================================================== */
.property-card {
	flex: 0 0 320px;
	scroll-snap-align: start;
	border-radius: 20px;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.3s ease;
}

.property-card:hover {
	box-shadow: var(--shadow);
}

.property-media {
	position: relative;
	aspect-ratio: 4/3;
	overflow: hidden;
}

.property-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.property-card:hover .property-media img {
	transform: scale(1.08);
}

.property-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.65));
}

.property-status {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background: var(--gold);
	color: var(--white);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
}

.property-body {
	padding: 20px 22px 24px;
}

.property-body h3 {
	margin: 0 0 4px;
	font-size: 19px;
}

.property-location {
	color: var(--muted);
	font-size: 13.5px;
	margin-bottom: 10px;
}

.property-body p {
	color: var(--muted);
	font-size: 14px;
	margin: 0 0 14px;
}

.property-price {
	font-family: var(--font-display);
	color: var(--gold);
	font-size: 18px;
	margin-bottom: 14px;
}

.section-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--gold);
	margin-top: 8px;
}

.section-heading-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 34px;
}

/* ==========================================================================
   Property showcase carousel
   ========================================================================== */
.showcase {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	min-height: 560px;
	background: var(--ivory);
}

.showcase-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 1.1s ease, transform 1.1s ease;
	background-position: center;
	background-size: cover;
}

.showcase-slide.active {
	opacity: 1;
	transform: scale(1);
	z-index: 1;
}

.showcase-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.15) 60%);
}

.showcase-copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 56px;
	z-index: 2;
	padding: 0 48px;
	color: var(--white);
	max-width: 640px;
}

.showcase-copy .kicker {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #bfe6d8;
	margin-bottom: 8px;
}

.showcase-copy h3 {
	font-family: var(--font-display);
	font-size: clamp(26px, 3.4vw, 40px);
	margin: 0 0 10px;
}

.showcase-copy p {
	color: #e3ede8;
	margin: 0 0 10px;
}

.showcase-copy .price {
	font-family: var(--font-display);
	font-size: 22px;
	color: #bfe6d8;
}

.showcase-progress {
	position: absolute;
	left: 48px;
	right: 48px;
	bottom: 24px;
	z-index: 2;
	display: flex;
	gap: 8px;
}

.showcase-progress button {
	flex: 1;
	height: 3px;
	background: rgba(255, 255, 255, 0.3);
	border: none;
	border-radius: 3px;
	overflow: hidden;
	position: relative;
}

.showcase-progress button i {
	position: absolute;
	inset: 0;
	background: var(--white);
	width: 0%;
	display: block;
}

.showcase-progress button.active i {
	animation: showcase-fill 5.2s linear forwards;
}

@keyframes showcase-fill {
	from {
		width: 0%;
	}
	to {
		width: 100%;
	}
}

.showcase-nav {
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: none;
	flex-direction: column;
	gap: 10px;
}

.showcase-nav button {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: var(--white);
	font-size: 18px;
}

/* ==========================================================================
   Agents
   ========================================================================== */
.team-banner {
	position: relative;
	border-radius: 26px;
	overflow: hidden;
	margin-bottom: 40px;
	aspect-ratio: 21/8;
}

.team-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.team-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(15, 23, 42, 0.75), transparent 55%);
}

.agent-card {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 3/4;
	background: var(--charcoal);
}

.agent-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.agent-card:hover img {
	transform: scale(1.06);
}

.agent-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 18px;
	background: linear-gradient(0deg, rgba(15, 23, 42, 0.82), transparent 60%);
	color: var(--white);
}

.agent-overlay strong {
	display: block;
	font-family: var(--font-display);
	font-size: 18px;
}

.agent-overlay span {
	font-size: 13px;
	color: #d8e9e3;
}

.agent-social {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: rgba(27, 77, 62, 0.82);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.agent-card:hover .agent-social {
	opacity: 1;
}

.agent-social span {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: var(--white);
	display: grid;
	place-items: center;
	font-size: 13px;
	font-weight: 700;
}

.agents-page-link,
.properties-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--gold);
	font-size: 14px;
	font-weight: 700;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.agents-page-link:hover,
.agents-page-link:focus,
.agents-page-link.is-active,
.properties-page-link:hover,
.properties-page-link:focus,
.properties-page-link.is-active {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--white);
}

.agents-page-link:hover,
.properties-page-link:hover {
	transform: translateY(-1px);
}

/* ==========================================================================
   Brokers
   ========================================================================== */
.plbn-seal {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
}

.plbn-seal img {
	height: 96px;
	width: 96px;
	object-fit: contain;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--white);
	box-shadow: var(--shadow-soft);
}

.broker-card {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
	text-align: center;
	padding-bottom: 20px;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.broker-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.broker-media {
	aspect-ratio: 1/1;
	background: var(--charcoal);
	overflow: hidden;
}

.broker-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.broker-card h3 {
	margin: 16px 0 4px;
	font-size: 17px;
}

.broker-badge {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--gold);
	background: var(--charcoal);
	border-radius: 999px;
	padding: 4px 12px;
	margin-bottom: 4px;
}

.broker-card span.region {
	display: block;
	color: var(--muted);
	font-size: 13px;
}

.perks-caption {
	text-align: center;
	color: var(--muted-soft);
	font-size: 13px;
	margin-top: -4px;
	margin-bottom: 28px;
}

.perk-banner {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 4/3;
	cursor: pointer;
	background: var(--charcoal);
}

.perk-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.perk-banner:hover img {
	transform: scale(1.05);
}

.perk-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.1) 55%);
}

.perk-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px;
	color: var(--white);
}

.perk-body .eyebrow {
	color: #bfe6d8;
	font-size: 10.5px;
}

.perk-body .eyebrow::before {
	background: #bfe6d8;
}

.perk-body h4 {
	font-family: var(--font-display);
	font-size: 16px;
	margin: 6px 0 4px;
}

.perk-body p {
	font-size: 12.5px;
	color: #dceee7;
	margin: 0;
	display: none;
}

.perk-zoom {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: var(--gold);
	display: grid;
	place-items: center;
	opacity: 0;
	transition: opacity 0.25s ease;
	font-size: 14px;
}

.perk-banner:hover .perk-zoom {
	opacity: 1;
}

/* ==========================================================================
   News
   ========================================================================== */
.news-grid {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 30px;
	align-items: start;
}

.news-featured {
	border-radius: 22px;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
}

.news-featured-media {
	aspect-ratio: 16/10;
	overflow: hidden;
	background: var(--charcoal);
}

.news-featured-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.4s ease;
}

.news-featured-body {
	padding: 26px 28px 30px;
}

.news-meta {
	display: flex;
	gap: 12px;
	font-size: 12.5px;
	color: var(--gold);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
}

.news-featured-body h3 {
	font-family: var(--font-display);
	font-size: 24px;
	margin: 0 0 10px;
	line-height: 1.3;
}

.news-featured-body p {
	color: var(--muted);
	margin: 0;
}

.news-list {
	display: grid;
	gap: 14px;
}

.news-thumb {
	display: flex;
	gap: 14px;
	align-items: center;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 12px;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.news-thumb:hover,
.news-thumb.active {
	border-color: var(--gold);
}

.news-thumb-media {
	flex: 0 0 84px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--charcoal);
}

.news-thumb-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.news-thumb:hover .news-thumb-media img {
	transform: scale(1.08);
}

.news-thumb-body span {
	font-size: 11.5px;
	color: var(--gold);
	font-weight: 700;
	text-transform: uppercase;
}

.news-thumb-body h4 {
	font-size: 14px;
	margin: 4px 0 0;
	line-height: 1.35;
}

/* ==========================================================================
   Login / Register (functional section — keep PHP wiring, restyle only)
   ========================================================================== */
.login-section {
	background: linear-gradient(160deg, #10251f, var(--gold));
	color: var(--white);
	position: relative;
	overflow: hidden;
}

.login-section svg.deco {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0.25;
	pointer-events: none;
}

.login-section svg.deco path {
	fill: none;
	stroke: #bfe6d8;
	stroke-width: 1.5;
	stroke-dasharray: 1400;
	stroke-dashoffset: 1400;
	transition: stroke-dashoffset 2.2s ease;
}

.login-section svg.deco.in path {
	stroke-dashoffset: 0;
}

.login-grid {
	position: relative;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 50px;
	align-items: center;
}

.login-copy .eyebrow,
.login-copy .eyebrow::before {
	color: #bfe6d8;
}

.login-copy h2 {
	font-family: var(--font-display);
	font-size: clamp(28px, 3.6vw, 42px);
	margin: 12px 0 14px;
}

.login-copy p {
	color: #dcefe8;
	max-width: 46ch;
}

.login-contact {
	margin-top: 22px;
	font-size: 14px;
	color: #bfe6d8;
}

.login-panel {
	border-radius: 24px;
	padding: 4px;
}

.login-panel-inner {
	padding: 36px;
	color: var(--ivory);
}

.login-panel-inner h3 {
	font-family: var(--font-display);
	font-size: 26px;
	margin: 0 0 20px;
}

.login-form {
	display: grid;
	gap: 16px;
}

.login-form label {
	display: grid;
	gap: 8px;
	font-weight: 700;
	font-size: 14px;
}

.login-form input {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 14px 16px;
	font: inherit;
	background: var(--white);
	color: var(--ivory);
}

.login-form input:focus {
	outline: 2px solid var(--gold-soft);
	outline-offset: 1px;
}

.login-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	font-size: 13.5px;
	color: var(--muted);
}

.login-meta a {
	color: var(--gold);
	font-weight: 700;
}

.login-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.login-alert {
	border-radius: 12px;
	padding: 13px 16px;
	margin-bottom: 18px;
	font-weight: 600;
	font-size: 14px;
}

.login-alert.error {
	background: #fff0f0;
	color: #9f1d1d;
	border: 1px solid #f2bbbb;
}

.login-alert.success {
	background: #eef9f1;
	color: #176c34;
	border: 1px solid #bfe8c8;
}

.login-alert-fallback {
	display: grid;
	gap: 3px;
	margin-bottom: 20px;
	padding: 14px 16px;
	border: 1px solid #efb2b2;
	border-left: 4px solid #bd3434;
	border-radius: 12px;
	background: #fff4f3;
	color: #7c2525;
	font-size: 13px;
	line-height: 1.5;
}

.login-alert-fallback strong {
	color: #611919;
	font-size: 14px;
}

.login-alert-fallback--security {
	border-color: #e7c17f;
	border-left-color: #b76a09;
	background: #fff8e8;
	color: #76511f;
}

.login-alert-fallback--security strong {
	color: #633805;
}

.swal2-popup.login-swal {
	width: min(92vw, 430px) !important;
	padding: 2rem 2rem 1.75rem !important;
	border: 1px solid rgba(27, 77, 62, 0.13) !important;
	border-radius: 24px !important;
	box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24) !important;
	font-family: var(--font-body) !important;
}

.login-swal .swal2-title {
	margin: 0.35rem 0 0.65rem !important;
	color: #0f172a !important;
	font-family: var(--font-display) !important;
	font-size: clamp(1.65rem, 5vw, 2rem) !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
}

.login-swal .swal2-content {
	color: #52685d !important;
	font-size: 0.95rem !important;
	line-height: 1.65 !important;
}

.login-swal .swal2-actions {
	margin-top: 1.5rem !important;
}

.login-swal .swal2-confirm {
	min-width: 148px;
	padding: 0.78rem 1.5rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: 0 10px 24px rgba(27, 77, 62, 0.22) !important;
	font-size: 0.78rem !important;
	font-weight: 750 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase;
}

.login-swal .swal2-confirm:focus {
	box-shadow: 0 0 0 4px rgba(47, 143, 114, 0.2), 0 10px 24px rgba(27, 77, 62, 0.22) !important;
}

.login-swal .swal2-icon {
	margin-top: 0 !important;
	transform: scale(0.88);
}

.login-notification {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin: 0 0 24px;
	padding: 17px 18px 17px 16px;
	border: 1px solid rgba(190, 47, 47, 0.3);
	border-left: 5px solid #bd3434;
	border-radius: 15px;
	background: linear-gradient(135deg, #fff8f7 0%, #fff1ef 100%);
	box-shadow: 0 12px 30px rgba(125, 30, 30, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
	color: #6f1d1d;
	animation: login-notification-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.login-notification::after {
	content: "";
	position: absolute;
	top: 14px;
	right: 14px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #d54a4a;
	box-shadow: 0 0 0 5px rgba(213, 74, 74, 0.12);
}

.login-notification__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: #bd3434;
	color: #fff;
	box-shadow: 0 8px 18px rgba(154, 36, 36, 0.24);
}

.login-notification__icon svg {
	width: 24px;
	height: 24px;
}

.login-notification__content {
	min-width: 0;
	padding-right: 12px;
}

.login-notification__label {
	display: block;
	margin-bottom: 2px;
	color: #a32d2d;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.login-notification__content strong {
	display: block;
	color: #611919;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.35;
}

.login-notification__content p {
	margin: 4px 0 0;
	color: #7c3535;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.55;
}

.login-notification--security {
	border-color: rgba(190, 117, 21, 0.35);
	border-left-color: #b76a09;
	background: linear-gradient(135deg, #fffbf1 0%, #fff4d8 100%);
	box-shadow: 0 12px 30px rgba(121, 76, 13, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	color: #71430b;
}

.login-notification--security::after {
	background: #d2871f;
	box-shadow: 0 0 0 5px rgba(210, 135, 31, 0.14);
}

.login-notification--security .login-notification__icon {
	background: #b76a09;
	box-shadow: 0 8px 18px rgba(151, 88, 9, 0.24);
}

.login-notification--security .login-notification__label {
	color: #9a5908;
}

.login-notification--security .login-notification__content strong {
	color: #633805;
}

.login-notification--security .login-notification__content p {
	color: #76511f;
}

@keyframes login-notification-in {
	from {
		opacity: 0;
		transform: translateY(-8px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 520px) {
	.login-notification {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 11px;
		padding: 14px 14px 14px 12px;
	}

	.login-notification__icon {
		width: 38px;
		height: 38px;
	}

	.login-notification__icon svg {
		width: 21px;
		height: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.login-notification {
		animation: none;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
	background: #0c1c16;
	color: #cfe4db;
	padding: 64px 0 26px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 40px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-family: var(--font-display);
	font-size: 19px;
	color: var(--white);
}

.footer-brand img {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--white);
}

.footer p {
	color: #9db7ac;
	font-size: 14px;
}

.footer-social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.footer-social span {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	display: grid;
	place-items: center;
	font-size: 12px;
	font-weight: 700;
}

.footer h4 {
	color: var(--white);
	font-size: 15px;
	margin: 0 0 16px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.footer-links {
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-links a {
	color: #b6cec4;
	font-size: 14px;
}

.footer-links a:hover {
	color: var(--white);
}

.footer-offices {
	display: grid;
	gap: 14px;
	padding: 0;
	margin: 0 0 14px;
	list-style: none;
}

.footer-offices strong {
	display: block;
	color: var(--white);
	font-size: 14px;
}

.footer-offices span {
	font-size: 13px;
	color: #9db7ac;
}

.newsletter-form {
	display: flex;
	gap: 8px;
	margin-top: 4px;
}

.newsletter-form input {
	flex: 1;
	min-width: 0;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	padding: 12px 16px;
	font: inherit;
}

.newsletter-form input::placeholder {
	color: #8fac9f;
}

.newsletter-form button {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gold-soft);
	border: none;
	color: var(--white);
	flex: 0 0 auto;
}

.newsletter-note {
	margin-top: 10px;
	font-size: 13px;
	color: #bfe6d8;
	display: none;
}

.newsletter-note.show {
	display: block;
}

.footer-bottom {
	margin-top: 46px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 13px;
	color: #86a196;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(10, 20, 16, 0.88);
	padding: 40px;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.lightbox.open {
	display: flex;
	opacity: 1;
}

.lightbox-inner {
	max-width: 900px;
	width: 100%;
	transform: scale(0.94);
	transition: transform 0.25s ease;
}

.lightbox.open .lightbox-inner {
	transform: scale(1);
}

.lightbox-inner img {
	width: 100%;
	max-height: 76vh;
	object-fit: contain;
	border-radius: 12px;
}

.lightbox-caption {
	color: var(--white);
	text-align: center;
	margin-top: 14px;
	font-size: 14px;
}

.lightbox-close {
	position: absolute;
	top: 24px;
	right: 28px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--white);
	font-size: 20px;
}

/* ==========================================================================
   Loader / floating CTA / cursor glow
   ========================================================================== */
.page-loader {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: var(--navy);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	transition: opacity 0.6s ease;
}

.page-loader.hide {
	opacity: 0;
	pointer-events: none;
}

.loader-ring {
	position: relative;
	width: 84px;
	height: 84px;
}

.loader-ring svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.loader-ring circle {
	fill: none;
	stroke-width: 3;
}

.loader-ring circle.bg {
	stroke: var(--line);
}

.loader-ring circle.fg {
	stroke: var(--gold);
	stroke-linecap: round;
	stroke-dasharray: 226;
	stroke-dashoffset: 226;
	transition: stroke-dashoffset 0.15s linear;
}

.loader-mono {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-size: 24px;
	color: var(--gold);
}

.loader-brand {
	font-family: var(--font-display);
	letter-spacing: 0.18em;
	font-size: 14px;
	color: var(--ivory);
}

.loader-pct {
	font-size: 13px;
	color: var(--muted);
}

.floating-cta {
	position: fixed;
	bottom: 26px;
	right: 26px;
	z-index: 45;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	opacity: 0;
	transform: translateY(16px) scale(0.94);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-cta.show {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.floating-cta .ping {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #bfe6d8;
	animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	75%,
	100% {
		transform: scale(2.2);
		opacity: 0;
	}
}

.cursor-glow,
.cursor-dot,
.cursor-ring {
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 65;
	will-change: transform;
}

.cursor-glow {
	width: 440px;
	height: 440px;
	margin: -220px 0 0 -220px;
	background: radial-gradient(circle, rgba(47, 143, 114, 0.16), transparent 70%);
	filter: blur(30px);
}

.cursor-dot {
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	background: var(--gold);
}

.cursor-ring {
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border-radius: 50%;
	border: 1.5px solid var(--gold);
	transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, border-color 0.2s ease;
}

.cursor-ring.hover {
	width: 58px;
	height: 58px;
	margin: -29px 0 0 -29px;
	border-color: var(--gold-soft);
}

@media (pointer: coarse) {
	.cursor-glow,
	.cursor-dot,
	.cursor-ring {
		display: none;
	}
}

/* image not yet supplied — labeled placeholder, mirrors mierdcd's ImagePlaceholder */
.img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 12px;
	background: repeating-linear-gradient(135deg, var(--charcoal), var(--charcoal) 10px, #e3ede8 10px, #e3ede8 20px);
	color: var(--muted-soft);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Developer partner logos marquee: 1 per screen on mobile, 3 on tablet,
   original peek-width (~3.5) on desktop */
.dev-logo-card {
	width: calc(100vw - 3rem);
}

@media (min-width: 640px) and (max-width: 1023px) {
	.dev-logo-card {
		width: calc(33.333vw - 1.5rem);
	}
}

@media (min-width: 1024px) {
	.dev-logo-card {
		width: calc(28.5vw - 1.5rem);
	}
}

@media (max-width: 1180px) {
	.founder-grid {
		grid-template-columns: 0.9fr 1.1fr;
		gap: 40px;
	}
}

@media (max-width: 1024px) {
	.about-grid,
	.offices-grid,
	.news-grid {
		grid-template-columns: 1fr;
	}

	.about-image {
		max-width: 420px;
	}

	.cv-grid {
		grid-template-columns: 1fr;
	}

	.cta-banner {
		grid-template-columns: 1fr;
	}

	.cta-banner-image {
		min-height: 220px;
		order: -1;
	}

	.showcase-nav {
		display: none;
	}
}

@media (min-width: 1025px) {
	.showcase-nav {
		display: flex;
	}
}

@media (max-width: 900px) {
	.nav-links,
	.nav-actions .btn {
		display: none;
	}

	.nav-toggle {
		display: block;
	}

	.vm-grid,
	.founder-grid,
	.login-grid {
		grid-template-columns: 1fr;
	}

	.founder-portrait {
		max-width: 320px;
	}

	.timeline-line {
		left: 20px;
	}

	.timeline-item,
	.timeline-item:nth-child(even) {
		grid-template-columns: 40px 1fr;
	}

	.timeline-item .timeline-dot {
		grid-column: 1;
	}

	.timeline-item .timeline-copy,
	.timeline-item:nth-child(even) .timeline-copy {
		grid-column: 2;
		text-align: left !important;
	}

	.timeline-item .timeline-copy ul,
	.timeline-item:nth-child(even) .timeline-copy ul {
		justify-items: start !important;
	}

	.timeline-item .timeline-image,
	.timeline-item:nth-child(even) .timeline-image {
		grid-column: 2;
		margin-top: 14px;
	}

	.stat-row {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 620px) {
	.section {
		padding: 64px 0;
	}

	/* Use the portrait campaign artwork on phones while preserving desktop. */
	.home-hero {
		height: auto;
		min-height: 850px;
		padding-bottom: 28px;
	}

	.home-hero-visual {
		inset: 92px auto auto 50%;
		width: min(calc(100% - 40px), 360px);
		height: auto;
		aspect-ratio: 4 / 5;
		transform: translateX(-50%);
		border: 1px solid var(--line);
		border-radius: 24px;
		background-image: url("../image/mierdcd/about_us.png") !important;
		background-position: center !important;
		background-size: cover !important;
		box-shadow: var(--shadow-soft);
	}

	.home-hero-content {
		padding-inline: 20px;
	}

	.home-hero-title {
		width: 100%;
		margin-bottom: 18px;
		font-size: 15px;
		letter-spacing: 0.18em;
		line-height: 1.4;
		white-space: nowrap;
	}

	.home-hero-title > span {
		display: none;
	}

	.home-hero-actions {
		width: 100%;
		gap: 12px;
	}

	.home-hero-actions > a {
		width: 100%;
		justify-content: center;
	}

	.home-hero-foot {
		max-width: 320px;
		margin-top: 24px;
		font-size: 15px;
		letter-spacing: 0.2em;
		line-height: 1.65;
	}

	.login-page-main {
		padding-top: 76px;
	}

	.login-page-section {
		padding-top: 24px;
		padding-bottom: 64px;
	}

	.hero-inner {
		padding-bottom: 40px;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.section-heading-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.cv-card,
	.login-panel-inner,
	.cta-banner-copy {
		padding: 26px;
	}

	.founder-portrait {
		max-width: 240px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.about-badge {
		left: 0;
		bottom: -18px;
		padding: 14px 18px;
	}

	.showcase {
		min-height: 460px;
	}

	.showcase-copy {
		padding: 0 24px;
		bottom: 46px;
	}

	.showcase-progress {
		left: 24px;
		right: 24px;
	}
}
