/* nielsen.css — Nielsen Property Services' own layer, loaded LAST on every
   page (after the base sheet and dock.css). Everything client-specific lives
   here: Derek's colors, the coastal type pair, the cream nav, the homepage
   hero (abba-lab v7 "Coastal & easygoing" with a single address bar instead
   of the fill-in-the-blank sentence), the GLOW two-column Services dropdown
   (abba-lab v1) and the three-trades band. Change the brand here. */

/* ------------------------------------------------------------ brand + type */
:root {
  /* From his logo: navy #001844, royal blue #003a94. Coral + sand are from the
     v7 look Jay picked, and read as "coast" next to the navy. */
  --primary: #001844;
  --primary-dark: #001336;
  --primary-darker: #000e29;
  --accent: #003a94;
  --accent-dark: #002f7a;
  --accent-tint: #e8eef9;
  --ink: #0d1b33;
  --cream: #f6efe2;
  --coral: #f2896b;
  --coral-ink: #1d1410;
  --pop: var(--coral);
  --pop-ink: var(--coral-ink);
  --peach: #ffd8bd;
  --blue: #003a94;
  --blue-tint: #e8eef9;
  --font: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --r: 14px;
}
body { font-family: var(--font); }
/* CCBB's system is "ink text on a BRIGHT accent" (chips, tags, step numbers,
   area buttons, checked funnel cards). Derek's royal blue is too dark for that,
   so on CCBB pages the accent is the coral and his blue stays for links/nav
   (--blue). ABBA and EETT pages use the accent as a TEXT color, so they keep
   the blue. */
