/* ===========================================================================
   Contact — booking form and details.
   =========================================================================== */

.fts-contact {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 3.5vw, 2.75rem);
	align-items: start;
}

/* Shared panel. The form and the details deck are the same object at different
   sizes, so they share one surface rather than two near-identical ones. */
.fts-card {
	border: 1px solid var(--fts-line);
	border-radius: 0.9rem;
	background: #fff;
	box-shadow: 0 16px 44px -24px rgba(22, 48, 94, 0.5);
}

/* --- Form panel ----------------------------------------------------------- */

.fts-book { padding: clamp(1.4rem, 3vw, 2.25rem); }

.fts-book__h {
	margin: 0 0 0.3rem;
	font-family: var(--fts-font-cond);
	font-weight: 700;
	font-size: clamp(1.6rem, 3.4vw, 2rem);
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--fts-navy);
}

.fts-book__sub {
	margin: 0 0 1.4rem;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--fts-slate);
}

/* --- Notices -------------------------------------------------------------- */

.fts-note {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 0.5rem;
	border: 1px solid;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.5;
}

/* Never colour alone: each notice carries a glyph, so the state survives a
   monochrome print, a colour-blind reader and a greyscale screenshot. */
.fts-note::before { margin-right: 0.5rem; font-weight: 700; }

/* #1e7a43 on #e9f7ef measures 5.1:1; #a8202f on #fdecee measures 6.4:1. */
.fts-note--ok {
	background: #e9f7ef;
	border-color: #bde5cc;
	color: #1e7a43;
}
.fts-note--ok::before { content: "✓"; }

.fts-note--bad {
	background: #fdecee;
	border-color: #f3c2c8;
	color: #a8202f;
}
.fts-note--bad::before { content: "!"; }

/* --- Fields --------------------------------------------------------------- */

.fts-form { display: flex; flex-direction: column; gap: 1rem; }

.fts-form__pair {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
	gap: 1rem;
}

.fts-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0;
}

.fts-field label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fts-navy);
}

.fts-req { color: var(--fts-blue); }

.fts-opt {
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: none;
	color: var(--fts-slate-soft);
}

.fts-field input,
.fts-field select,
.fts-field textarea {
	width: 100%;
	padding: 0.8rem 0.85rem;
	border: 1px solid #d7dce6;
	border-radius: 0.5rem;
	background: #fff;
	font-family: var(--fts-font);
	/* 1rem, not the draft's 15px: anything under 16px makes iOS Safari zoom the
	   whole page on focus, and it never zooms back out. */
	font-size: 1rem;
	line-height: 1.4;
	color: var(--fts-navy);
	transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.fts-field textarea { resize: vertical; min-height: 6.5rem; }

.fts-field input::placeholder,
.fts-field textarea::placeholder { color: var(--fts-slate-soft); }

/* Native arrow removed, so one is drawn — otherwise the select does not match
   the inputs beside it on any platform. */
.fts-field select {
	appearance: none;
	padding-right: 2.4rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316305e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	background-size: 1rem;
}

.fts-field input:focus,
.fts-field select:focus,
.fts-field textarea:focus {
	outline: none;
	border-color: var(--fts-blue);
	box-shadow: 0 0 0 3px rgba(58, 107, 196, 0.18);
}

/* Keyboard users still get the theme's ring; the glow above is decoration. */
.fts-field input:focus-visible,
.fts-field select:focus-visible,
.fts-field textarea:focus-visible {
	outline: 2px solid var(--fts-blue);
	outline-offset: 1px;
}

.fts-field [aria-invalid="true"] { border-color: #c0392b; }

.fts-err {
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.4;
	color: #a8202f;
}

/* Honeypot: off-canvas rather than display:none, because some bots skip fields
   that are not rendered at all. */
.fts-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fts-form__go {
	align-self: flex-start;
	margin-top: 0.4rem;
	border: 0;
	cursor: pointer;
	font-family: var(--fts-font);
}

.fts-form__fine {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--fts-slate-soft);
}

/* --- Details deck --------------------------------------------------------- */

.fts-deck {
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 2vw, 1.35rem);
}

.fts-map {
	border-radius: 0.9rem;
	overflow: hidden;
	box-shadow: 0 16px 44px -24px rgba(22, 48, 94, 0.55);
	background: var(--fts-paper);
}

.fts-map iframe {
	display: block;
	width: 100%;
	height: clamp(12rem, 30vw, 17.5rem);
	border: 0;
}

/* One panel with three rows, not the draft's four boxes. The fourth was
   "Follow us", and there are no confirmed accounts to link to — three boxes in
   a two-column grid would strand one beside an empty cell, and three rows read
   as a single flight-deck panel, which is how the footer says the same thing. */
.fts-deck__card { padding: clamp(1.1rem, 2.4vw, 1.5rem); }

.fts-deck__row + .fts-deck__row {
	margin-top: 1.1rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--fts-line);
}

.fts-deck__kick {
	margin: 0 0 0.35rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fts-blue);
}

.fts-deck__val {
	margin: 0 0 0.2rem;
	font-family: var(--fts-font-cond);
	font-weight: 700;
	font-size: clamp(1.25rem, 2.6vw, 1.45rem);
	line-height: 1.15;
	color: var(--fts-navy);
}

.fts-deck__val a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--fts-mist);
	transition: border-color 0.2s ease-out;
}

.fts-deck__val a:hover,
.fts-deck__val a:focus-visible { border-bottom-color: var(--fts-blue); }

.fts-deck__note {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--fts-slate);
}

.fts-deck__note a {
	color: var(--fts-navy);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-color: var(--fts-blue-soft);
	transition: text-decoration-color 0.2s ease-out;
}

.fts-deck__note a:hover,
.fts-deck__note a:focus-visible { text-decoration-color: var(--fts-blue); }

/* --- Breakpoints ---------------------------------------------------------- */

/* One column below 60rem. The form goes first: someone who reached this page
   came to send something, and the address is in the footer of every page. */
@media (max-width: 60rem) {
	.fts-contact { grid-template-columns: 1fr; }
}

@media (max-width: 25rem) {
	.fts-form__go { align-self: stretch; }
}
