:root {
  color-scheme: light;
  --forest: #142c25;
  --dark: #10251e;
  --leaf: #24513f;
  --sand: #f7f4ec;
  --paper: #fffdf7;
  --gold: #f1cc77;
  --ink: #182b24;
  --muted: #4a6057;
  --line: #d9dcd0;
  font-family: "Trebuchet MS", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(2.85rem, 6.3vw, 5.65rem); }
h2 { font-size: clamp(2.1rem, 3.75vw, 3.55rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
p + p { margin-top: .9rem; }
a { color: var(--leaf); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b17b19; outline-offset: 4px; }
.wrap { width: min(100% - 4rem, 75rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .5rem; left: .5rem; padding: .5rem 1rem; background: var(--gold); transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-head { background: var(--paper); }
.head-inner { min-height: 5.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.15rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; color: var(--forest); white-space: nowrap; font-size: 1.13rem; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.brand-name { display: grid; gap: .1rem; line-height: 1.17; }
.brand-subtitle { color: var(--muted); font-size: .84rem; letter-spacing: 0; }
.brand-mark { width: 2.3rem; height: 2.3rem; border-radius: .65rem; display: grid; place-items: center; color: var(--gold); background: var(--forest); }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.main-nav a { text-decoration: none; font-size: .94rem; font-weight: 700; color: var(--ink); white-space: nowrap; padding: .45rem .75rem; border: 1px solid var(--forest); border-radius: 999px; }
.main-nav a:is(:hover,[aria-current="page"]) { color: var(--forest); background: #e8efe6; }
.button { display: inline-flex; width: fit-content; min-height: 3rem; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: .55rem; align-items: center; justify-content: center; gap: .55rem; color: var(--dark); background: var(--gold); font-weight: 800; text-decoration: none; }
.button:hover { background: #f8dc9a; }
.button-dark { background: var(--forest); color: white; white-space: nowrap; }
.button-dark:hover { background: var(--leaf); }
.button-quiet { color: white; background: transparent; border-color: #a9baab; }
.button-quiet:hover { background: #ffffff18; }
.hero { background: var(--forest); color: white; position: relative; isolation: isolate; }
.hero-photo { position: absolute; inset: 0 0 0 43%; width: 57%; height: 100%; object-fit: cover; object-position: 58% center; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--forest) 36%, #142c25fb 43%, #142c2570 60%, transparent 79%); }
.hero-copy { max-width: 43rem; padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.eyebrow { font-size: .84rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); margin-bottom: .9rem; }
.hero .eyebrow, .story .eyebrow, .contact .eyebrow, .page-head .eyebrow { color: var(--gold); }
.hero-copy h1 { font-size: clamp(2rem, 9.25vw, 2.85rem); }
@media (min-width: 540px) {
  .hero-copy h1 { font-size: clamp(2.85rem, 6.3vw, 4.75rem); }
}
.hero-copy h1 span { display: block; color: var(--gold); }
.lead { font-size: clamp(1.06rem, 1.55vw, 1.22rem); }
.hero-copy .lead, .page-head .lead { margin-top: 1.25rem; max-width: 32rem; color: #eef3ea; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.section { padding-block: clamp(3.3rem, 7vw, 6.25rem); }
.tint { background: var(--sand); }
.section-intro { max-width: 42rem; margin-bottom: 2rem; }
.section-intro p:last-child { margin-top: .85rem; color: var(--muted); }
.service-grid, .area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.auto-strip { padding-block: clamp(2.25rem, 5vw, 3.75rem); border-bottom: 1px solid var(--line); }
.auto-links a:hover { background: #e9eee5; }
.auto-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.auto-service-grid .card p + p { margin-top: 0; }
.auto-service-grid article, .service-details article { scroll-margin-top: 1.2rem; }
.service-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
.service-details article:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 2rem; }
.auto-help { align-items: start; }
.call-list { margin-top: 1.1rem; }
.local-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; padding: clamp(1.25rem, 3vw, 2rem); min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: .9rem; }
.card p, .card ul { color: var(--muted); }
.service-grid .card .text-link { margin-top: auto; }
.card-icon { background: #e6eee3; color: var(--leaf); border-radius: .65rem; padding: .72rem; display: grid; place-items: center; }
.card-icon .icon { width: 1.55rem; height: 1.55rem; }
.text-link { font-weight: 800; }
.story { background: var(--forest); color: white; }
.split { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.story p:not(.eyebrow), .contact p:not(.eyebrow) { color: #e2ece3; }
.story h2 + p, .contact h2 + p, .content h2 + p { margin-top: 1.1rem; }
.story .text-link, .contact a:not(.button) { color: var(--gold); }
.story .text-link { display: inline-block; margin-top: 1.15rem; }
.photo-frame { overflow: hidden; border-radius: .9rem; background: #dce7e6; }
.story .photo-frame img { width: 100%; height: clamp(16rem, 31vw, 23rem); object-fit: cover; object-position: 50% 34%; }
figcaption { margin-top: .68rem; font-size: .87rem; color: var(--muted); }
.story figcaption, .story figcaption a { color: #edf1e6; }
.page-head { background: var(--forest); color: white; padding-block: clamp(3.2rem, 7vw, 6.25rem); }
.page-head h1 { font-size: clamp(2.6rem, 5.8vw, 4.8rem); }
.page-head .lead { max-width: 39rem; }
.content h2 { margin-top: 2.15rem; font-size: clamp(1.75rem, 3vw, 2.65rem); }
.content p { max-width: 65ch; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 1.6rem; }
.history { align-items: start; grid-template-columns: 1.25fr .85fr; }
.history .photo-frame img { width: 100%; }
.history .sources { padding: .8rem 0 0 1.25rem; margin: 0; }
.source-link { color: var(--leaf); }
.list { margin: 0; padding-left: 1.1rem; }
.list li + li { margin-top: .45rem; }
.builders { display: flex; flex-wrap: wrap; gap: .65rem; padding: 0; list-style: none; margin: 0; }
.builders a { display: block; padding: .45rem .83rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); font-weight: 700; }
.towns { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .4rem .5rem; list-style: none; padding: 0; margin: 0; }
.towns li { padding: .25rem .56rem; border-radius: .35rem; background: #e9eee5; }
.contact { background: var(--forest); color: white; }
.contact .split { grid-template-columns: 1.4fr auto; }
.contact .button { font-size: clamp(1.05rem, 2.1vw, 1.38rem); }
.site-foot { background: var(--dark); color: #deeadf; padding: 1.4rem 0; font-size: .91rem; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .45rem 1.2rem; }
.site-foot a { color: #deeadf; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 3rem); }
  .head-inner { flex-wrap: wrap; padding-block: .75rem; gap: .3rem 1rem; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-photo { width: 100%; inset: 0; object-position: 64% 50%; }
  .hero::after { background: linear-gradient(90deg, #10251ef8, #10251eb0 68%, #10251e73); }
  .hero-copy { padding-block: 4rem; }
  .service-grid, .split, .area-grid, .contact .split, .auto-service-grid, .service-details { grid-template-columns: 1fr; }
  .contact .split { gap: 1.35rem; }
  .history figure { max-width: 30rem; }
}
@media (max-width: 370px) {
  .brand { font-size: 1rem; gap: .4rem; }
  .head-inner > .button { font-size: .82rem; padding-inline: .5rem; min-height: 2.55rem; gap: .35rem; }
  .head-inner > .button .icon { width: .95rem; height: .95rem; }
  .brand-subtitle { font-size: .78rem; }
}

.quick-services { max-width: 38rem; padding: clamp(1.45rem, 3.6vw, 2.65rem); }
.quick-services ul { display: grid; gap: .25rem; margin: .45rem 0 0; padding-left: 1.15rem; }
.quick-services a { font-weight: 700; }
.emergency-card { background: var(--forest); color: white; border-color: var(--forest); }
.emergency-card p { color: #e3ece5; }
.emergency-card p + p { margin-top: 0; }
.emergency-card .button { margin-top: .35rem; }
.family-intro { margin-top: clamp(2.6rem, 6vw, 5rem); }
.coverage-copy p { max-width: 76ch; margin-top: 1rem; }
.promise { background: #e8eee5; }
.promise p { margin-top: 1rem; }
.content [id] { scroll-margin-top: 1.25rem; }
.enquiry-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 6vw, 5rem); align-items: start; }
.enquiry-intro a { overflow-wrap: anywhere; }
.enquiry-form { display: grid; gap: .45rem; padding: clamp(1.2rem, 3.5vw, 2.2rem); background: var(--paper); border-radius: .9rem; color: var(--ink); }
.enquiry-form label { font-weight: 700; }
.enquiry-form input, .enquiry-form textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #99aa9f; border-radius: .4rem; padding: .55rem .7rem; margin-bottom: .4rem; }
.enquiry-form textarea { resize: vertical; min-height: 7rem; }
.enquiry-form :is(input, textarea, button):focus-visible { outline: 3px solid #b17b19; outline-offset: 2px; }
.enquiry-form .button { cursor: pointer; font: inherit; font-weight: 800; }
.enquiry-form .button:disabled { cursor: default; opacity: .65; }
.contact .enquiry-form .preview-note { color: var(--muted); font-size: .91rem; margin-top: .2rem; }
.contact-trap { display: none; }
.site-foot { padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px)); }
.floating-call {
  position: fixed;
  z-index: 4;
  right: max(.8rem, env(safe-area-inset-right, 0px));
  bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  padding: .56rem .9rem;
  background: var(--gold);
  color: var(--dark);
  border: 1px solid #aa771e;
  border-radius: .65rem;
  box-shadow: 0 .22rem .9rem #10251e45;
  text-decoration: none;
  line-height: 1.25;
}
.floating-call > span { display: grid; gap: .12rem; }
.floating-call > span > span { font-size: .84rem; }
.floating-call:hover { background: #f8dc9a; text-decoration: underline; }
@media (max-width: 690px) {
  .enquiry-layout { grid-template-columns: 1fr; }
}

.location-panel, .booking-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(1.35rem, 4vw, 3rem);
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid #d6dfd4;
  border-radius: 1.1rem;
  background: #f2f5ee;
}
.location-intro h2, .booking-panel h1, .booking-summary { overflow-wrap: anywhere; }
.location-intro p, .booking-summary { margin-top: 1rem; }
.location-secondary { background: transparent; border: 1px solid #899a91; color: var(--forest); }
.location-secondary:hover { background: #e5ebe0; }
.location-form { display: grid; gap: .5rem; align-content: start; }
.location-form label { font-weight: 700; color: var(--forest); }
.location-form :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  font: inherit;
  color: var(--ink);
  padding: .55rem .75rem;
  margin-bottom: .35rem;
  border-radius: .5rem;
  border: 1px solid #899a91;
  background: white;
}
.location-form .button { justify-self: start; cursor: pointer; }
.booking-panel h1 { font-size: clamp(2rem, 4vw, 3.4rem); color: var(--forest); }
.booking-actions { display: grid; gap: .9rem; align-content: start; }
.booking-phone {
  display: flex;
  align-items: start;
  gap: .85rem;
  padding: 1.25rem;
  border-radius: .75rem;
  background: var(--forest);
  color: white;
  text-decoration: none;
}
.booking-phone:hover { text-decoration: underline; }
.booking-phone strong { display: block; color: var(--gold); font-size: clamp(1.3rem, 4vw, 2rem); }
.booking-phone small, .booking-help { font-size: .94rem; }
@media (max-width: 760px) {
  .location-panel, .booking-panel { grid-template-columns: 1fr; }
  .location-form { grid-row: 1; }
}

.history-opening { background: #f2f5ee; }
.history-hero, .history-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.7rem, 5vw, 4rem); }
.history-hero { align-items: center; }
.history-hero h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); }
.history-lead { margin-top: 1rem; font-size: 1.125rem; color: var(--muted); }
.history-photo { margin: 0; }
.history-photo img { width: 100%; height: auto; border-radius: .75rem; }
.history-photo figcaption { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.history-gallery { display: grid; gap: 1.65rem; align-content: start; }
.history-sources { margin-top: 1rem; }
@media (max-width: 1160px) {
  .main-nav { order: 3; width: 100%; }
  .head-inner { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .history-hero, .history-columns { grid-template-columns: 1fr; }
}

.home-service-dropdown { padding-top: clamp(1.25rem, 3vw, 2.25rem); }
.home-service-dropdown :is(details, .emergency-card) { max-width: 31rem; }
.home-service-dropdown .emergency-card { margin-top: .9rem; padding: clamp(1.1rem, 3vw, 1.7rem); }
.home-service-dropdown details { border: 1px solid #899a91; border-radius: .65rem; background: #f2f5ee; }
.home-service-dropdown summary { padding: .85rem 1.1rem; cursor: pointer; color: var(--forest); font-size: 1.05rem; font-weight: 750; }
.home-service-dropdown summary::marker { color: var(--forest); }
.home-service-dropdown ul { border-top: 1px solid #d6dfd4; margin: 0; padding: .65rem 1.15rem .75rem 2.25rem; }
.home-service-dropdown a { display: inline-block; padding: .25rem 0; }

.domestic-entrance-photo { width: 100%; max-width: 22rem; height: auto; margin-top: 1.35rem; border-radius: .75rem; }

.houlton-area-map { display: block; width: 100%; height: clamp(18rem, 47vw, 26rem); border: 1px solid #d6dfd4; border-radius: .85rem; background: #f2f5ee; }
.houlton-area-gallery { margin-top: clamp(1.75rem, 4vw, 3rem); }
.property-photo-credits { margin-top: 1rem; font-size: .875rem; }
.property-photo-credits summary { cursor: pointer; }

.history-drive { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); gap: clamp(1.4rem, 5vw, 3.5rem); align-items: start; }
.history-drive figure { width: min(100%, 20rem); margin: 0; }
.history-drive video { display: block; width: 100%; height: auto; border-radius: .75rem; background: var(--forest); }
.history-drive figcaption { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) {
  .history-drive { grid-template-columns: 1fr; }
}

.lock-upgrade-copy { margin-bottom: 1.5rem; }
.lock-upgrade-copy h3:first-child { margin-top: 0; }
.lock-upgrade-copy h3 + p { margin-top: .65rem; }
.lock-upgrade-photos figure { margin: 0; min-width: 0; }
.lock-upgrade-photos img { width: 100%; height: clamp(10rem, 22vw, 13rem); object-fit: contain; background: #fff; border: 1px solid #d6dfd4; border-radius: .75rem; }
.lock-upgrade-photos figcaption { margin-top: .45rem; color: var(--muted); font-size: .9rem; }

@media (max-width: 460px) {
  .main-nav { gap: .4rem .28rem; }
  .main-nav a {
    font-size: clamp(.75rem, 3.15vw, .875rem);
    padding-inline: clamp(.25rem, calc(4vw - .62rem), .5rem);
  }
}

@media (max-width: 365px) {
  .main-nav { column-gap: .24rem; font-family: Arial, sans-serif; }
  .main-nav a { padding-inline: .2rem; }
}