body.t-ccbb { --accent: #f2896b; --accent-dark: #c9583a; --accent-tint: #fdeee8; }
body.t-ccbb .featured-review .stars, .featured-review .stars { color: #f5c451; }
body.t-ccbb a.chip:hover { color: var(--ink); }
/* homepage headings: Fraunces, light. Inner pages keep the sturdy sans (dock.css). */
body.home h1, body.home h2, body.home h3, body.home .title, body.home .featured-review blockquote { font-family: var(--serif) !important; font-weight: 400 !important; letter-spacing: -.015em; }
body.home h2.title { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; }
body.home .cta-band h2 { font-weight: 300 !important; }
body.home .cta-band h2 em, body.home .title em { font-style: italic; color: var(--peach); }

/* buttons: coral pill for every primary call to action */
.btn-accent, body .btn.btn-accent { background: var(--coral) !important; color: var(--coral-ink) !important; border-color: var(--coral) !important; }
.btn-accent:hover { filter: brightness(1.04); }
body.home .btn { border-radius: 999px; }

/* ------------------------------------------------------------ nav (cream bar) */
.lnav, .lnav.solid { background: var(--cream); color: var(--primary); box-shadow: none; }
.lnav.scrolled, .lnav.open { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 26px rgba(0,0,0,.06); }
.lnav { height: 80px; }
.lbrand { font-family: var(--serif); font-weight: 500; font-size: 27px; letter-spacing: -.01em; gap: 12px; }
.lbrand em { font-style: italic; font-weight: 400; }
.lbrand img { width: 50px; height: 50px; box-shadow: 0 0 0 1px rgba(0,24,68,.12); }
.lnav .ltop { color: var(--primary); opacity: 1; font-weight: 500; }
.lnav .ltop:hover, .lnav .ltop.active { color: var(--blue); }
.lcall { color: var(--primary); }
.lbtn, .lnav.solid .lbtn, .lnav.scrolled .lbtn, .lnav.open .lbtn { background: var(--coral); color: var(--coral-ink); border-radius: 999px; padding: 13px 24px; font-weight: 700; }
.lbtn:hover { filter: brightness(1.04); }

/* ------------------------------------------------------------ Services dropdown (GLOW, two columns) */
.lnav .dd { position: static; }
.mm { left: auto; right: clamp(18px, 3.2vw, 44px); top: calc(100% - 6px); width: min(1000px, calc(100vw - 48px)); display: block;
  background: #fff; border-radius: 22px; padding: 22px 22px 12px; box-shadow: 0 30px 70px rgba(0,16,46,.22), 0 0 0 1px rgba(0,24,68,.06); }
.mm-feature { display: none !important; }
.mm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.mm-item, .mm-item:first-child { display: flex; align-items: flex-start; gap: 18px; padding: 12px; border: 0; border-radius: 14px; color: var(--ink); }
.mm-item:hover { background: var(--blue-tint); }
.mm-ph { width: 76px; height: 76px; border-radius: 12px; }
.mm-t b { font-family: var(--font); font-weight: 700; font-size: 18.5px; line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
.mm-t small { font-size: 15px; line-height: 1.45; color: #5d6779; margin-top: 4px; }
.mm-all { display: block; margin: 10px 12px 0; padding: 16px 0 8px; border-top: 1px solid #e3e6ec; font-size: 17px; font-weight: 700; color: var(--blue); }
.mm-all:hover { color: var(--primary); }
@media (min-width: 901px) and (max-width: 1240px) { .mm-t small { display: none; } .mm-item { align-items: center; } .mm-ph { width: 60px; height: 60px; } }

/* ------------------------------------------------------------ homepage hero (v7, framed photo) */
.nhero { background: var(--cream); padding: 0 16px 16px; }
.nhero-frame { position: relative; min-height: calc(100svh - 96px); display: flex; align-items: flex-end; justify-content: center; text-align: center; color: #fff; isolation: isolate; }
.nhero-bg, .nhero-shade { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 36px; }
.nhero-bg { object-fit: cover; object-position: center 40%; z-index: -2; max-width: none; }
.nhero-shade { z-index: -1; background: linear-gradient(to top, rgba(0,18,44,.9) 0%, rgba(0,18,44,.62) 30%, rgba(0,18,44,.14) 58%, rgba(0,18,44,0) 76%); }
.nhero-in { width: 100%; max-width: 1120px; padding: 140px clamp(24px, 5vw, 76px) 56px; }
.nhero h1.nhero-eye { font-family: var(--font) !important; font-weight: 700 !important; font-size: 13.5px; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin: 0 0 18px; line-height: 1.5; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.nhero h2.nhero-h { font-family: var(--serif) !important; font-weight: 300 !important; color: #fff; font-size: clamp(46px, 7vw, 110px); line-height: 1; letter-spacing: -.03em; margin: 0; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,18,44,.35); }
.nhero-h em { font-style: italic; color: var(--peach); }
.nhero-lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; opacity: .94; max-width: 640px; margin: 20px auto 0; }
/* the address pill */
.nhero .abar { max-width: 780px; margin: 32px auto 0; border-radius: 999px; padding: 10px 10px 10px 28px; gap: 12px; box-shadow: 0 22px 54px rgba(0,18,44,.4); }
.nhero .abar-in { padding: 0; gap: 12px; color: var(--blue); }
.nhero .abar-in svg { flex: none; width: 22px; height: 22px; }
.nhero .abar input { font: 400 clamp(18px, 1.7vw, 23px)/1.3 var(--serif); color: var(--ink); padding: 14px 0; }
.nhero .abar input::placeholder { font-style: italic; color: #7f93b5; font-weight: 300; }
.nhero .abar button { background: var(--coral); color: var(--coral-ink); border-radius: 999px; font: 700 17px/1 var(--font); padding: 21px 30px; }
.nhero .abar:focus-within { box-shadow: 0 0 0 4px rgba(255,255,255,.45), 0 22px 54px rgba(0,18,44,.4); }
.nhero .abar-suggest { top: auto; bottom: calc(100% + 14px); left: -20px; right: -170px; border-radius: 16px; }
.nhero-trust { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; margin: 24px 0 0; font-size: 15.5px; }
.nhero-trust .stars { color: #f5c451; letter-spacing: 2px; font-size: 18px; }
.nhero-trust i { font-style: normal; opacity: .6; }
/* the rotating round stamp */
.nstamp { position: absolute; top: 30px; right: clamp(24px, 4vw, 64px); width: 136px; height: 136px; display: grid; place-items: center; color: var(--primary); background: var(--cream); border-radius: 50%; box-shadow: 0 10px 30px rgba(0,18,44,.25); }
.nstamp svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: nspin 40s linear infinite; }
.nstamp text { font: 700 9.6px var(--font); letter-spacing: .08em; fill: currentColor; }
.nstamp svg:last-child { color: var(--coral); width: 38px; height: 38px; }
@keyframes nspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nstamp svg:first-child { animation: none; } }

/* ------------------------------------------------------------ three trades band */
.trades-band { background: var(--cream); padding-top: 70px; }
.trades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.trade { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,24,68,.06), 0 14px 40px rgba(0,24,68,.08); display: flex; flex-direction: column; }
.trade-ph { position: relative; height: 230px; background-size: cover; background-position: center; }
.trade-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,18,44,.75), rgba(0,18,44,0) 60%); }
.trade-ph span { position: absolute; left: 22px; bottom: 16px; z-index: 1; color: #fff; font: 400 32px/1.05 var(--serif); letter-spacing: -.01em; }
.trade p { margin: 18px 22px 6px; color: #4f5a6c; font-size: 15.5px; line-height: 1.55; }
.trade ul { list-style: none; margin: 4px 0 0; padding: 0 12px 16px; }
.trade li a { display: flex; justify-content: space-between; padding: 11px 10px; border-top: 1px solid #edf0f4; color: var(--primary); font-weight: 600; text-decoration: none; }
.trade li a:hover { color: var(--blue); background: var(--blue-tint); border-radius: 10px; }

/* home care plan band + bento accents */
.rating-badge .num { font-family: var(--serif); }
body .cta-band.band-photo::before { background: rgba(0,18,44,.72) !important; }

/* ------------------------------------------------------------ phones + tablets */
@media (max-width: 900px) {
  .lnav { height: 66px; }
  .lbrand { font-size: 20px; gap: 9px; } .lbrand img { width: 40px; height: 40px; }
  .lmenu { inset: 66px 0 0 0; }
  .mm { position: static; width: auto; padding: 6px 0; box-shadow: none; border-radius: 0; background: none; }
  .mm-list { gap: 6px; } .mm-item, .mm-item:first-child { padding: 6px; align-items: center; gap: 10px; }
  .mm-ph { width: 46px; height: 46px; border-radius: 9px; } .mm-t b { font-size: 15px; } .mm-t small { display: none; }
  .mm-all { display: none; }
  .nhero { padding: 0 10px 10px; }
  .nhero-frame { min-height: calc(100svh - 76px); }
  .nhero-bg, .nhero-shade { border-radius: 24px; }
  .nhero-shade { background: linear-gradient(to top, rgba(0,18,44,.92) 0%, rgba(0,18,44,.7) 45%, rgba(0,18,44,.2) 75%, rgba(0,18,44,.05) 100%); }
  .nhero-in { padding: 120px 18px 26px; }
  .nhero .abar { flex-direction: column; border-radius: 22px; padding: 8px; gap: 6px; }
  .nhero .abar-in { padding: 0 12px; }
  .nhero .abar input { font-size: 18px; }
  .nhero .abar button { padding: 18px 20px; border-radius: 16px; }
  .nhero .abar-suggest { left: -8px; right: -8px; }
  .nstamp { width: 92px; height: 92px; top: 16px; right: 16px; }
  .nstamp text { font-size: 9.6px; } .nstamp svg:last-child { width: 26px; height: 26px; }
  .trades { grid-template-columns: 1fr; gap: 18px; }
  .trade-ph { height: 180px; }
}
@media (max-width: 560px) {
  .lbrand span { font-size: 17px; }
  .lbtn { padding: 10px 14px; font-size: 14px; }
  .nhero h1.nhero-eye { font-size: 11px; letter-spacing: .14em; }
  .nhero-trust { font-size: 13.5px; }
}
@media (max-width: 400px) { .lbrand span { display: none; } }

/* ── Jay 2026-11-21 round 2 ── */
/* White text on every coral button. The coral is deepened a step (#f2896b ->
   #e2714f) so white text stays readable on it. */
:root { --coral: #e2714f; --coral-ink: #ffffff; }
body.t-ccbb { --accent: #e2714f; --accent-dark: #c25634; }
.lbtn, .lnav.solid .lbtn, .lnav.scrolled .lbtn, .lnav.open .lbtn, .nhero .abar button,
.btn-accent, body .btn.btn-accent, body.t-ccbb .area-btn, body.t-ccbb .pill.solid { color: #fff !important; }
body.t-ccbb .area-btn:hover { color: #fff !important; }
/* bigger nav links (desktop), stepped down so the row always fits */
@media (min-width: 1560px) {
  .lnav .ltop { font-size: 19.5px; padding: 0 15px; }
  .lcall { font-size: 19.5px; }
  .lbtn, .lnav.solid .lbtn, .lnav.scrolled .lbtn { font-size: 18px; padding: 14px 26px; }
}
@media (min-width: 1341px) and (max-width: 1559px) {
  .lnav .ltop { font-size: 18px; padding: 0 10px; }
  .lcall { font-size: 18px; }
  .lbrand { font-size: 24px; }
  .lacts { gap: 14px; }
}
@media (min-width: 1181px) and (max-width: 1340px) {
  .lnav { gap: 16px; }
  .lnav .ltop { font-size: 17px; padding: 0 8px; }
  .lcall { font-size: 17px; }
  .lbrand { font-size: 21px; }
  .lacts { gap: 12px; }
  .lbtn, .lnav.solid .lbtn, .lnav.scrolled .lbtn { padding: 12px 18px; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .lnav { gap: 12px; }
  .lnav .ltop { font-size: 16.5px; padding: 0 7px; }
  .lbrand span { display: none; }
  .lbtn, .lnav.solid .lbtn, .lnav.scrolled .lbtn { padding: 11px 16px; }
}
.lnav.solid .ltop.active, .lnav.scrolled .ltop.active, .lnav .ltop.active { color: var(--blue); }
