/*
Theme Name: The Door Left Open (Twenty Twenty-Five Child)
Description: Child theme of Twenty Twenty-Five for thedoorleftopen.com. v1.4.0 — the minimalist dress: light canvas, the book's Garamonds, sage and gold, and the complete thirteen-mark line-art suite seated per page (mark-suite-record-v1). Structure per wave1-core-pages-draft-v3 and staging-runbook-v1.
Author: E. C. Kayrouz
Template: twentytwentyfive
Version: 1.4.6
Requires at least: 6.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tdlo-child
*/

/* ------------------------------------------------------------------
   Links: sage with quiet underline, warming to gold on hover.
   ------------------------------------------------------------------ */
.tdlo-article a,
.tdlo-hero2 a:not(.wp-element-button),
.tdlo-footer a {
	text-decoration: underline;
	text-decoration-color: rgba(95, 112, 95, .30);
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
	transition: text-decoration-color .18s, color .18s;
}
.tdlo-article a:hover,
.tdlo-article a:focus-visible {
	text-decoration-color: var(--wp--preset--color--accent-4);
	text-decoration-thickness: 1.5px;
}

/* ------------------------------------------------------------------
   Header: quiet, hairline-ruled, ink chrome, sage on hover.
   ------------------------------------------------------------------ */
.tdlo-header {
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid rgba(95, 112, 95, .30);
}
.tdlo-header .wp-block-site-title a {
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
	text-decoration: none;
}
.tdlo-header .wp-block-navigation a {
	color: var(--wp--preset--color--contrast);
	font-size: .92rem;
}
.tdlo-header .wp-block-navigation a:hover,
.tdlo-header .wp-block-navigation a:focus-visible {
	color: var(--wp--preset--color--accent-3);
}
.tdlo-header .wp-block-navigation__responsive-container-open,
.tdlo-header .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--contrast);
}
.tdlo-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--base);
}
.tdlo-header .wp-block-navigation__responsive-container.is-menu-open a {
	color: var(--wp--preset--color--contrast);
}

/* Nav visibility override (host filter counter-measure, kept from v1.2.1) */
@media (min-width: 600px) {
	.tdlo-header .wp-block-navigation__responsive-container-open,
	.tdlo-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-close {
		display: none !important;
	}
	.tdlo-header .wp-block-navigation__responsive-container:not(.is-menu-open),
	.tdlo-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-close,
	.tdlo-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-dialog,
	.tdlo-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content {
		display: contents !important;
	}
	.tdlo-header ul.wp-block-navigation__container {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		gap: 1.4em;
		list-style: none;
		margin: 0;
		padding: 0;
	}
}

/* ------------------------------------------------------------------
   The hero: the threshold, centered and light.
   ------------------------------------------------------------------ */
.tdlo-hero2 {
	text-align: center;
	padding: 10vh 6vw 11vh;
}
.tdlo-hero-arch svg {
	width: min(210px, 52vw);
	height: auto;
	display: block;
	margin: 0 auto 4rem;
}
.tdlo-eyebrow {
	font-size: .74rem;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-3);
	margin-bottom: 1.9rem;
}
.tdlo-hero-title {
	font-size: clamp(2.7rem, 6vw, 4.4rem) !important;
	line-height: 1.04 !important;
	font-weight: 500 !important;
}
.tdlo-hair {
	width: 64px;
	height: 1px;
	background: var(--wp--preset--color--accent-4);
	opacity: .85;
	margin: 1.9rem auto 1.5rem;
}
.tdlo-subtitle {
	font-size: .9rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--soft);
	line-height: 1.9;
}
.tdlo-lede {
	font-family: "Cormorant Garamond", "EB Garamond", Georgia, serif;
	font-style: italic;
	font-size: 1.4rem;
	margin: 2.4rem auto 0;
	max-width: 30ch;
}
.tdlo-ctas {
	margin-top: 2.9rem;
}
.tdlo-btn .wp-block-button__link {
	font-size: .8rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1;
	text-indent: .16em;
	padding: .88rem 1.7rem .82rem;
	text-decoration: none;
}
.tdlo-textlink {
	margin-top: 1.4rem;
	font-size: .95rem;
}
.tdlo-byline {
	margin-top: 3.4rem;
	font-size: .76rem;
	letter-spacing: .28em;
	color: var(--wp--preset--color--soft);
}

/* ------------------------------------------------------------------
   Articles and pages: the mark above the title, air everywhere.
   ------------------------------------------------------------------ */
