:root{--navy:#082f55;--navy-2:#0b3b67;--green:#55784e;--green-soft:#edf4ec;--ink:#0b2445;--muted:#657487;--line:#dce4ea;--soft:#f7f9fb;--white:#fff;--shadow:0 12px 32px rgba(8,46,83,.07);--site-max:1360px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.tcp-main-portal{padding:0}
/* Public header */
.tcp-header{position:relative;z-index:20;background:rgba(255,255,255,.985);border-bottom:1px solid #e9eef2;box-shadow:0 3px 18px rgba(8,46,83,.035)}
.tcp-header-inner{max-width:var(--site-max);margin:auto;min-height:84px;display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:28px;padding:10px 32px}
.tcp-brand{display:flex;align-items:center;min-width:0}.tcp-brand .custom-logo-link,.tcp-brand>a{display:inline-flex;align-items:center}
.tcp-brand img,.tcp-brand .custom-logo{width:205px!important;max-width:205px!important;max-height:62px!important;height:auto!important;object-fit:contain;display:block}
.tcp-nav{display:flex;justify-content:flex-end;align-items:center;gap:10px;font-size:14px;font-weight:600}.tcp-nav a{padding:10px 13px;border-radius:7px;color:#22384f;transition:.15s ease}.tcp-nav a:hover{background:#f4f7f8}.tcp-nav a.is-current{background:#edf4ec;color:#3f663b}
.tcp-login-button,.tcp-primary{background:var(--navy);color:#fff;border-radius:8px;padding:13px 21px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 7px 18px rgba(8,46,83,.10);transition:.15s ease}.tcp-login-button:hover,.tcp-primary:hover{background:#0a3b68}
/* Public home */
.tcp-hero{position:relative;min-height:400px;background-image:var(--hero);background-size:cover;background-position:center 58%;display:flex;align-items:center}.tcp-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,36,64,.72) 0%,rgba(19,46,70,.42) 45%,rgba(214,224,232,.09) 100%)}
.tcp-hero-content{position:relative;z-index:1;width:min(var(--site-max),calc(100% - 64px));margin:auto;color:#fff}.tcp-hero h1,.tcp-services h2,.tcp-basic-page h1{font-family:Georgia,"Times New Roman",serif}.tcp-hero h1{font-size:58px;line-height:1;margin:0 0 14px;letter-spacing:-.02em}.tcp-hero-lead{max-width:590px;font-size:20px;line-height:1.42;margin:0 0 24px}.tcp-primary{font-size:17px;border:1px solid rgba(255,255,255,.34)}.tcp-hero-note{margin-top:22px;font-size:14px;line-height:1.5;color:rgba(255,255,255,.92)}.tcp-hero-note span{display:block;width:44px;height:3px;background:#9abc85;margin-bottom:13px}.tcp-hero-note p{margin:0}
.tcp-services{max-width:var(--site-max);margin:auto;padding:36px 32px 44px}.tcp-section-kicker{text-transform:uppercase;letter-spacing:.22em;font-size:11px;color:#52647a;display:flex;align-items:center;gap:12px}.tcp-section-kicker:before{content:"";width:34px;height:3px;background:var(--green)}.tcp-services h2{font-size:39px;margin:9px 0 22px;letter-spacing:-.015em}.tcp-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tcp-service-card{border:1px solid var(--line);border-radius:10px;padding:25px 26px;min-height:138px;display:flex;align-items:center;gap:20px;background:#fff;transition:.18s ease}.tcp-service-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#cbd8e1}.tcp-service-card h3{font-family:Georgia,"Times New Roman",serif;font-size:20px;margin:0 0 6px}.tcp-service-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.4}.tcp-icon{width:58px;height:58px;border-radius:50%;background:#eef3f8;display:grid;place-items:center;font-size:25px;flex:0 0 auto}.tcp-icon.green{background:#edf4eb}
/* Public footer: same container and left edge as header */
.tcp-footer{background:linear-gradient(90deg,#07365f,#072a4b);color:#fff}.tcp-footer-inner{max-width:var(--site-max);margin:auto;min-height:126px;padding:24px 32px;display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:28px}.tcp-footer-brand{display:flex;align-items:center}.tcp-footer-brand img{width:205px;max-width:205px;height:auto;max-height:76px;object-fit:contain;display:block;filter:none!important}.tcp-footer nav{display:flex;gap:32px;justify-content:center;font-size:13px}.tcp-copy{font-size:12px;color:#d6e1ea;max-width:270px}.tcp-basic-page{padding:46px 24px 64px;background:linear-gradient(#fbfcfd,#fff);min-height:420px}.tcp-basic-inner{max-width:1040px;margin:auto;padding-top:8px}.tcp-basic-page h1{font-size:46px;margin:0 0 22px}.tcp-login-box{max-width:470px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px;box-shadow:var(--shadow)}
@media(max-width:900px){.tcp-header-inner{grid-template-columns:1fr auto;padding:9px 20px;min-height:78px}.tcp-brand img,.tcp-brand .custom-logo{width:165px!important;max-width:165px!important;max-height:54px!important}.tcp-nav{display:none}.tcp-hero{min-height:410px}.tcp-hero-content{width:calc(100% - 40px)}.tcp-hero h1{font-size:47px}.tcp-hero-lead{font-size:18px}.tcp-services{padding:32px 20px}.tcp-services h2{font-size:33px}.tcp-card-grid{grid-template-columns:1fr}.tcp-footer-inner{grid-template-columns:1fr;text-align:center;padding:28px 20px}.tcp-footer-brand img{width:165px;max-width:165px;margin:auto}.tcp-footer nav{flex-wrap:wrap}.tcp-copy{justify-self:center}.tcp-basic-page{padding:34px 20px 50px}.tcp-basic-page h1{font-size:38px}}
@media(max-width:520px){.tcp-login-button{padding:11px 14px;font-size:14px}.tcp-brand img,.tcp-brand .custom-logo{width:150px!important;max-width:150px!important;max-height:50px!important}.tcp-hero h1{font-size:39px}.tcp-hero-lead{font-size:17px}.tcp-services h2{font-size:29px}.tcp-service-card{padding:20px}.tcp-icon{width:52px;height:52px;font-size:23px}}

/* v1.4 brand alignment */
.tcp-brand,.tcp-footer-brand{justify-content:flex-start}.tcp-brand a,.tcp-footer-brand a{display:flex;align-items:center;line-height:0}.tcp-header-inner,.tcp-footer-inner{width:min(var(--site-max),100%)}

/* v1.5 — calmer public header + exact brand alignment */
.tcp-header{
  background:#fbfcfd;
  border-bottom:1px solid #e6ebef;
  box-shadow:none;
}
.tcp-header-inner,
.tcp-footer-inner{
  max-width:1360px;
  width:calc(100% - 64px);
  margin:0 auto;
  padding-left:0;
  padding-right:0;
  grid-template-columns:240px minmax(0,1fr) auto;
}
.tcp-header-inner{
  min-height:92px;
  gap:34px;
}
.tcp-footer-inner{
  min-height:132px;
  gap:34px;
}
.tcp-brand,
.tcp-footer-brand{
  width:240px;
  justify-content:flex-start;
}
.tcp-brand a,
.tcp-footer-brand a{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.tcp-brand img,
.tcp-brand .custom-logo,
.tcp-footer-brand img{
  width:225px!important;
  max-width:225px!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  display:block;
}
.tcp-nav{
  gap:8px;
  font-size:14px;
  font-weight:600;
}
.tcp-nav a{
  padding:11px 12px;
  border-radius:6px;
  color:#25384a;
}
.tcp-nav a:hover{background:#f1f4f6}
.tcp-nav a.is-current{
  background:transparent;
  color:#3f663b;
  box-shadow:inset 0 -2px 0 #55784e;
  border-radius:0;
}
.tcp-login-button{
  min-width:124px;
  padding:12px 20px;
  border-radius:7px;
  box-shadow:none;
}
.tcp-footer nav{justify-content:flex-start;margin-left:18px}
.tcp-copy{justify-self:end}

@media(max-width:900px){
  .tcp-header-inner,.tcp-footer-inner{width:calc(100% - 40px);grid-template-columns:1fr auto}
  .tcp-brand,.tcp-footer-brand{width:auto}
  .tcp-brand img,.tcp-brand .custom-logo,.tcp-footer-brand img{width:185px!important;max-width:185px!important}
  .tcp-footer-inner{grid-template-columns:1fr;text-align:center}
  .tcp-footer-brand a{justify-content:center}
  .tcp-footer nav{justify-content:center;margin-left:0}
  .tcp-copy{justify-self:center}
}
@media(max-width:520px){
  .tcp-header-inner,.tcp-footer-inner{width:calc(100% - 28px)}
  .tcp-brand img,.tcp-brand .custom-logo,.tcp-footer-brand img{width:165px!important;max-width:165px!important}
}

/* v1.6 — reduce aligned branding scale */
.tcp-header-inner,
.tcp-footer-inner{
  grid-template-columns:150px minmax(0,1fr) auto;
}
.tcp-header-inner{min-height:78px;}
.tcp-footer-inner{min-height:108px;}
.tcp-brand,
.tcp-footer-brand{width:150px;}
.tcp-brand img,
.tcp-brand .custom-logo,
.tcp-footer-brand img{
  width:120px!important;
  max-width:120px!important;
}
@media(max-width:900px){
  .tcp-brand img,.tcp-brand .custom-logo,.tcp-footer-brand img{width:115px!important;max-width:115px!important}
}
@media(max-width:520px){
  .tcp-brand img,.tcp-brand .custom-logo,.tcp-footer-brand img{width:105px!important;max-width:105px!important}
}

/* v1.7 — lighter coastal homepage to match the portal's calmer visual language */
.tcp-hero{
  min-height:430px;
  background-position:center 54%;
  align-items:center;
}
.tcp-hero-overlay{
  background:linear-gradient(90deg,rgba(250,252,253,.94) 0%,rgba(247,250,252,.84) 29%,rgba(247,250,252,.42) 55%,rgba(247,250,252,.10) 100%);
}
.tcp-hero-content{
  color:var(--navy);
}
.tcp-hero h1{
  color:var(--navy);
  text-shadow:none;
}
.tcp-hero-lead{
  color:#33495f;
  max-width:620px;
}
.tcp-primary{
  background:var(--navy);
  color:#fff;
  border:0;
  box-shadow:0 8px 18px rgba(8,46,83,.10);
}
.tcp-primary:after{
  content:"›";
  margin-left:12px;
  font-size:22px;
  line-height:1;
}
.tcp-hero-note{
  color:#566779;
  margin-top:18px;
  font-size:13px;
}
.tcp-hero-note span{
  background:#6c8b5d;
}
.tcp-services{
  padding-top:34px;
  padding-bottom:42px;
}
.tcp-service-card{
  position:relative;
  padding-right:48px;
  background:#fff;
  box-shadow:0 4px 14px rgba(8,46,83,.025);
}
.tcp-service-card:after{
  content:"›";
  position:absolute;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  color:#24496a;
  font-size:26px;
  font-weight:400;
}
.tcp-footer{
  background:linear-gradient(90deg,#0a3a65,#082f55);
}
@media(max-width:900px){
  .tcp-hero{min-height:420px;background-position:28% center}
  .tcp-hero-overlay{background:linear-gradient(90deg,rgba(250,252,253,.95),rgba(250,252,253,.78) 62%,rgba(250,252,253,.30))}
}
@media(max-width:520px){
  .tcp-hero{min-height:390px;background-position:24% center}
  .tcp-hero-content{width:calc(100% - 32px)}
  .tcp-service-card:after{right:16px}
}

/* v1.8 — bright coastal homepage with sky continuing through the header */
.tcp-home-sky{
  position:relative;
  background-image:url('images/home-hero-bright.jpg');
  background-size:cover;
  background-position:center 34%;
  background-repeat:no-repeat;
  overflow:hidden;
}
.tcp-home-sky::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.73) 0%,rgba(255,255,255,.50) 31%,rgba(255,255,255,.12) 64%,rgba(255,255,255,.04) 100%);
  pointer-events:none;
}
.tcp-header-home{
  position:relative;
  z-index:3;
  background:rgba(255,255,255,.18);
  border-bottom:1px solid rgba(255,255,255,.45);
  box-shadow:none;
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}
.tcp-header-home .tcp-header-inner{min-height:88px}
.tcp-header-home .tcp-nav a{color:#183750;text-shadow:0 1px 0 rgba(255,255,255,.55)}
.tcp-header-home .tcp-nav a:hover{background:rgba(255,255,255,.45)}
.tcp-header-home .tcp-nav a.is-current{color:#456b3f;box-shadow:inset 0 -2px 0 #55784e;background:transparent}
.tcp-header-home .tcp-login-button{box-shadow:0 8px 20px rgba(8,46,83,.10)}
.tcp-hero-home{
  position:relative;
  z-index:2;
  min-height:405px;
  background:none!important;
  display:flex;
  align-items:center;
}
.tcp-hero-home .tcp-hero-overlay{display:none}
.tcp-hero-home .tcp-hero-content{color:var(--navy);padding-bottom:12px}
.tcp-hero-home h1{color:var(--navy);text-shadow:none;font-size:58px}
.tcp-hero-home .tcp-hero-lead{color:#2f455b;max-width:610px;font-size:20px}
.tcp-hero-home .tcp-primary{background:var(--navy);color:#fff;box-shadow:0 9px 22px rgba(8,46,83,.12)}
.tcp-services{background:#fff}
@media(max-width:900px){
  .tcp-home-sky{background-position:34% center}
  .tcp-home-sky::before{background:linear-gradient(90deg,rgba(255,255,255,.84),rgba(255,255,255,.58) 62%,rgba(255,255,255,.16))}
  .tcp-header-home{background:rgba(255,255,255,.36)}
  .tcp-hero-home{min-height:390px}
  .tcp-hero-home h1{font-size:48px}
}
@media(max-width:520px){
  .tcp-home-sky{background-position:31% center}
  .tcp-home-sky::before{background:rgba(255,255,255,.62)}
  .tcp-header-home{background:rgba(255,255,255,.52)}
  .tcp-hero-home{min-height:350px}
  .tcp-hero-home h1{font-size:40px}
}

/* v1.9 — resident-portal inspired homepage: content first, image second */
.tcp-home-intro{
  background:linear-gradient(180deg,#f7fafc 0%,#fff 100%);
  padding:34px 32px 28px;
}
.tcp-home-intro-inner{
  max-width:var(--site-max);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(460px,1.35fr);
  min-height:360px;
  border:1px solid #dfe7ed;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 14px 36px rgba(8,46,83,.055);
}
.tcp-home-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px 46px;
  position:relative;
  z-index:2;
}
.tcp-home-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#5b7355;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.18em;
  margin-bottom:12px;
}
.tcp-home-eyebrow:before{
  content:"";
  width:28px;
  height:3px;
  border-radius:3px;
  background:var(--green);
}
.tcp-home-copy h1{
  font-family:Georgia,"Times New Roman",serif;
  font-size:56px;
  line-height:1;
  letter-spacing:-.025em;
  margin:0 0 16px;
  color:var(--navy);
}
.tcp-home-copy>p{
  margin:0 0 24px;
  max-width:500px;
  color:#3d5368;
  font-size:18px;
  line-height:1.55;
}
.tcp-home-copy .tcp-primary{
  align-self:flex-start;
  min-width:220px;
}
.tcp-home-trust{
  margin-top:17px;
  color:#718092;
  font-size:12px;
  line-height:1.45;
}
.tcp-home-photo{
  min-height:360px;
  background-image:linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,0) 20%),url('images/home-hero.jpg');
  background-size:cover;
  background-position:center 54%;
  position:relative;
}
.tcp-home-photo:after{
  content:"";
  position:absolute;
  inset:0;
  box-shadow:inset 18px 0 30px rgba(255,255,255,.16);
  pointer-events:none;
}
.tcp-services-home{
  padding-top:28px;
  padding-bottom:42px;
}
.tcp-services-home h2{margin-bottom:20px}
.tcp-service-card{
  min-height:126px;
  padding:22px 48px 22px 24px;
}
.tcp-service-card h3{font-size:19px}
.tcp-service-card p{font-size:13px}

@media(max-width:1000px){
  .tcp-home-intro-inner{grid-template-columns:1fr 1fr}
  .tcp-home-copy{padding:40px 34px}
  .tcp-home-copy h1{font-size:48px}
}
@media(max-width:800px){
  .tcp-home-intro{padding:22px 20px 24px}
  .tcp-home-intro-inner{grid-template-columns:1fr}
  .tcp-home-photo{min-height:250px;order:-1;background-position:center 58%}
  .tcp-home-copy{padding:34px 28px 38px}
  .tcp-home-copy h1{font-size:44px}
}
@media(max-width:520px){
  .tcp-home-intro{padding:14px 14px 20px}
  .tcp-home-intro-inner{border-radius:12px}
  .tcp-home-photo{min-height:210px}
  .tcp-home-copy{padding:28px 22px 32px}
  .tcp-home-copy h1{font-size:38px}
  .tcp-home-copy>p{font-size:16px}
  .tcp-home-copy .tcp-primary{width:100%;min-width:0}
}


/* v2.0 — brighter residential coastal hero */
.tcp-home-intro{
  background:#f8fbfd;
  padding:34px 32px 30px;
}
.tcp-home-intro-inner{
  min-height:390px;
  border-color:#dbe5ec;
  box-shadow:0 16px 38px rgba(8,46,83,.06);
}
.tcp-home-copy{
  padding:50px 48px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdfe 100%);
}
.tcp-home-copy h1{font-size:55px}
.tcp-home-copy>p{color:#3f5367}
.tcp-home-photo-maine{
  min-height:390px;
  background-image:url('images/home-maine.jpg');
  background-size:cover;
  background-position:42% center;
  filter:saturate(.94) brightness(1.04) contrast(.97);
}
.tcp-home-photo-maine:after{
  background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,0) 18%);
  box-shadow:none;
}
.tcp-services-home{padding-top:30px}
.tcp-services-home .tcp-service-card{background:#fff}
@media(max-width:800px){
  .tcp-home-photo-maine{min-height:260px;background-position:38% center}
}
@media(max-width:520px){
  .tcp-home-photo-maine{min-height:220px;background-position:35% center}
}

/* v2.1 — mobile footer polish */
@media(max-width:900px){
  .tcp-footer-inner{
    grid-template-columns:1fr!important;
    justify-items:center;
    text-align:center;
    gap:18px;
    padding:28px 20px 26px;
  }
  .tcp-footer-brand{
    width:auto;
    justify-content:center;
  }
  .tcp-footer-brand a{
    justify-content:center;
  }
  .tcp-footer nav{
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    justify-content:center;
    align-items:center;
    gap:24px;
    margin:0;
    width:100%;
  }
  .tcp-footer nav a{
    white-space:nowrap;
    display:inline-flex;
  }
  .tcp-copy{
    justify-self:center;
    max-width:320px;
    text-align:center;
    line-height:1.45;
  }
}
@media(max-width:420px){
  .tcp-footer nav{
    gap:17px;
    font-size:12px;
  }
}
/* v2.3 mobile corrections and keyboard access */
.tcp-skip-link{position:absolute;left:16px;top:-100px;z-index:1000;background:#082f55;color:#fff;padding:14px;border-radius:6px}.tcp-skip-link:focus{top:12px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a46b00;outline-offset:3px}
.tcp-header-inner>*{min-width:0}.tcp-home-copy{min-width:0}.tcp-home-trust{color:#536577}.tcp-service-card{min-width:0}.tcp-service-card>div{min-width:0}.tcp-service-card p,.tcp-copy{overflow-wrap:anywhere}
@media(max-width:900px){.tcp-header-inner{grid-template-columns:minmax(0,1fr) auto;gap:12px}.tcp-brand{width:auto}.tcp-header-inner .tcp-login-button{min-width:0}.tcp-footer-inner{width:100%;max-width:100%}}
@media(max-width:800px){.tcp-home-intro{padding:22px 20px 24px}.tcp-home-copy{padding:34px 28px 38px}.tcp-home-copy h1{font-size:44px}}
@media(max-width:520px){.tcp-home-intro{padding:14px 14px 20px}.tcp-home-copy{padding:28px 22px 32px}.tcp-home-copy h1{font-size:38px}.tcp-footer nav{flex-wrap:wrap}.tcp-login-button{font-size:13px}.tcp-home-copy .tcp-primary{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
