/* Owen Faith Tools: signup form, contact form and countdown. Colors match the Owen Faith theme. */

/* ---- Shared field look: lighter fill and a clear gold border so the boxes stand out on the dark page ----
   Colors and borders use !important because some hosts (GoDaddy's site designer, for one) inject
   their own high-specificity form styles that would otherwise blank these fields out. */
.oft-signup-wrap .oft-form input[type="text"],
.oft-signup-wrap .oft-form input[type="email"],
.oft-contact input,
.oft-contact select,
.oft-contact textarea {
	box-sizing: border-box; min-width: 0; margin: 0;
	padding: 0.8em 1em; font: inherit; font-size: 1.05rem; line-height: 1.35;
	background: #2b2018 !important; color: #f3eadb !important;
	border: 1.5px solid rgba(233, 180, 76, 0.75) !important; border-radius: 3px !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35) !important;
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.oft-signup-wrap .oft-form input::placeholder,
.oft-contact input::placeholder,
.oft-contact textarea::placeholder { color: #cbb89f; opacity: 1; }
.oft-signup-wrap .oft-form input:hover,
.oft-contact input:hover, .oft-contact select:hover, .oft-contact textarea:hover { border-color: #e9b44c !important; }
.oft-signup-wrap .oft-form input:focus,
.oft-contact input:focus, .oft-contact select:focus, .oft-contact textarea:focus {
	outline: none; border-color: #f6d58a !important; background: #33261c !important;
	box-shadow: 0 0 0 3px rgba(233, 180, 76, 0.28) !important;
}

/* ---- Shared button ---- */
.oft-signup-wrap .oft-form button,
.oft-contact button {
	flex: 0 0 auto; margin: 0; padding: 0.85em 1.8em !important; border: 0 !important; border-radius: 3px; cursor: pointer;
	background: #e9b44c !important; color: #0d0907 !important; font-family: Cinzel, Georgia, serif !important; font-weight: 700; letter-spacing: 0.08em; font-size: 0.95rem !important; line-height: 1.2 !important;
}
.oft-signup-wrap .oft-form button:hover, .oft-contact button:hover { background: #f6d58a !important; }
.oft-signup-wrap .oft-form button:disabled, .oft-contact button:disabled { opacity: 0.6; cursor: wait; }

.oft-form-msg { flex-basis: 100%; margin: 0.4rem 0 0; min-height: 1.4em; text-align: center; color: #f6d58a; font-style: italic; }
.oft-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---- Signup form ---- */
.oft-signup-wrap { max-width: 640px; margin: 1.5rem auto 0; }
.oft-signup-wrap .oft-form { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.oft-signup-wrap .oft-form input[type="text"], .oft-signup-wrap .oft-form input[type="email"] { flex: 1 1 200px; }
.oft-form-label { text-align: center; margin-bottom: 0.6rem; }
.oft-form-note { text-align: center; font-size: 0.95rem; color: #bfae97; margin-top: 0.4rem; }
.oft-signup-wrap .oft-form.is-light input[type="text"], .oft-signup-wrap .oft-form.is-light input[type="email"] { background: #fff !important; color: #1a120d !important; }

/* ---- Contact form ---- */
.oft-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; margin-top: 1.5rem; text-align: left; }
.oft-contact .oft-field { display: flex; flex-direction: column; gap: 0.35rem; }
.oft-contact .oft-field.is-full { grid-column: 1 / -1; }
.oft-contact label { font-family: Cinzel, Georgia, serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; color: #f6d58a; }
.oft-contact label small { font-family: "EB Garamond", Garamond, Georgia, serif; font-weight: 400; letter-spacing: 0; font-size: 0.95rem; color: #bfae97; font-style: italic; }
.oft-contact label span { color: #e07b1f; }
.oft-contact input, .oft-contact select, .oft-contact textarea { width: 100%; }
.oft-contact select {
	appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.4em;
	background-color: #2b2018 !important;
	background-image: linear-gradient(45deg, transparent 50%, #e9b44c 50%), linear-gradient(135deg, #e9b44c 50%, transparent 50%) !important;
	background-position: calc(100% - 1.2em) 55%, calc(100% - 0.85em) 55% !important; background-size: 0.36em 0.36em !important; background-repeat: no-repeat !important;
}
.oft-contact select option { background: #1a120d; color: #f3eadb; }
.oft-contact textarea { resize: vertical; min-height: 9rem; }
.oft-contact .is-invalid { border-color: #e2553a !important; box-shadow: 0 0 0 3px rgba(226, 85, 58, 0.25) !important; }
.oft-contact-actions { align-items: flex-start; }
.oft-contact-actions .oft-form-msg { text-align: left; }
@media (max-width: 640px) { .oft-contact { grid-template-columns: 1fr; } .oft-contact .oft-field.is-full { grid-column: auto; } }

/* ---- Countdown ---- */
.oft-release { margin-top: 1.6rem; }
.oft-release b { display: block; font-family: Cinzel, Georgia, serif; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: #e07b1f; margin-bottom: 0.5rem; }
.oft-countdown { display: flex; gap: 0.8rem; }
.oft-countdown span { display: flex; flex-direction: column; align-items: center; min-width: 4.2rem; padding: 0.5rem 0.6rem; border: 1px solid rgba(233, 180, 76, 0.35); background: rgba(13, 9, 7, 0.6); font-family: Cinzel, Georgia, serif; font-size: 1.7rem; color: #f6d58a; line-height: 1.1; }
.oft-countdown small { font-family: inherit; font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: #bfae97; }
@media (max-width: 781px) { .oft-countdown { justify-content: center; } }
