:root {
  --town-ink: #183244;
  --town-dark: #112a39;
  --town-muted: #526773;
  --town-paper: #f5f7f7;
  --town-rule: #d5dfe1;
  --town-mint: #a4edda;
}

html { scroll-padding-block-start: var(--mast-height, 76px); }
body { background: var(--town-paper); color: var(--town-ink); }
.mast { position: sticky; inset-block-start: 0; z-index: 10; background: var(--town-dark); border: 0; color: white; }
.nav { min-height: 76px; }
.wordmark { color: white; font-family: inherit; letter-spacing: .04em; }
.wordmark span { color: #b7cbd4; border-inline-start: 1px solid #608390; padding-inline-start: .7rem; font-size: .82rem; }
.nav nav { gap: clamp(11px, 2.8vw, 31px); }
.nav nav a:hover { color: var(--town-mint); text-decoration: underline; text-underline-offset: 5px; }
.nav .nav-contact { border-color: #608390; }
.hero { background: #e5eef0; color: var(--town-ink); }
.hero-grid { width: min(1200px, calc(100% - 64px)); grid-template-columns: .9fr 1.1fr; gap: 44px; padding: 46px 0; }
.hero-copy { padding: 16px 0; }
.hero-location { color: #255d60; letter-spacing: .13em; }
.hero h1 { color: var(--town-dark); font-family: inherit; font-weight: 800; font-size: clamp(3.7rem, 7vw, 6.4rem); margin-bottom: 15px; }
.hero .identity { color: #365663; font-size: .97rem; margin-bottom: 14px; }
.hero .intro { color: #3e5660; }
.hero-photo { min-height: 390px; border: 8px solid white; border-radius: 10px; box-shadow: 0 12px 30px #142d3b19; }
.hero-photo figcaption { right: 9px; bottom: 9px; }
.hero .button:first-child, .listing-empty .button { background: #176860; color: #fff; border-color: #176860; }
.hero .button.secondary { color: #294952; border-color: #889fa7; }
.collection { border-color: var(--town-rule); }
.collection h2, .contact h2 { font-family: inherit; letter-spacing: .02em; }
.section-heading p { color: var(--town-muted); margin-bottom: 24px; }
.neighborhood-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.neighborhood { position: relative; background: #fff; border: 1px solid var(--town-rule); border-top: 4px solid #34877e; border-radius: 7px; padding: clamp(19px,3vw,33px); }
.neighborhood:nth-child(2) { border-top-color: #4c7699; }
.neighborhood .district { color: #3a6a6a; font-weight: 700; font-size: .82rem; margin-bottom: 8px; }
.neighborhood h3 { font-size: clamp(1.55rem,3vw,2.15rem); margin-bottom: 11px; }
.neighborhood details { border-top: 1px solid var(--town-rule); margin: 17px 0 14px; padding-top: 11px; }
.neighborhood summary { cursor: pointer; font-weight: 650; }
.neighborhood details p { color: var(--town-muted); margin: 8px 0 0; }
.text-link { color: #145b57; font-weight: 700; text-underline-offset: 4px; }
.collection.services { padding-block: 30px; }
.services h2 { margin-bottom: 15px; }
.services .cards { border-color: #9ab5bd; }
.services .card { padding: 16px 18px 16px 0; }
.services .card h3 { margin-bottom: 9px; }
.services .card+.card { border-color: var(--town-rule); }
.service-points { margin: 0; padding-left: 1.2em; color: var(--town-muted); }
.service-points li + li { margin-top: 5px; }
.service-points strong { color: var(--town-ink); }
.service-extra { margin-top: 12px; font-size: .94rem; color: var(--town-muted); }
.service-extra summary { cursor: pointer; color: #145b57; font-weight: 700; }
.service-extra p { margin-top: 8px; }
#guide .card { border-radius: 7px; border-color: var(--town-rule); }
.listing-empty { background: #e7eff1; border-color: #cddfe1; }
.contact { background: #d5eaea; color: var(--town-dark); }
.contact .button.secondary { background: #176860; color: white; border-color: #176860; }
footer { background: var(--town-dark); }
.footer-brand { margin-bottom: 8px; color: #fff; }
.footer-disclosure { display: grid; gap: 2px; color: #c5d7df; font-size: .9rem; }
.footer-privacy { margin-top: 14px; color: #deeeef; font-size: .9rem; }
.footer-privacy summary { width: fit-content; cursor: pointer; text-underline-offset: 4px; }
.footer-privacy summary:hover { text-decoration: underline; }
.privacy-copy { max-width: 68ch; color: #c5d7df; }
.privacy-copy p { margin-top: 10px; }
.privacy-copy strong { color: #fff; }
.cookie-settings-button { margin-top: 12px; padding: 5px 10px; background: transparent; color: #deeeef; border-color: #83a1aa; }
.cookie-panel {
  position: fixed;
  inset: auto 14px max(14px, env(safe-area-inset-bottom)) auto;
  width: min(480px, calc(100% - 28px));
  z-index: 20;
  max-height: 72vh;
  overflow: auto;
  padding: 18px;
  border: 1px solid #9db8bf;
  border-radius: 12px;
  background: #f8fbfa;
  color: var(--town-ink);
  box-shadow: 0 12px 32px #112a3930;
  font-size: .94rem;
}
.cookie-panel h2 { margin-bottom: 6px; font-size: 1.08rem; }
.cookie-panel p { margin-bottom: 12px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.cookie-actions button { min-width: 4.5em; padding: 6px 12px; border-color: #91aeb4; background: #e7f0f0; color: var(--town-ink); }
.about-section { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(20px,5vw,72px); }
.about-lead { color: #28675f; font-weight: 650; font-size: 1.15rem; }
.about-portrait { display: block; width: min(100%, 224px); height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid #dbe5df; border-radius: 10px; margin-bottom: 15px; }
.about-copy { color: var(--town-muted); }
.about-copy p:last-child, .news-source p:last-child { margin-bottom: 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,360px),1fr)); gap: 18px; }
.video-card, .video-empty { border-radius: 8px; padding: 22px; background: #fff; border: 1px solid var(--town-rule); }
.video-card .video-privacy { color: var(--town-muted); margin: 0 0 10px; }
.video-toggle { margin: 0 0 12px; background: #e5eff0; border-color: #88a9b0; color: var(--town-ink); }
.video-card > .text-link { display: block; width: fit-content; }
.video-card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--town-dark); margin-bottom: 12px; }
.video-instagram iframe { width: min(100%, 460px); aspect-ratio: 4 / 5; min-height: 440px; background: #fff; }
.video-empty { background: #e7eff1; color: var(--town-muted); }
.video-empty p { color: var(--town-ink); font-weight: 700; margin-bottom: .35em; }
.editorial-group + .editorial-group { margin-top: 28px; }
.editorial-group > h3 { font-size: 1.35rem; margin-bottom: 13px; }
.editorial-group article h3 { font-size: 1.1rem; }
.news-source { background: #edf3f3; border-color: var(--town-rule); }
.news-source p { margin-bottom: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-banner { position: relative; margin: 0; aspect-ratio: 1672 / 780; overflow: clip; }
.hero-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-skyline { display: none; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: --hero-scroll) and (animation-range: exit) {
    .hero-banner { view-timeline-name: --hero-scroll; }
    .hero-skyline {
      display: block;
      position: absolute;
      inset: 0;
      pointer-events: none;
      mask-image: linear-gradient(90deg, transparent 58%, #000 78%);
    }
    .hero-skyline img {
      animation: hero-parallax linear both;
      animation-timeline: --hero-scroll;
      animation-range: exit;
    }
  }
}

@keyframes hero-parallax {
  from { transform: translateY(0); }
  to { transform: translateY(clamp(14px, 4vw, 52px)); }
}
.editorial > h2 { margin-bottom: 26px; padding-right: 110px; }
.note-carousel { position: relative; }
.note-track { margin: 0; padding: 3px 3px 13px; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 30.5%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 3px; scrollbar-width: thin; scrollbar-color: #9eb6af #e5ece9; }
.note-track li { min-width: 0; scroll-snap-align: start; }
.note-track li:last-child { scroll-snap-align: end; }
.note-card { display: grid; grid-template-rows: auto 1fr; height: 100%; overflow: hidden; color: var(--town-ink); background: #fcfcf9; border: 1px solid #d9e1de; border-radius: 10px; text-decoration: none; }
.note-card:hover { border-color: #719489; }
.note-card:focus-visible { outline-offset: -3px; }
.note-art { position: relative; container-type: inline-size; overflow: hidden; background: #f2ecde; }
.note-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.note-art-copy { position: absolute; top: 50%; left: 5.5%; width: 40%; transform: translateY(-50%); color: #193b39; }
.note-art-copy strong { display: block; white-space: pre-line; font-size: clamp(.86rem, 4.7cqi, 2.13rem); line-height: 1.3; letter-spacing: .015em; }
.note-art-copy span { display: block; margin-top: .6em; color: #39554f; font-size: clamp(.67rem, 2.95cqi, 1.13rem); line-height: 1.4; }
.note-card-placeholder { display: block; aspect-ratio: 3 / 2; background: #dbe9e4; }
.note-card-copy { position: relative; padding: 16px 42px 18px 17px; }
.note-card-copy small { display: block; margin-bottom: 7px; color: #37685d; font-size: .82rem; }
.note-card-copy h3 { margin: 0; font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.48; }
.note-card-arrow { position: absolute; right: 14px; bottom: 18px; color: #37685d; }
.note-controls { position: absolute; top: -65px; right: 1px; display: flex; gap: 8px; }
.note-controls[hidden] { display: none; }
.note-controls button { width: 40px; height: 40px; padding: 0; border: 1px solid #90a8a1; border-radius: 50%; background: transparent; color: #20534b; }
.note-controls button:not(:disabled):hover { background: #dcebe5; }
.note-controls button:disabled { opacity: .4; cursor: default; }
.note-preview { display: none; max-width: 800px; margin: 28px auto 0; scroll-margin-top: 20px; }
.note-preview:target { display: block; }
.note-preview > h3 { margin: 14px 0 20px; font-size: clamp(1.45rem, 4vw, 2rem); }
.note-preview > .note-art, .reading > .note-art { margin: 0 0 22px; border-radius: 8px; }
.note-graphic { display: block; width: 100%; height: auto; margin-bottom: 20px; border-radius: 7px; }
.note-reference-image { margin-top: 14px; }
.note-reference-image summary { cursor: pointer; color: #37685d; font-size: .94rem; }
.note-reference-image img { margin-top: 10px; }
.note-prose { line-height: 1.8; }
.note-prose :is(h2, h4) { margin: 23px 0 5px; font-size: 1.11rem; }
.contact .phone-cta { background: transparent; color: #175a55; border-color: #71958e; }
.line-cta { display: inline-flex; align-items: center; gap: 9px; }
.chat-icon { position: relative; display: inline-block; width: 17px; height: 13px; border: 1.5px solid currentColor; border-radius: 5px; }
.chat-icon::after { content: ""; position: absolute; left: 3px; bottom: -3px; width: 4px; height: 4px; background: #176860; border-left: 1.5px solid; border-bottom: 1.5px solid; transform: skewY(-27deg); }

@media (max-width: 810px) {
  .hero-grid { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 18px; padding: 25px 0 27px; }
  .hero-copy { padding: 5px 0; }
  .hero-photo { min-height: 0; aspect-ratio: 1.85; border-width: 5px; }
}
@media (max-width: 660px) {
  html { scroll-padding-block-start: var(--mast-height, 132px); }
  .nav { gap: 8px; }
}
@media (max-width: 580px) {
  .nav { align-items: flex-start; }
  .nav nav a { font-size: .86rem; }
  .neighborhood-grid { grid-template-columns: 1fr; }
  .about-section { grid-template-columns: 1fr; gap: 4px; }
  .collection.services { padding-block: 23px; }
  .services .card, .services .card+.card { padding: 12px 0; }
  .note-track { grid-auto-columns: min(85%, 310px); gap: 12px; }
  .note-controls { top: -59px; }
}
