/*
 * FMCP content styles. Loaded on the site and inside the block editor,
 * so pages look the same while you edit them.
 *
 * Patterns (Insert > Patterns > FMCP) use these classes. You can also add
 * them yourself under Block > Advanced > Additional CSS class(es).
 */

/* ---------- Basics ---------- */
.entry-content, .editor-styles-wrapper { color: #F3EDE2; }
:where(.entry-content, .editor-styles-wrapper) :where(p) { margin-top: 0; }
:where(.entry-content, .editor-styles-wrapper) :where(h1, h2, h3, h4) { margin-top: 0; margin-bottom: 0; }
h1 em, h2 em, h3 em { color: var(--fmcp-accent, #E2AE4A); }

/* Muted body copy in boxes and grids */
.fmcp-card p:not([class]), .fmcp-col p:not([class]), .is-style-fmcp-boxed p:not([class]), .fmcp-row p:not([class]), .fmcp-step p:not([class]) { color: #B9AF9F; }

/* ---------- Text styles (paragraph Styles panel) ---------- */
.is-style-fmcp-eyebrow { font-size: 13px !important; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--fmcp-accent, #E2AE4A); margin-bottom: 0; }
.is-style-fmcp-lead { font-size: 19px; line-height: 1.6; color: #E4DCCD; max-width: 580px; }
.fmcp-more { font-weight: 600; font-size: 15px; }
.fmcp-more a { color: var(--fmcp-accent, #E2AE4A); text-decoration: none; }
.fmcp-more a::after { content: " \2192"; }
.fmcp-num { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; line-height: 1.2; color: var(--fmcp-accent, #E2AE4A); margin: 0; }
.fmcp-bignum { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(64px, 8vw, 96px) !important; line-height: .9; color: var(--fmcp-accent, #E2AE4A); margin: 0; }
.fmcp-bigquote { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: clamp(28px, 3.4vw, 40px) !important; line-height: 1.2; max-width: 960px; }
.fmcp-bigquote strong, .fmcp-bigquote mark { color: var(--fmcp-accent, #E2AE4A); font-weight: inherit; background: none; }
.fmcp-phone { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 40px !important; font-weight: 600; line-height: 1.2; margin: 0; }
.fmcp-phone a { color: var(--fmcp-accent, #E2AE4A); text-decoration: none; }
.fmcp-italic { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 22px !important; }

/* ---------- Sections ---------- */
.fmcp-section { padding-top: 96px !important; padding-bottom: 96px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.fmcp-section--tight { padding-top: 56px !important; padding-bottom: 56px !important; }
.fmcp-section--rule { border-top: 1px solid rgba(243, 237, 226, .12); }
.fmcp-section--rule-bottom { border-bottom: 1px solid rgba(243, 237, 226, .12); }
.fmcp-section > * + * { margin-top: 24px; }
.fmcp-section > .fmcp-head + *, .fmcp-section > .wp-block-heading + .fmcp-grid { margin-top: 48px; }

/* Light (paper) section: Group block > Styles > Light */
.is-style-fmcp-light { background: #F3EDE2; color: #1E1A16; }
.is-style-fmcp-light h1, .is-style-fmcp-light h2, .is-style-fmcp-light h3, .is-style-fmcp-light h4 { color: #1E1A16; }
.is-style-fmcp-light p:not([class]), .is-style-fmcp-light li, .is-style-fmcp-light .fmcp-card p:not([class]), .is-style-fmcp-light .fmcp-col p:not([class]), .is-style-fmcp-light .fmcp-row p:not([class]), .is-style-fmcp-light .fmcp-step p:not([class]) { color: #4A4238; }
.is-style-fmcp-light .is-style-fmcp-eyebrow, .is-style-fmcp-light .fmcp-num, .is-style-fmcp-light .fmcp-more a, .is-style-fmcp-light a:not(.wp-element-button) { color: #8A5A12; }
.is-style-fmcp-light .fmcp-more a:hover { color: #1E1A16; }
.is-style-fmcp-light .is-style-fmcp-lead { color: #4A4238; }

/* Section heading row: heading group on the left, short paragraph on the right */
.fmcp-head { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.fmcp-head > * { margin: 0 !important; }
.fmcp-head > p:not([class]) { max-width: 400px; color: #B9AF9F; }
.is-style-fmcp-light .fmcp-head > p:not([class]) { color: #4A4238; }
.fmcp-head > .wp-block-group > * + * { margin-top: 12px; }

/* ---------- Hero (Cover block with class fmcp-hero) ---------- */
.wp-block-cover.fmcp-hero { min-height: 720px; padding: 96px 32px; align-items: center; }
.wp-block-cover.fmcp-hero .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(21,18,15,.88) 0%, rgba(21,18,15,.55) 38%, rgba(21,18,15,0) 62%) !important;
	opacity: 1 !important;
}
.wp-block-cover.fmcp-hero .wp-block-cover__image-background { object-position: 62% 40%; }
.wp-block-cover.fmcp-hero .wp-block-cover__inner-container { max-width: 1176px; width: 100%; margin: 0 auto; color: #F3EDE2; }
.wp-block-cover.fmcp-hero .wp-block-cover__inner-container > * { max-width: 560px; margin-left: 0 !important; margin-right: auto !important; }
.wp-block-cover.fmcp-hero h1 { font-size: clamp(52px, 7vw, 84px); line-height: .98; letter-spacing: -.01em; }
.wp-block-cover.fmcp-hero .is-style-fmcp-eyebrow { margin-bottom: 20px; }
.wp-block-cover.fmcp-hero .is-style-fmcp-lead { margin-top: 28px; max-width: 480px; }
.wp-block-cover.fmcp-hero .wp-block-buttons { margin-top: 40px; }
@media (max-width: 720px) { .wp-block-cover.fmcp-hero { min-height: 620px; } .wp-block-cover.fmcp-hero .wp-block-cover__image-background { object-position: 70% 40%; } }

/* ---------- Buttons ---------- */
.wp-block-buttons { gap: 14px; }
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-element-button { background: transparent !important; color: #F3EDE2 !important; border: 1px solid rgba(243, 237, 226, .5); font-weight: 500; padding: 15px 27px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--fmcp-accent, #E2AE4A); color: var(--fmcp-accent, #E2AE4A) !important; }
.is-style-fmcp-light .wp-block-button.is-style-outline > .wp-block-button__link { color: #1E1A16 !important; border-color: rgba(30, 26, 22, .4); }
.wp-block-button__link { background: var(--fmcp-accent, #E2AE4A); }

/* ---------- Grids ---------- */
.fmcp-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.fmcp-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.fmcp-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.fmcp-grid > * { margin: 0 !important; max-width: none !important; }
.fmcp-grid--wide-gap { gap: 48px; }
/* Hairline-joined grid */
.fmcp-grid--joined { gap: 1px; background: rgba(243, 237, 226, .12); border: 1px solid rgba(243, 237, 226, .12); }
.fmcp-grid--joined > * { background: #15120F; }

.fmcp-card { padding: 32px 28px; }
.fmcp-card > * + *, .fmcp-col > * + *, .is-style-fmcp-boxed > * + *, .fmcp-person > * + *, .fmcp-linkcard > * + * { margin-top: 14px; }
.fmcp-card h3 { font-family: Inter, system-ui, sans-serif; font-size: 20px; font-weight: 600; }
.fmcp-card p:not([class]) { font-size: 15px; }

/* Column with a heavy top rule (services) */
.fmcp-col { border-top: 2px solid currentColor; padding-top: 28px; }
.fmcp-col h3 { margin-bottom: 4px; }

/* Boxed: Group block > Styles > Boxed */
.is-style-fmcp-boxed { border: 1px solid rgba(243, 237, 226, .16); padding: 44px 40px !important; display: flex; flex-direction: column; }
.is-style-fmcp-boxed h3 { font-size: 40px; font-weight: 500; line-height: 1.05; }
.is-style-fmcp-boxed > .fmcp-more, .is-style-fmcp-boxed > .fmcp-boxed-foot { margin-top: auto !important; padding-top: 20px; }
.fmcp-boxed-foot { border-top: 1px solid rgba(243, 237, 226, .12); display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px !important; }
.fmcp-boxed-foot > * { margin: 0 !important; }
.is-style-fmcp-light .is-style-fmcp-boxed { border-color: rgba(30, 26, 22, .25); }

/* Linked cards */
.fmcp-linkcard { padding: 36px !important; }
.fmcp-linkcard h3 { font-size: 30px; }
.fmcp-linkcard p:not([class]) { color: #B9AF9F; font-size: 15px; }

/* ---------- Lists ---------- */
.is-style-fmcp-plain { list-style: none; padding-left: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.is-style-fmcp-plain li { margin: 0; }
.is-style-fmcp-pills { list-style: none; padding-left: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.is-style-fmcp-pills li { margin: 0; padding: 6px 14px; border: 1px solid rgba(243, 237, 226, .2); border-radius: 999px; color: #F3EDE2; }
.is-style-fmcp-light .is-style-fmcp-pills li { border-color: rgba(30, 26, 22, .25); color: #1E1A16; }
.fmcp-col .is-style-fmcp-plain li, .is-style-fmcp-boxed .is-style-fmcp-plain li { color: #B9AF9F; }
.is-style-fmcp-light .fmcp-col .is-style-fmcp-plain li { color: #4A4238; }

/* Numbered list in columns: List block > Styles > Numbered grid (use a numbered list) */
.is-style-fmcp-numbered { list-style: none; padding-left: 0 !important; counter-reset: fmcp; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); border-top: 2px solid currentColor; }
.is-style-fmcp-numbered li { counter-increment: fmcp; display: flex; gap: 16px; align-items: baseline; padding: 24px 24px 24px 0; border-bottom: 1px solid rgba(30, 26, 22, .18); font-size: 18px; font-weight: 500; margin: 0; }
.is-style-fmcp-numbered li::before { content: counter(fmcp, decimal-leading-zero); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; color: var(--fmcp-accent, #E2AE4A); }
.is-style-fmcp-light .is-style-fmcp-numbered li { color: #1E1A16; }
.is-style-fmcp-light .is-style-fmcp-numbered li::before { color: #8A5A12; }
:not(.is-style-fmcp-light) > .is-style-fmcp-numbered li { border-bottom-color: rgba(243, 237, 226, .12); }

/* ---------- Stats band ---------- */
.fmcp-stats { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; }
.fmcp-stats > * { margin: 0 !important; max-width: none !important; }
.fmcp-grid--joined.fmcp-stats { gap: 1px; }
.fmcp-stats .fmcp-stat-value { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 56px !important; line-height: 1; color: var(--fmcp-accent, #E2AE4A); margin: 0 0 6px; }
.fmcp-stats .fmcp-stat-label { color: #B9AF9F; font-size: 14px; margin: 0; }

/* ---------- Numbered offering rows ---------- */
.fmcp-rows { border-top: 2px solid currentColor; }
.fmcp-rows > * { margin: 0 !important; max-width: none !important; }
.fmcp-row { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 48px; padding: 48px 0 !important; border-bottom: 1px solid rgba(243, 237, 226, .12); }
.is-style-fmcp-light .fmcp-row { border-bottom-color: rgba(30, 26, 22, .18); }
.fmcp-row > * { margin: 0 !important; max-width: none !important; }
.fmcp-row > * > * + * { margin-top: 16px; }
.fmcp-row__head > .fmcp-num { font-size: 28px; }
.fmcp-row__head > .fmcp-num + * { margin-top: 8px !important; }
.fmcp-row h3 { font-size: 34px; }

/* ---------- Process steps (bars shrink like a funnel) ---------- */
.fmcp-steps { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.fmcp-steps > * { margin: 0 !important; max-width: none !important; }
.fmcp-step::before { content: ""; display: block; height: 64px; margin-bottom: 14px; background: #1E1A16; }
.fmcp-step:nth-child(2)::before { height: 48px; margin-top: 16px; background: #5A4A36; }
.fmcp-step:nth-child(3)::before { height: 32px; margin-top: 32px; background: #8A5A12; }
.fmcp-step:nth-child(4)::before { height: 16px; margin-top: 48px; background: #C98A2E; }
.fmcp-step:nth-child(n+5)::before { height: 8px; margin-top: 56px; background: #E2AE4A; }
.fmcp-step > * + * { margin-top: 12px; }
.fmcp-step h3 { font-size: 34px; }
.fmcp-step p:not([class]) { font-size: 15px; }
:not(.is-style-fmcp-light) > .fmcp-steps .fmcp-step::before { background: #E2AE4A; opacity: .35; }

/* Note strip */
.fmcp-note { border: 1px solid rgba(243, 237, 226, .2); padding: 28px 32px !important; display: flex !important; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; }
.fmcp-note > * { margin: 0 !important; }
.fmcp-note > p:not([class]) { flex: 1 1 420px; }
.is-style-fmcp-light .fmcp-note { border-color: rgba(30, 26, 22, .25); }

/* Dark callout (works inside light sections) */
.fmcp-callout { background: #1E1A16; color: #F3EDE2; padding: 20px 24px !important; display: flex !important; align-items: center; gap: 20px; border-radius: 2px; }
.fmcp-callout > * { margin: 0 !important; }
.fmcp-callout .fmcp-bignum { font-size: 52px !important; }
.is-style-fmcp-light .fmcp-callout p:not([class]) { color: #F3EDE2; }

/* Two-column split (text + number, contact, etc.) */
.fmcp-split { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px 72px; align-items: center; }
.fmcp-split--top { align-items: start; }
.fmcp-split > * { margin: 0 !important; max-width: none !important; }
.fmcp-split > * > * + * { margin-top: 20px; }

/* ---------- People ---------- */
.fmcp-person { text-align: center; padding: 44px 24px !important; border: 1px solid rgba(243, 237, 226, .16); display: flex; flex-direction: column; align-items: center; }
.fmcp-person h3 { margin-top: 18px !important; }
.fmcp-person .is-style-fmcp-eyebrow { margin-top: 8px !important; font-size: 13px; }
.wp-block-image.fmcp-avatar img { width: 168px !important; height: 168px !important; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px #15120F, 0 0 0 3px var(--fmcp-accent, #E2AE4A); }
.wp-block-image.fmcp-avatar { margin: 0 auto; }
.wp-block-image.fmcp-avatar--sm img { width: 96px !important; height: 96px !important; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.wp-block-image.fmcp-avatar--sm { margin: 0 !important; flex: none; }

.fmcp-people { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); column-gap: 48px; border-top: 2px solid currentColor; }
.fmcp-people > * { margin: 0 !important; max-width: none !important; }
.fmcp-person-row { display: flex !important; align-items: center; gap: 20px; padding: 24px 0 !important; border-bottom: 1px solid rgba(30, 26, 22, .18); }
.fmcp-person-row > * { margin: 0 !important; }
.fmcp-person-row h3 { font-size: 26px; }
.fmcp-person-row p { margin: 6px 0 0 !important; font-size: 14px; }
:not(.is-style-fmcp-light) > .fmcp-people .fmcp-person-row { border-bottom-color: rgba(243, 237, 226, .12); }

/* ---------- Closing call to action ---------- */
.fmcp-cta { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; }
.fmcp-cta > * { margin: 0 !important; }
.fmcp-cta > :first-child { max-width: 620px; }
.fmcp-cta > :first-child > * + * { margin-top: 16px !important; }
.fmcp-cta h2 { font-size: clamp(40px, 5vw, 56px); line-height: 1.02; }
.fmcp-cta > :first-child p { color: #B9AF9F; font-size: 18px; }
.fmcp-cta > :last-child { display: flex; flex-direction: column; gap: 14px; min-width: 260px; }
.fmcp-cta > :last-child > * { margin: 0 !important; }
.fmcp-cta .wp-block-button, .fmcp-cta .wp-block-button__link { width: 100%; text-align: center; }

/* ---------- Contact Form 7 ---------- */
.wpcf7 form { display: flex; flex-direction: column; gap: 22px; }
.wpcf7 form > p { margin: 0; }
.wpcf7 label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: #E4DCCD; }
.wpcf7 label br { display: none; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 textarea, .wpcf7 select {
	width: 100%; padding: 14px 16px; background: rgba(243, 237, 226, .04); color: #F3EDE2;
	border: 1px solid rgba(243, 237, 226, .28); border-radius: 2px; font: inherit; font-size: 16px; font-weight: 400;
}
.wpcf7 textarea { min-height: 180px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--fmcp-accent, #E2AE4A); outline: none; }
.wpcf7 input[type="submit"] {
	align-self: flex-end; padding: 16px 36px; background: var(--fmcp-accent, #E2AE4A); color: #15120F;
	font: inherit; font-weight: 600; border: 0; border-radius: 2px; cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: var(--fmcp-accent-hover, #E8B95A); }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 12px; }
.wpcf7 .wpcf7-not-valid-tip { color: #F0A58C; font-size: 13px; margin-top: 4px; }
.wpcf7 .wpcf7-response-output { margin: 8px 0 0 !important; padding: 12px 16px !important; border-radius: 2px; font-size: 14px; }
/* Anti-spam honeypot field: must stay hidden from people */
.wpcf7 .altEmail_container, .wpcf7 [name="alt_s"] { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Editor-only niceties ---------- */
.editor-styles-wrapper .fmcp-step::before { pointer-events: none; }
