
:root {
  --forest: #123d30;
  --panel: #ededE6;
  --nav-border: #c1c7b9;
  --side: clamp(1.15rem, 5vw, 5.3rem);
}
body { min-width: 0; }
::selection { color: #143728; background: #d9e8c5; }
input, textarea { caret-color: #325b42; }
a, button, select, summary { touch-action: manipulation; }
h1, h2, h3 { text-wrap: balance; }
.agency-header { border-bottom: 1px solid var(--nav-border); }
.agency-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 5rem;
}
.agency-brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: clamp(6.5rem, 9vw, 8.6rem); height: auto; }
.agency-header { background: var(--paper); }
.agency-bar { padding-block: .5rem; }
.desktop-nav, .head-actions, .footer-main nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.5vw, 2.6rem); }
.desktop-nav a, .head-actions a, .mobile-menu summary, .footer-main nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .93rem;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
}
.desktop-nav a:hover, .desktop-nav [aria-current="page"], .footer-main nav a:hover { text-decoration: underline; }
.head-actions .nav-tour { border: 1px solid var(--emerald); padding: .62rem 1.06rem; }
.nav-tour:hover { color: #fcf8eb; background: var(--accent); }
.mobile-menu { display: none; }
.section-pad { padding-block: clamp(3.1rem, 6.6vw, 6.6rem); }
.detail-link { display: inline-flex; padding: .45rem 0; align-items: center; min-height: 44px; font-weight: 650; text-underline-offset: .27em; }
.listing-gallery figcaption, .office-hero figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding-top: .55rem;
  font-size: .8rem;
  color: #4c5f50;
}

