/* hdg-shared.css: rules every Highland page needs (2026-12-05 design audit).
   The homepage loads highland.css; the other pages carry inline styles and
   load only this file. The footer block below was moved here from
   highland.css so all pages share one footer. */
:root{--h-navy:#0A1628;--h-blue:#1B4D89;--h-blue-dk:#143b6b;--h-gold:#C9A84C;--h-ease:cubic-bezier(.16,1,.3,1)}

/* ============================================================
   FOOTER (Concept 1) — applied globally to every page
   ============================================================ */
body footer{background:var(--h-navy);color:#fff;padding:80px 0 0;margin-top:0;font-family:'DM Sans',sans-serif;font-size:15px;line-height:1.7}
/* Four tracks, four children. Keep those numbers equal: this grid declared
   five and index.html handed it eight, so three columns orphaned onto a
   second row beside two empty cells and the footer ran 1,259px tall. Long
   link lists belong in .footer-towns below, not in a new column here. */
body footer .footer-main{width:min(1160px,100% - 64px);margin:0 auto;display:grid;grid-template-columns:1.35fr .9fr .9fr .9fr;gap:40px 56px;padding-bottom:40px;max-width:none;align-items:start}
body footer .footer-brand h3{font-family:'Cormorant Garamond',serif;font-size:30px;font-weight:700;color:#fff;line-height:1.06;margin:0 0 14px;letter-spacing:.01em;white-space:nowrap}
body footer .footer-logo{height:64px;width:auto;max-width:260px;display:block;margin:0 0 16px}
body footer .footer-brand-sub{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--h-gold);font-weight:600;margin-bottom:20px;display:block}
body footer .footer-brand-desc{color:#fff;max-width:34ch;font-size:14px;line-height:1.7;margin:0}
body footer .footer-col h4,
body footer .footer-towns h4{font-family:'Cormorant Garamond',serif;font-size:20px;font-weight:700;color:#fff;letter-spacing:0;text-transform:none;margin:0 0 18px;display:inline-flex;align-items:center;gap:10px}
body footer .footer-col h4::before,
body footer .footer-towns h4::before{content:'';width:20px;height:1px;background:var(--h-gold)}
body footer .footer-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:11px}
body footer .footer-col ul a{color:#fff;text-decoration:none;font-size:15px;font-weight:400;transition:color .2s var(--h-ease)}
body footer .footer-col ul a:hover{color:var(--h-gold)}

/* Wrapped inline rows for the link sets that are too long to be columns. */
body footer .footer-towns{width:min(1160px,100% - 64px);margin:0 auto;padding:26px 0 30px;border-top:1px solid rgba(255,255,255,.10)}
body footer .footer-strip + .footer-strip{margin-top:22px}
body footer .footer-towns h4{margin-bottom:14px}
body footer .footer-towns ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px 30px}
body footer .footer-towns a{color:#fff;text-decoration:none;font-size:15px;transition:color .2s var(--h-ease)}
body footer .footer-towns a:hover{color:var(--h-gold)}

/* The bottom bar is one inner-width block so its rule lines up with the
   columns instead of overhanging them. */
body footer .footer-bottom{width:min(1160px,100% - 64px);margin:0 auto;border-top:1px solid rgba(255,255,255,.12);padding:26px 0 40px}
body footer .footer-bottom>*{width:auto;margin-left:0;margin-right:0}
body footer .footer-disclaimer{color:#fff;font-size:12.5px;line-height:1.7;margin:0 0 18px;max-width:92ch}
body footer .footer-copy{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;color:#fff;font-size:13px;margin:0}
body footer .footer-legal-links{display:inline-flex;align-items:center;gap:12px}
body footer .footer-legal-links a{color:#fff;text-decoration:none}
body footer .footer-legal-links a:hover{color:var(--h-gold);text-decoration:underline}
body footer .footer-legal-links .sep{color:#fff}
body footer .footer-copy .footer-email{color:var(--h-gold);text-decoration:none;font-weight:500}
body footer .footer-copy .footer-email:hover{color:#fff;text-decoration:underline}

@media(max-width:980px){
  body footer .footer-main{grid-template-columns:1fr 1fr;gap:34px 40px}
  body footer .footer-brand{grid-column:1 / -1}
}
/* Two link columns on phone, not one. These are short labels; collapsing to
   a single column made the footer roughly three screens tall on its own. */
@media(max-width:560px){
  body footer{padding-top:56px;margin-top:0}
  body footer .footer-main{grid-template-columns:1fr 1fr;gap:30px 24px}
  body footer .footer-brand h3{font-size:30px}
  /* Trade the list gap for padding on the links themselves. The row pitch is
     unchanged, but the tap target grows from the 20px text box to ~32px. */
  body footer .footer-col ul{gap:0}
  body footer .footer-col ul a{display:inline-block;padding:6px 0}
  body footer .footer-towns ul{gap:2px 20px}
  body footer .footer-towns a{display:inline-block;padding:6px 0}
  body footer .footer-bottom{padding-bottom:34px}
  body footer .footer-copy{flex-direction:column;align-items:flex-start;gap:8px}
}


/* Design audit 2026-12-05, part 2.
   One button style sitewide: the sentence-case pill the nav "Get In Touch"
   CTA already uses on every page. The other pages' buttons were UPPERCASE,
   letter-spaced 14px; the homepage's were sentence case 13.5 to 15px. */
.btn-primary,.btn-outline,.btn-outline--light,.h-btn,.h-allmodels-btn,.h-allhomes-btn{
  text-transform:none!important;letter-spacing:0!important;font-size:15px!important;font-weight:600;
  min-height:52px;display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box}
.notify-btn{text-transform:none!important;letter-spacing:0!important;font-size:14px!important}
/* Homepage phone hero: the H1 was 27px, smaller than the page's own H2s. */
@media(max-width:640px){
  .c1 .h-hero h1{font-size:clamp(32px,8.6vw,40px)}
  .c1 .h-hero .h-sub{font-size:19px;max-width:32ch}
  .c1 .h-hero-ctas .h-btn{font-size:15px!important;padding:12px 22px}
}

/* Card rows with no lone stretched card (audit 2026-12-05). Every card in a
   row keeps the same width; a short last row is centred instead of leaving
   one card alone on the left. Listing counts change with the Sheet, so a
   fixed column count can never divide evenly. */
.towns-grid,.models-row,.nearby-grid,.county-listings-grid{
  --cols:1;--g:16px;display:flex!important;flex-wrap:wrap;justify-content:center;gap:var(--g)!important}
.county-listings-grid{--g:24px}
.towns-grid>*,.models-row>*,.nearby-grid>*,.county-listings-grid>*{
  flex:0 0 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols))!important;max-width:none!important;min-width:0;box-sizing:border-box}
@media(min-width:641px){.towns-grid,.models-row,.nearby-grid,.county-listings-grid{--cols:2}}
@media(min-width:960px){.towns-grid,.models-row,.nearby-grid,.county-listings-grid{--cols:3}
  .models-row:has(>:nth-child(4):last-child),.nearby-grid:has(>:nth-child(4):last-child),.county-listings-grid:has(>:nth-child(4):last-child){--cols:2}
  .towns-grid:has(>:nth-child(2):last-child){--cols:2}}
@media(min-width:1280px){.towns-grid,.nearby-grid{--cols:4}
  .models-row:has(>:nth-child(5):last-child){--cols:5}
  .models-row:has(>:nth-child(4):last-child),.nearby-grid:has(>:nth-child(4):last-child),.county-listings-grid:has(>:nth-child(4):last-child){--cols:4}
  .towns-grid:has(>:nth-child(5):last-child){--cols:3}
  .nearby-grid:has(>:nth-child(2):last-child){--cols:2}
  .towns-grid:has(>:nth-child(2):last-child){--cols:2}}
@media(max-width:640px){.stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important}.stats .num{font-size:22px!important;overflow-wrap:anywhere}}

/* Card text up to a readable size (audit 2026-12-05): town, nearby, config
   and model cards were 11 to 16px. Small-caps eyebrows and tags stay small. */
.town-card p,.nearby-item p,.config-card p,.tc-meta,.county-towns,.c1 .h-step p,.mc-desc{font-size:17px!important;line-height:1.6}
.mc-specs,.mcl-specs{font-size:14px!important}
