/* Coming soon page (template.php). The theme's CSS is not loaded here, so this file carries the brand: the paper / ink /
   gold colours of the theme options, Mont + Inter, an action shot of Collin and the site's newsletter form
   (child style.css, "Forms" and "The Annotation Letter sign-up"). */

@font-face {
	font-family: "Mont";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../skins/default/css/font-face/Mont/mont-bold.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../skins/default/css/font-face/Inter/inter-latin-normal.woff2") format("woff2");
}

.cj-cs {
	--paper: #F7F4EC;
	--ink: #010000;
	--body: #33322E;
	--muted: #6B6862;
	--line: #E5DFD1;
	--blue: #004D77;
	--navy: #102A36;
	--gold: #DBB519;
	--gold2: #C29F0E;
	--error: #b3261e;
	margin: 0;
	background: var(--paper);
	color: var(--body);
	font: 400 17px/1.6 "Inter", sans-serif;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
.cj-cs *, .cj-cs *::before, .cj-cs *::after { box-sizing: border-box; }
.cj-cs :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.cj-cs a { color: var(--ink); text-underline-offset: 3px; transition: color 0.2s; }
.cj-cs a:hover { color: var(--blue); }

/* ---------------------------------------------------------------- Layout: logo, text + photo, footer */
.cj-cs-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 90px;
}
.cj-cs-header { padding: 32px 0; }
.cj-cs-logo { display: block; width: auto; height: 40px; }
.cj-cs-wordmark { margin: 0; color: var(--ink); font: 700 22px/40px "Mont", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.cj-cs-main {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
	align-items: center;
	gap: 64px;
	padding: 24px 0 64px;
}
.cj-cs-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 16px 0 20px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 14px;
}

/* ---------------------------------------------------------------- Text */
.cj-cs-kicker {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 20px;
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}
.cj-cs-kicker::before { content: ""; width: 40px; height: 3px; background: var(--gold); }
.cj-cs-title {
	margin: 0 0 24px;
	color: var(--ink);
	font: 700 clamp(40px, 4.6vw, 70px)/1.06 "Mont", sans-serif;
	letter-spacing: -0.01em;
}
.cj-cs-title span { display: block; }
.cj-cs-intro { max-width: 34em; margin: 0 0 30px; font-size: 18px; line-height: 1.55; }
.cj-cs-privacy { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cj-cs-privacy a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* ---------------------------------------------------------------- Photo: one action shot of Collin on a gold block. On
   arrival it wipes up into view, the gold block slides out from behind it, then the photo slowly drifts and zooms. */
.cj-cs-photo {
	--off: 28px; /* how far the gold block shows below and right of the photo */
	position: relative;
	isolation: isolate;
	justify-self: end;
	width: min(100%, calc(66svh + var(--off))); /* the square photo stays inside a laptop screen */
	margin: 0;
	padding: 0 var(--off) var(--off) 0;
}
.cj-cs-photo::before {
	content: "";
	position: absolute;
	inset: var(--off) 0 0 var(--off);
	z-index: -1;
	border-radius: 12px;
	background: var(--gold);
}
.cj-cs-photo-frame {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 12px;
	background: var(--navy);
}
.cj-cs-photo-frame::after { /* a little depth at the bottom edge */
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(16, 42, 54, 0.35), rgba(16, 42, 54, 0) 40%);
}
.cj-cs-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 40% 40%;
}
@media (prefers-reduced-motion: no-preference) {
	.cj-cs-photo-frame { animation: cj-cs-wipe 1.2s cubic-bezier(0.7, 0, 0.2, 1) 0.15s backwards; }
	.cj-cs-photo::before { animation: cj-cs-slide 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.95s backwards; }
	/* settle from a close-up as it is revealed, then a slow drift (no fill: it must not hold the settle back) */
	.cj-cs-photo img { animation: cj-cs-settle 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s backwards, cj-cs-drift 24s ease-in-out 1.95s infinite alternate; }
}
@keyframes cj-cs-wipe { from { clip-path: inset(100% 0 0 0 round 12px); } to { clip-path: inset(0 round 12px); } }
@keyframes cj-cs-slide { from { opacity: 0; transform: translate(calc(var(--off) * -1), calc(var(--off) * -1)); } }
@keyframes cj-cs-settle { from { transform: scale(1.18); } }
@keyframes cj-cs-drift { to { transform: scale(1.08) translate(-1.5%, -1%); } }

/* ---------------------------------------------------------------- Sign-up form (Fluent Forms; site style: email and the
   button on one gold-underlined row, the field label kept for screen readers) */