.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.4rem; }
.section-intro p { max-width: 38ch; color: var(--muted); }
.listings-area { background: var(--panel); border-block: 1px solid var(--nav-border); }
.filters {
  display: flex;
  align-items: end;
  gap: .7rem 1.1rem;
  flex-wrap: wrap;
  padding: .65rem 0 1.35rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid #a6b3a1;
}
.filters label { display: grid; gap: .25rem; font-size: .84rem; font-weight: 650; }
.filters select {
  padding: .51rem 2.25rem .51rem .7rem;
  appearance: none;
  background: #f9fbf3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23213c32' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .77rem center / .7rem;
  border: 1px solid #98a996;
  border-radius: 0;
  color: var(--ink);
  font-size: .95rem;
  min-height: 44px;
}
.listing-count { margin-left: auto; font-size: .92rem; align-self: center; }
#clear-filters { font-size: .89rem; }
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.3vw, 2.35rem); }
.card-link { display: block; text-decoration: none; }
.card-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.card-image { overflow: hidden; }
.home-card img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; transition: transform .24s ease-out; }
.card-link:hover img { transform: scale(1.025); }
.card-line { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; margin-top: .78rem; font-size: .89rem; }
.card-line strong { font-size: 1.04rem; }
.home-card h3 { font: 400 clamp(1.8rem, 2.7vw, 2.9rem)/1.1 var(--serif); letter-spacing: -.025em; margin: .24rem 0 .4rem; }
.home-card p { color: var(--muted); font-size: .96rem; }
.home-card p span { padding: 0 .16rem; }
.home-card .detail-link { margin-top: .18rem; }
#no-homes { padding: 1rem 0; }
.resource, .office-hero, .office-close, .tour-grid, .process-grid, .property-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6.4vw, 7rem);
  align-items: center;
}
.resource figure a { display: block; }
.office-hero figure img { width: 100%; height: auto; aspect-ratio: 1.38; object-fit: cover; }
.resource .lead, .office-hero .lead, .office-close .lead, .tour-copy .lead { margin: 1.15rem 0; max-width: 40ch; }
.tour-area { background: #e8ece5; }
.tour-grid { grid-template-columns: .85fr 1.15fr; align-items: start; }
.tour-panel { background: var(--paper); padding: clamp(1.15rem, 2.7vw, 2.6rem); border: 1px solid #bac4af; }
.tour-panel input, .tour-panel select, .tour-panel textarea, #note-form input, #note-form textarea { --field-bg: #fffef9; }
.tour-panel .result { margin-top: 1rem; background: #eef3e5; }
.tour-panel .result h3 { font: 400 2rem/1.1 var(--serif); }
.agency-footer { background: var(--paper); color: var(--ink); border-top: 2px solid var(--gold); }
.footer-main, .footer-fine { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; }
.footer-main { padding-top: 2.1rem; padding-bottom: 1rem; }
.footer-fine { padding-block: .75rem 1.5rem; align-items: start; color: var(--muted); font-size: .79rem; }
.footer-fine p:last-child { max-width: 53ch; text-align: right; }
.crumbs { padding-top: 1.55rem; display: flex; gap: .65rem; align-items: center; color: var(--muted); font-size: .9rem; }
.property-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin: 1.45rem 0 1.55rem; }
.property-heading h1 { max-width: none; font-size: clamp(3.3rem, 6.3vw, 6.3rem); }
.property-heading p { margin-top: .55rem; font-size: 1.05rem; }
.glass-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1rem, 5vw, 5rem); padding-block: clamp(2.2rem, 5vw, 5rem); }
.glass-label { color: var(--forest); font-weight: 650; }
.glass-intro h1 { margin-block: .45rem .9rem; max-width: none; }
.glass-facts { font-weight: 600; }
.glass-facts span { padding-inline: .25rem; color: var(--muted); }
.glass-summary .lead { max-width: 45ch; }
.glass-summary .actions { margin-top: 1.25rem; }
.glass-gallery { padding-bottom: clamp(2.5rem, 5vw, 5rem); }
.glass-gallery h2 { margin-bottom: 1.25rem; font-size: clamp(2.1rem, 3.7vw, 3.5rem); }
.glass-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.68rem, 1.6vw, 1.5rem); }
.glass-photos img { width: 100%; height: auto; }
.glass-photos figcaption { padding-top: .45rem; font-size: .95rem; }
.glass-collection { margin-top: 1.5rem; max-width: 68ch; color: var(--muted); }
.price { display: grid; text-align: right; gap: .2rem; }
.price strong { font: 400 clamp(2rem, 3.4vw, 3.5rem)/1 var(--serif); }
.price span { font-size: .85rem; color: var(--muted); }
.listing-gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(.65rem, 2vw, 1.8rem); }
.listing-gallery img { object-fit: cover; width: 100%; height: clamp(15rem, 30vw, 29rem); }
.property-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.65rem; padding: 1.3rem 0; border-block: 1px solid var(--nav-border); }
.property-stats dt { font-size: .89rem; color: var(--muted); }
.property-stats dd { margin-top: .2rem; font: 400 clamp(1.85rem, 2.7vw, 2.8rem)/1 var(--serif); }
.property-stats small { font: 500 .95rem var(--sans); }
.property-story { grid-template-columns: 1.2fr .8fr; align-items: start; padding-block: clamp(2.4rem, 5vw, 5rem); }
.property-story h2, .office-close h2, .process-grid h2 { max-width: 13ch; }
.property-story .lead { margin: 1.2rem 0; max-width: 43ch; }
.features { padding-left: 1.2rem; }
.features li { padding-block: .2rem; }
.viewing-note { padding: clamp(1.25rem, 2.8vw, 2.4rem); background: var(--panel); display: grid; justify-items: start; gap: .75rem; }
.viewing-note h3, .approach-steps h3 { font: 400 clamp(1.8rem, 2.6vw, 2.7rem)/1.1 var(--serif); letter-spacing: -.025em; }
.office-hero { padding-block: clamp(2.7rem, 5.3vw, 5.4rem); }
.office-hero h1 { max-width: none; font-size: clamp(4.15rem, 7vw, 7.5rem); }
.approach-steps { background: var(--panel); }
.process-grid { grid-template-columns: .85fr 1.15fr; align-items: start; }
.approach-steps ol { list-style: decimal-leading-zero; padding-left: 2.25rem; margin: 0; border-top: 1px solid #9dab99; }
.approach-steps li { padding: 1.15rem .3rem; border-bottom: 1px solid #aab7a6; }
.approach-steps li::marker { color: #48664f; font-variant-numeric: tabular-nums; font-size: .92rem; }
.approach-steps li p { margin-top: .45rem; }
.feature-hero {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 4.6vw, 5rem);
  align-items: center;
  padding-block: clamp(1.8rem, 3.3vw, 3.5rem);
}
.feature-copy { display: grid; gap: clamp(1rem, 1.9vw, 1.75rem); justify-items: start; }
.feature-copy h1 { font-size: clamp(4.6rem, 8.4vw, 8.2rem); line-height: .88; }
.feature-copy .lead { max-width: 35ch; }
.film-trigger { gap: .55rem; }
.film-trigger svg { width: .74rem; }
.feature-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(.5rem, 1.3vw, 1.25rem); }
.feature-pair figcaption { padding-top: .5rem; font-size: .84rem; color: var(--muted); }
.film-band { background: var(--forest); color: var(--paper); border-top: 3px solid var(--gold); }
.film-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1200px;
  padding-block: clamp(2rem, 4.5vw, 4.8rem);
}
.film-copy { display: grid; gap: 1.22rem; justify-items: start; }
.film-copy h2 em { color: #e8c675; }
.film-copy .lead { max-width: 38ch; }
.film-facts { border-block: 1px solid #799687; padding: .7rem 0; font-size: .93rem; }
.film-facts span { color: #e8c675; padding-inline: .35rem; }
.film-copy .btn { color: #252721; background: var(--gold); border-color: var(--gold); }
.film-copy .detail-link { color: var(--paper); }
.film-transcript { width: min(100%, 45ch); }
.film-transcript summary { cursor: pointer; padding-block: .6rem; text-decoration: underline; text-underline-offset: .22em; }
.film-transcript summary::marker { color: #e8c675; }
.film-transcript p { margin-block: .55rem; }
.film-player { width: min(100%, 23rem, 42svh); justify-self: center; }
.film-player video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #12251c; }
.film-player figcaption { margin-top: .5rem; font-size: .83rem; color: #e4e7dd; }
.nav-tour, .detail-link { color: var(--emerald); }
.print-sheet { display: none; }
.guide-page .intro-copy .actions { align-items: center; }
.guide-page .intro-copy .btn { margin: 0; }
.guide-page #note-status { min-height: 1.3rem; }
@media (max-width: 850px) {
  .agency-bar { min-height: 4.3rem; gap: .7rem; }
  .desktop-nav { gap: 1rem; }


  .resource, .office-hero, .office-close, .tour-grid, .process-grid, .property-story { gap: 2rem; }
  .section-intro { align-items: start; }
}
@media (max-width: 700px) {
  .glass-intro { grid-template-columns: 1fr; }
  .glass-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.1rem; }
  .feature-hero, .film-grid { grid-template-columns: 1fr; }
  .feature-hero { gap: 1.45rem; }
  .feature-copy { gap: 1rem; }
  .feature-copy h1 { font-size: clamp(3.65rem, 11vw, 5.1rem); }
  .feature-copy h1 br { display: none; }
  .film-player { grid-row: 1; max-width: 15rem; }
  .desktop-nav { display: none; }
  .head-actions { gap: .7rem; }
  .head-actions .nav-tour { padding: .52rem .7rem; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { list-style: none; cursor: pointer; border-bottom: 1px solid transparent; font-size: .9rem; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] summary { border-color: currentColor; }
  .mobile-menu nav { position: absolute; z-index: 10; right: 0; top: calc(100% + .2rem); background: var(--paper); border: 1px solid var(--nav-border); min-width: 11.5rem; padding: .3rem .85rem; box-shadow: 0 8px 18px #263c2e22; }
  .mobile-menu nav a { display: flex; border-bottom: 1px solid var(--nav-border); }
  .mobile-menu nav a:last-child { border: 0; }
  .resource, .office-hero, .office-close, .tour-grid, .process-grid, .property-story { grid-template-columns: 1fr; }



  .section-intro { flex-direction: column; gap: .55rem; }
  .home-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .home-card img { aspect-ratio: 1.7; }
  .filters { gap: .55rem .65rem; }
  .listing-count { font-size: .84rem; }
  .footer-main, .footer-fine { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .footer-main nav { flex-wrap: wrap; gap: 1rem; }
  .footer-fine p:last-child { text-align: left; }
  .property-heading { align-items: start; flex-direction: column; gap: .95rem; }
  .price { text-align: left; display: flex; align-items: baseline; gap: .6rem; }
  .listing-gallery { grid-template-columns: 1fr; }
  .listing-gallery img { height: auto; aspect-ratio: 1.65; }
  .property-stats { grid-template-columns: repeat(2, 1fr); }
  .office-hero figure img { aspect-ratio: 1.65; }
}
@media (max-width: 370px) {
  .agency-brand { font-size: 1.55rem; gap: .32rem; }

  .head-actions { gap: .36rem; }
  .head-actions .nav-tour { padding-inline: .55rem; font-size: .85rem; }
}
@media print {
  .guide-page > :not(.print-sheet) { display: none !important; }
  .guide-page .print-sheet { display: block; color: #142a1e; background: #fff; }
  .guide-page .print-sheet h1 { font: 27pt/1.1 var(--serif); max-width: none; }
  .guide-page .print-sheet > p { margin: 10pt 0 18pt; }
  .guide-page .print-sheet section { break-inside: avoid; border-bottom: 1px solid #94a594; padding: 6pt 0; }
  .guide-page .print-sheet h2 { font: 600 13pt/1.3 var(--sans); }
  .guide-page .print-sheet section p { min-height: 36pt; white-space: pre-wrap; overflow-wrap: anywhere; }
  @page { margin: 16mm; }
}
