/* September refresh: Maine photography, confident type, fine rules and clear actions. */
:root {
  --pine: #263c31;
  --pine-deep: #152b24;
  --ink: #202e27;
  --muted: #626a63;
  --clay: #8d5f49;
  --clay-dark: #704936;
  --paper: #f7f6f1;
  --linen: #eeece4;
  --sand: #e4e1d6;
  --white: #fffefa;
  --gold: #c5ad83;
  --line: #d7d8ce;
  --shell: 1280px;
}

body { background: var(--paper); }
.shell { width: min(calc(100% - 96px), var(--shell)); }
.section { padding: clamp(72px, 7.5vw, 112px) 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(38px, 4.3vw, 61px); line-height: 1.08; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; }

/* Both complete brand marks sit in a compact, balanced masthead. */
.site-header, .site-header.is-scrolled, .site-header-solid {
  position: sticky;
  top: 0;
  color: var(--ink);
  background: rgba(250,249,245,.97);
  border-bottom: 1px solid rgba(32,46,39,.12);
  box-shadow: none;
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 3px 18px rgba(20,40,29,.04); }
.header-inner { min-height: 90px; flex-direction: row; align-items: center; gap: 28px; padding-block: 10px; }
.header-logos { align-self: auto; gap: 16px; }
.header-logo-frame { width: 122px; height: 61px; }
.team-logo-frame .team-logo-art, .footer-logo-crop .team-logo-art { display: block; width: 100%; height: 100%; }
.brokerage-logo-frame { width: 138px; height: 61px; padding-left: 16px; border-left: 1px solid #d5d6cc; }
.brokerage-logo-frame img { width: 122px; max-height: 56px; object-fit: contain; }
.site-nav {
  position: static;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(13px, 1.6vw, 24px);
  width: auto;
  min-width: 0;
  max-height: none;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .055em;
}
.site-nav > a:not(.nav-cta) { flex: 0 0 auto; padding: 14px 0; border: 0; }
.site-nav > a:not(.nav-cta)::after { display: block; bottom: 8px; height: 1px; }
.site-nav > .nav-cta {
  min-height: 43px;
  margin: 0;
  padding: 10px 16px;
  color: var(--white);
  background: var(--pine-deep);
  border: 1px solid var(--pine-deep);
  border-radius: 0;
}
.site-nav > .nav-cta:hover { background: #3c5242; border-color: #3c5242; transform: none; box-shadow: none; }

/* A small family of controls provides a consistent action hierarchy. */
.button, .hero .button {
  position: relative;
  min-height: 54px;
  min-width: 0;
  gap: 24px;
  padding: 15px 25px;
  border-radius: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .015em;
  box-shadow: none;
  transition: color .25s, background .25s, border-color .25s;
}
.button-primary { color: var(--white); background: var(--pine-deep); border-color: var(--pine-deep); }
.button-primary:hover, .button-primary:focus-visible { background: #3c5242; border-color: #3c5242; }
.button:hover, .button:focus-visible { transform: none; box-shadow: none; }
.button > span[aria-hidden], .action-text > span[aria-hidden] { display: inline-block; transition: transform .3s ease; }
.button:hover > span[aria-hidden], .action-text:hover > span[aria-hidden] { transform: translateX(5px); }
.button-outline { border: 1px solid #7e8a80; background: transparent; }
.button-outline:hover { background: var(--pine-deep); color: var(--white); }
.button-sand { background: var(--white); color: var(--pine-deep); border-color: var(--white); }
.action-text, .inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 44px;
  padding: 9px 0;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .01em;
}
.action-text { color: inherit; }
.action-text:hover, .inline-link:hover { color: var(--clay); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #ad794f; outline-offset: 5px; }

/* The homepage opens with a scene and two clear actions. */
.hero { display: flex; flex-direction: column; justify-content: center; align-items: stretch; min-height: min(810px,calc(100svh - 90px)); }
.hero-image { background-position: center 64%; filter: saturate(.84) contrast(1.06); animation: landscape-drift 24s ease-in-out infinite alternate; }
.hero-overlay { background: linear-gradient(90deg,rgba(11,25,22,.13) 0%,rgba(12,29,25,.25) 33%,rgba(10,26,23,.75) 100%), linear-gradient(0deg,rgba(9,23,19,.72),transparent 55%); }
.hero-layout { display: flex; flex: 1; align-items: center; justify-content: flex-end; padding: 86px 0 75px; text-align: left; }
.hero-copy { width: 65%; max-width: 840px; }
.hero .eyebrow { margin-bottom: 24px; font-size: 12px; font-weight: 500; letter-spacing: .2em; }
.hero h1 { max-width: 850px; margin: 0 0 27px; font-size: clamp(49px,6.4vw,88px); line-height: 1.01; letter-spacing: -.035em; text-wrap: initial; }
.hero-lede { max-width: 510px; margin-bottom: 32px; font-size: 18px; color: #f0f0e7; }
.hero-actions { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 20px 30px; }
.hero .button-primary { color: var(--pine-deep); background: var(--white); border-color: var(--white); }
.hero .button-primary:hover { color: var(--pine-deep); background: #e9dfcb; border-color: #e9dfcb; }
.hero .action-text { color: var(--white); border-color: rgba(255,255,255,.55); }
.hero .action-text:hover { color: #e7cc9d; }
.hero-pathways { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.38); }
.hero-pathways > a { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 25px 45px 28px 0; transition: background .3s; }
.hero-pathways > a + a { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.24); }
.hero-pathways span { font-size: 12px; font-weight: 500; color: #d1d9cd; letter-spacing: .08em; }
.hero-pathways strong { font-family: var(--serif); font-size: clamp(21px,2.1vw,29px); font-weight: 400; line-height: 1.15; }
.hero-pathways b { position: absolute; right: 22px; top: 44px; font-size: 22px; font-weight: 400; transition: transform .3s; }
.hero-pathways > a:hover b { transform: translate(4px,-4px); }
.hero-pathways > a:hover { background: rgba(255,255,255,.04); }

/* The pinboard remains the first section after the entrance. */
.results { background: #eeece3; border-bottom: 1px solid #d7d8ce; }
.results-layout { grid-template-columns: .9fr 1.1fr; gap: 10%; align-items: center; }
.results-copy h2 { max-width: 430px; font-size: clamp(48px,5.6vw,78px); }
.results-copy > p:not(.eyebrow) { max-width: 365px; font-size: 17px; }
.results-copy .map-disclosure { font-size: 13px !important; margin-top: 34px; }
.results .maine-map { width: min(100%,435px); }
.map-more-link { margin-top: 7px; }
.home-intro { min-height: 540px; }
.home-intro::after { background: linear-gradient(90deg,rgba(11,29,22,.97),rgba(16,36,27,.79) 46%,rgba(18,38,26,.16)); }
.home-intro-copy { max-width: 650px; padding-block: 0; }
.home-intro h2 { max-width: 620px; font-size: clamp(49px,6vw,80px); }
.home-intro-grid > div:last-child p:not(.eyebrow) { max-width: 490px; font-size: 18px; }
.home-paths { background: var(--white); }
.home-paths > .shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 11%; }
.home-section-top { margin: 0; }
.home-section-top h2 { font-size: clamp(42px,4.5vw,62px); }
.home-path-grid { display: block; border-top: 1px solid var(--line); }
.home-path, .home-path + .home-path {
  min-height: 0;
  padding: 27px 0 29px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}
.home-path:nth-child(2), .home-path:nth-child(2):hover { background: transparent; }
.home-path:hover, .home-path:focus-visible { transform: none; box-shadow: none; background: transparent; }
.home-path .path-index { margin-bottom: 13px; font-size: 12px; }
.home-path h3 { max-width: none; font-size: clamp(30px,3vw,42px); }
.home-path p { max-width: 430px; margin-bottom: 22px; font-size: 16px; }
.home-path strong { min-height: 34px; font-size: 14px; font-weight: 600; }
.home-path:hover h3 { color: var(--clay); }
.reviews { background: #efeee6; }
.home-review-grid { grid-template-columns: .78fr 1.22fr; gap: 10%; }
.home-review-grid h2 { max-width: 410px; }
.home-review-quotes blockquote { padding-left: 35px; }
.home-review-quotes blockquote p { margin-top: 0; font-size: clamp(28px,3.2vw,44px); }
.home-review-quotes blockquote footer { font-size: 12px; letter-spacing: .05em; font-weight: 500; }
.home-review-source-links { gap: 4px; }
.home-tools, .contact { background: var(--pine-deep); }
.home-tools-layout { grid-template-columns: .9fr 1.1fr; gap: 10%; }
.home-tool-list a { padding: 29px 0; }
.home-tool-list span { font-weight: 500; }
.home-tool-list small { color: #c5cec5; font-size: 15px; }
.team { background: var(--paper); }
.team-photo-wrap > img { box-shadow: none; aspect-ratio: 1; object-position: center; }
.team-grid { gap: 9%; }
.team-values span { font-weight: 500; }
.contact-options .contact-form-option { margin-top: 0; padding: 25px; border: 1px solid #738575; background: transparent; }

/* Buying and selling have one main story and a focused action at the top. */
.interior-hero.refresh-hero { min-height: 560px; padding: 88px 0 86px; color: var(--white); }
.refresh-hero.interior-hero-buy { background: linear-gradient(90deg,rgba(13,34,27,.97),rgba(13,34,27,.81) 40%,rgba(13,34,27,.15)),url('/assets/maine-relief-v1.jpg') 65% 52%/cover; }
.refresh-hero.interior-hero-sell { background: linear-gradient(90deg,rgba(15,28,27,.95),rgba(15,28,27,.7) 45%,rgba(15,28,27,.1)),url('/assets/team-autumn-road.jpg') 65% 52%/cover; }
.refresh-hero .interior-hero-grid { display: block; }
.refresh-hero h1 { max-width: 760px; color: var(--white); font-size: clamp(53px,6.1vw,84px); line-height: 1.04; }
.refresh-hero .interior-lede { max-width: 570px; color: #e4e9df; font-size: 18px; }
.refresh-hero .eyebrow, .hero-route-label { color: #d1ba93; }
.refresh-hero .hero-actions { justify-content: flex-start; }
.refresh-hero .button-primary, .refresh-hero .button-editorial { color: var(--pine-deep); background: var(--white); border-color: var(--white); }
.refresh-hero .button-primary:hover, .refresh-hero .button-editorial:hover { background: #e9dfcb; border-color: #e9dfcb; }
.refresh-hero .action-text { color: var(--white); border-color: #8b9a8d; }
.refresh-hero .action-text:hover { color: #e7cc9d; }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; align-items: start; }
.process-layout > div:first-child { position: sticky; top: 125px; }
.process-layout > div:first-child > p:not(.eyebrow) { color: var(--muted); max-width: 420px; font-size: 17px; }
.process-list { border-top: 1px solid #aeb7aa; }
.process-list > div { padding-block: 22px; }
.process-list strong { font-size: 27px; line-height: 1.2; }
.process-list span { font-size: 12px; font-weight: 500; }
.process-list p { max-width: 530px; font-size: 16px; }
.buying-actions-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 9%; }
.featured-action { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 290px; padding: 34px; border: 1px solid #748371; background: #243e31; }
.featured-action > span { color: #cfb78b; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.featured-action h2 { max-width: 440px; margin-top: 25px; font-size: 52px; }
.featured-action > p:not(.eyebrow) { max-width: 350px; color: #d2dacd; font-size: 16px; }
.featured-action > .eyebrow { color: #cfb78b; font-size: 12px; }
.featured-action .button { margin-top: auto; }
.featured-action > b { position: absolute; right: 30px; top: 30px; font-size: 24px; font-weight: 400; }
.supporting-actions { display: grid; align-content: center; }
.supporting-actions > a { position: relative; display: block; padding: 29px 37px 29px 0; border-bottom: 1px solid #5e7060; }
.supporting-actions > a:first-child { border-top: 1px solid #5e7060; }
.supporting-action > .eyebrow { display: block; margin-bottom: 11px; color: #cfb78b; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.supporting-action .action-text { margin-top: 18px; color: var(--white); border-color: #8b9a8d; }
.supporting-actions h3, .supporting-actions strong { display: block; margin-bottom: 9px; font-family: var(--serif); font-weight: 400; font-size: 31px; }
.supporting-actions p { margin: 0; color: #d2dacd; font-size: 15px; }
.supporting-actions b { position: absolute; top: 31px; right: 0; font-weight: 400; font-size: 22px; }
.supporting-actions a:hover h3 { color: #e7cc9d; }
.action-panel { border-left: 0; border-top: 1px solid #adb6a9; padding: 29px 0 0; background: transparent; }
.action-panel .button { margin-top: 5px; }
.quiet-cta { border-top: 1px solid var(--line); background: #e9e9df; }
.quiet-cta h2 { font-size: clamp(35px,4.2vw,56px); }
.quiet-cta-inner { align-items: center; }

/* Forms and useful tools share the same calm, readable treatment. */
.utility-section, .tool-directory-section, .reviews-first, .team-first, .contact-first { padding-top: 80px; padding-bottom: 94px; background: var(--paper); }
.utility-intro h1, .tool-directory-heading h1, .reviews-first h1, .team-first h1 { font-size: clamp(48px,5vw,71px); }
.request-layout { grid-template-columns: .9fr 1.1fr; gap: 10%; }
.request-card, .calculator-card { padding: 36px; border: 1px solid #d3d8cd; border-top: 2px solid var(--pine-deep); box-shadow: 0 16px 50px rgba(22,43,30,.035); background: var(--white); }
.request-card h2 { font-size: 32px; }
.request-fields input, .request-fields textarea, .field-grid input, .field-grid select { background: #f5f5ef; border: 1px solid #c5cec0; min-height: 52px; border-radius: 0; font-size: 16px; }
.request-fields input:focus, .request-fields textarea:focus, .field-grid input:focus, .field-grid select:focus { outline: 2px solid #566d57; outline-offset: 2px; }
.request-fields label, .field-grid label { font-size: 14px; font-weight: 600; }
.request-card .button { min-height: 56px; }
.contact-direct-panel { margin-top: 70px; padding-top: 32px; border-top: 1px solid #bec8b8; }
.contact-direct-person a { font-size: 14px; }
.tool-directory-heading { max-width: 880px; margin-bottom: 50px; }
.tool-directory-grid { gap: 20px; }
.tool-directory-card { min-height: 248px; padding: 30px; background: var(--white); border: 1px solid #cbd2c3; box-shadow: none; transition: background .25s,border-color .25s; }
.tool-directory-card:hover { background: #e9ede1; transform: none; border-color: #8a9a81; }
.tool-directory-card h2 { font-size: 37px; }
.tool-directory-card p { max-width: 430px; font-size: 16px; }
.tool-directory-grid > .tool-directory-card:last-child { color: var(--white); background: var(--pine-deep); border-color: var(--pine-deep); min-height: 220px; }
.tool-directory-grid > .tool-directory-card:last-child p { color: #d1d9cc; }
.tool-directory-grid > .tool-directory-card:last-child h2 { color: var(--white); }
.tool-directory-grid > .tool-directory-card:last-child span, .tool-directory-grid > .tool-directory-card:last-child b { color: #d1ba93; }
.tool-directory-grid > .tool-directory-card:last-child:hover { background: #2c4635; }
.calculator-result { background: var(--pine-deep); }
.calculator-result span, .calculator-result small { font-size: 12px; }
.calculator-result small { color: #cbd3c7; }
.pinboard-first { padding-top: 65px; padding-bottom: 75px; }
.pinboard-first .maine-map { width: min(100%,490px); }
.quote-wall { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.quote-wall blockquote { min-height: 245px; padding: 32px; border: 1px solid #d0d6c7; box-shadow: none; background: var(--white); }
.quote-wall p { font-size: 30px; margin-top: 29px; }
.quote-wall footer { font-weight: 500; letter-spacing: .035em; font-size: 12px; }
.featured-facebook-reviews { margin: 64px 0 54px; border-top: 1px solid #c8cfc0; }
.featured-reviews-heading { display: grid; grid-template-columns: minmax(210px,.75fr) minmax(0,1.65fr); gap: 54px; padding: 44px 0 20px; }
.featured-reviews-heading h2 { margin: 0; font-size: clamp(39px,4.4vw,66px); }
.featured-review-story { display: grid; grid-template-columns: minmax(210px,.75fr) minmax(0,1.65fr); gap: 54px; padding: 48px 0 54px; border-bottom: 1px solid #c8cfc0; }
.featured-review-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.featured-review-meta strong { margin-top: 12px; color: var(--pine-deep); font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -.02em; }
.featured-review-story blockquote { margin: 0; }
.featured-review-opening { max-width: 850px; margin: 0 0 28px; color: var(--pine-deep); font-family: var(--serif); font-size: clamp(31px,3.2vw,48px); line-height: 1.14; letter-spacing: -.025em; }
.featured-review-copy { max-width: 850px; columns: 2; column-gap: 40px; }
.featured-review-copy p { break-inside: avoid; margin: 0 0 1.15em; color: #3f4942; font-size: 17px; line-height: 1.72; }
.review-stars { margin-top: 11px; color: #a87836; font-size: 17px; letter-spacing: .12em; }
.review-destinations { gap: 35px; }
.review-destinations a { min-height: 58px; font-weight: 600; }
.team-story-grid img { filter: none; aspect-ratio: .95; }
.team-story-grid { gap: 8%; }

/* Logos sit on the footer surface rather than inside mismatched tiles. */
.site-footer { color: var(--ink); background: #efeee7; border-top: 1px solid #d3d9cb; }
.footer-main { grid-template-columns: .85fr 1.15fr; padding: 62px 0 48px; gap: 9%; }
.footer-brandmarks { max-width: 330px; gap: 22px; }
.footer-brandmarks > span { max-width: 170px; background: transparent; }
.footer-rom-logo img { width: 100%; }
.footer-brand p, .footer-links a { color: #536154; }
.footer-brand p { max-width: 350px; font-size: 14px; }
.footer-links { gap: 28px; }
.footer-links span { color: var(--pine-deep); font-size: 12px; font-weight: 600; }
.footer-links a:hover { color: var(--clay); }
.footer-bottom { padding-block: 22px; border-top: 1px solid #d3d9cb; color: #606b60; font-size: 12px; }

/* Motion keeps the words readable from the moment they enter the viewport. */
html.motion-ready .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
html.motion-ready .reveal-on-scroll.is-visible { animation: section-rise .6s cubic-bezier(.2,.7,.25,1) both; animation-delay: var(--reveal-delay,0ms); }
.hero-copy > .eyebrow, .hero-copy > h1, .hero-copy > .hero-lede, .hero-copy > .hero-actions, .interior-hero-grid > div:first-child { animation-name: title-arrive; animation-duration: .8s; }
@keyframes title-arrive { from { opacity: .72; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@keyframes section-rise { from { transform: translateY(18px); } to { transform: translateY(0); } }
@keyframes landscape-drift { from { transform: scale(1.035); } to { transform: scale(1); } }

@media (max-width:1100px) {
  .shell { width: calc(100% - 64px); }
  .header-inner { min-height: 80px; gap: 22px; padding-block: 10px; }
  .header-logos { gap: 11px; }
  .header-logo-frame { width: 100px; height: 50px; }
  .brokerage-logo-frame { width: 111px; height: 50px; padding-left: 11px; }
  .brokerage-logo-frame img { width: 100px; }
  .site-nav { gap: 14px; font-size: 12px; }
  .site-nav > .nav-cta { padding-inline: 12px; }
  .hero { min-height: min(760px,calc(100svh - 80px)); }
  .hero-layout { padding: 84px 0 65px; }
  .hero-copy { width: 67%; }
  .hero h1 { font-size: clamp(49px,6.3vw,75px); }
  .home-paths > .shell { gap: 8%; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand { display: flex; align-items: center; gap: 50px; }
  .footer-brandmarks { width: 310px; flex: 0 0 310px; }
  .footer-brand p { margin: 0; }
}
@media (max-width:880px) {
  .header-inner { flex-direction: column; gap: 0; padding: 7px 0 0; }
  .header-logos { align-self: center; }
  .site-nav { width: 100%; overflow-x: auto; overflow-y: hidden; justify-content: center; gap: 23px; padding: 0 0 4px; font-size: 12px; scrollbar-width: none; }
  .site-nav > a { flex: 0 0 auto; }
  .site-nav > .nav-cta { min-height: 34px; padding-block: 7px; }
  .hero { min-height: 680px; }
  .hero-copy { width: 72%; }
  .hero h1 { font-size: clamp(48px,7.1vw,64px); }
  .hero-pathways > a { padding-right: 35px; }
  .hero-pathways > a + a { padding-left: 20px; }
  .hero-pathways b { right: 12px; }
  .request-layout { grid-template-columns: 1fr; gap: 32px; }
  .request-layout .utility-intro { max-width: 680px; }
}
@media (max-width:700px) {
  .shell { width: calc(100% - 40px); }
  .section { padding-block: 66px; }
  .site-nav { justify-content: flex-start; gap: 24px; }
  .hero { min-height: 720px; }
  .hero-image { background-position: left center; }
  .hero-overlay { background: linear-gradient(0deg,rgba(9,25,20,.94),rgba(12,29,23,.65) 54%,rgba(16,31,24,.25)); }
  .hero-layout { justify-content: flex-start; align-items: flex-end; padding: 110px 0 42px; }
  .hero-copy { width: 100%; max-width: 530px; }
  .hero h1 { font-size: clamp(46px,10.5vw,65px); }
  .hero .eyebrow { font-size: 11px; letter-spacing: .14em; }
  .hero-lede { max-width: 340px; font-size: 17px; }
  .hero-actions, .interior-hero .hero-actions { display: flex; width: auto; justify-content: flex-start; flex-direction: row; align-items: center; gap: 15px 25px; }
  .hero .button, .interior-hero .button { width: auto; padding-inline: 22px; }
  .hero-pathways { display: block; padding-bottom: 8px; }
  .hero-pathways > a, .hero-pathways > a + a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 20px; min-height: 72px; padding: 15px 32px 15px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .hero-pathways span { font-size: 11px; grid-column: 1; }
  .hero-pathways strong { font-size: 23px; grid-column: 1; }
  .hero-pathways b { top: 27px; right: 4px; }
  .results-layout, .home-paths > .shell, .home-review-grid, .home-tools-layout, .process-layout, .buying-actions-layout { grid-template-columns: 1fr; gap: 38px; }
  .results-copy h2 { max-width: 400px; font-size: 51px; }
  .results-copy > p:not(.eyebrow) { max-width: 460px; }
  .results .maine-map { width: min(100%,380px); }
  .home-intro { min-height: 500px; }
  .home-intro::after { background: linear-gradient(90deg,rgba(11,29,22,.94),rgba(16,36,27,.58)); }
  .home-intro h2 { font-size: 52px; max-width: 360px; }
  .home-intro-grid > div:last-child p:not(.eyebrow) { max-width: 390px; font-size: 17px; }
  .home-section-top h2 { max-width: 450px; }
  .home-path h3 { font-size: 33px; }
  .home-review-grid h2 { margin-bottom: 24px; }
  .home-review-quotes blockquote { padding: 24px 0; border-left: 0; }
  .home-review-quotes blockquote p { font-size: 31px; }
  .home-tool-list strong { font-size: 27px; }
  .home-tool-list small { font-size: 14px; }
  .team-copy h2 { font-size: 43px; }
  .interior-hero.refresh-hero { min-height: 520px; padding: 72px 0; }
  .refresh-hero h1 { max-width: 560px; font-size: clamp(48px,10.5vw,68px); }
  .refresh-hero .interior-lede { font-size: 17px; max-width: 440px; }
  .refresh-hero.interior-hero-buy { background: linear-gradient(90deg,rgba(13,34,27,.93),rgba(13,34,27,.58)),url('/assets/maine-relief-v1.jpg') 60% center/cover; }
  .refresh-hero.interior-hero-sell { background: linear-gradient(90deg,rgba(15,28,27,.94),rgba(15,28,27,.6)),url('/assets/team-autumn-road.jpg') 32% center/cover; }
  .process-layout > div:first-child { position: static; }
  .process-list > div { grid-template-columns: 29px 1fr; gap: 7px 12px; }
  .process-list strong { font-size: 25px; }
  .process-list p { font-size: 15px; }
  .featured-action { min-height: 300px; padding: 28px; }
  .featured-action h2 { font-size: 43px; }
  .quiet-cta-inner { align-items: flex-start; gap: 27px; }
  .utility-section, .tool-directory-section, .reviews-first, .team-first, .contact-first { padding-top: 51px; padding-bottom: 67px; }
  .utility-intro h1, .tool-directory-heading h1, .reviews-first h1, .team-first h1 { font-size: clamp(44px,10.5vw,60px); }
  .request-card, .calculator-card { padding: 26px 22px; }
  .request-card h2 { font-size: 29px; }
  .request-card .button { padding-inline: 12px; gap: 12px; }
  .tool-directory-grid { grid-template-columns: 1fr; }
  .tool-directory-card, .tool-directory-grid > .tool-directory-card:last-child { min-height: 230px; grid-column: auto; }
  .tool-directory-card h2 { font-size: 33px; }
  .quote-wall { grid-template-columns: 1fr; }
  .quote-wall blockquote { min-height: 225px; padding: 28px; }
  .quote-wall p { font-size: 29px; }
  .featured-reviews-heading,
  .featured-review-story { grid-template-columns: 1fr; gap: 24px; }
  .featured-review-story { padding: 38px 0 44px; }
  .featured-review-meta strong { font-size: 23px; }
  .featured-review-copy { columns: 1; }
  .review-destinations { gap: 0; }
  .footer-main { padding: 45px 0 34px; }
  .footer-brand { display: block; }
  .footer-brandmarks { max-width: 310px; width: 100%; }
  .footer-brand p { margin-top: 20px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .footer-links a { font-size: 13px; }
  .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.motion-ready .reveal-on-scroll, html.motion-ready .reveal-on-scroll.is-visible,
  .hero-image, .hero-copy > *, .interior-hero-grid > * { animation: none !important; opacity: 1; transform: none; }
  .home-intro::before { transition: none; transform: none; }
  html.motion-ready .map-card .sale-pin { opacity: 1; animation: none; }
}

/* Brokerage affiliation: preserve the official artwork and keep the header uncluttered. */
.leadingre-section { background: #fff; }
.leadingre-layout { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(36px,7vw,100px); }
.leadingre-copy h2 { max-width: 620px; }
.leadingre-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); }
.leadingre-copy .leadingre-lede { color: var(--ink); font-size: 19px; }
.leadingre-copy .inline-link { margin-top: 12px; }
.leadingre-affiliation { padding-block: 38px 28px; border-block: 1px solid #d9d5ca; text-align: center; }
.leadingre-affiliation > .eyebrow { display: block; margin-bottom: 30px; font-size: 10px; }
.leadingre-logo-link { display: block; }
.leadingre-logo-link img { display: block; width: 100%; height: auto; object-fit: contain; }
.leadingre-logo-link:focus-visible { outline: 2px solid var(--clay); outline-offset: 8px; }
.leadingre-affiliation > p { margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.footer-network { max-width: 290px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #d9d5ca; }
.footer-network .leadingre-logo-link { width: min(100%,230px); }
.footer-brand .footer-network > p { margin: 14px 0 0; font-size: 11px; line-height: 1.65; }
@media (max-width:700px) {
  .leadingre-layout { grid-template-columns: 1fr; gap: 36px; }
  .leadingre-copy h2 { font-size: 42px; }
  .leadingre-affiliation { padding-block: 28px 22px; }
  .leadingre-affiliation > .eyebrow { margin-bottom: 24px; }
  .leadingre-affiliation > p { margin-top: 18px; }
}

/* September 24: a shorter, photography-led journey and fully visible navigation. */
.section { padding-block: clamp(62px,6.3vw,88px); }
h2 { font-size: clamp(36px,4.05vw,56px); }
.header-logos { background: transparent; padding-inline: 0; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; background: var(--gold); transition: right .25s; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { right: 0; }
.hero-image { background-image: url('/assets/team-home-shoreline-20261013.jpg'); }
.hero { min-height: 640px; }
.hero-layout { padding-block: 74px 64px; }
.results-layout { gap: 8%; }
.results-copy h2 { font-size: clamp(45px,5.1vw,67px); }
.results .maine-map { width: min(100%,405px); }
.home-team { background: var(--paper); }
.home-team .team-grid { grid-template-columns: 1fr 1fr; gap: 9%; }
.home-team .team-photo-wrap { margin: 0; max-width: 510px; }
.home-team .team-photo-wrap img { aspect-ratio: 1.16; width: 100%; height: auto; object-fit: cover; object-position: center 43%; }
.home-team .team-copy h2 { max-width: 510px; font-size: clamp(39px,4.2vw,58px); }
.home-team .team-copy > p:not(.eyebrow) { max-width: 500px; color: var(--muted); font-size: 17px; }
.home-team .inline-link { margin-top: 8px; }
.photo-paths { background: #e9e8df; }
.photo-paths > .shell { display: block; }
.section-title-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 34px; }
.section-title-row h2 { margin-bottom: 0; max-width: 650px; }
.section-title-row > p { margin: 0; color: var(--muted); flex-shrink: 0; }
.photo-path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.photo-path { position: relative; display: flex; align-items: end; isolation: isolate; overflow: hidden; min-height: 370px; padding: 36px; color: var(--white); background: var(--pine-deep); }
.photo-path::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,rgba(10,27,21,.92),rgba(10,27,21,.16) 76%); }
.photo-path > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.65,.3,1); }
.photo-path:first-child > img { object-position: 50% 42%; }
.photo-path:last-child > img { object-position: 50% 62%; }
.photo-path:hover > img, .photo-path:focus-visible > img { transform: scale(1.045); }
.photo-path-copy { width: 100%; }
.photo-path .eyebrow { display: block; color: #eee8dc; margin-bottom: 12px; }
.photo-path h3 { margin-bottom: 27px; font-size: clamp(34px,3.5vw,48px); }
.photo-path-action { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid #ffffff70; font-size: 14px; font-weight: 600; }
.photo-path-action > span { font-size: 24px; line-height: 1; transition: transform .25s; }
.photo-path:hover .photo-path-action > span { transform: translateX(5px); }
.reviews { background: var(--paper); }
.home-review-grid { grid-template-columns: .8fr 1.2fr; gap: 10%; align-items: center; }
.home-review-quotes .lead-home-review { position: relative; padding: 0 0 0 30px; border-left: 1px solid #c6b694; }
.lead-home-review .quote-mark { display: block; color: var(--clay); font-family: var(--serif); font-size: 85px; line-height: .6; margin-bottom: 12px; }
.home-review-quotes .lead-home-review p { font-size: clamp(27px,2.7vw,37px); line-height: 1.35; letter-spacing: -.02em; margin-bottom: 26px; }
.home-review-quotes .lead-home-review footer { display: flex; flex-direction: column; gap: 4px; text-transform: none; color: var(--ink); font-size: 15px; font-weight: 600; }
.lead-home-review footer span { color: var(--muted); font-size: 12px; font-weight: 400; }
.home-review-quotes > .inline-link { margin: 26px 0 0 30px; }
.home-review-source-links { margin-top: 22px; gap: 9px; }
.home-review-source-links a { color: var(--muted); font-size: 12px; font-weight: 500; }
.home-tools { padding-block: 68px; }
.home-tools h2 { max-width: 390px; }
.home-tool-list a { padding-block: 22px; }
.home-tool-list strong { font-size: clamp(25px,2.6vw,34px); }
.contact { padding-block: 74px; color: var(--ink); background: #e9e8df; }
.contact-heading > p:not(.eyebrow) { color: var(--muted); }
.contact .warm-eyebrow { color: var(--clay-dark); }
.contact-options { border: 0; }
.contact-options .contact-form-option { color: var(--white); background: var(--pine-deep); border-color: var(--pine-deep); padding: 23px 25px; }
.contact-options .contact-form-option:hover { background: #2f493a; }
.contact-options .contact-form-option span { color: #e4d7bd; }
.contact-options .contact-form-option strong { color: var(--white); }
.home-direct-contact { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid #c9cec0; }
.home-direct-contact > div:first-child { display: flex; flex-direction: column; }
.home-direct-contact span { color: var(--muted); }
.home-direct-contact strong { color: var(--ink); font-size: 23px; }
.direct-actions { display: flex; gap: 10px; }
.contact-options .direct-actions a { display: flex; align-items: center; justify-content: center; min-width: 54px; min-height: 44px; padding: 8px; border: 1px solid #9ba994; font-size: 13px; }
.contact-options .direct-actions a:hover { background: #d9e0d3; }
.refresh-hero.interior-hero-buy { background-image: linear-gradient(90deg,rgba(12,30,24,.92),rgba(12,30,24,.66) 48%,rgba(12,30,24,.12)),url('/assets/team-aerial-lake.jpg'); background-position: center,50% 38%; }
.refresh-hero.interior-hero-sell { background-image: linear-gradient(90deg,rgba(12,30,24,.93),rgba(12,30,24,.74) 46%,rgba(12,30,24,.14)),url('/assets/team-autumn-road.jpg'); background-position: center,50% 61%; }
.interior-hero.refresh-hero { min-height: 505px; padding-block: 76px; }
.refresh-hero h1 { font-size: clamp(49px,5.6vw,76px); }
.process-layout { gap: 8%; }
.process-list > div { padding-block: 20px; }
.process-list strong { font-size: 26px; }
.selling-value .editorial-split { align-items: center; }
.selling-value h2 { max-width: 460px; }
.team-first { padding-block: 65px; }
.team-story-grid img { aspect-ratio: 1.05; }
.quiet-cta { padding-block: 56px; }
.quiet-cta h2 { font-size: clamp(34px,3.8vw,49px); }
.footer-main { padding-block: 48px 38px; }
.footer-brandmarks { max-width: 310px; }
.inline-link > span[aria-hidden] { transition: transform .25s; }
.inline-link:hover > span[aria-hidden] { transform: translateX(4px); }
@media (min-width:701px) and (max-width:1050px) {
  .header-inner { flex-direction: column; gap: 2px; padding-block: 7px 3px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 12px; overflow: visible; }
  .header-logos { align-self: center; }
  .hero-copy { width: 72%; }
  .section-title-row > p { display: none; }
  .photo-path { min-height: 330px; padding: 28px; }
}
@media (max-width:700px) {
  html { scroll-padding-top: 152px; }
  .header-inner { width: calc(100% - 32px); min-height: 0; gap: 0; padding-block: 4px 0; }
  .site-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: 100%; gap: 0 7px; overflow: visible; white-space: normal; text-align: center; padding-block: 0 4px; font-size: 10.5px; letter-spacing: .035em; }
  .site-nav > a:not(.nav-cta), .site-nav > .nav-cta { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 7px 2px; line-height: 1.25; }
  .site-nav > .nav-cta { white-space: normal; letter-spacing: 0; font-size: 10px; }
  /* Keep the active rule inside its own 44px tap target, never over the next row. */
  .site-nav > a:not(.nav-cta)::after { bottom: 4px; left: 18%; right: 18%; height: 1px; opacity: 0; transition: opacity .2s ease; }
  .site-nav > a[aria-current="page"]::after,
  .site-nav > a:focus-visible::after { right: 18% !important; opacity: 1; }
  .hero { min-height: 0; }
  .hero-image { background-position: 43% center; animation: none; transform: none; }
  .hero-overlay { background: linear-gradient(90deg,rgba(12,30,24,.73),rgba(12,30,24,.48)),linear-gradient(0deg,rgba(12,30,24,.92),transparent 70%); }
  .hero-layout { padding: 62px 0 31px; }
  .hero h1 { font-size: clamp(43px,10.7vw,61px); line-height: 1.06; margin-bottom: 23px; }
  .hero h1 br { display: none; }
  .hero .eyebrow { max-width: 300px; font-size: 10px; line-height: 1.5; margin-bottom: 22px; }
  .hero-lede { font-size: 16px; max-width: 310px; margin-bottom: 25px; }
  .hero-actions { gap: 8px 22px; }
  .hero-pathways { padding-bottom: 12px; }
  .hero-pathways > a, .hero-pathways > a + a { min-height: 67px; padding-block: 13px; }
  .hero-pathways strong { font-size: 21px; }
  .hero-pathways b { top: 24px; }
  .results-copy h2 { font-size: 46px; max-width: 340px; }
  .results-layout { gap: 25px; }
  .results-copy .map-disclosure { margin-top: 20px; }
  .home-team .team-grid { grid-template-columns: 1fr; gap: 30px; }
  .home-team .team-photo-wrap { max-width: none; }
  .home-team .team-photo-wrap img { aspect-ratio: 1.2; }
  .home-team .team-copy h2 { font-size: 42px; }
  .home-team .team-copy > p:not(.eyebrow) { font-size: 16px; }
  .section-title-row { display: block; margin-bottom: 25px; }
  .section-title-row > p { display: none; }
  .photo-path-grid { grid-template-columns: 1fr; gap: 18px; }
  .photo-path { min-height: 305px; padding: 28px; }
  .photo-path h3 { font-size: 35px; }
  .home-review-grid { grid-template-columns: 1fr; gap: 38px; }
  .home-review-grid h2 { font-size: 43px; }
  .home-review-quotes .lead-home-review { padding-left: 22px; }
  .home-review-quotes .lead-home-review p { font-size: 28px; }
  .home-review-quotes > .inline-link { margin-left: 22px; gap: 15px; font-size: 13px; }
  .contact { padding-block: 56px; }
  .contact .contact-grid { gap: 28px; }
  .home-direct-contact strong { font-size: 22px; }
  .direct-actions { gap: 8px; }
  .contact-options .direct-actions a { min-width: 49px; }
  .interior-hero.refresh-hero { min-height: 460px; padding-block: 58px; }
  .refresh-hero.interior-hero-buy { background-position: center,50% center; }
  .refresh-hero.interior-hero-sell { background-position: center,50% 62%; }
  .refresh-hero h1 { font-size: 48px; }
  .team-first { padding-block: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .photo-path > img { transform: none !important; }
}
