/* ============================================================
   RED EAGLE GROUP — Main Stylesheet
   ============================================================ */

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	box-sizing: border-box;
}

html { scroll-behavior: smooth; margin: 0; padding: 0; }

body {
	font-family: 'Outfit', sans-serif;
	background: #202020;
	color: #202020;
	overflow-x: hidden;
	margin: 0;
	padding: 0;
}

.site-main { display: block; margin: 0; padding: 0; }

body.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar #site-header { top: 46px; }
}

/* ─── ANIMATIONS ────────────────────────────────────────────── */
.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity .5s ease-out, transform .6s cubic-bezier(.075,.82,.165,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.clip-reveal {
	clip-path: inset(100% 0 0 0);
	transition: clip-path .6s cubic-bezier(.075,.82,.165,1);
}
.clip-reveal.visible { clip-path: inset(0% 0 0 0); }

.line-grow {
	transform-origin: left center;
	transform: scaleX(0);
	transition: transform .8s ease-in-out;
}
.line-grow.visible { transform: scaleX(1); }

@keyframes forceShow {
	to { opacity: 1; transform: translateY(0) scaleX(1); clip-path: inset(0% 0 0 0); }
}
.reveal, .clip-reveal, .line-grow { animation: forceShow 0s ease 2s both; }

/* ─── NAV ───────────────────────────────────────────────────── */
#site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 9996;
	width: 100%;
	transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
}

.nav-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 4rem;
	height: 80px;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #202020;
	transition: color .3s ease;
}

.site-logo__text {
	font-family: 'Outfit', sans-serif;
	font-weight: 500;
	font-size: 18px;
	color: inherit;
	letter-spacing: -0.01em;
}

.menu-trigger {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: inherit;
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.menu-lines {
	position: relative;
	width: 28px;
	height: 14px;
	flex-shrink: 0;
}

.menu-lines span {
	position: absolute;
	height: 1.5px;
	background: currentColor;
	transition: width .35s cubic-bezier(.075,.82,.165,1), left .35s cubic-bezier(.075,.82,.165,1), right .35s cubic-bezier(.075,.82,.165,1);
}

.menu-lines .ln-top { top: 3px; right: 0; width: 18px; }
.menu-lines .ln-bot { bottom: 3px; left: 0; width: 26px; }
.menu-trigger:hover .menu-lines .ln-top { width: 26px; right: 0; }
.menu-trigger:hover .menu-lines .ln-bot { width: 26px; left: 0; }

.menu-label {
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: inherit;
}

/* Mobile menu overlay */
#mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;
	width: 420px;
	background: #202020;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	padding: 2rem 4rem;
	transform: translateX(100%);
	transition: transform .4s cubic-bezier(.075,.82,.165,1);
}
#mobile-menu.open { transform: translateX(0); }

@media (max-width: 480px) {
	#mobile-menu { width: 100%; }
}

.mobile-menu-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 4rem;
}

.mobile-menu-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #b9b9b9;
}

.mobile-menu-brand span {
	font-family: 'Outfit', sans-serif;
	font-weight: 500;
	font-size: 16px;
}

.mobile-nav {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2.4rem;
}