.cj-cs .fluentform { max-width: 540px; }
.cj-cs .fluentform .ff-el-input--label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.cj-cs .fluentform .ff-t-container.cj-ff-newsletter {
	position: relative; /* the error message sits under the gold line */
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 32px; /* room for the error message */
	border-bottom: 2px solid var(--gold);
	transition: border-color 0.2s;
}
.cj-cs .fluentform .cj-ff-newsletter:has(.ff-el-form-control:focus) { border-bottom-color: var(--ink); }
.cj-cs .fluentform .cj-ff-newsletter .ff-t-cell:first-child { flex: 1 1 auto; flex-basis: auto !important; } /* Fluent sets 50% inline */
.cj-cs .fluentform .cj-ff-newsletter .ff-t-cell:last-child { flex: 0 0 auto; flex-basis: auto !important; width: auto; }
.cj-cs .fluentform .cj-ff-newsletter .ff-el-group { position: static; margin: 0; }
.cj-cs .fluentform .cj-ff-newsletter .ff-el-form-control {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 16px 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: none;
	color: var(--ink);
	font: inherit;
	font-size: 17px;
	line-height: 24px;
}
.cj-cs .fluentform .cj-ff-newsletter .ff-el-form-control:focus { outline: none; } /* the gold line turns ink instead */
.cj-cs .fluentform .cj-ff-newsletter .ff-el-form-control::placeholder { color: var(--muted); opacity: 1; }
.cj-cs .fluentform .ff_submit_btn_wrapper_custom .ff-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--gold);
	color: var(--ink);
	font: 600 15px/20px "Inter", sans-serif;
	cursor: pointer;
	transition: background-color 0.2s;
}
.cj-cs .fluentform .ff_submit_btn_wrapper_custom .ff-btn:hover { background: var(--gold2); }
.cj-cs .fluentform .ff_submit_btn_wrapper_custom .ff-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
/* the site's paper-plane icon (the theme's icon font is not loaded here) */
.cj-cs .fluentform .cj-ff-submit::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13M22 2l-7 20-4-9-9-4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13M22 2l-7 20-4-9-9-4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* The Annotation Letter's Language menu (client, 2026-10-18): small and labelled, under the email row */
.cj-cs .fluentform .ff-el-group.cj-ff-language { display: flex; align-items: center; margin: -8px 0 24px; } /* no gap: Fluent's clearfix ::before is a flex item */
.cj-cs .fluentform .cj-ff-language .ff-el-input--label { position: static !important; width: auto; height: auto; margin: 0 10px 0 0; padding: 0; overflow: visible; clip: auto; }
.cj-cs .fluentform .cj-ff-language .ff-el-input--label label { margin: 0; padding: 0; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.5; }
.cj-cs .fluentform .cj-ff-language .ff-el-input--content { flex: none; }
.cj-cs .fluentform .cj-ff-language select.ff-el-form-control {
	width: auto;
	height: auto;
	padding: 2px 26px 4px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	box-shadow: none;
	appearance: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23010000' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center / 12px 8px;
	color: var(--ink);
	font: inherit;
	font-size: 14px;
	line-height: 21px;
	cursor: pointer;
}
.cj-cs .fluentform .cj-ff-language select.ff-el-form-control:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 767px) { .cj-cs .fluentform .cj-ff-language select.ff-el-form-control { font-size: 16px; } } /* iPhone Safari zooms into smaller fields */
.cj-cs .fluentform .ff-el-is-error .ff-el-form-control { color: var(--ink); }
.cj-cs .fluentform .cj-ff-newsletter:has(.ff-el-is-error) { border-bottom-color: var(--error); }
.cj-cs .fluentform .ff-el-group .error.text-danger {
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 6px;
	color: var(--error);
	font-size: 14px;
	line-height: 1.5;
}
.cj-cs .ff-message-success {
	max-width: 540px;
	margin-bottom: 24px;
	padding: 18px 22px;
	border-left: 3px solid var(--gold);
	background: #fff;
	color: var(--ink);
	font-weight: 600;
}
.cj-cs .ff-message-success p { margin: 0; }

/* ---------------------------------------------------------------- Social icons (44px tap targets) */
.cj-cs-copyright { margin: 0; }
.cj-cs-socials { display: flex; gap: 4px; margin: 0 -11px 0 0; padding: 0; list-style: none; }
.cj-cs-socials a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; }

/* ---------------------------------------------------------------- Smaller screens */
@media (max-width: 1279px) {
	.cj-cs-page { padding: 0 40px; }
	.cj-cs-main { gap: 48px; }
}
/* Text first, the photo under it, wider than tall */
@media (max-width: 1023px) {
	.cj-cs-main { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 48px; padding-top: 16px; }
	.cj-cs-content { max-width: 640px; }
	.cj-cs-photo { justify-self: stretch; width: auto; }
	.cj-cs-photo-frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
	.cj-cs-page { padding: 0 20px; }
	.cj-cs-header { padding: 22px 0; }
	.cj-cs-logo { height: 32px; }
	.cj-cs-main { gap: 40px; padding: 8px 0 48px; }
	.cj-cs-title { font-size: clamp(32px, 10.4vw, 44px); }
	.cj-cs-intro { font-size: 17px; }
	.cj-cs-photo { --off: 16px; }
	.cj-cs-footer { flex-direction: column-reverse; padding-bottom: 24px; text-align: center; }
	.cj-cs-socials { margin: 0; }
}
/* Narrow phones: the button goes under the email field, the line stays with the field */
@media (max-width: 359px) {
	.cj-cs .fluentform .ff-t-container.cj-ff-newsletter { flex-wrap: wrap; border-bottom-style: none; }
	.cj-cs .fluentform .cj-ff-newsletter .ff-t-cell:first-child { flex-basis: 100% !important; border-bottom: 2px solid; border-bottom-color: inherit; }
}
