
:root{
  --navy:#082f56;
  --navy2:#0d3d6b;
  --blue:#0a78c8;
  --cream:#f5efe6;
  --cream2:#fbf8f3;
  --gold:#c9a45f;
  --ink:#17324a;
  --muted:#5f7080;
  --white:#fff;
  --line:rgba(8,47,86,.13);
  --shadow:0 16px 38px rgba(8,47,86,.12);
  --radius:14px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Montserrat,Arial,sans-serif;color:var(--ink);background:var(--cream2);line-height:1.6}
img{display:block;max-width:100%}
a{color:inherit}
.container{width:min(calc(100% - 40px),var(--max));margin:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:8px;left:8px;z-index:9999;padding:10px 14px;background:#fff;color:var(--navy);transform:translateY(-160%)}
.skip-link:focus{transform:none}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(7,43,79,.97);backdrop-filter:blur(8px);box-shadow:0 4px 18px rgba(0,0,0,.12)}
.header-inner{width:min(calc(100% - 34px),1280px);min-height:78px;margin:auto;display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center}
.brand{text-decoration:none;color:#fff}
.brand-name{display:flex;align-items:center;gap:7px;line-height:1}
.brand-script{font-family:"Libre Baskerville",Georgia,serif;font-style:italic;font-size:2rem}
.brand-mark{width:38px;height:38px;object-fit:contain}
.brand-subtitle{display:block;margin-top:5px;font-size:.61rem;letter-spacing:.18em;text-transform:uppercase}
.primary-nav{display:flex;justify-content:center;align-items:center;gap:26px}
.primary-nav a{position:relative;padding:29px 0 24px;text-decoration:none;color:#fff;font-size:.73rem;font-weight:700;text-transform:uppercase;white-space:nowrap}
.primary-nav a:after{content:"";position:absolute;left:0;right:0;bottom:20px;height:2px;background:var(--gold);transform:scaleX(0);transition:.18s}
.primary-nav a:hover:after,.primary-nav a.active-page:after{transform:scaleX(1)}
.phone-button{display:inline-flex;align-items:center;gap:9px;padding:11px 16px;border-radius:999px;background:var(--cream);color:var(--navy);text-decoration:none;font-size:.84rem;font-weight:700}
.menu-toggle{display:none;width:42px;height:42px;border:1px solid rgba(255,255,255,.4);border-radius:8px;background:transparent;color:#fff}
.menu-toggle span:not(.sr-only){display:block;height:2px;margin:5px 8px;background:currentColor}
.hero{display:grid;grid-template-columns:41% 59%;min-height:485px;background:var(--cream)}
.hero-copy{display:flex;align-items:center;padding:58px 5vw}
.eyebrow,.section-kicker{margin:0 0 10px;color:var(--blue);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.eyebrow.light,.section-kicker.light{color:#d7e6f4}
.hero h1,.page-hero h1,.section-heading h2,.cta h2,.panel h2{font-family:"Libre Baskerville",Georgia,serif;color:var(--navy);font-weight:400}
.hero h1{margin:0;font-size:clamp(2.5rem,4vw,4.1rem);line-height:1.12;letter-spacing:-.03em}
.hero-lead{max-width:540px;margin:20px 0 28px;color:#40576b;font-size:1.03rem}
.hero-image{min-height:485px;background:url("../images/hudson-building.jpg") center/cover no-repeat}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border:0;border-radius:999px;text-decoration:none;font-size:.76rem;font-weight:800;letter-spacing:.035em;text-transform:uppercase;cursor:pointer;transition:.18s}
.button:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(8,47,86,.18)}
.button-primary{background:var(--navy);color:#fff}
.button-outline{border:2px solid var(--navy);background:transparent;color:var(--navy)}
.button-cream{background:var(--cream);color:var(--navy)}
.services{padding:64px 0;background:#fff}
.section-heading{max-width:760px;margin:0 auto 34px;text-align:center}
.section-heading h2{margin:0 0 10px;font-size:clamp(1.9rem,3vw,2.7rem)}
.section-heading p{margin:0;color:var(--muted)}
.service-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.service-card{padding:28px 18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--cream2);text-align:center;transition:.2s}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.service-icon{width:54px;height:54px;margin:0 auto 14px;display:grid;place-items:center;border-radius:50%;background:var(--cream);color:var(--navy);font-size:1.55rem}
.service-card h3{margin:0 0 9px;color:var(--navy);font-size:.82rem;text-transform:uppercase;letter-spacing:.03em}
.service-card p{margin:0;color:var(--muted);font-size:.84rem}
.community{padding:54px 0;background:linear-gradient(105deg,#052a4d,#0b3b69);color:#fff}
.community-layout{display:grid;grid-template-columns:300px 1fr;gap:34px;align-items:center}
.community h2{margin:0 0 14px;font-family:"Libre Baskerville",Georgia,serif;font-size:2.2rem;font-weight:400;line-height:1.18}
.community p{margin:0;color:#dbe6ef}
.photo-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.photo-row figure{margin:0;height:185px;overflow:hidden;border-radius:10px;background:#ddd}
.photo-row img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.photo-row figure:hover img{transform:scale(1.045)}
.about-home{padding:70px 0;background:var(--cream)}
.about-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}
.about-copy h2{margin:0 0 16px;font-family:"Libre Baskerville",Georgia,serif;color:var(--navy);font-size:2.5rem;font-weight:400}
.about-copy p{color:#506276}
.highlight-grid{display:grid;gap:14px}
.highlight{padding:18px 20px;border-radius:12px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 22px rgba(8,47,86,.06)}
.highlight h3{margin:0 0 5px;color:var(--navy);font-size:.96rem}
.highlight p{margin:0;color:var(--muted);font-size:.86rem}
.cta{padding:34px 0;background:#fff}
.cta-box{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;padding:34px 40px;border-radius:18px;background:linear-gradient(110deg,var(--navy),var(--navy2));color:#fff;box-shadow:var(--shadow)}
.cta h2{margin:0 0 8px;color:#fff;font-size:2rem}
.cta p{margin:0;color:#dbe6ef}
.site-footer{background:#041f39;color:#dbe6ef}
.footer-main{padding:45px 0 32px;display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:48px}
.footer-brand .brand-script{font-size:2rem}
.footer-brand p{max-width:370px;color:#b9cad8;font-size:.87rem}
.footer-title{margin:0 0 12px;color:#fff;font-size:.76rem;letter-spacing:.12em;text-transform:uppercase}
.footer-links{display:grid;gap:7px}
.footer-links a{text-decoration:none;color:#dbe6ef;font-size:.86rem}
.footer-links a:hover{text-decoration:underline}
.footer-contact p{margin:0 0 8px;font-size:.86rem}
.footer-contact a{color:#fff}
.footer-bottom{padding:15px 0;border-top:1px solid rgba(255,255,255,.1);font-size:.72rem;color:#9eb3c4}
.page-hero{min-height:330px;padding:64px 20px;display:grid;place-items:center;text-align:center;color:#fff;background:linear-gradient(rgba(4,36,65,.68),rgba(7,48,86,.72)),url("../images/hudson-building.jpg") center/cover no-repeat}
.page-hero h1{margin:0 0 12px;color:#fff;font-size:clamp(2.5rem,5vw,4rem)}
.page-hero p{max-width:760px;margin:0 auto;color:#e6edf4}
.page-content{padding:62px 0;background:var(--cream2)}
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.panel{padding:30px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}
.panel h2{margin:0 0 12px;font-size:2rem}
.contact-list{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:16px}
.contact-list li{display:grid;grid-template-columns:42px 1fr;gap:12px}
.contact-symbol{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--cream);color:var(--navy)}
.contact-list strong{display:block;color:var(--navy);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase}
.contact-list a{color:var(--navy)}
.contact-photo{width:100%;height:265px;object-fit:cover;border-radius:10px}
.hours{margin-top:22px}
.hours-row{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid var(--line);font-size:.86rem}
.tour-cta{margin:24px 0;padding:30px 34px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;border-radius:var(--radius);background:var(--navy);color:#fff}
.tour-cta h2{margin:0 0 6px;font-family:"Libre Baskerville",Georgia,serif;font-weight:400}
.tour-cta p{margin:0;color:#dbe6ef}
.contact-lower{display:grid;grid-template-columns:1.05fr .95fr;gap:24px}
.contact-form{margin-top:18px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.contact-form label{display:block;margin-bottom:14px;color:var(--navy);font-size:.76rem;font-weight:700}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;margin-top:6px;padding:12px;border:1px solid #bcc7d0;border-radius:8px;background:#fff;font:inherit;font-size:16px}
.contact-form textarea{resize:vertical}
.map-frame{height:360px;overflow:hidden;border-radius:10px}
.map-frame iframe{width:100%;height:100%;border:0}
.map-link{display:inline-block;margin-top:12px;color:var(--navy);font-weight:700}
.job-hero{background:linear-gradient(rgba(4,36,65,.68),rgba(7,48,86,.72)),url("../images/activity.jpg") center/cover no-repeat}
.jobs-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.job-points{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}
.job-point{padding:16px;border-radius:10px;background:var(--cream)}
.job-point strong{display:block;color:var(--navy)}
.steps{counter-reset:step;display:grid;gap:13px;margin-top:18px}
.step{position:relative;padding:14px 14px 14px 58px;border:1px solid var(--line);border-radius:10px;background:var(--cream2)}
.step:before{counter-increment:step;content:counter(step);position:absolute;left:14px;top:12px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--navy);color:#fff;font-weight:800}

@media(max-width:1080px){
  .header-inner{grid-template-columns:auto auto 1fr auto}
  .menu-toggle{display:block}
  .primary-nav{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0;padding:12px 20px 18px;background:#062c50}
  .primary-nav.open{display:flex}
  .primary-nav a{padding:12px 5px;border-bottom:1px solid rgba(255,255,255,.1)}
  .primary-nav a:after{display:none}
  .service-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:800px){
  .container{width:min(calc(100% - 28px),var(--max))}
  .header-inner{width:calc(100% - 20px);min-height:70px;grid-template-columns:1fr auto auto;gap:9px}
  .brand-script{font-size:1.45rem}.brand-mark{width:30px;height:30px}.brand-subtitle{font-size:.48rem;letter-spacing:.12em}
  .phone-button{width:40px;height:40px;padding:0;justify-content:center}.phone-button span:last-child{display:none}
  .hero{grid-template-columns:1fr}.hero-image{order:1;min-height:280px}.hero-copy{order:2;padding:34px 20px}.hero h1{font-size:clamp(2.1rem,9vw,3rem)}
  .service-grid{grid-template-columns:1fr 1fr}
  .community-layout,.about-grid,.contact-layout,.contact-lower,.jobs-grid{grid-template-columns:1fr}
  .photo-row{grid-template-columns:1fr 1fr}.photo-row figure{height:145px}
  .about-home{padding:48px 0}.about-copy h2{font-size:2rem}
  .cta-box,.tour-cta{grid-template-columns:1fr;padding:26px 22px}.cta-box .button,.tour-cta .button{width:100%}
  .footer-main{grid-template-columns:1fr;gap:24px}
  .page-hero{min-height:250px;padding:44px 18px}.page-hero h1{font-size:2.35rem}
  .page-content{padding:34px 0}.panel{padding:22px 18px}.panel h2{font-size:1.65rem}
  .form-row{grid-template-columns:1fr}.map-frame{height:280px}.job-points{grid-template-columns:1fr}
}
@media(max-width:480px){
  .service-grid{grid-template-columns:1fr}
  .photo-row figure{height:120px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}


/* =========================================================
   V3 POLISH — full-width building hero and refined details
   ========================================================= */

.hero-full {
  position: relative;
  min-height: 505px;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  background: url("../images/hudson-building.jpg") center 52% / cover no-repeat;
}

.hero-full-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(2, 30, 55, .88) 0%,
      rgba(2, 30, 55, .72) 24%,
      rgba(2, 30, 55, .37) 48%,
      rgba(2, 30, 55, .08) 73%,
      rgba(2, 30, 55, 0) 100%);
}

.hero-full-content {
  position: relative;
  z-index: 2;
  padding-top: 58px;
  padding-bottom: 58px;
}

.hero-full-content h1 {
  max-width: 690px;
  margin: 0;
  color: #fff;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.65rem, 4.6vw, 4.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-shadow: 0 3px 16px rgba(0,0,0,.24);
}

.hero-full-content .hero-lead {
  max-width: 535px;
  margin: 20px 0 26px;
  color: #f5f8fb;
  font-size: 1.04rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.button-gold {
  background: #e9c66f;
  color: #082f56;
}

.hero-phone {
  min-height: 44px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 700;
  background: rgba(3,34,61,.18);
  backdrop-filter: blur(4px);
}

.service-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.photo-row figure {
  position: relative;
}

.photo-row figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: inherit;
  pointer-events: none;
}

.footer-brand .brand-mark {
  width: 45px;
  height: 45px;
}

.footer-brand .brand-script {
  font-size: 2.15rem;
}

.page-hero {
  min-height: 365px;
  background:
    linear-gradient(90deg, rgba(3,34,61,.78), rgba(3,34,61,.25)),
    url("../images/hudson-building.jpg") center 50% / cover no-repeat;
}

@media (max-width: 800px) {
  .hero-full {
    min-height: 560px;
    align-items: flex-end;
    background-position: 58% 50%;
  }

  .hero-full-overlay {
    background:
      linear-gradient(0deg,
        rgba(2,30,55,.93) 0%,
        rgba(2,30,55,.76) 35%,
        rgba(2,30,55,.30) 67%,
        rgba(2,30,55,.08) 100%);
  }

  .hero-full-content {
    padding-top: 48px;
    padding-bottom: 42px;
  }

  .hero-full-content h1 {
    max-width: 540px;
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-full-content .hero-lead {
    font-size: .96rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .hero-phone {
    width: 100%;
    justify-content: center;
  }

  .page-hero {
    min-height: 285px;
    background-position: 58% 50%;
  }
}

@media (max-width: 480px) {
  .hero-full {
    min-height: 525px;
    background-position: 60% 50%;
  }

  .hero-full-content {
    padding-bottom: 34px;
  }
}


/* =========================================================
   V3 MOBILE FIX — compact, clean phone layout
   Desktop V3 remains unchanged.
   ========================================================= */
@media (max-width: 800px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 32px);
  }

  /* Header: logo left, phone + menu right */
  .header-inner {
    width: calc(100% - 20px);
    min-height: 66px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    gap: 4px;
  }

  .brand-script {
    font-size: 1.32rem;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .brand-subtitle {
    margin-top: 3px;
    font-size: .42rem;
    letter-spacing: .10em;
  }

  .phone-button,
  .menu-toggle {
    width: 39px;
    height: 39px;
    min-height: 39px;
  }

  .primary-nav {
    padding: 8px 18px 14px;
  }

  .primary-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 6px;
  }

  /* Hero: show building first, then a clean navy text panel.
     This avoids covering the building with a huge text overlay on phones. */
  .hero-full {
    min-height: 0;
    display: grid;
    grid-template-rows: 245px auto;
    align-items: initial;
    background:
      url("../images/hudson-building.jpg") 57% 50% / cover no-repeat;
  }

  .hero-full-overlay {
    display: none;
  }

  .hero-full-content {
    grid-row: 2;
    width: 100%;
    padding: 28px 20px 30px;
    background: #082f56;
  }

  .hero-full-content .eyebrow {
    margin-bottom: 8px;
    color: #d8e6f2;
    font-size: .65rem;
  }

  .hero-full-content h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.09;
    letter-spacing: -.03em;
    text-shadow: none;
  }

  .hero-full-content .hero-lead {
    max-width: none;
    margin: 15px 0 20px;
    color: #e6edf4;
    font-size: .93rem;
    line-height: 1.6;
    text-shadow: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-actions .button,
  .hero-phone {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  /* Services */
  .services {
    padding: 40px 0;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .section-heading p {
    font-size: .9rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 13px;
    padding: 17px;
    text-align: left;
  }

  .service-icon {
    grid-row: 1 / span 2;
    width: 46px;
    height: 46px;
    margin: 0;
  }

  .service-card h3 {
    align-self: end;
    margin: 0 0 3px;
  }

  .service-card p {
    align-self: start;
  }

  /* Community gallery */
  .community {
    padding: 38px 0;
  }

  .community-layout {
    gap: 22px;
  }

  .community h2 {
    font-size: 1.9rem;
  }

  .photo-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .photo-row figure {
    height: 128px;
  }

  /* About */
  .about-home {
    padding: 42px 0;
  }

  .about-grid {
    gap: 26px;
  }

  .about-copy h2 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .highlight-grid {
    gap: 9px;
  }

  .highlight {
    padding: 16px;
  }

  /* Bottom CTA */
  .cta {
    padding: 22px 0;
  }

  .cta-box {
    gap: 18px;
    padding: 24px 20px;
  }

  .cta h2 {
    font-size: 1.7rem;
    line-height: 1.22;
  }

  /* Footer */
  .footer-main {
    padding: 34px 0 24px;
    gap: 22px;
  }

  .footer-brand .brand-script {
    font-size: 1.75rem;
  }

  .footer-brand .brand-mark {
    width: 36px;
    height: 36px;
  }

  /* Contact + employment page hero */
  .page-hero {
    min-height: 235px;
    padding: 38px 18px;
    background:
      linear-gradient(rgba(3,34,61,.64), rgba(3,34,61,.72)),
      url("../images/hudson-building.jpg") 58% 50% / cover no-repeat;
  }

  .page-hero h1 {
    font-size: 2.15rem;
    line-height: 1.12;
  }

  .page-content {
    padding: 30px 0;
  }

  .contact-layout,
  .contact-lower,
  .jobs-grid {
    gap: 14px;
  }

  .panel {
    padding: 20px 17px;
    box-shadow: 0 8px 22px rgba(8,47,86,.08);
  }

  .panel h2 {
    font-size: 1.55rem;
  }

  .contact-photo {
    height: 205px;
  }

  .tour-cta {
    margin: 14px 0;
    gap: 16px;
    padding: 22px 18px;
  }

  .map-frame {
    height: 245px;
  }

  .job-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand-script {
    font-size: 1.18rem;
  }

  .brand-mark {
    width: 25px;
    height: 25px;
  }

  .brand-subtitle {
    font-size: .38rem;
  }

  .hero-full {
    grid-template-rows: 215px auto;
    background-position: 58% 50%;
  }

  .hero-full-content {
    padding: 25px 16px 27px;
  }

  .hero-full-content h1 {
    font-size: 2rem;
  }

  .photo-row figure {
    height: 110px;
  }

  .service-card {
    padding: 15px 13px;
  }
}


/* =========================================================
   MOBILE FOOTER FIX — cleaner, centered, compact
   ========================================================= */
@media (max-width: 800px) {
  .site-footer {
    text-align: center;
  }

  .footer-main {
    padding: 30px 0 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .brand-name {
    justify-content: center;
  }

  .footer-brand .brand-script {
    font-size: 1.8rem;
  }

  .footer-brand .brand-mark {
    width: 38px;
    height: 38px;
  }

  .footer-brand .brand-subtitle {
    margin-top: 5px;
    font-size: .52rem;
    letter-spacing: .14em;
  }

  .footer-brand p {
    max-width: 330px;
    margin: 12px auto 0;
    color: #b9cad8;
    font-size: .82rem;
    line-height: 1.6;
  }

  .footer-title {
    margin-bottom: 10px;
    text-align: center;
  }

  .footer-links {
    width: min(100%, 320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .footer-links a {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 8px;
    background: rgba(255,255,255,.03);
    font-size: .82rem;
  }

  .footer-contact {
    max-width: 330px;
    margin: 0 auto;
  }

  .footer-contact p {
    margin: 0 0 7px;
    font-size: .82rem;
    line-height: 1.55;
  }

  .footer-bottom {
    padding: 14px 0 16px;
    text-align: center;
    font-size: .68rem;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  .footer-main {
    padding-top: 26px;
    gap: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .footer-links a {
    min-height: 38px;
    font-size: .78rem;
  }

  .footer-brand p,
  .footer-contact p {
    font-size: .79rem;
  }
}


/* =========================================================
   FINAL MOBILE MATCH — V3 desktop preserved
   ========================================================= */

/* Employee page desktop */
.employee-page {
  padding: 68px 0;
  background: #fbf8f3;
}
.employee-shell {
  display: grid;
  place-items: center;
}
.employee-login-card {
  width: min(100%, 680px);
  padding: 46px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.employee-user-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
}
.employee-user-icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.employee-login-card h1 {
  margin: 0 0 28px;
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 400;
}
.employee-email-block h2,
.employee-help h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
}
.employee-email-block p {
  max-width: 520px;
  margin: 0 auto 22px;
}
.employee-email-button {
  min-width: 270px;
}
.secure-login-box {
  margin: 34px 0 28px;
  padding: 20px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid #b9d6e9;
  border-radius: 10px;
  background: #f2f8fc;
  text-align: left;
}
.secure-shield {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 1.5rem;
}
.secure-login-box strong {
  color: var(--navy);
}
.secure-login-box p {
  margin: 5px 0 0;
  font-size: .87rem;
}
.employee-help p {
  margin-bottom: 0;
}
.employee-help a {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 800px) {
  /* Header exactly like the preferred mobile design */
  .site-header {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, #062f56 0%, #031f3b 100%);
  }
  .header-inner {
    width: calc(100% - 24px);
    min-height: 78px;
    grid-template-columns: minmax(0,1fr) auto auto;
    gap: 10px;
  }
  .brand-script {
    font-size: 1.7rem;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
  }
  .brand-subtitle {
    font-size: .43rem;
    letter-spacing: .14em;
  }
  .phone-button {
    width: 46px;
    height: 42px;
    min-height: 42px;
    border-radius: 999px;
    background: #f7f1e7;
    color: var(--navy);
  }
  .menu-toggle {
    width: 45px;
    height: 45px;
    border: 0;
  }
  .menu-toggle span:not(.sr-only) {
    height: 3px;
    margin: 6px 7px;
  }

  /* Full-height slide-down mobile menu, styled like mockup */
  .primary-nav {
    top: 100%;
    padding: 10px 20px 18px;
    background: linear-gradient(180deg, #07345e, #032744);
    box-shadow: 0 18px 32px rgba(0,0,0,.22);
  }
  .primary-nav a {
    min-height: 56px;
    padding: 15px 8px;
    border-bottom: 1px solid rgba(255,255,255,.13);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .02em;
  }
  .primary-nav a[href="employee-login.html"] {
    color: #f0c15e;
  }

  /* Homepage hero: image stays full-width with text over it */
  .hero-full {
    min-height: 690px;
    display: flex;
    align-items: flex-end;
    background-position: 58% 50%;
  }
  .hero-full-overlay {
    display: block;
    background:
      linear-gradient(0deg,
        rgba(2,25,46,.94) 0%,
        rgba(2,25,46,.80) 35%,
        rgba(2,25,46,.40) 63%,
        rgba(2,25,46,.12) 100%);
  }
  .hero-full-content {
    width: 100%;
    padding: 44px 26px 40px;
    background: transparent;
  }
  .hero-full-content .eyebrow {
    margin-bottom: 16px;
    color: #fff;
    font-size: .62rem;
    letter-spacing: .14em;
  }
  .hero-full-content h1 {
    max-width: 330px;
    color: #fff;
    font-size: clamp(2.5rem, 12vw, 3.45rem);
    line-height: 1.03;
    text-shadow: 0 3px 15px rgba(0,0,0,.28);
  }
  .hero-full-content .hero-lead {
    max-width: 340px;
    margin: 22px 0 28px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.7;
  }
  .hero-actions {
    display: grid;
    gap: 12px;
  }
  .hero-actions .button,
  .hero-phone {
    min-height: 54px;
    width: 100%;
    border-radius: 999px;
    justify-content: center;
  }
  .button-gold {
    background: #efc45a;
  }

  /* Contact mobile: cleaner top section and stacked contact rows */
  .page-hero {
    min-height: auto;
    padding: 36px 20px 22px;
    background: #fff !important;
    color: var(--ink);
  }
  .page-hero .eyebrow {
    display: none;
  }
  .page-hero h1 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 2.35rem;
  }
  .page-hero p {
    color: #4f5e6b;
    font-size: .93rem;
    line-height: 1.6;
  }
  .page-content {
    padding: 10px 0 42px;
    background: #fff;
  }
  .contact-layout {
    gap: 18px;
  }
  .contact-layout > .panel:first-child {
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: none;
  }
  .contact-layout > .panel:first-child > .section-kicker,
  .contact-layout > .panel:first-child > h2,
  .contact-layout > .panel:first-child > p {
    display: none;
  }
  .contact-list {
    margin: 0;
    gap: 0;
  }
  .contact-list li {
    min-height: 86px;
    padding: 17px 16px;
    grid-template-columns: 46px minmax(0,1fr);
    align-items: center;
    border-bottom: 1px solid var(--line);
  }
  .contact-list li:last-child {
    border-bottom: 0;
  }
  .contact-symbol {
    width: 42px;
    height: 42px;
    background: var(--navy);
    color: #fff;
  }
  .contact-list strong {
    margin-bottom: 2px;
    font-size: .82rem;
    text-transform: none;
    letter-spacing: 0;
  }
  .contact-layout > .panel:first-child > div[style] {
    display: none !important;
  }
  .contact-layout > .panel:nth-child(2) {
    display: none;
  }

  .tour-cta {
    margin: 20px 0 24px;
    padding: 28px 20px;
    display: block;
    border: 1px solid #eadfcf;
    border-radius: 8px;
    background: #fcf8f2;
    color: var(--ink);
    text-align: center;
  }
  .tour-cta .section-kicker {
    display: none;
  }
  .tour-cta h2 {
    color: var(--navy);
    font-size: 2rem;
  }
  .tour-cta p {
    color: var(--ink);
    line-height: 1.65;
  }
  .tour-cta .button {
    width: min(100%, 250px);
    margin-top: 20px;
    background: var(--navy);
    color: #fff;
  }

  /* Keep form/map below, but visually separate them from the compact contact top */
  .contact-lower {
    margin-top: 10px;
  }

  /* Employee login mobile */
  .employee-page {
    min-height: calc(100vh - 78px);
    padding: 30px 16px 44px;
    background: #fff;
  }
  .employee-login-card {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .employee-login-card > .section-kicker {
    display: none;
  }
  .employee-user-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 26px;
  }
  .employee-user-icon svg {
    width: 48px;
    height: 48px;
  }
  .employee-login-card h1 {
    margin-bottom: 42px;
    font-size: 2.35rem;
  }
  .employee-email-block h2 {
    font-size: 1.5rem;
  }
  .employee-email-block p {
    max-width: 320px;
    margin-bottom: 26px;
    line-height: 1.75;
  }
  .employee-email-button {
    width: 100%;
    min-height: 50px;
    border-radius: 999px;
  }
  .secure-login-box {
    margin: 36px 0 32px;
    padding: 18px;
    grid-template-columns: 42px 1fr;
    border-radius: 8px;
  }
  .employee-help h2 {
    font-size: 1.35rem;
  }
  .employee-help p {
    line-height: 1.65;
  }

  /* Footer remains the user's preferred MobileFooterFix treatment */
}

@media (max-width: 420px) {
  .hero-full {
    min-height: 650px;
  }
  .hero-full-content {
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero-full-content h1 {
    max-width: 300px;
    font-size: 2.65rem;
  }
}


/* =========================================================
   V4 PROFESSIONAL POLISH
   ========================================================= */

/* Cleaner, consistent interactive styling */
.button {
  min-height: 46px;
  border-radius: 9px;
  letter-spacing: .025em;
}
.button:focus-visible,
.primary-nav a:focus-visible,
.phone-button:focus-visible,
.contact-v4-row a:focus-visible,
.contact-v4-map-link:focus-visible {
  outline: 3px solid rgba(10,120,200,.28);
  outline-offset: 3px;
}

/* Navigation hierarchy */
.primary-nav a.active-page {
  color: #fff;
}
.employee-nav-link {
  padding-left: 12px !important;
  padding-right: 12px !important;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
}
.employee-nav-link::after {
  display: none;
}
.employee-nav-link:hover,
.employee-nav-link.active-page {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.45);
}

/* Employment page refinements */
.jobs-grid {
  align-items: stretch;
}
.jobs-grid .panel {
  height: 100%;
}
.job-point {
  border: 1px solid rgba(8,47,86,.08);
}
.steps .step {
  line-height: 1.6;
}

/* Employee login refinements */
.employee-login-card {
  border-color: rgba(8,47,86,.10);
}
.secure-login-box {
  box-shadow: inset 0 0 0 1px rgba(10,120,200,.03);
}

/* ---------- Contact V4 Desktop ---------- */
.contact-v4 {
  background: #fff;
}
.contact-v4-hero {
  position: relative;
  min-height: 345px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../images/hudson-building.jpg") center 50% / cover no-repeat;
}
.contact-v4-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,31,56,.84) 0%, rgba(3,31,56,.58) 42%, rgba(3,31,56,.12) 75%);
}
.contact-v4-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 54px;
  padding-bottom: 54px;
  color: #fff;
}
.contact-v4-hero h1 {
  max-width: 680px;
  margin: 0 0 15px;
  color: #fff;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.7rem, 4vw, 4.1rem);
  font-weight: 400;
  line-height: 1.08;
}
.contact-v4-hero p:last-child {
  max-width: 650px;
  margin: 0;
  color: #edf3f8;
  font-size: 1rem;
  line-height: 1.75;
}

.contact-v4-overview {
  padding: 66px 0;
  background: #fff;
}
.contact-v4-heading {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 40px;
  align-items: end;
}
.contact-v4-heading h2,
.contact-v4-visit h2,
.contact-v4-form-card h2,
.contact-v4-map-card h2,
.contact-v4-bottom-cta h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
}
.contact-v4-heading h2 {
  font-size: 2.65rem;
}
.contact-v4-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-v4-grid {
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: 26px;
}
.contact-v4-info {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.contact-v4-row {
  min-height: 86px;
  padding: 16px 21px;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.contact-v4-row:last-child {
  border-bottom: 0;
}
.contact-v4-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.05rem;
}
.contact-v4-label {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-v4-row a {
  color: var(--ink);
  text-decoration: none;
}
.contact-v4-row a:hover {
  text-decoration: underline;
}

.contact-v4-visit {
  overflow: hidden;
  display: grid;
  grid-template-rows: 255px auto;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.contact-v4-visit img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  object-position: center 52%;
}
.contact-v4-visit-copy {
  padding: 27px 29px 30px;
}
.contact-v4-visit h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}
.contact-v4-visit-copy > p:not(.section-kicker) {
  margin: 0 0 20px;
  color: var(--muted);
}

.contact-v4-lower {
  padding: 64px 0;
  background: #f7f2ea;
}
.contact-v4-lower-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr);
  gap: 26px;
  align-items: start;
}
.contact-v4-form-card,
.contact-v4-map-card {
  padding: 31px;
  border: 1px solid rgba(8,47,86,.10);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8,47,86,.06);
}
.contact-v4-form-card h2,
.contact-v4-map-card h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}
.contact-v4-muted {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}
.contact-v4-form {
  margin-top: 22px;
}
.contact-v4-form label {
  margin-bottom: 15px;
}
.contact-v4-form input,
.contact-v4-form select,
.contact-v4-form textarea {
  border-radius: 8px;
  background: #fff;
}
.contact-v4-submit {
  margin-top: 4px;
}
.contact-v4-map {
  height: 390px;
  margin-top: 20px;
}
.contact-v4-map-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--navy);
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-v4-bottom-cta {
  padding: 34px 0;
  background: #fff;
}
.contact-v4-bottom-inner {
  padding: 31px 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border-radius: 14px;
  background: linear-gradient(105deg, #062b4d, #0b3b67);
  color: #fff;
}
.contact-v4-bottom-cta h2 {
  margin-bottom: 5px;
  color: #fff;
  font-size: 2rem;
}
.contact-v4-bottom-cta p {
  margin: 0;
  color: #dce8f1;
}

/* ---------- Contact V4 Mobile ---------- */
@media (max-width: 800px) {
  /* Employee login remains distinctive but reads like a menu item */
  .employee-nav-link {
    padding-left: 8px !important;
    padding-right: 8px !important;
    border: 0;
    border-radius: 0;
  }
  .employee-nav-link:hover,
  .employee-nav-link.active-page {
    background: transparent;
  }

  .contact-v4-hero {
    min-height: 0;
    padding: 0;
    background: #fff;
  }
  .contact-v4-hero-overlay {
    display: none;
  }
  .contact-v4-hero-inner {
    padding: 35px 20px 20px;
    color: var(--ink);
    text-align: center;
  }
  .contact-v4-hero .section-kicker {
    color: var(--blue);
  }
  .contact-v4-hero h1 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 2.25rem;
  }
  .contact-v4-hero p:last-child {
    max-width: 360px;
    margin: 0 auto;
    color: #566777;
    font-size: .92rem;
    line-height: 1.7;
  }

  .contact-v4-overview {
    padding: 20px 0 44px;
  }
  .contact-v4-heading {
    display: none;
  }
  .contact-v4-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-v4-info {
    border-radius: 10px;
  }
  .contact-v4-row {
    min-height: 80px;
    padding: 15px 14px;
    grid-template-columns: 44px minmax(0,1fr);
    gap: 12px;
  }
  .contact-v4-icon {
    width: 42px;
    height: 42px;
  }
  .contact-v4-label {
    font-size: .72rem;
    text-transform: none;
    letter-spacing: 0;
  }

  .contact-v4-visit {
    grid-template-rows: 175px auto;
    border-radius: 10px;
  }
  .contact-v4-visit img {
    height: 175px;
  }
  .contact-v4-visit-copy {
    padding: 22px 18px 24px;
    text-align: center;
  }
  .contact-v4-visit h2 {
    font-size: 1.8rem;
  }
  .contact-v4-visit-copy .button {
    width: 100%;
  }

  .contact-v4-lower {
    padding: 42px 0;
  }
  .contact-v4-lower-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-v4-form-card,
  .contact-v4-map-card {
    padding: 23px 18px;
    border-radius: 11px;
    box-shadow: none;
  }
  .contact-v4-form-card h2,
  .contact-v4-map-card h2 {
    font-size: 1.75rem;
  }
  .contact-v4-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-v4-submit {
    width: 100%;
  }
  .contact-v4-map {
    height: 265px;
  }

  .contact-v4-bottom-cta {
    padding: 24px 0 0;
  }
  .contact-v4-bottom-inner {
    padding: 27px 20px 30px;
    grid-template-columns: 1fr;
    gap: 18px;
    border-radius: 14px 14px 0 0;
    text-align: center;
  }
  .contact-v4-bottom-cta h2 {
    font-size: 1.8rem;
  }
  .contact-v4-bottom-inner .button {
    width: 100%;
  }

  /* Employment spacing consistency */
  .job-hero {
    min-height: 250px;
  }
  .jobs-grid {
    gap: 18px;
  }
  .jobs-grid .panel {
    padding: 24px 18px;
  }
}

@media (max-width: 420px) {
  .contact-v4-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .contact-v4-row {
    padding-left: 12px;
    padding-right: 12px;
  }
  .contact-v4-form-card,
  .contact-v4-map-card {
    padding-left: 15px;
    padding-right: 15px;
  }
}
