:root{--navy:#0a2b4c;--navy2:#163657;--ink:#192c3e;--muted:#556678;--accent:#4b8eae;--line:#d9e3ec;--pale:#f2f6f9;--cream:#faf8f4;--white:#fff}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:#fff;color:var(--ink);font-family:Georgia,'Times New Roman',serif;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit}a:focus-visible{outline:3px solid #509ab9;outline-offset:4px;border-radius:3px}
.wrap{width:min(1200px,calc(100% - 88px));margin-inline:auto}
.skip-link{position:absolute;top:-60px;left:12px;background:#fff;color:var(--navy);padding:8px;z-index:100}
.skip-link:focus{top:12px}
.site-header{background:#fff;position:relative;z-index:3;border-bottom:1px solid #eff1f3}
.header-inner{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:40px}
.brand{display:block;line-height:0;flex:0 1 auto}
.brand img{display:block;width:clamp(245px,31vw,390px);height:auto;max-height:85px;object-fit:contain;object-position:left center}
nav{display:flex;align-items:center;gap:clamp(22px,3vw,55px);white-space:nowrap}
nav a{font-family:Georgia,serif;text-decoration:none;font-size:17px;color:var(--navy);padding-block:8px}
nav a:hover{text-decoration:underline;text-underline-offset:6px}
.hero{position:relative;min-height:430px;display:flex;align-items:center;isolation:isolate;background:linear-gradient(110deg,#fcfbf9 0%,#f7f9fa 46%,#e8f0f5 100%);overflow:hidden;border-bottom:1px solid #e3eaf0}
/* Restrained architectural arcs provide visual balance without a stock photo. */
.hero::before{content:'';position:absolute;z-index:-1;width:620px;height:620px;right:-155px;top:-160px;border:1px solid rgba(27,77,116,.14);border-radius:50%;box-shadow:0 0 0 74px rgba(235,242,247,.55),0 0 0 75px rgba(27,77,116,.08),0 0 0 158px rgba(241,246,249,.36),0 0 0 159px rgba(27,77,116,.06)}
.hero::after{content:'';position:absolute;z-index:-1;width:210px;height:3px;right:6%;bottom:87px;background:linear-gradient(90deg,transparent,#a9c4d6,transparent);opacity:.62}
.hero-inner{padding-block:70px 74px}
.hero-copy{max-width:595px}
.eyebrow{font-family:Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:.19em;font-weight:700;font-size:11px;color:#497d9c;margin:0 0 10px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{color:var(--navy);font-weight:700;line-height:1.12}
h1{font-size:clamp(48px,5.4vw,79px);letter-spacing:-.035em;margin-bottom:16px}
.small-rule{height:4px;width:70px;background:#4a8aaf;margin-bottom:22px}
.hero-intro{max-width:475px;font-size:clamp(18px,1.8vw,23px);line-height:1.46;margin-bottom:27px;color:#27384a}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 26px;border-radius:6px;background:var(--navy);color:#fff;text-decoration:none;font-size:18px;font-weight:bold;box-shadow:0 8px 22px rgba(11,42,73,.14);transition:background .18s ease,transform .18s ease}
.button:hover{background:#1c4b78;transform:translateY(-1px)}
.section{padding-block:74px}
.section-heading{text-align:center;margin-bottom:44px}
h2{font-size:clamp(32px,3.15vw,46px);letter-spacing:-.025em;margin-bottom:0}
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.service-item{display:flex;align-items:flex-start;gap:18px;padding:12px 8px 14px 0}
.service-item:not(:first-child){border-left:1px solid var(--line);padding-left:26px}
.service-icon{width:58px;height:58px;border-radius:50%;background:#eff5f8;color:#1b4a75;display:flex;align-items:center;justify-content:center;flex:0 0 58px}
.service-icon svg{width:32px;height:32px}
h3{font-size:23px;margin-bottom:7px;letter-spacing:-.014em}
.service-item p{font-size:16px;color:#475567;line-height:1.5;margin-bottom:0}
.about{background:var(--cream);border-top:1px solid #f2eee9;border-bottom:1px solid #f2eee9}
.about-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:90px;align-items:center}
.about-copy h2,.contact-intro h2{margin-bottom:19px}
.about-copy p:not(.eyebrow),.professional p:not(.professional-role){font-size:18px;color:#3a4855;max-width:570px;margin-bottom:0}
.professional{padding:9px 0 9px 48px;border-left:1px solid #cfd8df}
.professional h3{font-size:clamp(26px,2.7vw,37px);letter-spacing:-.02em;margin:14px 0 8px}
.accent-line{display:block;background:#5793b0;height:4px;width:68px}
.professional .professional-role{font:700 12px/1.5 Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:.16em;color:var(--navy2);margin-bottom:19px}
.contact{background:var(--pale);padding-block:70px 48px}
.contact-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:65px;align-items:start}
.contact-intro p:not(.eyebrow){font-size:18px;color:#475567;max-width:350px}
.contact-intro .polish-note{font-weight:bold;color:var(--navy)!important;letter-spacing:.02em;margin-bottom:0}
.contact-details{display:grid;grid-template-columns:1fr;gap:18px;padding-top:6px;min-width:0}
.contact-detail{text-decoration:none;display:block;min-width:0;overflow-wrap:break-word}
.contact-detail strong{overflow-wrap:normal;word-break:normal}
.contact-detail:hover strong{text-decoration:underline;text-decoration-color:#7fa7bd;text-underline-offset:5px}
.detail-label{display:block;font:700 11px/1.8 Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:.14em;color:#61798e;margin-bottom:5px}
.contact-detail strong{display:block;color:var(--navy);font-size:clamp(17px,1.6vw,21px);line-height:1.4}
.privacy-note{font:13px/1.5 Arial,Helvetica,sans-serif;color:#647586;margin-top:36px}
.site-footer{background:var(--navy);color:#f3f6f9}
.footer-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:14px;letter-spacing:.03em}
.site-footer a{color:inherit;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
@media(max-width:970px){.wrap{width:min(100% - 54px,1200px)}.header-inner{gap:18px}.brand img{width:270px}nav{gap:22px}.hero{min-height:425px}.about-grid{gap:45px}.service-grid{gap:12px}.service-item{gap:12px}.service-item:not(:first-child){padding-left:18px}.service-icon{height:48px;width:48px;flex-basis:48px}.service-icon svg{width:26px;height:26px}.service-item h3{font-size:20px}.contact-grid{gap:40px}}
@media(max-width:690px){html{scroll-padding-top:30px}.wrap{width:min(100% - 36px,540px)}.header-inner{min-height:116px;flex-direction:column;justify-content:center;gap:5px;padding:12px 0 8px}.brand img{width:min(310px,77vw)}nav{gap:24px}nav a{font-size:15px;padding:3px 0}.hero{min-height:455px;align-items:flex-start}.hero::before{width:480px;height:480px;top:-155px;right:-335px;opacity:.62}.hero::after{display:none}.hero-inner{padding:67px 0}.hero-copy{max-width:490px}h1{font-size:clamp(47px,10.5vw,65px)}.hero-intro{font-size:19px}.section{padding-block:58px}.section-heading{margin-bottom:23px}.service-grid{grid-template-columns:1fr;gap:8px}.service-item{padding:15px 0}.service-item:not(:first-child){border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:22px}.service-item h3{font-size:23px}.service-icon{height:55px;width:55px;flex-basis:55px}.about-grid,.contact-grid{grid-template-columns:1fr;gap:29px}.professional{border-left:4px solid #94aec0;padding:8px 0 8px 22px}.contact{padding-bottom:34px}.contact-details{grid-template-columns:1fr;gap:20px}.contact-detail strong{overflow-wrap:anywhere}.privacy-note{margin-top:28px}.footer-inner{flex-direction:column;justify-content:center;min-height:110px;gap:5px;text-align:center}}
@media(max-width:390px){nav{gap:18px}.hero{min-height:500px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* Glenmere Taxes navy-and-blue visual refresh */
.site-header{box-shadow:0 3px 16px rgba(5,35,63,.06)}
.hero{min-height:440px;background:linear-gradient(90deg,rgba(6,33,61,.99) 0%,rgba(9,43,76,.97) 34%,rgba(8,43,78,.86) 48%,rgba(8,43,78,.18) 72%,rgba(8,43,78,.02) 100%),url('assets/tax-workspace.webp') right 50%/auto 100% no-repeat,#0b2d51;border-bottom:4px solid #2e729c}
.hero::before,.hero::after{display:none}
.hero-inner{padding-block:68px 76px}
.hero-copy{max-width:690px}
.hero h1{color:#fff;max-width:620px;font-size:clamp(43px,5vw,70px);text-wrap:balance}
.hero .eyebrow{color:#a9cbe2}
.hero-intro{color:#edf5fa;max-width:580px;line-height:1.45}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.button{font-family:Georgia,'Times New Roman',serif;border:1px solid #72b8df;cursor:pointer;background:#236b9f;box-shadow:0 5px 20px rgba(0,0,0,.12)}
.button:hover{background:#2e80b8}
.button-outline{background:rgba(0,0,0,.14);border-color:#e1edf7;box-shadow:none}
.button-outline:hover{background:rgba(255,255,255,.16)}
.services{padding-block:66px 72px}
.section-heading{margin-bottom:29px}
.service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.service-item,.service-item:not(:first-child){display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:22px 16px 26px;background:#fff;border:1px solid #d3e1ed;border-radius:9px;box-shadow:0 8px 25px rgba(9,42,73,.045)}
.service-icon{height:57px;width:57px;flex-basis:auto;background:#e9f2f9;color:#14517f}
.service-item h3{font-size:22px;margin:0;line-height:1.15}
.service-item p{font-size:16px;margin:0;color:#43576c}
.about{background:linear-gradient(115deg,#dfeef7,#eaf3fa 75%,#e2eef6);border:none}
.about-grid{gap:60px}
.professional{border-color:#93b1c6}
.contact{background:#fff}
.contact-grid{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr)}
.contact-details{grid-template-columns:1fr 1fr;gap:20px 25px}
.contact-detail:nth-child(2){grid-column:1/-1;grid-row:2}
.contact-detail:nth-child(3){grid-column:2;grid-row:1}
.contact-detail strong{font-size:clamp(16px,1.6vw,21px);overflow-wrap:anywhere;word-break:normal}
.site-footer{background:linear-gradient(90deg,#092746,#12395e)}
.appointment-dialog{width:min(510px,calc(100vw - 34px));max-height:min(90vh,640px);padding:30px;border:1px solid #c9dbe8;border-radius:15px;box-shadow:0 28px 90px rgba(4,25,45,.32);color:#173650;background:#fff}
.appointment-dialog::backdrop{background:rgba(3,25,45,.66);backdrop-filter:blur(2px)}
.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.dialog-head .eyebrow{margin:0;padding-top:10px}
.dialog-close{border:0;background:#eaf2f9;color:#183b5a;width:35px;height:35px;border-radius:50%;font-size:26px;line-height:1;cursor:pointer}
.appointment-dialog h2{font-size:clamp(30px,4vw,37px);margin:11px 0 12px}
.appointment-dialog p{font-size:17px;color:#506276}
.dialog-actions{display:grid;gap:12px;margin-block:24px}
.dialog-choice{display:flex;align-items:center;gap:15px;border:1px solid #d0e0ec;border-radius:9px;padding:15px 16px;text-decoration:none;color:#0a2b4c;transition:background .15s,border .15s}
.dialog-choice:hover{background:#ebf5fc;border-color:#80b4d5}
.dialog-choice span:nth-child(2){flex:1;min-width:0}
.dialog-choice strong{display:block;font-size:21px}
.dialog-choice small{display:block;font:14px/1.5 Arial,Helvetica,sans-serif;color:#526c82;overflow-wrap:anywhere}
.dialog-choice-icon{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;width:45px;height:45px;background:#e3f0f9;color:#0f5784;font-size:25px}
.dialog-choice>span:last-child{font-size:30px;color:#36678c}
.appointment-dialog .dialog-privacy{font:13px/1.5 Arial,Helvetica,sans-serif;color:#667a8e;margin-bottom:0}
@media(max-width:970px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{background:linear-gradient(90deg,rgba(6,33,61,.99) 0%,rgba(9,43,76,.95) 44%,rgba(8,43,78,.4) 100%),url('assets/tax-workspace.webp') right/auto 100% no-repeat,#0b2d51}.contact-grid{gap:40px}}
@media(max-width:690px){.hero{min-height:470px;background:linear-gradient(90deg,rgba(6,33,61,.97) 0%,rgba(9,43,76,.9) 80%,rgba(8,43,78,.76) 100%),url('assets/tax-workspace.webp') center/cover no-repeat,#0b2d51}.hero-inner{padding-block:61px}.hero h1{font-size:clamp(43px,10.5vw,59px)}.hero-intro{font-size:19px}.button{font-size:17px;padding:13px 20px}.service-grid{grid-template-columns:1fr 1fr;gap:12px}.service-item,.service-item:not(:first-child){padding:19px 10px 22px;gap:9px}.service-item h3{font-size:19px}.service-item p{font-size:14px}.about-grid{gap:30px}.contact-grid{grid-template-columns:1fr}.contact-details{grid-template-columns:1fr;gap:18px}.contact-detail:nth-child(2),.contact-detail:nth-child(3){grid-column:auto;grid-row:auto}.appointment-dialog{padding:23px}}
@media(max-width:390px){.hero{min-height:540px}.hero-actions{align-items:stretch;flex-direction:column}.hero-actions>*{width:100%;font-size:16px}.service-grid{grid-template-columns:1fr}.service-item p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.dialog-choice{transition:none}}

/* Updated public contact details */
.footer-contact{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 18px}
@media(max-width:690px){.footer-contact{justify-content:center;gap:5px 15px}.footer-inner{padding-block:14px}}