.mobile-link {
	font-family: 'Outfit', sans-serif;
	font-size: 40px;
	line-height: 1;
	letter-spacing: -0.02em;
	font-weight: 400;
	color: #b9b9b9;
	text-decoration: none;
	transition: color .3s ease;
}
.mobile-link:hover { color: #ff5841; }

.mobile-menu-footer {
	padding-top: 2rem;
	border-top: 1px solid #4d4d4d;
}

.mobile-menu-email {
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	color: #8b8b8b;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	text-decoration: none;
}

/* ─── HERO CTAs ────────────────────────────────────────────── */
.hero-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 32px;
	height: 58px;
	padding: 0 32px;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.hero-cta-dark { background: #202020; color: #ff5841; border: 1px solid #202020; }
.hero-cta-dark:hover { background: #b9b9b9; border-color: #b9b9b9; color: #202020; }
.hero-cta-outline { background: transparent; color: #202020; border: 1px solid #202020; }
.hero-cta-outline:hover { background: #202020; color: #ff5841; }

/* ─── CTA LINK ──────────────────────────────────────────────── */
.cta-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	transition: color .3s ease;
}
.cta-link:hover { color: #ff5841; }
.cta-icon { transition: transform .3s ease; }
.cta-link:hover .cta-icon { transform: translate(4px, -4px); }

/* ─── SECTION DECORATION ────────────────────────────────────── */
.section-deco-line {
	position: absolute;
	top: 0;
	left: 4rem;
	width: calc(100% - 8rem);
	border-top: 1px solid #000;
}

.section-deco-line--light {
	border-top-color: rgba(32,32,32,0.2);
}

.section-label {
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	text-transform: uppercase;
	color: #8b8b8b;
	letter-spacing: -0.02em;
	margin: 0;
}

/* ─── HERO SECTION ──────────────────────────────────────────── */
#hero { background: #ff5841; position: relative; }

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 420px;
	min-height: 100vh;
}

.hero-block {
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.hero-block-pad {
	flex: 1;
	background: #ff5841;
	padding: 10rem 4rem 3rem;
	position: relative;
	display: flex;
	align-items: flex-end;
}

.hero-content-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 3rem;
	width: 100%;
	align-items: flex-end;
}

.hero-h1 {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(64px, 12vw, 200px);
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: -0.03em;
	color: #202020;
	margin: 0;
	padding-bottom: 30px;
	display: flex;
	flex-direction: column;
}

.hero-label {
	position: absolute;
	top: 8rem;
	left: 4rem;
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	text-transform: uppercase;
	color: rgba(32,32,32,0.6);
	letter-spacing: -0.02em;
	margin: 0;
}

.hero-subcopy {
	max-width: 24rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-bottom: 1.2rem;
}

.hero-subcopy p {
	font-family: 'Outfit', sans-serif;
	font-size: 20px;
	font-weight: 500;
	color: #202020;
	line-height: 1.35;
	margin: 0;
}

.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-img {
	height: 38vh;
	min-height: 280px;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.hero-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.15) brightness(0.88);
	display: block;
}

/* ─── HERO ASIDE ────────────────────────────────────────────── */
.hero-aside { display: flex; flex-direction: column; }

.hero-aside-top {
	background: #b9b9b9;
	padding: 10rem 2.4rem 2.4rem;
	flex: 0 0 auto;
}

.hero-aside-badge {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 1.4rem;
}

.hero-aside-badge-text {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	text-transform: uppercase;
	color: #202020;
	letter-spacing: -0.02em;
}

.hero-aside-tagline {
	font-family: 'Outfit', sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: #202020;
	line-height: 1.35;
	margin: 0;
	max-width: 22rem;
}

.hero-aside-bottom {
	background: #202020;
	flex: 1;
	padding: 2.4rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.hero-aside-services h3 {
	font-family: 'Outfit', sans-serif;
	font-size: 22px;
	font-weight: 400;
	color: #b9b9b9;
	margin: 0 0 1.6rem;
	letter-spacing: -0.01em;
}

.hero-aside-services-grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0 1rem;
}

.hero-aside-services-list {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #b9b9b9;
	letter-spacing: -0.02em;
	line-height: 1.9;
	text-transform: uppercase;
}

.hero-aside-services-dots {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #ff5841;
	line-height: 1.9;
	text-align: right;
}

.hero-aside-stars {
	margin-top: 2rem;
	border-top: 1px solid #4d4d4d;
	padding-top: 1.4rem;
}

.hero-aside-stars-label {
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	text-transform: uppercase;
	color: #4d4d4d;
	letter-spacing: 0.08em;
	margin: 0 0 0.9rem;
}

#star-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.star-row { display: flex; gap: 5px; }
.star-row--offset { padding-left: 9px; }

.s {
	color: #252530;
	font-size: 12px;
	line-height: 1;
	transition: color 0.28s ease;
	user-select: none;
	cursor: default;
}

/* ─── EAGLE FLAG ANIMATION ──────────────────────────────────── */
.eagle-overlay {
	position: absolute;
	inset: 0;
	mix-blend-mode: color;
	pointer-events: none;
	animation: flagCycle 7s ease-in-out infinite;
}

.hero-img:hover .eagle-overlay {
	animation: flagCycleHov 2s ease-in-out infinite;
}

@keyframes flagCycle {
	0%   { background: rgba(178,34,52,0.72); }
	25%  { background: rgba(178,34,52,0); }
	42%  { background: rgba(60,59,110,0); }
	67%  { background: rgba(60,59,110,0.72); }
	82%  { background: rgba(60,59,110,0); }
	92%  { background: rgba(178,34,52,0); }
	100% { background: rgba(178,34,52,0.72); }
}

@keyframes flagCycleHov {
	0%   { background: rgba(178,34,52,0.9); }
	25%  { background: rgba(178,34,52,0); }
	42%  { background: rgba(60,59,110,0); }
	67%  { background: rgba(60,59,110,0.9); }
	82%  { background: rgba(60,59,110,0); }
	92%  { background: rgba(178,34,52,0); }
	100% { background: rgba(178,34,52,0.9); }
}

/* ─── FLAG BADGES (reusable) ────────────────────────────────── */
.flag-badge {
	position: relative;
	display: inline-block;
	overflow: hidden;
	border-radius: 2px;
	flex-shrink: 0;
	box-shadow: 0 0 0 1px rgba(32,32,32,0.15);
	background: repeating-linear-gradient(to bottom, #b22234 0 7.692%, #ffffff 7.692% 15.385%);
}

.flag-badge--sm { width: 30px; height: 20px; }
.flag-badge--md { width: 28px; height: 18px; }

.flag-badge__canton {
	position: absolute;
	top: 0; left: 0;
	width: 42%;
	height: 53.8%;
	background-color: #3c3b6e;
	background-image: radial-gradient(#fff 26%, transparent 28%);
	background-size: 4px 3.5px;
	background-position: 1px 1px;
}

/* ─── SERVICES SECTION ──────────────────────────────────────── */
#services {
	background: #b9b9b9;
	position: relative;
	padding: 8rem 0 6rem;
}

.services-top-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 4rem;
	margin-bottom: 2rem;
}

.svc-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 0 4rem;
	margin-bottom: 3.2rem;
	gap: 2rem;
}

.svc-header h2 {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(36px, 4.4vw, 72px);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 0.98;
	color: #202020;
	max-width: 60rem;
	margin: 0;
}

.svc-nav { display: flex; gap: 12px; }

/* Service Card */
.svc-card {
	position: relative;
	background: #b9b9b9;
	color: #202020;
	border-right: 1px solid #202020;
	padding: 3.2rem;
	display: flex;
	flex-direction: column;
	min-height: 620px;
	transition: background .35s ease, color .35s ease, box-shadow .35s ease;
	cursor: pointer;
}

.svc-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 5px;
	z-index: 2;
	background: linear-gradient(90deg, #b22234 0 33.33%, #f7f4ef 33.33% 66.66%, #3c3b6e 66.66%);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .35s cubic-bezier(.075,.82,.165,1);
}

.svc-card:hover { background: #f4f1ea; color: #3c3b6e; box-shadow: inset 0 0 0 1.5px #3c3b6e; }
.svc-card:hover::before { transform: scaleY(1); }
.svc-card:hover .svc-num { color: #b22234; opacity: 1; }
.svc-card:hover .svc-title { color: #202020; }

.svc-visual {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 0 3rem;
}

.svc-body { border-top: 1px solid #202020; padding-top: 2rem; }

.svc-num {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	text-transform: uppercase;
	color: #202020;
	letter-spacing: -0.02em;
	margin-bottom: 1.4rem;
	opacity: 0.6;
	transition: color .35s ease, opacity .35s ease;
}

.svc-title {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(24px, 2vw, 30px);
	font-weight: 400;
	letter-spacing: -0.015em;
	line-height: 1.1;
	color: #202020;
	margin: 0 0 1.2rem;
}

.svc-desc {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.6;
	color: #202020;
	margin: 0;
	opacity: 0.85;
}

.svc-nav-btn {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid #202020;
	background: none;
	color: #202020;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.svc-nav-btn:hover { background: #202020; color: #ff5841; border-color: #202020; }

.slider-track {
	display: grid;
	grid-template-columns: repeat(6, 420px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	border-top: 1px solid #202020;
	border-bottom: 1px solid #202020;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.slider-track::-webkit-scrollbar { display: none; }

/* ─── ABOUT + PROCESS ───────────────────────────────────────── */
#about { background: #b9b9b9; position: relative; }

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.about-sticky {
	background: #202020;
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 8rem 4rem 4rem;
}

.about-sticky-meta {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.about-h2 {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(48px, 4.4vw, 72px);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 0.98;
	color: #b9b9b9;
	margin: 4rem 0;
}

.about-h2 span { color: #ff5841; }

.about-cta {
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	color: #b9b9b9;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.about-right { background: #b9b9b9; }

.process-pad { padding: 8rem 4rem 0; }

.process-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 3.2rem;
}

.process-cards {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.process-card {
	background: #202020;
	border-radius: 8px;
	padding: 3.2rem;
}

.process-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.6rem;
}

.process-card-num {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	text-transform: uppercase;
	color: #ff5841;
	margin: 0;
}

.process-card-week {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	text-transform: uppercase;
	color: #8b8b8b;
	margin: 0;
}

.process-card-h3 {
	font-family: 'Outfit', sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: #b9b9b9;
	margin: 0 0 1.2rem;
	letter-spacing: -0.01em;
}

.process-card p {
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	color: #8b8b8b;
	line-height: 1.6;
	margin: 0;
}

.team-pad { padding: 4rem 4rem 8rem; }

.team-caption {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	text-transform: uppercase;
	color: #8b8b8b;
	margin: 1.2rem 0 0;
	letter-spacing: -0.02em;
}

/* Image hover */
.img-hover { position: relative; overflow: hidden; border-radius: 8px; }
.img-hover img { transition: transform .6s cubic-bezier(.075,.82,.165,1); display: block; width: 100%; height: auto; }
.img-hover:hover img { transform: scale(1.04); }

/* ─── CONTACT SECTION ───────────────────────────────────────── */
#contact {
	background: #ff5841;
	position: relative;
	padding: 9.6rem 4rem;
}

.contact-inner {
	max-width: 90rem;
	margin: 0 auto;
	text-align: center;
}

.contact-label {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	text-transform: uppercase;
	color: rgba(32,32,32,0.6);
	letter-spacing: -0.02em;
	margin: 0 0 2.4rem;
}

.contact-badge {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin: 0 0 2.4rem;
}

.contact-badge-line {
	width: 34px;
	height: 1px;
	background: rgba(32,32,32,0.35);
}

.contact-badge-text {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	text-transform: uppercase;
	color: #202020;
	letter-spacing: 0.04em;
}

.contact-h2 {
	font-family: 'Outfit', sans-serif;
	font-size: 7.18vw;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 0.96;
	color: #202020;
	margin: 0 0 4rem;
	padding-bottom: 20px;
}

.contact-form-wrap {
	position: relative;
	max-width: 50rem;
	margin: 0 auto;
}


.contact-email {
	background: none;
	border: 0;
	border-bottom: 1.5px solid #202020;
	outline: none;
	width: 100%;
	height: 5rem;
	padding: 0 8rem 0 2.4rem;
	font-family: 'Outfit', sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: #202020;
	text-align: center;
}

.contact-email::placeholder { color: rgba(32,32,32,0.5); }

.contact-submit {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: #202020;
	color: #ff5841;
	border: none;
	border-radius: 24px;
	height: 48px;
	min-width: 120px;
	padding: 0 24px;
	font-family: 'Outfit', sans-serif;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: -0.24px;
	cursor: pointer;
	transition: background .2s ease-in-out, color .2s ease-in-out;
}
.contact-submit:hover { background: #b9b9b9; color: #202020; }

.contact-success {
	background: #202020;
	color: #ff5841;
	border-radius: 8px;
	padding: 2rem 4rem;
	margin: 2.4rem auto 0;
	max-width: 50rem;
	font-family: 'Outfit', sans-serif;
	font-size: 16px;
	display: none;
	opacity: 0;
	transition: opacity .5s ease;
}
.contact-success.show { opacity: 1; }

.contact-alt {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	text-transform: uppercase;
	color: rgba(32,32,32,0.5);
	letter-spacing: -0.02em;
	margin: 2.4rem 0 0;
}

.contact-alt a {
	color: #202020;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Autofill */
input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px transparent inset !important;
	-webkit-text-fill-color: #202020 !important;
	transition: background-color 5000s ease-in-out 0s;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
#site-footer {
	background: #ff5841;
	padding: 4rem 4rem 1.6rem;
	position: relative;
}

.footer-inner {
	background: #202020;
	border-radius: 8px;
	padding: 5.6rem 4rem 4rem;
	position: relative;
	overflow: hidden;
}

.footer-block-1 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: flex-start;
	margin-bottom: 8rem;
	gap: 4rem;
}

@media (max-width: 960px) {
	.footer-block-1 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
	.footer-block-1 { grid-template-columns: 1fr; gap: 2.4rem; margin-bottom: 3.2rem; }
}


.footer-brand-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 1.6rem;
	text-decoration: none;
}

.footer-brand-name {
	font-family: 'Outfit', sans-serif;
	font-size: 20px;
	font-weight: 500;
	color: #b9b9b9;
	margin: 0;
}

.footer-brand-desc {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #8b8b8b;
	line-height: 1.7;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	margin: 0;
}

.footer-brand-email {
	display: block;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #ff5841;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	margin-top: 1.2rem;
	text-decoration: none;
}

.footer-nav-heading {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	text-transform: uppercase;
	color: #8b8b8b;
	letter-spacing: -0.02em;
	margin: 0 0 1.6rem;
}

.footer-nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.footer-nav-list li.footer-nav-sub { padding-left: 1.4rem; position: relative; }

.footer-nav-sub-arrow {
	position: absolute;
	left: 0; top: 0;
	font-family: 'Space Mono', monospace;
	color: #8b8b8b;
	font-size: 12px;
}

.footer-nav-link {
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	color: #b9b9b9;
	text-decoration: none;
	transition: color .3s ease;
}
.footer-nav-link:hover { color: #ff5841; }

.footer-nav-link--sub {
	font-size: 13px;
	color: #8b8b8b;
}

.footer-flag-heading {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	text-transform: uppercase;
	color: #8b8b8b;
	letter-spacing: -0.02em;
	margin: 0 0 1.6rem;
}

.footer-flag-badge {
	position: relative;
	display: inline-block;
	width: 46px;
	height: 30px;
	overflow: hidden;
	border-radius: 3px;
	margin-bottom: 1.6rem;
	box-shadow: 0 0 0 1px #4d4d4d;
	background: repeating-linear-gradient(to bottom, #b22234 0 7.692%, #ffffff 7.692% 15.385%);
}

.footer-flag-badge-canton {
	position: absolute;
	top: 0; left: 0;
	width: 42%;
	height: 53.8%;
	background-color: #3c3b6e;
	background-image: radial-gradient(#fff 26%, transparent 28%);
	background-size: 6px 5px;
	background-position: 1.5px 1.5px;
}

.footer-flag-text {
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	color: #b9b9b9;
	line-height: 1.6;
	margin: 0 0 1.4rem;
	max-width: 19rem;
}

.footer-flag-stars {
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	text-transform: uppercase;
	color: #ff5841;
	letter-spacing: 0.06em;
	margin: 0 0 0.6rem;
}

.footer-flag-owned {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	text-transform: uppercase;
	color: #8b8b8b;
	letter-spacing: -0.02em;
	margin: 0;
}

.footer-newsletter { border-top: 1px solid #4d4d4d; padding-top: 2.4rem; margin-bottom: 3.2rem; }

.footer-newsletter-label {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	text-transform: uppercase;
	color: #8b8b8b;
	letter-spacing: -0.02em;
	margin: 0 0 1.2rem;
}

.footer-nl-form {
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
	border-bottom: 1px solid #4d4d4d;
	max-width: 50rem;
}

.footer-nl-input {
	flex: 1;
	background: none;
	border: 0;
	outline: none;
	height: 4rem;
	padding: 0;
	font-family: 'Outfit', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #b9b9b9;
}

.footer-nl-input::placeholder { color: #4d4d4d; }

.footer-nl-btn {
	background: #ff5841;
	color: #202020;
	border: none;
	border-radius: 24px;
	height: 40px;
	min-width: 110px;
	padding: 0 20px;
	font-family: 'Outfit', sans-serif;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: -0.22px;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.footer-nl-btn:hover { background: #b9b9b9; color: #202020; }

.footer-nl-success {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	text-transform: uppercase;
	color: #ff5841;
	letter-spacing: -0.02em;
	margin: 0.8rem 0 0;
	opacity: 0;
	transition: opacity .4s ease;
}

.footer-block-2 {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-top: 1px solid #4d4d4d;
	padding-top: 2.4rem;
	flex-wrap: wrap;
	gap: 2rem;
}

.footer-copy {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #8b8b8b;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	margin: 0;
}

.footer-disclaimer {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: #8b8b8b;
	line-height: 1.6;
	max-width: 50rem;
	text-align: right;
	margin: 0;
}

/* Generic footer link hover */
.f-link { transition: color .3s ease; text-decoration: none; }
.f-link:hover { color: #ff5841 !important; }

/* ─── CONTACT FORM 7 — CONTACT SECTION ─────────────────────── */
#contact .wpcf7 { display: block; }
#contact .wpcf7-form { margin: 0; }
#contact .wpcf7-form p { margin: 0; padding: 0; }
#contact .form-fields { max-width: 50rem; margin: 0 auto; }

/* The <p> holds both the input and the absolutely-positioned submit button */
#contact .form-fields p { position: relative; }

/* Hide the <br> CF7 inserts between input and submit */
#contact .form-fields br { display: none; }

#contact .wpcf7-form-control-wrap { display: block; width: 100%; }

#contact .wpcf7 input[type="email"] {
	background: none;
	border: 0;
	border-bottom: 1.5px solid #202020;
	outline: none;
	width: 100%;
	height: 5rem;
	padding: 0 8rem 0 2.4rem;
	font-family: 'Outfit', sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: #202020;
	text-align: center;
}
#contact .wpcf7 input[type="email"]::placeholder { color: rgba(32,32,32,0.5); }
#contact .wpcf7 input[type="email"]:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #ff5841 inset !important;
	-webkit-text-fill-color: #202020 !important;
}

#contact .wpcf7 input[type="submit"] {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: #202020;
	color: #ff5841;
	border: none;
	border-radius: 24px;
	height: 48px;
	min-width: 120px;
	padding: 0 24px;
	font-family: 'Outfit', sans-serif;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: -0.24px;
	cursor: pointer;
	transition: background .2s ease-in-out, color .2s ease-in-out;
}
#contact .wpcf7 input[type="submit"]:hover { background: #b9b9b9; color: #202020; }

#contact .wpcf7-not-valid-tip { display: none !important; }

#contact .wpcf7-response-output { display: none !important; }

.form-custom-msg {
	font-family: 'Outfit', sans-serif;
	font-size: 16px;
	color: #4caf7d;
	background: #202020;
	border-radius: 8px;
	padding: 2rem 4rem;
	margin: 2.4rem auto 0;
	max-width: 100%;
	text-align: center;
	display: none;
	opacity: 0;
	transition: opacity .4s ease;
	pointer-events: none;
}
.form-custom-msg.visible { display: block; opacity: 1; pointer-events: auto; }
.form-custom-msg--error { color: #ff5841; }

.form-custom-msg--sm {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	background: none;
	border-radius: 0;
	padding: 0;
	margin: 0.8rem 0 0;
	text-align: left;
}

#contact .wpcf7-spinner { display: none !important; }

/* ─── CONTACT FORM 7 — FOOTER NEWSLETTER ───────────────────── */
.footer-newsletter .wpcf7 { display: block; }

.footer-newsletter .wpcf7-form { margin: 0; }

/* Strip CF7's default paragraph wrappers if they appear */
.footer-newsletter .wpcf7-form p { margin: 0; }

/* .form-fields wraps a <p> that CF7 renders — target the <p> as flex row */
.footer-newsletter .form-fields {
	max-width: 50rem;
}

.footer-newsletter .form-fields p {
	display: flex;
	align-items: center;
	gap: 12px;
	border-bottom: 1px solid #4d4d4d;
	margin: 0;
	padding: 0;
}

/* CF7 inserts a <br> between the input and submit — hide it */
.footer-newsletter .form-fields br { display: none; }

/* CF7 wraps each field in a span — make it flex-fill */
.footer-newsletter .wpcf7-form-control-wrap {
	flex: 1;
	display: block;
}

/* Email input */
.footer-newsletter .wpcf7 input[type="email"] {
	flex: 1;
	width: 100%;
	background: none;
	border: 0;
	outline: none;
	height: 4rem;
	padding: 0;
	font-family: 'Outfit', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #b9b9b9;
}
.footer-newsletter .wpcf7 input[type="email"]::placeholder { color: #4d4d4d; }

/* Autofill reset */
.footer-newsletter .wpcf7 input[type="email"]:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #202020 inset !important;
	-webkit-text-fill-color: #b9b9b9 !important;
}

/* Submit button */
.footer-newsletter .wpcf7 input[type="submit"] {
	flex-shrink: 0;
	background: #ff5841;
	color: #202020;
	border: none;
	border-radius: 24px;
	height: 40px;
	min-width: 110px;
	padding: 0 20px;
	font-family: 'Outfit', sans-serif;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: -0.22px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.footer-newsletter .wpcf7 input[type="submit"]:hover { background: #b9b9b9; color: #202020; }

/* Inline validation error */
.footer-newsletter .wpcf7-not-valid-tip { display: none !important; }

/* Response output — hidden, replaced by custom message */
.footer-newsletter .wpcf7-response-output { display: none !important; }

/* Hide CF7's loading spinner */
.footer-newsletter .wpcf7-spinner { display: none !important; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */

/* Hide aside early so hero text has full width */
@media (max-width: 1100px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-aside { display: none; }
}

@media (max-width: 800px) {
	/* ── Hero layout: h1 top, subcopy+button bottom ── */
	.hero-block-pad {
		padding-top: 9rem !important;
		padding-left: 1.6rem !important;
		padding-right: 1.6rem !important;
		padding-bottom: 4rem !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
	}
	.hero-content-row {
		display: flex !important;
		flex-direction: column !important;
		justify-content: space-between !important;
		align-items: flex-start !important;
		flex: 1 !important;
		width: 100% !important;
		gap: 0 !important;
		grid-template-columns: 1fr !important;
	}
	.hero-subcopy { margin-top: auto !important; padding-top: 3.2rem !important; }
	.hero-h1 { font-size: 22vw !important; padding-bottom: 20px; }
	.hero-label { left: 1.6rem !important; }

	/* ── Services ── */
	.services-top-meta,
	.svc-header { padding-left: 1.6rem !important; padding-right: 1.6rem !important; }

	.section-deco-line { left: 1.6rem !important; width: calc(100% - 3.2rem) !important; }

	.svc-header { flex-direction: column !important; align-items: flex-start !important; gap: 1.6rem !important; }
	.svc-header h2 { font-size: 32px !important; }

	.slider-track { grid-template-columns: repeat(6, 100vw) !important; padding: 0 !important; }

	/* ── About / Process ── */
	.about-grid { grid-template-columns: 1fr !important; }
	.about-sticky { position: static !important; height: auto !important; padding: 6.4rem 1.6rem !important; }
	.about-h2 { font-size: 48px !important; }
	.process-pad { padding: 6.4rem 1.6rem 0 !important; }
	.team-pad { padding: 4rem 1.6rem 6.4rem !important; }
	.process-card-h3 { font-size: 18px !important; }

	/* ── Contact section ── */
	#contact { padding: 6.4rem 1.6rem !important; }
	.contact-h2 { font-size: 12vw !important; }

	/* Contact CF7 email input */
	#contact .wpcf7 input[type="email"] {
		padding-left: 0 !important;
		text-align: left !important;
		font-size: 15px !important;
	}

	/* ── Footer ── */
	#site-footer { padding: 2.4rem 1.6rem 1.6rem !important; }
	.footer-inner { padding: 2rem 1.4rem 2rem !important; }
	.footer-block-2 { flex-direction: column !important; align-items: flex-start !important; gap: 1.6rem !important; }
	.footer-disclaimer { text-align: left !important; }
	.footer-flag-text { max-width: 100% !important; width: 100% !important; word-wrap: break-word !important; overflow-wrap: break-word !important; }

	/* Footer newsletter CF7 email input */
	.footer-newsletter .wpcf7 input[type="email"] { font-size: 15px !important; }

	/* ── Nav / Mobile menu ── */
	.nav-inner { padding: 0 1.6rem; }
	.hero-cta { height: 52px; padding: 0 26px; font-size: 13px; }
	#mobile-menu { padding: 2rem 1.6rem; }
	.mobile-link { font-size: 32px; }
}
