/*
Theme Name:   SMH Child
Theme URI:    https://www.smithmountainhomes.com/
Description:  Child theme of ThemeCo X for the Smith Mountain Homes rebuild. Holds the hand-built, update-safe templates and the design system (Cormorant Garamond + Inter; navy/gold/cream). Cornerstone stays installed; our pages use these templates, not the Cornerstone editor.
Author:       Tentmaker Strategies (Adam Murphy)
Template:     x
Version:      0.1.0
Text Domain:  smh-child
*/

/* =========================================================
   SMH DESIGN SYSTEM — single source of truth for the rebuild.
   Page-specific blocks (hero variants, author section, etc.)
   are added per template; this file holds the shared core.
   NOTE: confirm the parent theme folder slug is "x" (Template: x above)
   against the server before activating.
   ========================================================= */

:root{
  --ink:#1c2a35; --ink2:#46586a; --line:#e7ecf1;
  --paper:#ffffff; --mist:#f4f8fb; --mist2:#eaf2f8;
  --blue:#5b8fb8; --blue-d:#3f6f96; --blue-pale:#e9f1f8;
  --gold:#c79a4b; --gold-d:#b3852f;
}

/* base */
body.smh-page{font-family:'Inter',-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--paper);line-height:1.65;-webkit-font-smoothing:antialiased}
.smh-page *{box-sizing:border-box}
.smh-page .serif{font-family:'Cormorant Garamond','Playfair Display',Georgia,serif}
.smh-page .wrap{max-width:1180px;margin:0 auto;padding:0 32px}
.smh-page a{text-decoration:none;color:inherit}

/* LEGAL: REALTOR® renders small-caps + ® wherever the .realtor class is applied */
.smh-page .realtor{font-variant:small-caps;text-transform:lowercase}
.smh-page .realtor:after{content:'\00AE';font-size:.7em;vertical-align:super;text-transform:none;font-variant:normal;margin-left:1px}

