/*
 * Tachyon Coming Soon & Maintenance — front-end styles
 * "Original blend": an abstracted misty coastal-forest mood (soft gradient
 * sky, layered mountain/tree silhouettes, drifting fog) paired with modern
 * glassmorphism and editorial typography, rather than a literal reuse of
 * the supplied artwork as a background.
 */

.tcs-body {
	margin: 0;
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
	color: var(--tcs-text, #1f2933);
	font-family: var(--tcs-font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
	background: linear-gradient(180deg, var(--tcs-bg-start, #eef2f4) 0%, var(--tcs-bg-mid, #aebccb) 55%, var(--tcs-bg-end, #5b7184) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 20px 64px;
	box-sizing: border-box;
}

.tcs-body * { box-sizing: border-box; }

/* ---------------------------------------------------------------------
 * Atmospheric background: layered mountain silhouettes + drifting fog,
 * built from inline SVG so it scales crisply and tints with the chosen
 * palette automatically (no external image request).
 * ------------------------------------------------------------------ */
.tcs-fog-layer {
	position: fixed;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.tcs-mountains, .tcs-trees {
	position: absolute;
	left: 0;
	width: 100%;
	bottom: 0;
}

/* Fallback fills for browsers without color-mix() support; overridden below where supported. */
.tcs-mountains-back { fill: var(--tcs-bg-end, #5b7184); opacity: .55; height: 45vh; }
.tcs-mountains-mid   { fill: var(--tcs-bg-end, #5b7184); opacity: .5; height: 32vh; }
.tcs-trees            { fill: var(--tcs-bg-end, #5b7184); opacity: .45; height: 20vh; }

@supports ( color: color-mix( in srgb, red, blue ) ) {
	.tcs-mountains-back { fill: color-mix(in srgb, var(--tcs-bg-end, #5b7184) 55%, var(--tcs-bg-mid, #aebccb)); }
	.tcs-mountains-mid   { fill: color-mix(in srgb, var(--tcs-bg-end, #5b7184) 80%, black 8%); }
	.tcs-trees            { fill: color-mix(in srgb, var(--tcs-bg-end, #5b7184) 92%, black 30%); }
}

.tcs-fog-layer::before,
.tcs-fog-layer::after {
	content: "";
	position: absolute;
	left: -20%;
	width: 140%;
	height: 220px;
	background: radial-gradient(ellipse at center, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 70%);
	filter: blur(6px);
	animation: tcs-drift 40s linear infinite;
}
.tcs-fog-layer::before { top: 18%; opacity: .5; }
.tcs-fog-layer::after  { top: 46%; opacity: .35; animation-duration: 60s; animation-direction: reverse; }

@keyframes tcs-drift {
	0%   { transform: translateX(0); }
	50%  { transform: translateX(6%); }
	100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
	.tcs-fog-layer::before, .tcs-fog-layer::after { animation: none; }
}

/* ---------------------------------------------------------------------
 * Card
 * ------------------------------------------------------------------ */
.tcs-wrap {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1040px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.tcs-card {
	--tcs-pad: clamp(28px, 5vw, 64px);
	width: 100%;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 28px;
	box-shadow: 0 30px 80px -20px rgba(20, 35, 45, 0.35), 0 2px 8px rgba(20, 35, 45, 0.06);
	padding: var(--tcs-pad) var(--tcs-pad) calc(var(--tcs-pad) * 0.85);
	overflow: hidden;
	text-align: center;
}

/* ---------------------------------------------------------------------
 * Framed picture — bleeds edge-to-edge across the top of the card by
 * cancelling the card's own padding, so the "frame" reads as the card's
 * border rather than a boxed-in photo with its own outline.
 * ------------------------------------------------------------------ */
.tcs-frame {
	position: relative;
	margin: calc(var(--tcs-pad) * -1) calc(var(--tcs-pad) * -1) 0;
	overflow: hidden;
	background: var(--tcs-bg-end, #5b7184);
}
.tcs-frame-photo {
	display: block;
	width: 100%;
	height: clamp(150px, 26vw, 260px);
	object-fit: cover;
}

/* Transparent wordmark + subtitle, laid directly over the picture's light sky area. */
.tcs-frame-brand {
	position: absolute;
	top: clamp(14px, 3vw, 28px);
	right: clamp(16px, 4vw, 34px);
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	max-width: 62%;
}
.tcs-frame-logo {
	width: clamp(150px, 27vw, 260px);
	height: auto;
	filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.55));
}
.tcs-frame-subtitle {
	margin: 6px 3px 0 0;
	font-family: var(--tcs-font-body);
	font-size: clamp(11.5px, 1.5vw, 13.5px);
	font-style: italic;
	letter-spacing: .02em;
	color: #1f2933;
	opacity: .78;
	text-shadow: 0 1px 5px rgba(255, 255, 255, .7);
	text-align: right;
}

.tcs-frame-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 22px clamp(20px, 5vw, 48px) 18px;
	background: linear-gradient(0deg, rgba(10, 18, 22, 0.55) 0%, rgba(10, 18, 22, 0) 100%);
	color: #fff;
	font-weight: 700;
	font-size: clamp(13px, 1.6vw, 16px);
	letter-spacing: .14em;
	text-transform: uppercase;
	text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.tcs-frame-caption em { font-style: italic; font-weight: 500; letter-spacing: .06em; }

/* Fallback logo (maintenance mode, or no frame image set) — plain, centered above the content. */
.tcs-logo {
	display: block;
	max-height: 34px;
	max-width: min(320px, 70%);
	margin: 0 auto 22px;
}

.tcs-content { max-width: 620px; margin: 0 auto; }

/* Extra breathing room between the framed picture and the text that follows —
   the picture already has its own visual weight, so the next section needs a
   clear beat before it starts. */
.tcs-content-after-frame { margin-top: clamp(30px, 6vw, 44px); }

/* ---------------------------------------------------------------------
 * Text content — everything centered
 * ------------------------------------------------------------------ */
.tcs-eyebrow {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: var(--tcs-font-body);
	text-transform: uppercase;
	letter-spacing: .16em;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--tcs-accent, #3c5a63);
	margin: 0 0 16px;
}
.tcs-eyebrow::before {
	content: "";
	width: 34px;
	height: 3px;
	border-radius: 2px;
	background: var(--tcs-accent, #3c5a63);
	opacity: .55;
	margin-bottom: 10px;
}

.tcs-headline {
	font-family: var(--tcs-font-heading, Georgia, serif);
	font-size: clamp(32px, 5vw, 48px);
	line-height: 1.08;
	margin: 0;
	color: var(--tcs-text);
}

.tcs-subhead {
	font-size: 18px;
	line-height: 1.5;
	margin: 10px 0 14px;
	color: var(--tcs-text);
	opacity: .92;
	font-weight: 500;
}

.tcs-body-text {
	font-size: 15.5px;
	line-height: 1.7;
	margin: 0 auto 22px;
	color: var(--tcs-text);
	opacity: .82;
	max-width: 46ch;
}

.tcs-badge {
	display: inline-block;
	background: var(--tcs-accent, #3c5a63);
	color: #fff;
	font-weight: 700;
	font-size: 16.5px;
	letter-spacing: .03em;
	padding: 13px 28px;
	border-radius: 999px;
	margin: 4px 0 28px;
	box-shadow: 0 10px 26px -6px color-mix(in srgb, var(--tcs-accent, #3c5a63) 75%, transparent), 0 0 0 5px color-mix(in srgb, var(--tcs-accent, #3c5a63) 14%, transparent);
	animation: tcs-badge-pulse 2.8s ease-in-out infinite;
}
@keyframes tcs-badge-pulse {
	0%, 100% { box-shadow: 0 10px 26px -6px color-mix(in srgb, var(--tcs-accent, #3c5a63) 75%, transparent), 0 0 0 5px color-mix(in srgb, var(--tcs-accent, #3c5a63) 14%, transparent); }
	50%      { box-shadow: 0 10px 30px -4px color-mix(in srgb, var(--tcs-accent, #3c5a63) 85%, transparent), 0 0 0 9px color-mix(in srgb, var(--tcs-accent, #3c5a63) 8%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
	.tcs-badge { animation: none; }
}

.tcs-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 30px;
}

.tcs-link-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 20px 10px 16px;
	border-radius: 999px;
	border: 1.5px solid color-mix(in srgb, var(--tcs-accent, #3c5a63) 45%, transparent);
	color: var(--tcs-accent, #3c5a63);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	background: rgba(255,255,255,.35);
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.tcs-pill-icon { width: 15px; height: 15px; flex: 0 0 auto; }
.tcs-link-pill:hover,
.tcs-link-pill:focus-visible {
	background: var(--tcs-accent, #3c5a63);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--tcs-accent, #3c5a63) 70%, transparent);
}

/* ---------------------------------------------------------------------
 * Signup form
 * ------------------------------------------------------------------ */
.tcs-signup-form { max-width: 420px; margin: 0 auto; }

.tcs-signup-heading {
	font-weight: 600;
	font-size: 14.5px;
	margin: 4px 0 10px;
	color: var(--tcs-text);
	text-align: center;
}

.tcs-signup-row {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 10px;
}

.tcs-signup-row input[type="email"],
.tcs-signup-row input[type="text"] {
	flex: 1;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1.5px solid rgba(31, 41, 51, 0.18);
	background: rgba(255, 255, 255, 0.75);
	font-size: 14.5px;
	color: var(--tcs-text);
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tcs-signup-row input:focus {
	border-color: var(--tcs-accent, #3c5a63);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--tcs-accent, #3c5a63) 22%, transparent);
}

.tcs-signup-btn {
	padding: 12px 22px;
	border: none;
	border-radius: 12px;
	background: var(--tcs-accent, #3c5a63);
	color: #fff;
	font-weight: 600;
	font-size: 14.5px;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.tcs-signup-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--tcs-accent, #3c5a63) 60%, transparent); }
.tcs-signup-btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }

.tcs-captcha-row { flex-direction: column; align-items: center; gap: 6px; }
.tcs-captcha-row label { font-size: 13px; opacity: .8; }
.tcs-captcha-row input[type="text"] { max-width: 100px; }

/* Honeypot — invisible to sighted humans, still in the DOM tab order removed for a11y */
.tcs-hp-wrap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tcs-signup-msg {
	min-height: 20px;
	font-size: 13.5px;
	margin: 8px 0 0;
	font-weight: 600;
}
.tcs-signup-msg.is-success { color: #2f6d4f; }
.tcs-signup-msg.is-error   { color: #a3403a; }

/* ---------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------ */
.tcs-footer-text {
	margin: 30px 0 0;
	padding-top: 22px;
	border-top: 1px solid rgba(31, 41, 51, 0.14);
	font-size: 12px;
	opacity: .65;
	text-align: center;
}

.tcs-credit {
	font-size: 12px;
	opacity: .75;
	text-align: center;
	margin: 0;
}
.tcs-credit a { color: var(--tcs-text); text-decoration: underline; text-underline-offset: 3px; }

.screen-reader-text {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
