/*
Theme Name: Parts Of My Life
Theme URI: https://www.santacruzwebmasters.com
Author: James P. Williams
Author URI: https://www.santacruzwebmasters.com
Description: A warm, private family history site (child theme of The Foundation): profiles with a family tree, photo galleries and documents for each person, search, a family-only login and GEDCOM import. Works with the Family tree feature of The Plumbing and the Document Library plugin.
Template: the-foundation
Version: 0.1.2
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: parts-of-my-life
*/

@font-face{font-family:"PML Cormorant";font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/cormorant-500.woff2) format("woff2")}
@font-face{font-family:"PML Cormorant";font-style:italic;font-weight:500;font-display:swap;src:url(assets/fonts/cormorant-500i.woff2) format("woff2")}
@font-face{font-family:"PML Cormorant";font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/cormorant-600.woff2) format("woff2")}
@font-face{font-family:"PML Cormorant";font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/cormorant-700.woff2) format("woff2")}
@font-face{font-family:"PML Nunito";font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/nunito-400.woff2) format("woff2")}
@font-face{font-family:"PML Nunito";font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/nunito-600.woff2) format("woff2")}
@font-face{font-family:"PML Nunito";font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/nunito-700.woff2) format("woff2")}

html:root{
	--pml-plum:#6E2F55;--pml-plum-d:#4A1E3A;--pml-rose:#C65D6E;--pml-rose-d:#A4465A;--pml-gold:#D4A24A;
	--pml-cream:#FBF6EE;--pml-blush:#F6E8E3;--pml-white:#FFFDFA;--pml-ink:#2E2230;--pml-text:#483C4C;--pml-muted:#6B5F70;--pml-line:#E6D3D0;
	--pml-serif:"PML Cormorant",Georgia,"Times New Roman",serif;--pml-sans:"PML Nunito",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	--fd-ink:#2E2230;--fd-primary:#6E2F55;--fd-primary-d:#4A1E3A;--fd-accent:#6E2F55;--fd-accent-d:#4A1E3A;--fd-alt:#C65D6E;--fd-highlight:#D4A24A;
	--fd-mist:#F6E8E3;--fd-line:#E6D3D0;--fd-text:#483C4C;--fd-muted:#6B5F70;--fd-radius:14px;--fd-btn-radius:999px;--fd-wrap:1180px;
	--fd-body:"PML Nunito",system-ui,sans-serif;--fd-head:"PML Cormorant",Georgia,serif;--fd-menu:"PML Nunito",system-ui,sans-serif;--fd-hh:84px;
	--fam-accent:#6E2F55;--fam-accent-d:#4A1E3A;--fam-ink:#2E2230;--fam-text:#483C4C;--fam-muted:#6B5F70;--fam-line:#E2CFCB;--fam-paper:#FFFDFA;--fam-bg:#F9EFEA;--fam-lc:#C98B98;
}
html{scroll-behavior:smooth}
body{background:var(--pml-cream);color:var(--pml-text);font-family:var(--pml-sans);font-size:17px;line-height:1.75;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--pml-serif);font-weight:600;color:var(--pml-plum-d);letter-spacing:0;line-height:1.15}
a{color:var(--pml-plum);text-underline-offset:3px}
a:hover{color:var(--pml-rose-d)}
::selection{background:#F3C9D0;color:var(--pml-ink)}
:focus-visible{outline:3px solid var(--pml-rose);outline-offset:3px}
.fd-entry>*:not(.alignfull){color:var(--pml-text)}
.fd-entry .alignfull{margin-block:0}


/* Full width: the page always runs edge to edge. If anything outside the theme (an old Additional CSS rule, a plugin, a cache) puts the page in a narrow centered box, the header, title strips, colored sections and footer still break out to the full window. */
html body{max-width:none!important;width:auto!important;margin-inline:0!important;padding-inline:0!important}
.fd-header.pml-header,.pml-footer,.fd-pagehead,.pml-phead,.fd-entry .alignfull,.fd-entry>.pml-hero{box-sizing:border-box;width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important}
html,body{overflow-x:clip}

/* buttons */
.pml-btn,.wp-block-button__link,.fd-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.8em 1.7em;border:2px solid var(--pml-plum);border-radius:999px;background:var(--pml-plum);color:#fff;font:700 .95rem/1.2 var(--pml-sans);letter-spacing:.02em;text-decoration:none;cursor:pointer;transition:background .15s,color .15s,transform .15s,box-shadow .15s;box-shadow:0 6px 16px rgba(110,47,85,.2)}
.pml-btn:hover,.wp-block-button__link:hover,.fd-btn:hover{background:var(--pml-plum-d);border-color:var(--pml-plum-d);color:#fff;transform:translateY(-1px)}
.pml-btn--ghost,.is-style-outline .wp-block-button__link,.is-style-outline>.wp-block-button__link{background:transparent;color:var(--pml-plum);box-shadow:none}
.pml-btn--ghost:hover,.is-style-outline .wp-block-button__link:hover{background:var(--pml-plum);color:#fff}
.pml-btn--light{background:var(--pml-cream);border-color:var(--pml-cream);color:var(--pml-plum-d);box-shadow:none}
.pml-btn--light:hover{background:#fff;border-color:#fff;color:var(--pml-plum-d)}
.pml-actions{display:flex;flex-wrap:wrap;gap:14px;margin:1.8rem 0 0}
.pml-actions--center{justify-content:center}
.wp-block-buttons{gap:14px}

/* header */
.fd-header.pml-header{background:var(--pml-white);border-bottom:1px solid var(--pml-line);box-shadow:0 1px 0 rgba(212,162,74,.5);backdrop-filter:none}
.fd-header.pml-header.is-stuck{box-shadow:0 8px 24px rgba(74,30,58,.12)}
.pml-header .fd-header__in{min-height:84px}
.pml-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.pml-mark{height:58px;width:auto;display:block}
.pml-word{font:600 1.75rem/1 var(--pml-serif);color:var(--pml-plum-d);letter-spacing:.005em;white-space:nowrap}
.pml-word em{color:var(--pml-rose-d);font-weight:500}
.pml-header .fd-link,.pml-header .fd-caret{font:600 .96rem/1 var(--pml-sans);letter-spacing:.01em;color:var(--pml-ink);min-height:46px}
.pml-header .fd-link:hover{color:var(--pml-rose-d)}
.pml-header .fd-item.is-current>.fd-link{color:var(--pml-plum)}
.pml-header .fd-link::after{height:3px;background:var(--pml-rose);bottom:8px;opacity:0;border-radius:2px}
.pml-header .fd-link:hover::after{opacity:.5}
.pml-header .fd-item.is-current>.fd-link::after{opacity:1}
.pml-header .fd-nav__cta{margin-left:10px;min-height:44px;padding:.65em 1.4em}
.pml-header .fd-burger{color:var(--pml-plum)}
@media (max-width:1000px){
	.pml-word{font-size:1.4rem}
	.pml-mark{height:48px}
	.pml-header .fd-nav{background:var(--pml-white);border-top:3px solid var(--pml-rose)}
	.pml-header .fd-item{border-bottom:1px solid var(--pml-line)}
	.pml-header .fd-link{font-size:1.05rem;padding:1.1em .2em}
	.pml-header .fd-nav__cta{margin:12px 0 0;width:100%}
}

/* page title strip: a soft oak tree behind the title */
.fd-pagehead{position:relative;background:linear-gradient(180deg,rgba(251,246,238,.55),rgba(251,246,238,.93)),var(--pml-banner,none) center/cover no-repeat,var(--pml-blush);text-align:center;padding:clamp(48px,7vw,92px) 0 clamp(36px,5vw,64px);border-bottom:1px solid var(--pml-line)}
.fd-pagehead__t{font:600 clamp(2.4rem,5vw,4rem)/1.05 var(--pml-serif);color:var(--pml-plum-d);margin:0}
.fd-pagehead__t::after{content:"";display:block;width:90px;height:3px;margin:1rem auto 0;background:linear-gradient(90deg,var(--pml-rose),var(--pml-gold));border-radius:2px}

/* sections */
.pml-sec{padding:clamp(56px,7vw,100px) 0}
.pml-sec--cream{background:var(--pml-cream)}
.pml-sec--blush{background:var(--pml-blush)}
.pml-sec--plum{background:var(--pml-plum-d);color:#F7E8EC}
.pml-in{width:min(1180px,100% - 48px);margin-inline:auto}
.pml-sec>.pml-in>*:first-child{margin-top:0}
.pml-eyebrow{display:flex;align-items:center;gap:.8em;font:700 .76rem/1.3 var(--pml-sans);letter-spacing:.22em;text-transform:uppercase;color:var(--pml-rose-d);margin:0 0 1em}
.pml-eyebrow::before{content:"";width:30px;height:2px;background:var(--pml-gold)}
.pml-h1{font:600 clamp(2.8rem,6vw,5rem)/1.02 var(--pml-serif);color:var(--pml-plum-d);margin:0 0 .35em}
.pml-title,.fd-entry h2.pml-title{font:600 clamp(2.1rem,4vw,3.3rem)/1.1 var(--pml-serif);color:var(--pml-plum-d);margin:0}
.pml-title--sm,.fd-entry h2.pml-title--sm{font-size:clamp(1.7rem,2.6vw,2.2rem);margin:0 0 .6em}
.pml-lead{font:italic 500 clamp(1.25rem,1.9vw,1.55rem)/1.5 var(--pml-serif);color:var(--pml-text);max-width:36em;margin:0 0 1.2rem}
.pml-rule{width:84px;height:3px;margin:1.2rem 0 1.5rem;background:linear-gradient(90deg,var(--pml-rose),var(--pml-gold));border-radius:2px}
.pml-note{font-size:.9rem;color:var(--pml-muted);margin:1.2rem 0 0}
.pml-cols2{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,64px);margin-top:2rem}
.pml-cols2--top{align-items:start}
.pml-cols2 p{margin:0 0 1rem}
.pml-card{background:var(--pml-white);border:1px solid var(--pml-line);border-top:5px solid var(--pml-rose);border-radius:var(--fd-radius);padding:clamp(22px,3vw,38px);box-shadow:0 10px 26px rgba(74,30,58,.07)}
.pml-card h3{margin:0 0 .6em;font-size:1.7rem}

/* home hero */
.pml-hero{background:linear-gradient(120deg,var(--pml-blush) 0%,var(--pml-cream) 70%);padding:clamp(40px,6vw,88px) 0 clamp(56px,7vw,100px);overflow:hidden}
.pml-hero__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(32px,5vw,72px);align-items:center}
.pml-arch{border-radius:260px 260px 28px 28px;overflow:hidden;border:6px solid var(--pml-white);box-shadow:0 24px 50px rgba(74,30,58,.2);aspect-ratio:4/5}
.pml-arch img{width:100%;height:100%;object-fit:cover;display:block}
.pml-hero__art{position:relative}
.pml-hero__mark{position:absolute;left:-26px;bottom:-34px;width:118px;height:auto;background:var(--pml-white);border-radius:50%;padding:14px;box-shadow:0 10px 24px rgba(74,30,58,.22)}
.pml-band{background:var(--pml-plum);color:#fff;padding:34px 0}
.pml-band .pml-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 56px}
.pml-band__lead{margin:0;font:italic 500 1.5rem/1.2 var(--pml-serif);color:#F7E1E6}
.pml-band .fam-stats strong{color:#fff;font-family:var(--pml-serif);font-size:2.6rem}
.pml-band .fam-stats span{color:#F0CBD5}

/* feature cards */
.pml-feats{list-style:none;margin:2.4rem 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.pml-feats--3{grid-template-columns:repeat(3,1fr)}
.pml-feat{margin:0;padding:28px 24px;background:var(--pml-white);border:1px solid var(--pml-line);border-radius:var(--fd-radius);box-shadow:0 8px 22px rgba(74,30,58,.06)}
.pml-feat__i{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--pml-blush);color:var(--pml-plum);margin-bottom:14px}
.pml-feat__i svg,.pml-quick svg,.pml-privacy__i svg,.pml-closing__i svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pml-feat h3{margin:0 0 .35em;font-size:1.5rem}
.pml-feat p{margin:0;color:var(--pml-text);font-size:.98rem;line-height:1.6}
.pml-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,70px);align-items:center}
.pml-split__art img{width:100%;height:auto;display:block;border-radius:var(--fd-radius);box-shadow:0 18px 40px rgba(74,30,58,.18);aspect-ratio:4/3;object-fit:cover}
.pml-steps{margin:1rem 0 0;padding-left:0;list-style:none;counter-reset:s}
.pml-steps li{counter-increment:s;position:relative;padding:.6em 0 .6em 3.2rem;margin:0}
.pml-steps li::before{content:counter(s);position:absolute;left:0;top:.4em;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--pml-rose-d);color:#fff;display:grid;place-items:center;font:700 1.15rem/1 var(--pml-serif)}
.pml-privacy{display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center}
.pml-privacy__i{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.12);color:#F5D9A3}
.pml-privacy__i svg{width:34px;height:34px}
.pml-privacy h2{margin:0 0 .3em;color:#fff;font-size:2.3rem}
.pml-privacy p{margin:0;color:#F2DCE3;max-width:40em}
.pml-closing{text-align:center;max-width:640px;margin:0 auto}
.pml-closing__i{display:inline-grid;place-items:center;width:62px;height:62px;border-radius:50%;background:var(--pml-blush);color:var(--pml-rose-d);margin-bottom:14px}
.pml-closing h2{font-size:clamp(2.2rem,4vw,3.2rem);margin:0 0 .3em}
.pml-closing p{font:italic 500 1.4rem/1.4 var(--pml-serif)}
.pml-checks{list-style:none;margin:0;padding:0}
.pml-checks li{position:relative;padding:.5em 0 .5em 2rem;margin:0}
.pml-checks li::before{content:"";position:absolute;left:.1em;top:1em;width:12px;height:7px;border-left:3px solid var(--pml-rose-d);border-bottom:3px solid var(--pml-rose-d);transform:rotate(-45deg)}
.pml-faq{margin-top:1.6rem;max-width:820px}
.pml-faq details{background:var(--pml-white);border:1px solid var(--pml-line);border-radius:12px;margin:0 0 10px;padding:0 20px}
.pml-faq summary{cursor:pointer;padding:16px 0;font:600 1.3rem/1.3 var(--pml-serif);color:var(--pml-plum-d)}
.pml-faq details[open] summary{color:var(--pml-rose-d)}
.pml-faq p{margin:0 0 16px}
.pml-quick{list-style:none;margin:2.2rem 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.pml-quick li{margin:0}
.pml-quick a{display:grid;gap:4px;padding:26px;background:var(--pml-white);border:1px solid var(--pml-line);border-radius:var(--fd-radius);text-decoration:none;color:var(--pml-text);box-shadow:0 8px 22px rgba(74,30,58,.06);transition:transform .15s,box-shadow .15s}
.pml-quick a:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(74,30,58,.14)}
.pml-quick span{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--pml-blush);color:var(--pml-plum);margin-bottom:8px}
.pml-quick strong{font:600 1.55rem/1.2 var(--pml-serif);color:var(--pml-plum-d)}
.pml-quick em{font-style:normal;color:var(--pml-muted)}
.pml-signin{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,64px);align-items:center}
.pml-prose{max-width:760px}
.pml-prose h3{font-size:1.6rem;margin:2rem 0 .4rem}

/* a profile */
.pml-phead{background:linear-gradient(120deg,var(--pml-blush),var(--pml-cream));border-bottom:1px solid var(--pml-line);padding:clamp(30px,5vw,60px) 0}
.pml-phead__in{display:grid;grid-template-columns:auto 1fr;gap:clamp(24px,4vw,56px);align-items:center}
.pml-portrait{width:min(280px,60vw);aspect-ratio:1;border-radius:50%;overflow:hidden;border:6px solid var(--pml-white);box-shadow:0 18px 40px rgba(74,30,58,.22);background:var(--pml-blush);display:grid;place-items:center}
.pml-portrait.is-m{border-color:#C9DAE8}
.pml-portrait.is-f{border-color:#F3CED4}
.pml-portrait img{width:100%;height:100%;object-fit:cover;display:block}
.pml-portrait i{font:600 4rem/1 var(--pml-serif);font-style:normal;color:var(--pml-rose-d)}
.pml-crumb{margin:0 0 .4rem;font-size:.92rem}
.pml-phead h1{font:600 clamp(2.4rem,5vw,4.2rem)/1.05 var(--pml-serif);margin:0}
.pml-fullname{margin:.3rem 0 0;color:var(--pml-muted);font-style:italic}
.pml-years{margin:.4rem 0 0;font:500 1.6rem/1.2 var(--pml-serif);color:var(--pml-rose-d)}
.pml-chips{display:flex;flex-wrap:wrap;gap:8px;margin:.8rem 0 0}
.pml-chip{display:inline-block;padding:.3em .9em;border-radius:999px;background:var(--pml-white);border:1px solid var(--pml-line);font-size:.82rem;font-weight:700;color:var(--pml-plum)}
.pml-chip.is-living{background:var(--pml-rose-d);border-color:var(--pml-rose-d);color:#fff}
.pml-lede{margin:1rem 0 0;font:italic 500 1.35rem/1.5 var(--pml-serif);max-width:34em}
.pml-pbody{padding:clamp(36px,5vw,64px) 0}
.pml-pbody .fam-section>h2{font:600 clamp(1.9rem,3vw,2.5rem)/1.1 var(--pml-serif);color:var(--pml-plum-d);padding-bottom:.35em;border-bottom:2px solid var(--pml-line);position:relative}
.pml-pbody .fam-section>h2::after{content:"";position:absolute;left:0;bottom:-2px;width:70px;height:2px;background:var(--pml-rose)}
.pml-pbody .fam-bio{max-width:46em;font-size:1.08rem}
.pml-directory{padding:clamp(30px,4vw,56px) 0}
.fam-sources{margin:0;padding-left:1.2rem;color:var(--pml-muted);font-size:.95rem}

/* forms */
.tp-form.fd-form{background:transparent;padding:0;border:0;box-shadow:none;max-width:none}
.tp-form p{margin:0 0 1rem}
.tp-form label,.tp-form legend{display:block;font:700 .8rem/1.4 var(--pml-sans);letter-spacing:.1em;text-transform:uppercase;color:var(--pml-rose-d);margin-bottom:.4em}
.tp-form input[type=text],.tp-form input[type=email],.tp-form input[type=tel],.tp-form input[type=date],.tp-form select,.tp-form textarea{width:100%;font:400 1rem/1.4 var(--pml-sans);color:var(--pml-ink);background:#fff;border:1.5px solid #D9C2BF;border-radius:12px;padding:.85em 1em}
.tp-form textarea{min-height:130px}
.tp-form input:focus,.tp-form select:focus,.tp-form textarea:focus{outline:0;border-color:var(--pml-plum);box-shadow:0 0 0 3px rgba(110,47,85,.18)}
.tp-form button[type=submit],.tp-form .fd-btn{cursor:pointer}
.tp-form__err,.fd-form__msg--err{border-left:4px solid #B3372A;background:#FBE8E6;color:#6F1F17;padding:.8em 1em}
.fd-form__msg--ok{background:#E8F3E8;color:#1D4D26;border:1px solid #B9D8BD;border-radius:10px;padding:.8em 1em}

/* footer */
.pml-footer{background:var(--pml-plum-d);color:#EBD3DC;border-top:6px solid var(--pml-gold)}
.pml-footer__grid{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.3fr;gap:clamp(24px,4vw,56px);padding:clamp(44px,6vw,72px) 0 34px;align-items:start}
.pml-footer__logo{display:block;width:150px;background:var(--pml-cream);border-radius:20px;padding:12px}
.pml-footer__logo img{display:block;width:100%;height:auto}
.pml-footer h3{font:700 .76rem/1 var(--pml-sans);letter-spacing:.26em;text-transform:uppercase;color:#F2D3A0;margin:0 0 1.2rem}
.pml-footer ul{list-style:none;margin:0;padding:0}
.pml-footer li{margin:0 0 .6rem}
.pml-footer a{color:#F7E8EC;text-decoration:none}
.pml-footer a:hover{color:#fff;text-decoration:underline}
.pml-footer p{margin:0;color:#EBD3DC}
.pml-footer__bar{background:#38132B;padding:18px 0;font-size:.86rem;color:#D8B8C6}
.pml-footer__barin{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 24px}
.pml-credit{color:#F2D3A0!important;font-weight:700}

@media (max-width:1000px){
	.pml-hero__grid,.pml-split,.pml-cols2,.pml-signin{grid-template-columns:1fr}
	.pml-hero__art{max-width:480px;margin:0 auto;width:100%}
	.pml-feats{grid-template-columns:repeat(2,1fr)}
	.pml-feats--3,.pml-quick{grid-template-columns:1fr}
	.pml-privacy{grid-template-columns:1fr;text-align:center;justify-items:center}
	.pml-footer__grid{grid-template-columns:1fr 1fr}
	.pml-footer__brand{grid-column:1/-1}
	.pml-phead__in{grid-template-columns:1fr;justify-items:center;text-align:center}
	.pml-chips,.pml-actions{justify-content:center}
}
@media (max-width:640px){
	body{font-size:16.5px}
	.pml-feats{grid-template-columns:1fr}
	.pml-footer__grid{grid-template-columns:1fr}
	.pml-hero__mark{left:-8px;width:92px}
	.pml-actions .pml-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