.tdlo-mark svg {
	height: clamp(96px, 20vw, 120px);
	width: auto;
	max-width: min(320px, 84vw);
	display: block;
	margin: 0 auto 2.2rem;
}
@media (max-width: 640px) {
	.tdlo-mark svg [stroke-width] {
		stroke-width: 2.1;
	}
}
.tdlo-article h1.wp-block-post-title {
	margin-top: 0;
	line-height: 1.12;
}
.tdlo-article h2,
.tdlo-article h3 {
	font-weight: 600;
}

/* ------------------------------------------------------------------
   Footer: hairline, arch colophon, quiet links.
   ------------------------------------------------------------------ */
.tdlo-footer {
	background: var(--wp--preset--color--base);
	border-top: 1px solid rgba(95, 112, 95, .30);
	color: var(--wp--preset--color--contrast);
}
.tdlo-colophon svg {
	width: 44px;
	height: auto;
	display: block;
	margin: 0 auto 1.4rem;
	opacity: .95;
}
.tdlo-footer a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.tdlo-footer a:hover,
.tdlo-footer a:focus-visible {
	color: var(--wp--preset--color--accent-3);
}
.tdlo-footer p:nth-of-type(2),
.tdlo-footer p:nth-of-type(3) {
	font-size: .92rem;
	color: var(--wp--preset--color--soft);
}

/* ------------------------------------------------------------------
   WPForms (contact form, C10): matches the on-page Kit form styling.
   ------------------------------------------------------------------ */
.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form textarea {
	background: #FFFFFF !important;
	color: #242628 !important;
	border: 1px solid #937646 !important;
	border-radius: 2px !important;
	font-family: inherit !important;
	box-shadow: none !important;
}
.wpforms-container .wpforms-form input:focus-visible,
.wpforms-container .wpforms-form textarea:focus-visible {
	outline: 2px solid #937646;
	outline-offset: 2px;
}
.wpforms-container .wpforms-form button[type="submit"] {
	background: transparent !important;
	color: var(--wp--preset--color--accent-3) !important;
	border: 1px solid var(--wp--preset--color--accent-3) !important;
	border-radius: 999px !important;
	padding: 0.85rem 1.7rem !important;
	font-family: inherit !important;
	font-size: 0.8rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1 !important;
	text-indent: 0.16em;
	padding-top: 0.88rem !important;
	padding-bottom: 0.82rem !important;
	transition: background 0.2s ease;
}
.wpforms-container .wpforms-form button[type="submit"]:hover,
.wpforms-container .wpforms-form button[type="submit"]:focus-visible {
	background: var(--wp--preset--color--accent-5) !important;
	color: var(--wp--preset--color--accent-3) !important;
}

/* ------------------------------------------------------------------
   v1.4.6 — Kit form: flush and pilled, decisively.
   The embedded Kit CSS defends its geometry at [data-uid] specificity
   with !important (radius 2px on button AND on the label span, which
   is the painted face; the form centered at 34rem). Overridden from
   .wp-block-post-content depth, one tier above anything the embed can
   claim. Form goes full-width flush-left to match the contact form;
   button and span both become the pill; the span stops being a
   painted surface. Ruling amendment of 25 Aug 2026 stands.
   ------------------------------------------------------------------ */
.wp-block-post-content .formkit-form[data-uid] {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.wp-block-post-content .formkit-form[data-uid] .formkit-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	position: relative;
	width: auto !important;
	background-color: transparent !important;
	color: var(--wp--preset--color--accent-3) !important;
	border: 1px solid var(--wp--preset--color--accent-3) !important;
	border-radius: 999px !important;
	font-family: "EB Garamond", Georgia, serif !important;
	font-weight: 500 !important;
	font-size: 0.8rem !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase;
	line-height: 1 !important;
	padding: 0.88rem 1.7rem 0.82rem !important;
	transition: background-color 0.2s ease;
}
.wp-block-post-content .formkit-form[data-uid] .formkit-submit > span {
	background: transparent !important;
	color: inherit !important;
	padding: 0 !important;
	border-radius: 999px !important;
	font-size: 0.8rem !important;
	letter-spacing: 0.16em !important;
	line-height: 1 !important;
	transform: translateY(0.05em);
	margin-right: -0.16em;
}
.wp-block-post-content .formkit-form[data-uid] .formkit-spinner {
	position: absolute !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	opacity: 0;
	pointer-events: none;
}
.wp-block-post-content .formkit-form[data-uid] .formkit-submit:hover,
.wp-block-post-content .formkit-form[data-uid] .formkit-submit:focus-visible {
	background-color: var(--wp--preset--color--accent-5) !important;
}
.wp-block-post-content .formkit-form[data-uid] .formkit-submit:hover > span,
.wp-block-post-content .formkit-form[data-uid] .formkit-submit:focus-visible > span {
	background: transparent !important;
	color: var(--wp--preset--color--accent-3) !important;
}
