/* Front page (/), city directory (/cities), relocation index (/relocation-guides) and /request-a-city.
   Everything is prefixed hp- so it cannot touch the city pages. Sits inside the site's normal 1200px <main>. */
.hp{--hp-green:#1d5a3b;--hp-green-dark:#154530;--hp-sage:#e0e8d6;--hp-sage-line:#cdd9c0;--hp-cream:#fbf7ef;--hp-ink:#0f1e38;--hp-muted:#58627a;--hp-line:#e5dfd2;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;color:var(--hp-ink);font-size:17px;line-height:1.55}
.hp h1,.hp h2,.hp h3{font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:-.015em;margin:0;color:var(--hp-ink)}
.hp :where(p){margin:0}
.hp img{display:block;max-width:100%}

/* buttons and links */
.hp-btn{display:flex;align-items:center;justify-content:center;gap:8px;font:700 17px/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;border-radius:10px;padding:0 24px;min-height:54px;border:2px solid var(--hp-green);cursor:pointer;transition:.16s ease;text-align:center;text-decoration:none}
.hp-btn.solid{background:var(--hp-green);color:#fff}.hp-btn.solid:hover{background:var(--hp-green-dark);border-color:var(--hp-green-dark)}
.hp-btn.outline{background:transparent;color:var(--hp-green)}.hp-btn.outline:hover{background:var(--hp-green);color:#fff}
.hp-btn.sm{min-height:44px;font-size:15px;padding:0 18px}
.hp-link{color:var(--hp-green);font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.hp-link:hover{color:var(--hp-green-dark)}
.hp a:focus-visible,.hp button:focus-visible,.hp input:focus-visible,.hp select:focus-visible{outline:3px solid #c98a19;outline-offset:2px}

/* hero */
.hp-hero{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:stretch;padding:18px 0 8px}
.hp-copy{display:flex;flex-direction:column;justify-content:center;padding:18px 0}
.hp-copy h1{font-size:52px;line-height:1.05;text-wrap:balance;max-width:560px}
.hp-lede{font-size:20px;line-height:1.5;color:#2c3750;margin:18px 0 26px;max-width:520px}
.hp-search label{font-weight:700;font-size:15px;margin-bottom:8px;display:block}
.hp-field{display:flex;align-items:center;gap:12px;background:#fff;border:2px solid #cfc8b8;border-radius:10px;padding:0 16px;min-height:56px;max-width:520px}
.hp-field:focus-within{border-color:var(--hp-green)}
.hp-field input{flex:1;min-width:0;border:0;outline:0!important;font:500 17px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--hp-ink);background:transparent;padding:14px 0}
.hp-field input::placeholder{color:#7b8498}
.hp-btns{display:grid;gap:12px;max-width:520px;margin-top:14px}
.hp-near{margin-top:16px;font-size:15px;color:var(--hp-muted)}
.hp-map{position:relative;background:var(--hp-sage);border:1px solid var(--hp-sage-line);border-radius:22px;padding:30px 30px 78px;display:flex;flex-direction:column;justify-content:center;min-height:440px}
.hp-usmap{width:100%;height:auto;display:block;overflow:visible}
.hp-states{fill:var(--hp-cream);stroke:#bccaae;stroke-width:1.2;stroke-linejoin:round}
.hp-dot{cursor:pointer;outline:none}
.hp-dot .hit{fill:transparent}
.hp-dot .pt{fill:#c98a19;stroke:#fff;stroke-width:3.5;transition:r .15s ease,fill .15s ease}
.hp-dot:hover .pt,.hp-dot:focus-visible .pt{r:13;fill:var(--hp-green)}
.hp-dot:focus-visible .hit{stroke:var(--hp-green);stroke-width:3}
.hp-dot .lbl{font:700 21px -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;fill:var(--hp-ink);paint-order:stroke;stroke:var(--hp-cream);stroke-width:6px;stroke-linejoin:round;pointer-events:none}
.hp-mapnote{position:absolute;left:30px;right:30px;bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;font-size:15px;color:#3b4a3d}
.hp-mapnote .hp-link{font-size:16px;white-space:nowrap}

/* sections */
.hp-section{padding:56px 0 8px}
.hp-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px;flex-wrap:wrap}
.hp-head h2{font-size:40px;line-height:1.08}
.hp-head p{margin-top:8px;color:var(--hp-muted);font-size:18px;max-width:640px}
.hp-head .hp-link{font-size:17px;white-space:nowrap}

/* city cards */
.hp-cities{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.hp-city{position:relative;background:#fff;border:1px solid var(--hp-line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(15,30,56,.06)}
.hp-city .ph{aspect-ratio:4/3;overflow:hidden;display:block;background:#e9e4d8}
.hp-city .ph img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.hp-city:hover .ph img{transform:scale(1.04)}
.hp-city .body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:12px;flex:1}
.hp-city h3{font-size:24px;line-height:1.1}
.hp-city h3 a{color:inherit;text-decoration:none}.hp-city h3 a:hover{color:var(--hp-green)}
.hp-city h3 a::after{content:"";position:absolute;inset:0;z-index:1}
.hp-city .blurb{font-size:15.5px;line-height:1.5;color:#34405a;flex:1}
.hp-city .links{display:grid;gap:8px;margin-top:4px;position:relative;z-index:2}

/* planning a move band */
.hp-band{margin-top:56px;background:var(--hp-sage);border:1px solid var(--hp-sage-line);border-radius:22px;padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.hp-band h2{font-size:34px}
.hp-band p{margin-top:8px;color:#2f4535;font-size:18px;max-width:540px}
.hp-band .acts{display:flex;gap:12px;flex-wrap:wrap}
.hp-band .acts .hp-btn{min-width:200px}
.hp-band .hp-btn.outline{background:#fff}.hp-band .hp-btn.outline:hover{background:var(--hp-green)}

/* personal guide offer */
.hp-guide{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;padding:60px 0 8px}
.hp-guide h2{font-size:44px;line-height:1.05;text-wrap:balance}
.hp-guide .lead{font-size:20px;color:#2c3750;margin:16px 0 22px;max-width:520px}
.hp-guide-form{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.hp-select{position:relative;display:block}
.hp-select select{appearance:none;-webkit-appearance:none;background:#fff;border:2px solid #cfc8b8;border-radius:10px;min-height:54px;padding:0 44px 0 16px;font:600 16px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--hp-ink);min-width:230px;cursor:pointer;width:100%}
.hp-select::after{content:"";position:absolute;right:16px;top:50%;width:8px;height:8px;border-right:2px solid var(--hp-ink);border-bottom:2px solid var(--hp-ink);transform:translateY(-70%) rotate(45deg);pointer-events:none}
.hp-sample{margin-top:14px}
.hp-samples{margin:0;text-align:center}
.hp-sample-stack{display:flex;justify-content:center;align-items:flex-end}
.hp-sample-thumb{border:0;background:none;padding:0;cursor:pointer;margin:0 -26px;transition:transform .2s ease}
.hp-sample-thumb img{width:190px;height:auto;border-radius:6px;box-shadow:0 14px 34px rgba(15,30,56,.22);border:1px solid var(--hp-line)}
.hp-sample-thumb:nth-child(1){transform:rotate(-5deg) translateY(10px);z-index:1}
.hp-sample-thumb:nth-child(2){transform:translateY(-8px);z-index:3}
.hp-sample-thumb:nth-child(3){transform:rotate(5deg) translateY(10px);z-index:2}
.hp-sample-thumb:hover{transform:translateY(-14px) scale(1.03);z-index:4}
.hp-samples figcaption{margin-top:26px;font:italic 15px Georgia,serif;color:var(--hp-muted);max-width:420px;margin-left:auto;margin-right:auto}
.hp-samples figcaption button{display:block;margin:8px auto 0;border:0;background:none;color:var(--hp-green);font:700 15px -apple-system,sans-serif;text-decoration:underline;cursor:pointer}

/* newsletter */
.hp-news{margin-top:56px;background:#fff;border:1px solid var(--hp-line);border-radius:18px;padding:30px 36px;display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;box-shadow:0 8px 26px rgba(15,30,56,.06)}
.hp-news h2{font-size:30px;line-height:1.15}
.hp-news p{margin-top:6px;color:var(--hp-muted);font-size:17px}
.hp-news form{display:flex;gap:10px;flex-wrap:wrap}
.hp-news input[type=email]{min-height:54px;border:2px solid #cfc8b8;border-radius:10px;padding:0 16px;font:500 16px -apple-system,sans-serif;min-width:230px;background:#fff}
.hp-news .hp-select select{min-width:200px}

/* trust text */
.hp-trust{padding:56px 0 18px;text-align:center}
.hp-trust h2{font-size:30px;margin-bottom:12px}
.hp-trust p{max-width:760px;margin:0 auto;color:#34405a;font-size:18px}

/* directory + relocation + request pages */
.hp-eyebrow{font:700 13px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#a8710f;margin-bottom:14px}
.hp-stat{margin-top:4px;font-size:18px;color:var(--hp-muted)}.hp-stat b{color:var(--hp-ink)}
.hp-btns-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.hp-btns-row .hp-btn{min-width:190px}
.hp-dir-hero{padding-bottom:0}.hp-dir-hero .hp-map{padding-bottom:30px;min-height:0}
.hp-dir-hero .hp-copy h1{font-size:50px}
.hp-page{padding:22px 0 6px}
.hp-page h1{font-size:46px;line-height:1.06;text-wrap:balance}
.hp-page .lead{font-size:20px;color:#2c3750;margin:14px 0 0;max-width:720px}
.hp-state{margin-top:40px}
.hp-state h2{font-size:30px;padding-bottom:8px;border-bottom:2px solid var(--hp-sage-line);margin-bottom:20px}
.hp-sr-h{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.hp-reloc{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:20px;margin-top:30px}
.hp-reloc-card{background:#fff;border:1px solid var(--hp-line);border-radius:14px;padding:22px 24px;box-shadow:0 8px 24px rgba(15,30,56,.05)}
.hp-reloc-card h2{font-size:25px;line-height:1.12}
.hp-reloc-card h2 a{color:inherit;text-decoration:none}.hp-reloc-card h2 a:hover{color:var(--hp-green)}
.hp-reloc-card .st{color:var(--hp-muted);font-size:15px;margin-top:2px}
.hp-reloc-card ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:2px}
.hp-reloc-card li a{display:flex;min-height:36px;align-items:center;color:var(--hp-green);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.hp-reloc-card .go{margin-top:16px}
.hp-form{max-width:560px;margin-top:26px;display:grid;gap:16px}
.hp-form label{display:block;font-weight:700;font-size:15px;margin-bottom:6px}
.hp-form .opt{font-weight:500;color:var(--hp-muted)}
.hp-form input[type=text],.hp-form input[type=email],.hp-form textarea,.hp-form select{width:100%;border:2px solid #cfc8b8;border-radius:10px;padding:13px 16px;font:500 17px -apple-system,sans-serif;background:#fff;color:var(--hp-ink)}
.hp-form select{min-height:54px;appearance:auto}
.hp-form textarea{min-height:110px;resize:vertical}
.hp-form .hp-btn{max-width:260px}
.hp-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.hp-notice{max-width:560px;margin-top:22px;border-radius:12px;padding:16px 18px;font-size:17px}
.hp-notice.ok{background:var(--hp-sage);border:1px solid var(--hp-sage-line);color:#1e3a29}
.hp-notice.err{background:#fbeae6;border:1px solid #efc6bd;color:#7a2a1c}
.hp-mapframe{margin-top:34px}
.hp-mapframe .hp-map{min-height:0;max-width:820px;margin:0 auto}

/* lightbox for the sample guide pages */
.sample-lb{position:fixed;inset:0;background:rgba(6,26,58,.88);z-index:2000;display:flex;align-items:center;justify-content:center}
.sample-lb[hidden]{display:none}
.sample-lb img{max-height:88vh;max-width:84vw;border-radius:6px;background:#fff}
.sample-lb-close,.sample-lb-nav{position:absolute;background:rgba(255,255,255,.14);color:#fff;border:0;border-radius:50%;width:48px;height:48px;font-size:30px;cursor:pointer}
.sample-lb-close{top:18px;right:18px}.sample-lb-nav.prev{left:18px}.sample-lb-nav.next{right:18px}
.sample-lb-count{position:absolute;bottom:16px;left:0;right:0;text-align:center;color:#fff;font-size:14px}

@media (max-width:1000px){
  .hp-hero{grid-template-columns:1fr;gap:22px}
  .hp-copy h1{font-size:40px}.hp-lede{font-size:18px}
  .hp-map{min-height:0;padding:22px 14px 74px}.hp-mapnote{left:20px;right:20px;bottom:18px}
  .hp-dot .lbl{font-size:26px;stroke-width:8px}.hp-dot .hit{r:40}.hp-dot .pt{r:14}
  .hp-cities{grid-template-columns:1fr 1fr}
  .hp-head h2{font-size:34px}.hp-guide h2{font-size:34px}.hp-band h2{font-size:30px}
  .hp-guide{grid-template-columns:1fr;gap:30px}
  .hp-news{grid-template-columns:1fr}.hp-news form{justify-content:flex-start}
  .hp-band{padding:28px 24px}.hp-band .acts{width:100%}.hp-band .acts .hp-btn{flex:1;min-width:0}
  .hp-page h1{font-size:38px}
  .hp-btns-row .hp-btn{flex:1;min-width:0}
}
@media (max-width:560px){
  .hp-cities{grid-template-columns:1fr}
  .hp-guide-form .hp-btn{width:100%}.hp-guide-form .hp-select{width:100%}
  .hp-news input[type=email],.hp-news .hp-select,.hp-news .hp-select select{width:100%;min-width:0}.hp-news form .hp-btn{width:100%}.hp-news{padding:24px 20px}
  .hp-band .acts{flex-direction:column}.hp-band .acts .hp-btn{width:100%;flex:none}
  .hp-sample-thumb img{width:130px}.hp-sample-thumb{margin:0 -18px}
}