/* buttons */
.smh-page .btn{display:inline-block;padding:15px 30px;border-radius:4px;font-weight:600;font-size:15px;letter-spacing:.2px;cursor:pointer;transition:.2s;border:1px solid transparent}
.smh-page .btn-gold{background:var(--gold);color:#fff}
.smh-page .btn-gold:hover{background:var(--gold-d)}
.smh-page .btn-ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.smh-page .btn-ghost:hover{border-color:var(--blue);color:var(--blue-d)}
.smh-page .btn-blue{background:var(--blue-d);color:#fff}
.smh-page .btn-blue:hover{background:#33597a}
.smh-page .ey{font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--blue-d);font-weight:600}

/* nav */
.smh-page .nav{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.smh-page .nav .wrap{display:flex;align-items:center;justify-content:space-between;height:78px}
.smh-page .nav img{height:42px}
.smh-page .nav .links{display:flex;gap:34px;font-size:14px;font-weight:500;color:var(--ink2)}
.smh-page .nav .links a:hover{color:var(--blue-d)}
.smh-page .nav .right{display:flex;align-items:center;gap:16px}
.smh-page .nav .askpaul{display:inline-flex;align-items:center;font-weight:600;font-size:14px;color:#13343b;padding:10px 18px;border-radius:999px;border:1.5px solid #13343b;background:linear-gradient(#fff,#f2faf7)}
.smh-page .nav .askpaul .p{display:inline-flex;width:9px;height:9px;border-radius:50%;background:#7ee0c2;box-shadow:0 0 0 3px rgba(126,224,194,.25);margin-right:9px}
.smh-page .nav .cta{padding:10px 22px;font-size:14px}

/* generic section */
.smh-page .sec{padding:88px 0}
.smh-page .sec .head{text-align:center;max-width:720px;margin:0 auto 46px}
.smh-page .sec h2{font-size:42px;font-weight:600;line-height:1.1;margin:12px 0}
.smh-page .mist{background:var(--mist)}

/* faq accordion */
.smh-page .faq .list{max-width:820px;margin:0 auto}
.smh-page .faq details{border:1px solid var(--line);border-radius:8px;margin-bottom:12px;background:#fff;padding:2px 22px}
.smh-page .faq summary{cursor:pointer;font-weight:600;font-size:16.5px;padding:18px 0;list-style:none}
.smh-page .faq summary::-webkit-details-marker{display:none}
.smh-page .faq summary:after{content:'+';float:right;color:var(--gold-d);font-size:22px;line-height:1}
.smh-page .faq details[open] summary:after{content:'\2013'}
.smh-page .faq details p{color:var(--ink2);font-size:15px;padding:0 0 20px;margin:0}

/* sticky book bar */
.smh-page .sticky{position:fixed;bottom:0;left:0;right:0;z-index:50;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 24px -12px rgba(28,42,53,.25)}
.smh-page .sticky .wrap{display:flex;align-items:center;justify-content:center;gap:18px;padding:15px 32px;flex-wrap:wrap}
.smh-page .sticky .txt{font-size:15px}.smh-page .sticky .txt b{color:var(--ink)}
.smh-page .sticky .btn{padding:11px 24px}

/* footer */
.smh-page footer.smh{background:#1c2a35;color:#cdd7e0;padding:54px 0 84px;font-size:14px}
.smh-page footer.smh .wrap{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}
.smh-page footer.smh h4{color:#fff;font-size:15px;margin-bottom:14px;letter-spacing:1px}
.smh-page footer.smh a{display:block;color:#9fb0bf;padding:4px 0}.smh-page footer.smh a:hover{color:#fff}
.smh-page footer.smh .legal{width:100%;border-top:1px solid #2c3d4b;margin-top:30px;padding-top:22px;color:#8595a4;font-size:12.5px;line-height:1.7}

/* ---- chips / featured badge ---- */
.smh-page .featured{display:inline-flex;align-items:center;gap:10px;margin:18px 0 4px;padding:8px 16px;border:1px solid var(--line);border-radius:40px;background:#fff;box-shadow:0 4px 14px -8px rgba(28,42,53,.3)}
.smh-page .featured .fl{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--ink2);font-weight:600}
.smh-page .featured .fb{font-family:'Cormorant Garamond',Georgia,serif;font-weight:700;font-size:20px;letter-spacing:1px;color:#1c2a35;line-height:1}
.smh-page .featured .dot{width:5px;height:5px;border-radius:50%;background:var(--gold)}

/* ---- HOME: hero (aerial fallback; swap in the Slider Revolution bg at deploy) ---- */
.smh-page .hero{position:relative;overflow:hidden;isolation:isolate;padding:120px 0 110px}
.smh-page .hero::before{content:"";position:absolute;inset:0;z-index:-2;background:url('https://www.smithmountainhomes.com/wp-content/uploads/2016/05/DJI_0023.jpg') center 72%/cover no-repeat;filter:contrast(1.06) saturate(1.14)}
.smh-page .hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(16,32,44,.55) 0%,rgba(16,32,44,.26) 38%,rgba(16,32,44,.05) 64%,rgba(16,32,44,0) 100%),linear-gradient(180deg,rgba(16,32,44,0) 40%,rgba(16,32,44,.06) 75%,rgba(16,32,44,.24) 100%)}
.smh-page .hero .col{max-width:64%}
.smh-page .hero .ey{color:#f3e7c4;letter-spacing:.22em;text-shadow:0 1px 12px rgba(0,0,0,.55);display:block}
.smh-page .hero .featured{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.45);backdrop-filter:blur(6px);margin-top:14px}
.smh-page .hero .featured *{color:#fff}
.smh-page .hero h1{font-size:60px;line-height:1.05;font-weight:600;letter-spacing:-.5px;margin:18px 0 22px;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.55)}
.smh-page .hero h1 .em{font-style:normal;color:#f3e7c4;position:relative;white-space:nowrap}
.smh-page .hero h1 .em:after{content:'';position:absolute;left:0;right:0;bottom:4px;height:7px;background:var(--gold);opacity:.5;border-radius:3px}
.smh-page .hero p.lead{font-size:18px;color:#fff;max-width:92%;text-shadow:0 1px 16px rgba(0,0,0,.6)}
.smh-page .hero .checks{list-style:none;margin:24px 0 30px}
.smh-page .hero .checks li{padding:6px 0 6px 30px;position:relative;color:#fff;font-size:15.5px;text-shadow:0 1px 14px rgba(0,0,0,.6)}
.smh-page .hero .checks li:before{content:'\2713';position:absolute;left:0;color:#f3e7c4;font-weight:700}
.smh-page .hero .ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:26px}
.smh-page .hero .ctas a:not(.btn-gold){background:rgba(16,32,44,.28);backdrop-filter:blur(4px);border-color:rgba(255,255,255,.6);color:#fff}
.smh-page .hero .quote{border-left:3px solid rgba(243,231,196,.85);padding:4px 0 4px 18px;color:#fff;font-size:17px;margin-top:4px;text-shadow:0 1px 14px rgba(0,0,0,.6)}
.smh-page .hero .quote .src{display:block;font-size:13px;color:#f0e3bd;margin-top:6px;font-style:normal}

/* ---- trust band ---- */
.smh-page .trust{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.smh-page .trust .wrap{display:flex;justify-content:space-around;flex-wrap:wrap;gap:20px;padding:34px 32px;text-align:center;align-items:center}
.smh-page .trust .n{font-size:34px;font-weight:600;color:var(--blue-d)}
.smh-page .trust .l{font-size:13px;letter-spacing:1px;text-transform:uppercase;color:var(--ink2)}
.smh-page .trust .ph{border:1px dashed var(--gold);border-radius:8px;padding:10px 18px;color:var(--gold-d);font-size:12.5px;letter-spacing:.5px;background:rgba(199,154,75,.05)}

/* ---- problem ---- */
.smh-page .problem{background:var(--mist)}
.smh-page .problem .wrap{max-width:820px;text-align:center}
.smh-page .problem p{color:var(--ink2);font-size:17px;margin:16px auto 0;max-width:90%}
.smh-page .problem .pull{border-left:4px solid var(--gold);background:rgba(199,154,75,.07);font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:23px;line-height:1.5;color:var(--ink);text-align:left;padding:22px 28px;margin:34px auto 0;max-width:760px}
.smh-page .problem .pull .src{display:block;margin-top:10px;font-family:'Inter',sans-serif;font-style:normal;font-size:13px;letter-spacing:.5px;color:var(--gold-d);font-weight:600;text-transform:uppercase}

/* ---- author section ---- */
.smh-page .author-sec{padding:96px 0;background:#fff}
.smh-page .author-sec .wrap{display:grid;grid-template-columns:.82fr 1.18fr;gap:60px;align-items:center}
.smh-page .author-portrait{position:relative}
.smh-page .author-portrait img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:10px;border:1px solid rgba(199,154,75,.45);box-shadow:0 30px 60px -26px rgba(28,42,53,.45);display:block}
.smh-page .author-portrait .tag{position:absolute;left:18px;bottom:18px;background:rgba(255,255,255,.94);backdrop-filter:blur(6px);border:1px solid rgba(199,154,75,.55);color:#1c2a35;font-family:'Cormorant Garamond',Georgia,serif;font-size:18px;padding:8px 16px;border-radius:8px}
.smh-page .author-body h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:44px;line-height:1.08;margin:12px 0 18px}
.smh-page .author-body p{color:var(--ink2);font-size:16.5px;margin-bottom:16px}
.smh-page .author-chips{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 6px}
.smh-page .author-chips span{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:#1c2a35;border:1px solid var(--line);background:var(--mist);padding:8px 14px;border-radius:999px}
.smh-page .author-chips span:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--gold)}
.smh-page .author-sig{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:23px;color:var(--gold-d);margin:18px 0 22px}
.smh-page .author-ctas{display:flex;gap:14px;flex-wrap:wrap}

/* ---- book feature ---- */
.smh-page .feature{padding:96px 0;background:var(--mist)}
.smh-page .feature .wrap{display:grid;grid-template-columns:1fr 1.1fr;gap:64px;align-items:center}
.smh-page .feature .bookwrap{display:flex;justify-content:center}
.smh-page .feature .bookwrap img{width:60%;border-radius:4px;filter:drop-shadow(0 22px 30px rgba(28,42,53,.32))}
.smh-page .feature h2{font-size:44px;font-weight:600;line-height:1.08;margin:14px 0 18px}
.smh-page .feature p{color:var(--ink2);margin-bottom:16px;font-size:16.5px}
.smh-page .feature .pull{margin:26px 0 10px;padding:20px 26px;border-left:4px solid var(--gold);background:rgba(199,154,75,.07);font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:21px;line-height:1.5;color:var(--ink)}
.smh-page .feature .pull .src{display:block;margin-top:10px;font-family:'Inter',sans-serif;font-style:normal;font-size:13px;letter-spacing:.5px;color:var(--gold-d);font-weight:600;text-transform:uppercase}
.smh-page .feature .ctas{display:flex;gap:14px;margin-top:26px;flex-wrap:wrap}

/* ---- education taster ---- */
.smh-page .edu .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.smh-page .edu .card{border:1px solid var(--line);border-radius:8px;padding:28px 24px;background:#fff;transition:.25s;display:block}
.smh-page .edu .card:hover{transform:translateY(-4px);box-shadow:0 20px 40px -20px rgba(28,42,53,.3);border-color:rgba(199,154,75,.4)}
.smh-page .edu .card .k{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--gold-d);font-weight:600}
.smh-page .edu .card h3{font-size:23px;font-weight:600;margin:10px 0 8px}
.smh-page .edu .card p{color:var(--ink2);font-size:14.5px}
.smh-page .edu .more{text-align:center;margin-top:40px}
.smh-page .edu .more a{color:var(--blue-d);font-weight:600}

/* ---- listings strip ---- */
.smh-page .search{padding:72px 0;background:var(--blue-pale);text-align:center}
.smh-page .search .wrap{max-width:680px}
.smh-page .search h2{font-size:34px;font-weight:600;margin:10px 0}
.smh-page .search p{color:var(--ink2);margin-bottom:24px}

/* ---- team grid ---- */
.smh-page .team{padding:96px 0;background:var(--mist)}
.smh-page .team .head{text-align:center;margin-bottom:50px}
.smh-page .team h2{font-size:44px;font-weight:600;margin:12px 0}
.smh-page .team .grid{display:grid;grid-template-columns:repeat(5,1fr);gap:22px}
.smh-page .member{text-align:center}
.smh-page .member img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:50%;border:4px solid #fff;box-shadow:0 10px 26px -12px rgba(28,42,53,.4)}
.smh-page .member .nm{font-weight:600;margin-top:14px;font-size:15px}
.smh-page .member .rl{font-size:12.5px;color:var(--ink2)}
.smh-page .member .br{font-size:11px;color:#93a2b0;margin-top:2px}

/* ---- testimonials ---- */
.smh-page .tst{padding:96px 0;background:#fff}
.smh-page .tst .head{text-align:center;margin-bottom:44px}
.smh-page .tst h2{font-size:40px;font-weight:600}
.smh-page .tst .anchor{max-width:820px;margin:0 auto;text-align:center;border:1px solid rgba(199,154,75,.4);border-radius:12px;padding:40px 44px;background:var(--mist)}
.smh-page .tst .anchor .q{font-family:'Cormorant Garamond',Georgia,serif;font-size:27px;line-height:1.4;color:var(--ink)}
.smh-page .tst .anchor .src{margin-top:18px;font-size:13.5px;letter-spacing:.4px;color:var(--ink2)}
.smh-page .tst .anchor .src b{color:var(--ink);display:block;font-size:15px}
.smh-page .tst .row{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:30px}
.smh-page .tst .row .c{border:1px solid var(--line);border-radius:10px;padding:26px;background:#fff}
.smh-page .tst .row .c p{color:var(--ink2);font-size:15px;font-style:italic}
.smh-page .tst .row .c .s{margin-top:12px;font-size:13px;color:var(--gold-d);font-weight:600}

/* ---- closing + seller band ---- */
.smh-page .closing{padding:100px 0;text-align:center;background:linear-gradient(180deg,#fff,var(--mist))}
.smh-page .closing h2{font-size:46px;font-weight:600;margin-bottom:14px}
.smh-page .closing p{color:var(--ink2);font-size:17px;max-width:620px;margin:0 auto 28px}
.smh-page .seller{background:var(--ink);color:#dce6ee}
.smh-page .seller .wrap{display:flex;align-items:center;justify-content:center;gap:14px;padding:22px 32px;flex-wrap:wrap;text-align:center}
.smh-page .seller a{color:#f3e7c4;font-weight:600;border-bottom:1px solid rgba(243,231,196,.5)}

@media(max-width:980px){
  .smh-page .nav .links{display:none}
  .smh-page .sec h2{font-size:30px}
  .smh-page .hero .col{max-width:100%}
  .smh-page .hero h1{font-size:42px}
  .smh-page .author-sec .wrap,.smh-page .feature .wrap{grid-template-columns:1fr;gap:40px}
  .smh-page .author-body h2,.smh-page .feature h2,.smh-page .closing h2{font-size:32px}
  .smh-page .edu .grid{grid-template-columns:repeat(2,1fr)}
  .smh-page .team .grid{grid-template-columns:repeat(3,1fr)}
  .smh-page .tst .row{grid-template-columns:1fr}
}
