:root {
  color-scheme: light;
  --ink: #263629;
  --paper: #f8f6ee;
  --green: #213c30;
  --sage: #e7ebdf;
  --muted: #526153;
  --serif: Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #b36842; outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.07; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.75rem); max-width: 18ch; letter-spacing: -.075em; }
h2 { font-size: clamp(2.45rem, 5vw, 5rem); letter-spacing: -.05em; }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
.wrap { width: min(100% - clamp(2rem, 8vw, 9rem), 1320px); margin-inline: auto; }
.header, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 1.25rem/1.15 var(--serif); text-decoration: none; }
.brand span { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; flex: none; border: 1px solid currentColor; border-radius: 50%; font: .8rem var(--serif); }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .2rem clamp(.65rem, 3vw, 2.3rem); }
nav a, .language { text-decoration: none; font-size: .9rem; min-height: 44px; display: inline-flex; align-items: center; }
nav a:hover, .language:hover { text-decoration: underline; text-underline-offset: .25em; }
.language { border: 1px solid #a9ae9e; padding-inline: .85rem; border-radius: 2rem; }
.hero { display: grid; align-items: end; min-height: clamp(33rem, 75svh, 58rem); color: #fffdf2; background: linear-gradient(90deg, #172d22e8, #172d225c 66%, #172d2222), linear-gradient(0deg, #172d22a0, transparent 65%), #304b3a url('valley.jpg') center 53% / cover; }
.hero-inner { padding-block: clamp(4rem, 11vw, 9rem) clamp(3.25rem, 8vw, 7rem); }
.eyebrow { font-size: .875rem; letter-spacing: .14em; font-weight: 650; margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 29ch; margin-top: 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.3rem; margin-top: 1.6rem; border-radius: 2rem; font-weight: 650; text-decoration: none; text-align: center; }
.light { background: #f5edda; color: #263629; }
.light:hover { background: #fff; }
.dark { background: var(--green); color: #fff; }
.dark:hover { background: #345849; }
.services, .quercia-inner, .contact { padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.section-intro, .quercia-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(1.35rem, 6vw, 6rem); }
.section-intro > p, .quercia p:not(.eyebrow) { max-width: 39ch; color: var(--muted); }
.quercia { background: var(--sage); }
.quercia img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #adb5a0; }
figcaption { color: var(--muted); font-size: .8rem; margin-top: .4rem; }
.quercia h2, .contact h2 { margin-bottom: 1rem; }
.contact { color: #fffdf2; background: var(--green); text-align: center; }
.contact p { max-width: 40ch; margin-inline: auto; }
.footer p { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) {
  .header { display: grid; grid-template-columns: 1fr auto; gap: .35rem .6rem; }
  .header nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; column-gap: 1.1rem; border-top: 1px solid #d9ddcf; margin-top: .25rem; }
  .language { grid-column: 2; grid-row: 1; }
  .section-intro, .quercia-inner { grid-template-columns: 1fr; }
  .hero { background-position: center, center, 61% center; }
}
@media (max-width: 540px) {
  .footer { align-items: flex-start; flex-direction: column; }
  .hero { min-height: 34rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(2rem, 5vw, 4rem); }
.package { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.2rem, 2.5vw, 2.2rem); background: #fffdf6; border: 1px solid #d7ddce; border-top: 3px solid var(--green); }
.package > p, .package li, .example p { color: var(--muted); }
.package > p { margin-top: .8rem; }
.package h4 { margin: 1.3rem 0 .5rem; font-size: .95rem; }
.package ul { margin: 0 0 1.5rem; padding-left: 1.15rem; }
.package li + li { margin-top: .5rem; }
.example { width: 100%; margin-top: auto; padding: .85rem 1rem; background: var(--sage); }
.example h4 { margin: 0 0 .35rem; }
.package .button { margin-top: 1.25rem; }
.visit, .story, .faq { padding-block: clamp(3.5rem, 8vw, 7rem); }
.visit { background: #eeece1; }
.visit-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.5rem; padding-left: 1.3rem; margin-block: 2rem; }
.visit-steps li { padding-left: .25rem; }
.visit-steps li::marker { color: var(--green); font-weight: 700; }
.visit-steps p { margin-top: .65rem; }
.visit-report { max-width: 48rem; padding: 1rem 1.25rem; border-left: 3px solid var(--green); background: var(--paper); }
.visit-report figcaption { margin: 0; font-size: .95rem; font-weight: 700; }
.visit-report blockquote { margin: .5rem 0 0; }
.story, .faq { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.3rem, 6vw, 6rem); align-items: start; }
.story-body p + p { margin-top: 1rem; }
.faq details { border-top: 1px solid #a5af9f; }
.faq details:last-child { border-bottom: 1px solid #a5af9f; }
.faq summary { cursor: pointer; font-weight: 650; padding-block: .9rem; }
.faq details p { padding: 0 0 1rem 1rem; color: var(--muted); }
@media (max-width: 900px) {
  .package-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .visit-steps, .story, .faq { grid-template-columns: 1fr; }
}

.pool { display: grid; grid-template-columns: 1fr 1.2fr; align-items: start; gap: clamp(1.5rem, 6vw, 6rem); padding-block: 0 clamp(3.5rem, 8vw, 7rem); }
.pool h2 + p { color: var(--muted); margin-top: 1rem; max-width: 40ch; }
.pool-checklist { border: 1px solid #d7ddce; padding: clamp(1.2rem, 3vw, 2rem); background: #fffdf6; }
.pool-checklist ul { padding-left: 1.15rem; }
.pool-checklist li + li { margin-top: .5rem; }
@media (max-width: 720px) {
  .pool { grid-template-columns: 1fr; }
}

.package.premium { border-color: var(--green); background: var(--sage); }
.premium .example { background: var(--paper); }
.package-note { margin-top: 1.5rem; color: var(--muted); }
.package-note a { font-weight: 650; }
.one-off { padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.one-off ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.one-off li { border-top: 1px solid #a5af9f; padding-top: 1rem; }
.one-off li p { margin-top: .65rem; color: var(--muted); }
@media (max-width: 720px) { .one-off ul { grid-template-columns: 1fr; } }

/* The site’s photo and service treatments */
:root {
  --paper: #fbf7ee;
  --sage: #e8ecdf;
  --clay: #863e29;
}
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2; display: inline-block; background: var(--paper); padding: .65rem 1rem; transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }
.header .brand { flex-shrink: 0; }
.header nav { gap: .15rem clamp(.5rem, 1.5vw, 1.4rem); }
.brand span { background: #eee7d7; color: var(--green); border-color: #bbbba8; }
.hero h1 { font-size: clamp(3.4rem, 7.5vw, 7.6rem); max-width: 14ch; }
.hero .lead { max-width: 40ch; }
.hero-story { display: inline-block; margin: 1rem 0 0 1.1rem; text-underline-offset: .3em; }
.story { padding-block: clamp(3.7rem, 8vw, 7rem); align-items: center; }
.story h2 { font-size: clamp(1.9rem, 3.8vw, 3.35rem); }
.story .eyebrow { color: var(--clay); text-transform: uppercase; }
.story-body { font-size: clamp(1.04rem, 1.55vw, 1.22rem); max-width: 52ch; }
.feature-photo { margin-top: 1.35rem; }
.feature-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .85rem; background: #ddd9c9; }
.services { border-top: 1px solid #dcd6c6; }
.package { border-radius: 1rem; box-shadow: 0 .65rem 2rem #2d33220a; }
.package .example, .pool-checklist .example { border-radius: .45rem; }
.package li::marker, .pool-checklist li::marker { color: var(--clay); }
.service-icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: #f1e6d8; color: var(--clay); margin-bottom: .95rem; }
.service-icon svg { display: block; width: 1.6rem; height: 1.6rem; }
.premium .service-icon { background: var(--green); color: #fffdf2; }
.pool-intro .service-icon { background: #e2ece7; color: #2b5a4e; }
.pool-checklist { border-radius: 1rem; align-self: center; }
.quercia img { border-radius: .85rem; }
.contact { background: radial-gradient(ellipse at top, #355345, var(--green) 72%); }
@media (min-width: 721px) and (max-width: 920px) {
  .header { display: grid; grid-template-columns: 1fr auto; }
  .header nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .header .language { grid-column: 2; grid-row: 1; justify-self: end; }
}
@media (max-width: 480px) {
  .header .brand { font-size: 1.05rem; }
  .hero-story { display: table; margin-inline-start: 0; }
  .hero h1 { font-size: clamp(2.75rem, 11vw, 3.6rem); }
}

.read-more { width: 100%; margin-top: 1rem; }
.read-more summary { cursor: pointer; color: var(--green); font-weight: 650; padding-block: .65rem; text-underline-offset: .22em; }
.read-more summary:hover { text-decoration: underline; }
.read-more[open] summary { margin-bottom: .45rem; }
.package .read-more { margin-top: auto; padding-top: .65rem; }
.package .read-more .example { margin-top: 0; }
.story-body .read-more p { margin-top: 1rem; }
.pool-checklist .read-more { margin-top: 0; }
.pool-checklist { align-self: start; }
.visit-report summary { padding-block: .3rem; }

@media (min-width: 721px) { .one-off ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Editorial typography, section rhythm and package comparison */
:root {
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: 'Avenir Next', Avenir, system-ui, sans-serif;
  --line: #dcd5c4;
}
body { font-family: var(--sans); }
h1, h2, h3 { letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.65vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.15vw, 2rem); }
.wrap { width: min(calc(100% - clamp(2rem, 7vw, 8rem)), 76rem); }
.header { padding-block: .8rem; }
.header .brand { font-weight: 600; }
nav a { font-weight: 550; }
.hero { min-height: clamp(35rem, 74svh, 56rem); }
.hero h1 { letter-spacing: -.055em; max-width: 13ch; font-size: clamp(3.1rem, 7.2vw, 7rem); }
.hero-inner { padding-block: clamp(3rem, 8vw, 6rem); }
.section-intro { align-items: end; }
.section-intro h2 { max-width: 17ch; }
.section-intro > p { max-width: 44ch; }
.story { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.story-body { padding: clamp(1.2rem, 3vw, 2.6rem); border-left: 2px solid #b78361; background: #f4eee2; border-radius: 0 .9rem .9rem 0; }
.package-grid { gap: clamp(.85rem, 2vw, 1.45rem); }
.package { padding: clamp(1.1rem, 2.2vw, 1.85rem); }
.package > .button { width: 100%; }
.package .read-more { margin-top: 1rem; }
.package > .button:last-child { margin-top: auto; }
.package .read-more { padding-bottom: 1rem; }
.compare { margin-top: 1.65rem; border: 1px solid var(--line); border-radius: .85rem; background: #fffdf6; }
.compare summary { cursor: pointer; min-height: 48px; padding: .8rem 1rem; font-weight: 700; }
.compare table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9rem; }
.compare th, .compare td { padding: .7rem .45rem; border-top: 1px solid var(--line); text-align: center; overflow-wrap: anywhere; }
.compare th:first-child { width: 47%; text-align: left; padding-left: 1rem; }
.compare tbody th { font-weight: 550; }
.compare tbody tr:nth-child(even) { background: #f8f4ea; }
.compare th:last-child, .compare td:last-child { background: var(--sage); }
.compare td { font-weight: 700; color: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.one-off ul { gap: .95rem; }
.one-off li { border: 1px solid var(--line); border-radius: .85rem; padding: clamp(1.1rem, 2.6vw, 1.8rem); background: #fffdf6; }
.pool { column-gap: clamp(1.5rem, 5vw, 4.5rem); row-gap: 1rem; }
.pool-photo { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.pool-photo img { aspect-ratio: 4 / 3; }
.pool-checklist { grid-column: 1; padding-block: .55rem; }
.visit { background: #eee9dc; }
.visit-report { border-radius: 0 .55rem .55rem 0; }
.quercia-inner { align-items: center; }
.faq summary { min-height: 49px; }
@media (max-width: 900px) {
 .package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .package .button { padding-inline: .65rem; }
}
@media (max-width: 740px) {
 .package-grid, .story { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
 .pool-photo, .pool-checklist { grid-column: auto; grid-row: auto; }
 .pool-photo { margin-top: .4rem; }
}
@media (max-width: 480px) {
 .hero h1 { font-size: clamp(2.7rem, 10vw, 3.5rem); }
 .compare table { font-size: .8rem; }
 .compare th, .compare td { padding-inline: .2rem; }
 .compare th:first-child { padding-left: .55rem; }
}

.header { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; }
.header nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; column-gap: clamp(.8rem, 2.5vw, 1.8rem); border-top: 1px solid var(--line); }
.header .language { grid-column: 2; grid-row: 1; justify-self: end; }
.header nav a { min-height: 40px; }
.quercia img { aspect-ratio: 16 / 9; }
@media (max-width: 540px) {
  .header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .header nav a { min-height: 42px; }
}

.quercia-no-photo { grid-template-columns: 1fr; }
.quercia-no-photo > div { max-width: 38rem; }

/* Masthead and editorial landing page */
:root { --paper: #fcf8ef; --green: #203c31; --line: #dfd7c8; }
html { scroll-padding-top: 5.7rem; }
.masthead { position: sticky; top: 0; z-index: 1; background: var(--paper); border-bottom: 1px solid var(--line); }
.header { display: flex; align-items: center; min-height: 4.65rem; gap: 1rem; }
.header .brand { white-space: nowrap; }
.header .desktop-nav { border: 0; margin: 0; justify-content: center; gap: clamp(.75rem, 2.1vw, 1.8rem); }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.header-contact, .mobile-menu summary { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: 2rem; background: var(--green); color: white; text-decoration: none; font-weight: 650; white-space: nowrap; }
.header-contact:hover, .mobile-menu summary:hover { background: #345849; }
.header .language { min-height: 44px; padding-inline: .65rem; }
.mobile-menu { display: none; }
.skip-link { position: fixed; z-index: 3; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); background: none; color: var(--ink); min-height: auto; padding-block: clamp(2rem, 5vw, 5rem) clamp(1.8rem, 4vw, 3.5rem); }
.hero-inner { padding: 0; }
.hero .eyebrow { color: var(--clay); letter-spacing: .12em; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.75rem); max-width: 15ch; text-wrap: balance; }
.hero .lead { font-size: clamp(1.06rem, 1.65vw, 1.25rem); color: var(--muted); }
.hero .button { background: var(--green); color: white; }
.hero .button:hover { background: #345849; }
.hero-story { color: var(--green); font-weight: 650; }
.hero-photo { min-width: 0; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: 58% center; border-radius: 1.25rem; }
.hero-photo figcaption { text-align: right; }
.service-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 1rem; background: #f3ecdf; gap: 0; }
.service-route > a { display: flex; align-items: center; gap: .85rem; min-height: 5.6rem; padding: .95rem clamp(.85rem, 2vw, 1.45rem); text-decoration: none; }
.service-route > a + a { border-left: 1px solid var(--line); }
.service-route > a:hover strong { text-decoration: underline; text-underline-offset: .18em; }
.service-route strong, .service-route small { display: block; line-height: 1.4; }
.service-route strong { font-size: 1rem; }
.service-route small { font-size: .875rem; color: var(--muted); }
.service-route .service-icon { margin: 0; width: 2.65rem; height: 2.65rem; flex: 0 0 auto; background: #eadecd; }
.service-route svg { width: 1.4rem; height: 1.4rem; }
.story-body { line-height: 1.75; }
.story-heading { align-self: center; }
.services, .one-off, .pool { scroll-margin-block-start: .5rem; }
.one-off li { display: grid; justify-items: start; align-content: start; }
.footer { flex-wrap: wrap; }
.footer-links { justify-content: flex-start; gap: .45rem 1.1rem; }
@media (max-width: 950px) {
  .hero-story { display: table; margin-inline-start: 0; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 4.8rem; }
  .header { min-height: 4.1rem; gap: .4rem; padding-block: .55rem; }
  .header .brand { white-space: normal; }
  .header-actions { gap: .3rem; }
  .header .language, .mobile-menu summary { padding-inline: .6rem; }
  .hero { grid-template-columns: 1fr; gap: 1.3rem; }
  .hero h1 { font-size: clamp(2rem, 7.5vw, 2.7rem); }
  .hero-photo img { aspect-ratio: 1.65; }
  .service-route { grid-template-columns: 1fr; }
  .service-route > a { min-height: 4.5rem; }
  .service-route > a + a { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .header .brand { flex-shrink: 1; min-width: 0; }
  .header-actions { flex-shrink: 0; }
}

@media (min-width: 741px) {
  .package-grid { row-gap: 0; }
  .package {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    align-items: start;
    min-width: 0;
  }
  .package > .read-more { align-self: start; }
  .package > .button:last-child { margin-top: 0; align-self: stretch; }
}

.one-off ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.drone { padding-bottom: clamp(3rem, 7vw, 6rem); }
.drone-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.25rem, 5vw, 4.5rem); align-items: center; padding: clamp(1.35rem, 4.5vw, 4rem); border: 1px solid var(--line); border-radius: 1.2rem; background: var(--sage); }
.drone-panel h2 + p { margin-top: 1rem; color: var(--muted); }
.drone-aside { padding: clamp(1rem, 2vw, 1.65rem); border: 1px solid var(--line); border-radius: .9rem; background: #fffdf6; }
.drone-credential { font-weight: 650; }
@media (max-width: 960px) {
  .header .desktop-nav, .header-contact { display: none; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu summary { display: flex; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: calc(100% + .65rem); right: 0; display: grid; width: min(15rem, calc(100vw - 2rem)); gap: 0; border: 1px solid var(--line); border-radius: .75rem; padding: .35rem; background: var(--paper); box-shadow: 0 .9rem 2rem #203c3126; }
  .mobile-menu nav a { padding: .4rem .65rem; }
}
@media (max-width: 720px) {
  .one-off ul, .drone-panel { grid-template-columns: 1fr; }
}

.language-picker { position: relative; }
.language-picker summary { display: flex; align-items: center; gap: .4rem; min-height: 44px; padding: .42rem .65rem; border: 1px solid var(--line); border-radius: 2rem; cursor: pointer; white-space: nowrap; font-size: .875rem; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker ul { position: absolute; top: 100%; right: 0; z-index: 2; width: max-content; min-width: 10rem; margin: .4rem 0 0; padding: .35rem; list-style: none; border: 1px solid var(--line); border-radius: .75rem; background: var(--paper); box-shadow: 0 .75rem 1.5rem #203c3126; }
.language-picker a { display: flex; align-items: center; gap: .55rem; min-height: 44px; padding: .45rem .65rem; border-radius: .4rem; text-decoration: none; }
.language-picker a:is(:hover, [aria-current]) { background: var(--sage); }
.localized-nav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .35rem 1.5rem; border-block: 1px solid var(--line); }
.localized-plans, .localized-grid { display: grid; gap: 1rem; margin-top: 1.35rem; }
.localized-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.localized-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: clamp(3rem, 7vw, 6rem); }
.localized-card { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: .85rem; background: #fffdf6; }
.localized-card h2 { font-size: clamp(1.65rem, 3vw, 2.7rem); }
.localized-card p, .services > h2 + p { margin-top: .75rem; color: var(--muted); }
.localized-more { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.15rem; }
@media (max-width: 720px) { .localized-plans, .localized-grid { grid-template-columns: 1fr; } }
@media (max-width: 360px) { .language-picker summary { padding-inline: .45rem; } }

.brand-mark { display: block; width: 2.5rem; height: 2.5rem; flex: none; }
.section-photo { margin-block: 1.2rem; min-width: 0; }
.section-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2.6; object-fit: cover; border-radius: .8rem; background: var(--sage); }
.section-photo figcaption { margin-top: .35rem; }
.section-photo-story img, .section-photo-la-quercia img { aspect-ratio: 1.65; }
.section-photo-story, .section-photo-la-quercia { margin-bottom: 0; }
.section-photo-services + .package-grid, .section-photo-visits + .visit-steps { margin-top: 1.3rem; }
.section-photo-drone { margin-top: 0; }
.section-photo-drone img { aspect-ratio: 1.7; }
.quercia-no-photo { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.quercia-no-photo .section-photo { margin: 0; }
.section-photo-contact { max-width: 29rem; margin: 2rem auto 0; }
.section-photo-contact img { aspect-ratio: 2.8; }
.section-photo-contact figcaption { color: #eee7d7; }
.localized-card .section-photo { margin-bottom: 0; }
@media (max-width: 720px) { .quercia-no-photo { grid-template-columns: 1fr; } }
@media (min-width: 721px) {
  .one-off ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.section-photo-grass { width: 100%; margin-bottom: 0; }

.contact-form { max-width: 40rem; margin: 1.75rem auto 0; padding: clamp(1rem, 3.5vw, 2rem); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem; text-align: left; color: var(--ink); background: var(--paper); border-radius: 1rem; }
.contact-form label { display: grid; gap: .3rem; font-weight: 650; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-form :is(input, select, textarea) { width: 100%; min-height: 46px; border: 1px solid #aeb5a7; border-radius: .45rem; padding: .55rem .65rem; background: #fffdf6; color: var(--ink); font: inherit; font-weight: 400; }
.contact-form select { appearance: none; padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23203c31' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; }
.contact-form textarea { resize: vertical; }
.contact-form :is(input, select, textarea, button):focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.contact-submit .button { border: 0; font: inherit; font-weight: 700; cursor: pointer; margin-top: .25rem; }
.contact-submit p { max-width: none; font-size: .9rem; margin: .55rem 0; color: var(--muted); }
.contact-submit a { overflow-wrap: anywhere; }
@media (max-width: 540px) { .contact-form { grid-template-columns: 1fr; } }

.drone-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1rem; }
.drone-gallery .section-photo { margin: 0; }
.drone-gallery img { aspect-ratio: 4 / 3; }
.localized-card .drone-gallery { margin: 1.2rem 0 0; }

/* Keep the story introduction and photograph on the same visual baseline. */
.story {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "heading heading" "photo body" "more more";
  --story-gap: clamp(1.5rem, 4vw, 3.25rem);
  gap: .55rem var(--story-gap);
  padding-bottom: clamp(1.7rem, 4vw, 3.2rem);
  align-items: start;
}
.story-heading { grid-area: heading; }
.story-heading h2 { max-width: 26ch; }
.story .section-photo-story { grid-area: photo; margin: 0; }
.story .section-photo-story img { aspect-ratio: 1.65; object-position: center 60%; }
.story-body {
  grid-area: body;
  align-self: stretch;
  max-width: none;
  padding: clamp(1rem, 2.4vw, 2rem);
  font-size: clamp(1rem, 1.26vw, 1.15rem);
  line-height: 1.65;
  border-radius: .8rem;
  border-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-more {
  grid-area: more;
}
@media (min-width: 741px) {
  .story-more summary { margin-inline-start: calc((100% + var(--story-gap)) / 2); }
}
.story-more summary {
  width: fit-content;
  min-height: 44px;
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--surface);
}
.story + .services { padding-top: clamp(2rem, 4.5vw, 3.75rem); }
.story-more summary:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.story-more-copy { max-width: 68ch; margin-inline: auto; padding-block: 1rem; line-height: 1.65; }
.story-more-copy p + p { margin-top: 1rem; }
@media (max-width: 740px) {
  .story {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "photo" "body" "more";
  }
}

.report-example { margin-top: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.report-example h4 { margin: 1rem 0 .35rem; }
.report-example ul { margin: 0; padding-left: 1.25rem; }
.report-example li + li { margin-top: .25rem; }
.report-example dl { margin: 1rem 0 0; display: grid; gap: .75rem; }
.report-example dl > div { padding: .65rem .8rem; background: #f3ecdf; border-radius: .4rem; }
.report-example .report-attention { border-left: 3px solid var(--clay); }
.report-example dt { font-weight: 700; }
.report-example dd { margin: .1rem 0 0; }

.report-example .report-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: .65rem; }
.report-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .45rem; }
.report-photos figcaption { font-size: .9rem; }
@media (max-width: 520px) { .report-example .report-photos { grid-template-columns: 1fr; } }
.form-status { color: var(--ink); margin: 0; }
.form-status:empty { display: none; }

.quote-details { border: 1px solid var(--line); background: #f6f0e5; padding: .65rem .85rem; border-radius: .55rem; }
.quote-details summary { cursor: pointer; font-weight: 700; }
.contact-form .quote-details > p { max-width: none; margin: .6rem 0; color: var(--muted); }
.quote-fields { border: 0; padding: 0; margin: 0; min-inline-size: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 540px) { .quote-fields { grid-template-columns: 1fr; } }

.thermal-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); align-items: center; margin-top: 1.25rem; padding: clamp(1rem, 3.2vw, 2rem); border: 1px solid var(--line); border-radius: .9rem; background: #f5eee2; }
.thermal-feature .eyebrow { color: var(--clay); margin: 0 0 .6rem; }
.thermal-feature h3 + p { margin-top: .6rem; color: var(--muted); }
.thermal-feature img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .6rem; }
.localized-card .thermal-feature { grid-template-columns: 1fr; }
@media (max-width: 650px) { .thermal-feature { grid-template-columns: 1fr; } }

.thermal-feature figure { min-width: 0; }
.thermal-feature figure img { aspect-ratio: auto; object-fit: contain; }
.thermal-feature figcaption { font-size: .875rem; }

.launch-note { display: inline-block; margin-top: 1rem; padding: .35rem .7rem; border-left: 3px solid var(--clay); background: #f3ecdf; color: var(--green); font-weight: 700; }

.thermal-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); }
.thermal-feature figure { width: 100%; max-width: 22rem; }
@media (max-width: 650px) {
  .thermal-feature { grid-template-columns: minmax(0, 1fr); }
  .thermal-feature figure { max-width: 19rem; }
}

.property-feature { background: var(--green); color: #fffdf2; }
.property-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.75rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.75rem, 6.4vw, 6rem); }
.property-copy .eyebrow { color: #efbf9f; text-transform: uppercase; margin-bottom: .85rem; }
.property-copy h2 { margin: 0 0 1rem; font-size: clamp(2.4rem, 4.7vw, 4rem); }
.property-feature .property-copy .property-intro { color: #f5eddb; max-width: 43ch; font-size: clamp(1rem, 1.55vw, 1.24rem); }
.property-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.15rem; margin-top: 1.45rem; }
.property-actions .button { margin: 0; }
.property-feature a:focus-visible { outline-color: #efbf9f; }
.property-story-link { display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: .24em; }
.property-photo { justify-self: end; width: 100%; max-width: 28rem; overflow: hidden; border-radius: 1rem; border: 1px solid #ffffff36; }
.property-photo img { aspect-ratio: 1.15; object-position: center; border-radius: 0; }
@media (max-width: 680px) {
  .property-layout { grid-template-columns: 1fr; gap: 1.45rem; }
  .property-photo { justify-self: start; }
  .property-photo img { aspect-ratio: 1.5; }
}

.villa-hero { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: clamp(1.5rem,5vw,5rem); padding-block: clamp(2rem,5vw,4.75rem) 1.5rem; }
.villa-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 1rem; text-underline-offset: .2em; }
.villa-intro .eyebrow { color: var(--clay); margin-bottom: .65rem; }
.villa-intro h1 { font-size: clamp(2.35rem, 4.8vw, 4rem); white-space: normal; }
.villa-intro h2 { font-size: clamp(1.55rem,2.65vw,2.45rem); margin: .45rem 0 .8rem; }
.villa-intro > p:not(.eyebrow), .villa-history p { color: var(--muted); max-width: 46ch; }
.villa-hero img, .villa-gallery img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: .9rem; }
.villa-hero img { aspect-ratio: 4 / 3; }
.villa-facts { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; min-height: 4.5rem; border-block: 1px solid var(--line); }
.villa-facts > * { padding: .75rem 1rem; }
.villa-facts > * + * { border-left: 1px solid var(--line); }
.villa-rating { text-underline-offset: .2em; }
.villa-rating strong { margin-right: .4rem; }
.villa-gallery { padding-block: clamp(2.8rem,6vw,5.5rem); }
.villa-gallery h2 { margin-bottom: 1.45rem; }
.villa-gallery > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.villa-gallery img { aspect-ratio: 3 / 2; }
.villa-gallery figcaption { font-size: .9rem; }
.villa-history { padding-block: clamp(2.75rem,6vw,5rem); background: var(--sage); }
.villa-history .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem clamp(1.5rem,5vw,4rem); align-items: center; }
@media (max-width: 760px) {
  .villa-hero, .villa-history .wrap { grid-template-columns: 1fr; }
  .villa-intro h1 { white-space: normal; }
}
@media (max-width: 540px) {
  .villa-gallery > div { grid-template-columns: 1fr; }
  .villa-facts { grid-template-columns: 1fr 1fr; }
  .villa-facts > .villa-rating { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .villa-facts > :nth-child(2) { border-left: 0; }
}

.section-photo-one-off img { aspect-ratio: 2.45; object-position: center 70%; }

.hero-window-photo { width: min(100%, 31rem); justify-self: center; }
.hero-window-photo img { aspect-ratio: auto; }
@media (max-width: 740px) {
  .hero-window-photo { max-width: 25rem; }
}
.pool-photo-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-self: start; gap: .65rem; margin-block: .4rem 1rem; }
.pool-photo-gallery img { display: block; width: 100%; height: auto; aspect-ratio: auto; border-radius: .8rem; }
.pool-photo-gallery img:first-child { grid-column: 1 / -1; }
.garden-well-photo { max-width: 15rem; }
.garden-well-photo img { aspect-ratio: auto; }

/* Shared finishes for the service and property pages. */
:root {
  --surface: #fffdf7;
  --shadow-card: 0 1px 2px #25382b0a, 0 .65rem 1.8rem #25382b0c;
  --shadow-photo: 0 .5rem 1rem #263b2b14, 0 1.25rem 2.8rem #263b2b12;
}
body {
  background: radial-gradient(ellipse at top right, #eee8da 0, transparent 50rem), var(--paper);
}
h1, h2 { letter-spacing: -.045em; }
.hero h1 { letter-spacing: -.055em; }
h3 { letter-spacing: -.02em; }
.eyebrow { font-size: .78rem; letter-spacing: .13em; }
.hero .lead, .section-intro > p, .pool-intro > p, .villa-intro > p {
  line-height: 1.65;
  text-wrap: pretty;
}
.section-intro {
  align-items: end;
  padding-bottom: clamp(1rem, 2.6vw, 2rem);
  border-bottom: 1px solid var(--line);
}
.section-intro > p { max-width: 48ch; }
.story-heading h2 { max-width: 30ch; }
:is(.hero-photo, .villa-hero, .villa-gallery, .pool-photo-gallery, .drone-gallery) img,
.story .section-photo-story img,
.section-photo-one-off img {
  box-shadow: var(--shadow-photo);
}
.story-body {
  background: linear-gradient(150deg, #faf6ed, #eee5d4);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.story-more-copy { color: var(--muted); }
.service-route {
  background: linear-gradient(125deg, #fffdf6, #f0e7d6);
  box-shadow: var(--shadow-card);
}
.service-route > a:hover { background-color: #ffffff55; }
.package, .one-off li, .localized-card, .compare, .thermal-feature {
  background: linear-gradient(155deg, #fffefa, #f8f3e8);
  box-shadow: var(--shadow-card);
}
.package.premium {
  background: linear-gradient(150deg, #edf2e6, #dfe9da);
  border-color: #7b9381;
  border-top-color: var(--green);
}
.package h3 + p, .one-off h3 + p { margin-top: .55rem; }
.one-off li p { max-width: 51ch; }
.compare thead { background-color: #f0e9db; }
.thermal-feature { border-inline-start: 3px solid #b78361; }
.visit, .villa-history {
  background: linear-gradient(125deg, #f2ecdf, #e6eadc);
  border-block: 1px solid #dcdccf;
}
.visit-steps li { padding-inline-end: .8rem; }
.property-feature, .contact {
  background: radial-gradient(ellipse at top right, #3b5947 0, transparent 72%), #1d352b;
}
.property-photo { box-shadow: 0 1rem 2.5rem #0e211a45; }
.contact-form {
  gap: clamp(.85rem, 2.2vw, 1.25rem);
  background: var(--surface);
  box-shadow: 0 1rem 3.5rem #0e211a5e;
}
.contact-form label { font-size: .93rem; }
.contact-form :is(input, select, textarea) { border-color: #a2ac9e; }
.villa-facts { background: #f1ecdf; }
.villa-gallery figcaption { padding-inline: .15rem; color: var(--muted); }
.footer { border-top: 1px solid var(--line); }
:is(.read-more, .compare, .quote-details, .faq) summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}
@media (max-width: 740px) {
  .section-intro { gap: .8rem; }
  .hero h1, .section-intro h2 { max-width: none; }
}

@media (min-width: 760px) { .drone-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { .drone-gallery > :last-child { grid-column: 1 / -1; } }
.drone-gallery > :last-child img { aspect-ratio: 3 / 2; }
@media (min-width: 760px) { .drone-gallery > :last-child img { aspect-ratio: 4 / 3; } }

.contact-form .human-check {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: #f6f0e5;
  cursor: pointer;
}
.contact-form .human-check input {
  width: 1.2rem;
  height: 1.2rem;
  min-height: 0;
  margin: 0;
  accent-color: var(--green);
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(.9rem, 2.4vw, 1.6rem);
  max-width: 52rem;
  margin: .6rem auto 1.1rem;
}
.story-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .8rem;
  box-shadow: var(--shadow-photo);
}
.story-gallery figcaption {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .9rem;
}

.visit-options { grid-template-columns: minmax(0, 1fr); margin-top: 1.65rem; }
.visit-options article { scroll-margin-top: 6rem; }

.package .read-more:has(.visit-checklist) { width: 100%; }
.package ul.visit-checklist { display: grid; gap: .35rem; margin: .4rem 0 0; padding: 0; list-style: none; }
.package .visit-checklist li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .65rem; align-items: start; margin: 0; padding: .55rem 0; border-top: 1px solid var(--line); }
.visit-check-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .55rem; background: var(--sage); color: var(--green); }
.premium .visit-check-icon { background: var(--surface); }
.visit-check-icon svg { width: 1.25rem; height: 1.25rem; }

/* Keep headings, visit imagery and comparison labels readable at small widths. */
.section-intro h2, .story-heading h2, .visit h2, .faq h2 { text-wrap: balance; }
.section-photo-visits img { aspect-ratio: 3.25; }
.visit-steps > li, .section-intro > *, .story-more { min-width: 0; }
.story-more summary { max-width: 100%; }
@media (max-width: 480px) {
  .compare th, .compare td { padding-inline: .2rem; font-size: .8rem; }
  .compare th:first-child { width: 40%; padding-left: .55rem; }
  .section-photo-visits img { aspect-ratio: 2.3; }
}

.customer-dashboard { margin-top: 1.4rem; padding: clamp(1rem, 2.5vw, 1.6rem); border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
.customer-dashboard h3 { margin: 0 0 .45rem; }
.customer-dashboard p { max-width: 68ch; margin: 0; }

.portal-access { display: flex; justify-content: flex-end; padding-block: .25rem .55rem; }
.portal-access details { position: relative; }
.portal-access summary { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .35rem .9rem; border-radius: 2rem; color: white; background: var(--green); font-size: .9rem; font-weight: 700; cursor: pointer; list-style: none; }
.portal-access summary::-webkit-details-marker { display: none; }
.portal-access summary::after { content: ""; width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.12rem) rotate(45deg); }
.portal-access details[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
.portal-options { position: absolute; z-index: 5; inset: calc(100% + .3rem) 0 auto auto; min-width: 11rem; padding: .3rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--surface); box-shadow: 0 8px 22px #203b3022; }
.portal-options a { display: flex; align-items: center; min-height: 44px; padding: .4rem .65rem; border-radius: .4rem; color: var(--green); font-size: .9rem; font-weight: 700; text-decoration: none; }
.portal-options a:hover { background: var(--sage); text-decoration: underline; }

.owner-resources { padding-block: clamp(2rem, 5vw, 4rem); }
.owner-resources > p { color: var(--muted); max-width: 62ch; }
.resource-guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .75rem; align-items: start; margin-top: 1rem; }
.resource-guides details { background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; padding: .25rem .9rem .75rem; }
.resource-guides summary { min-height: 44px; padding: .6rem 0; cursor: pointer; color: var(--green); font-weight: 700; }
.resource-guides p { margin: .35rem 0 .65rem; }
.resource-guides a { text-underline-offset: .2em; }

.casentino-alerts { margin-top: clamp(1.6rem, 3vw, 2.5rem); padding-top: 1.2rem; border-top: 1px solid var(--line); }
.casentino-alerts h3 { margin: 0 0 .45rem; }
.casentino-alerts .resource-guides { align-items: stretch; }
.casentino-alerts article { min-width: 0; padding: .85rem; background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; }
.casentino-alerts h4 { margin: 0; color: var(--green); font-size: 1rem; }
.casentino-alerts article ul { list-style: none; padding: 0; margin: 0; }
.casentino-alerts article a { display: inline-flex; align-items: center; min-height: 44px; }
.casentino-alerts .alert-source-note { margin-top: .75rem; color: var(--muted); font-size: .9rem; }

/* Public-page layout and spacing */
:is(.home-page,.secondary-masthead) .header { padding-block: .7rem; min-height: 4.25rem; }
:is(.home-page,.secondary-masthead) .header-actions { justify-content: flex-end; flex-wrap: wrap; }
:is(.home-page,.secondary-masthead) .portal-access { padding: 0; margin: 0; border: 0; flex: none; }
:is(.home-page,.secondary-masthead) .portal-access summary { background: transparent; color: var(--green); border: 1px solid var(--line); }
:is(.home-page,.secondary-masthead) .portal-access summary:hover { background: var(--sage); }
:is(.home-page,.secondary-masthead) .portal-access .portal-options { z-index: 6; }
:is(.home-page,.secondary-masthead) .header .desktop-nav { gap: clamp(.75rem, 1.5vw, 1.3rem); }
:is(.home-page,.secondary-masthead) .header .desktop-nav a { white-space: nowrap; }

.home-page .hero { gap: clamp(1.75rem, 5vw, 5rem); padding-block: clamp(1.6rem, 4.6vw, 4rem); }
.home-page .hero h1 { max-width: 16ch; }
.home-page .hero-window-photo { width: min(100%, 30rem); }
.home-page .hero-window-photo img { aspect-ratio: 5 / 5.45; object-position: center; }
.home-page .hero .launch-note { margin-block: .9rem 1.2rem; }

.home-page .visit-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(.85rem, 2.5vw, 1.6rem);
  margin-block: 1.1rem;
}
.home-page .visit-intro .customer-dashboard {
  display: grid;
  align-content: center;
  gap: .65rem;
  margin: 0;
  padding: clamp(1.1rem, 3vw, 2rem);
}
.home-page .visit-intro .customer-dashboard h3 { margin: 0; }
.home-page .visit-intro .section-photo { margin: 0; position: relative; min-height: 12rem; }
.home-page .visit-intro img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .85rem;
}
.home-page .visit-steps {
  gap: clamp(.7rem, 2vw, 1.2rem);
  padding: 0;
  list-style-position: inside;
  margin-block: 1.2rem;
}
.home-page .visit-steps li {
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--surface);
}
.home-page .visit-steps h3 {
  margin-top: .4rem;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  text-wrap: pretty;
}
.home-page .visit-steps p { color: var(--muted); }
.home-page .contact { text-align: left; }
.home-page .contact > .wrap {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(1.3rem, 5vw, 4.5rem);
}
.home-page .contact-intro h2 { text-wrap: balance; }
.home-page .contact-intro > p { margin: .85rem 0 0; color: #f4ecdc; }
.home-page .contact-intro .section-photo { max-width: none; margin: 1.4rem 0 0; }
.home-page .contact-intro img { aspect-ratio: 3 / 2; }
.home-page .contact-form { width: 100%; max-width: none; margin: 0; }
.villa-gallery > div { gap: clamp(.85rem, 2.3vw, 1.5rem); }
.villa-gallery figcaption { margin-top: .4rem; }

@media (max-width: 1080px) {
  :is(.home-page,.secondary-masthead) .header .desktop-nav, :is(.home-page,.secondary-masthead) .header-contact { display: none; }
  :is(.home-page,.secondary-masthead) .mobile-menu { display: block; position: relative; }
  :is(.home-page,.secondary-masthead) .mobile-menu summary { cursor: pointer; }
  :is(.home-page,.secondary-masthead) .mobile-menu nav {
    position: absolute;
    z-index: 5;
    top: calc(100% + .4rem);
    right: 0;
    display: grid;
    width: min(15rem, calc(100vw - 2rem));
    padding: .4rem;
    border: 1px solid var(--line);
    border-radius: .75rem;
    background: var(--paper);
    box-shadow: var(--shadow-card);
  }
  :is(.home-page,.secondary-masthead) .mobile-menu nav a { padding-inline: .6rem; }
}
@media (max-width: 760px) {
  .home-page .visit-intro, .home-page .contact > .wrap { grid-template-columns: 1fr; }
  .home-page .visit-intro .section-photo { min-height: 0; aspect-ratio: 2.65; }
  .home-page .contact-intro .section-photo { display: none; }
  .home-page .visit-steps { grid-template-columns: 1fr; }
  .villa-gallery > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 540px) {
  html:has(.home-page) { scroll-padding-top: 8rem; }
  :is(.home-page,.secondary-masthead) .header { flex-wrap: wrap; gap: .25rem .6rem; padding-block: .45rem; }
  :is(.home-page,.secondary-masthead) .header .brand { flex-basis: 100%; }
  :is(.home-page,.secondary-masthead) .header-actions { justify-content: flex-start; gap: .4rem; }
  :is(.home-page,.secondary-masthead) .header .language-picker > ul { right: auto; left: 0; }
  .home-page .hero-window-photo img { aspect-ratio: 5 / 4; }
  .villa-gallery > div { grid-template-columns: 1fr; }
}

.tuscan-heading {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.tuscan-symbol {
  flex: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: .37rem;
  border-radius: 50%;
  background: #efe4d3;
  color: #88492f;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.package.premium .tuscan-symbol {
  color: #f8ecd8;
  background: var(--green);
}
.story-heading .tuscan-symbol, .owner-resources .tuscan-symbol {
  background: var(--sage);
  color: var(--green);
}

/* Limestone, terracotta and cypress details. */
.home-page .masthead { background: #fbf7ee; }
.home-page .hero, .villa-hero, .owner-resources {
  position: relative;
  isolation: isolate;
}
.home-page .hero::before, .villa-hero::before, .owner-resources::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0 auto;
  width: min(30rem, 53%);
  aspect-ratio: 8 / 5;
  background: url("cypress-watermark.svg") center / contain no-repeat;
  opacity: .11;
  pointer-events: none;
}
.home-page .hero::before {
  inset-inline: -1.5rem auto;
  transform: scaleX(-1);
}
.home-page .hero-photo img, .villa-hero img { border: 1px solid #d6c5ad; }
.home-page .story-body { background: linear-gradient(135deg, #fbf5e9, #efe4d1); }
.home-page .package:not(.premium) { border-top-color: #a16246; }
.home-page .visit { background: linear-gradient(125deg, #f5eee1, #e8ebdc); }
@media (max-width: 680px) {
  .home-page .hero::before { inset: 1.5rem 0 auto auto; transform: none; }
  .home-page .hero::before, .villa-hero::before, .owner-resources::before { opacity: .07; }
}

/* Shared Tuscan linework for the public pages. */
.tuscan-heading .tuscan-symbol { align-self: center; }
:is(h2,h3).tuscan-heading { text-wrap: pretty; }
.home-page .visit-steps { list-style: none; }
.home-page .visit-steps .tuscan-symbol { width: 2.35rem; height: 2.35rem; background: #f1e7d6; }
.home-page .visit-steps > li { border-top: 2px solid #b78a68; }
.property-feature .tuscan-symbol,
.contact .tuscan-symbol {
  background: #f2e7d317;
  color: #ebc797;
  border: 1px solid #e6c9a74d;
}
:is(.story, .visit, .faq, .villa-history) .tuscan-heading .tuscan-symbol { background: var(--sage); color: var(--green); }
.casentino-alerts .tuscan-heading .tuscan-symbol { width: 2.25rem; height: 2.25rem; }
.villa-gallery img { border: 1px solid #d6c5ad; }
.villa-gallery figcaption {
  margin-top: .55rem;
  padding-inline-start: .6rem;
  border-inline-start: 2px solid #b78a68;
}
.villa-history .wrap { align-items: start; }
.contact:not(#contact) .tuscan-heading { justify-content: center; }
.footer { border-top-color: #d3c2ac; }
@media (max-width: 540px) {
  :is(h2,h3).tuscan-heading { gap: .5rem; }
  .tuscan-heading .tuscan-symbol { width: 2.35rem; height: 2.35rem; }
}

.visit-report {
  padding: 0;
  border: 1px solid #c9bfaa;
  border-inline-start: 4px solid var(--green);
  border-radius: .95rem;
  background: var(--surface);
}
.visit-report > summary {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: .85rem;
  padding: clamp(.9rem,2.4vw,1.45rem);
  list-style: none;
}
.visit-report > summary::-webkit-details-marker { display: none; }
.visit-report > summary::after {
  content: "";
  width: .55rem;
  height: .55rem;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  margin-inline: .2rem .3rem;
  transform: translateY(-.15rem) rotate(45deg);
}
.visit-report[open] > summary::after { transform: translateY(.15rem) rotate(225deg); }
.report-preview-caption { display: block; margin-top: .12rem; color: var(--muted); font-weight: 400; font-size: .91rem; }
.visit-report .report-example { margin: 0; padding: clamp(1rem,3vw,1.7rem); }
.report-heading { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: .65rem; }
.report-heading .eyebrow { margin-bottom: .35rem; color: var(--clay); font-size: .76rem; }
.report-status { padding: .36rem .7rem; border-radius: .5rem; background: #f3e2cf; color: #713a25; font-size: .85rem; font-weight: 700; }
.report-overview { margin-block: 1rem; padding: .85rem 1rem; border: 1px solid #d7ddcd; border-radius: .65rem; background: #eef0e6; }
.report-overview h4 { margin: 0 0 .25rem; }
.report-example dl > div { border-radius: .6rem; }
.report-scope { margin-top: 1rem; color: var(--muted); font-size: .88rem; }

.casentino-alerts .council-notices { grid-column: 1 / -1; }
.casentino-alerts .council-notices ul { display: flex; flex-wrap: wrap; gap: 0 1rem; }

.casentino-alerts {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: #eeeee2;
}
.casentino-alerts > p { max-width: 66ch; }
.alert-cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .75rem;
  margin-block: 1rem;
}
.alert-cards article { display: flex; flex-direction: column; gap: .35rem; }
.alert-cards article ul { margin-top: auto; }
.alert-cards h4, .casentino-alerts .council-notices h4 { line-height: 1.3; margin-bottom: .2rem; }
.alert-cards article a { text-underline-offset: .2em; }
.casentino-alerts .council-notices ul {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .35rem .75rem;
  margin-top: .65rem;
}
.casentino-alerts .council-notices a {
  display: flex;
  height: 100%;
  padding: .35rem .6rem;
  border-radius: .45rem;
  background: #f2eee2;
  text-underline-offset: .18em;
}
.casentino-alerts .council-notices a:hover { background: var(--sage); }
@media (max-width: 800px) {
  .alert-cards { grid-template-columns: 1fr; }
  .casentino-alerts .council-notices ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 400px) {
  .casentino-alerts .council-notices ul { grid-template-columns: 1fr; }
}

:is(.home-page,.secondary-masthead) .header .alerts-nav-link {
  padding-inline: .75rem;
  border: 1px solid #a7aa94;
  border-radius: 2rem;
  color: var(--green);
  font-weight: 700;
}
:is(.home-page,.secondary-masthead) .header .alerts-nav-link:is(:hover,[aria-current="page"]) { background: var(--sage); }
.alerts-page main { padding-block: clamp(1.3rem,4vw,3.25rem); }
.alerts-page .villa-back { margin-bottom: .6rem; }
.alerts-page .casentino-alerts { margin-top: 0; }
.alerts-page .casentino-alerts h1 { max-width: none; margin-bottom: .75rem; font-size: clamp(1.9rem,4vw,3.35rem); }
.alerts-page .casentino-alerts h4 { font-size: 1.05rem; }
@media (min-width: 1081px) and (max-width: 1250px) {
  :is(.home-page,.secondary-masthead) .header { gap: .65rem; }
  :is(.home-page,.secondary-masthead) .header .desktop-nav { gap: .65rem; }
}

.owner-resources > p {
  margin-top: .65rem;
  max-width: 62ch;
}
.owner-resources > .resource-guides {
  display: block;
  max-width: 52rem;
  overflow: hidden;
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--surface);
}
.owner-resources > .resource-guides details {
  padding: 0;
  border: 0;
  border-radius: 0;
}
.owner-resources > .resource-guides details + details {
  border-top: 1px solid var(--line);
}
.owner-resources > .resource-guides summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: .75rem clamp(.9rem,2.5vw,1.3rem);
  list-style: none;
}
.owner-resources > .resource-guides summary::-webkit-details-marker { display: none; }
.owner-resources > .resource-guides summary::after {
  content: "";
  width: .55rem;
  height: .55rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  margin-inline-end: .2rem;
  transform: translateY(-.15rem) rotate(45deg);
}
.owner-resources > .resource-guides details[open] summary::after {
  transform: translateY(.15rem) rotate(225deg);
}
.owner-resources > .resource-guides summary:is(:hover,:focus-visible),
.owner-resources > .resource-guides details[open] summary { background: #eeeee2; }
.owner-resources > .resource-guides summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: -3px;
}
.owner-resources > .resource-guides details > p {
  max-width: 66ch;
  margin: .65rem clamp(.9rem,2.5vw,1.3rem);
}
.owner-resources > .resource-guides details > p:last-child { margin-bottom: 1rem; }

/* Consistent spacing for public sections and narrow layouts. */
.home-page :is(.story, .services, .faq, .owner-resources) {
  padding-block: clamp(2.2rem, 5vw, 4.25rem);
}
.home-page .story + .services { padding-top: clamp(2.2rem, 5vw, 4.25rem); }
.home-page .owner-resources + .contact { padding-block: clamp(2.25rem, 5.5vw, 4.8rem); }
:is(.home-page,.secondary-masthead) .header .alerts-nav-link { white-space: nowrap; }
:is(.home-page,.secondary-masthead) .mobile-menu nav { max-height: min(70vh, 30rem); overflow-y: auto; }
@media (min-width: 1081px) and (max-width: 1160px) {
  :is(.home-page,.secondary-masthead) .header .brand { font-size: 1.05rem; }
  :is(.home-page,.secondary-masthead) .header-actions { gap: .4rem; }
}
@media (max-width: 540px) {
  .home-page .hero { gap: 1.15rem; }
  .owner-resources > .resource-guides { margin-top: 1rem; }
  .alerts-page .casentino-alerts h1 { align-items: flex-start; }
}

.villa-gallery .villa-gallery-hint { margin: -.75rem 0 1.2rem; color: var(--muted); }
.villa-gallery-hint span { display: none; }
.villa-gallery > .villa-photo-grid {
  grid-template-columns: minmax(0,1.4fr) repeat(2,minmax(0,1fr));
  gap: clamp(.8rem,2vw,1.35rem);
}
.villa-photo-grid figure { display: grid; grid-template-rows: minmax(0,1fr) auto; min-width: 0; }
.villa-photo-grid figure:first-child { grid-row: span 2; }
.villa-photo-link { display: block; position: relative; min-width: 0; border-radius: .9rem; }
.villa-photo-grid img { height: 100%; }
.villa-photo-grid figure:first-child img { aspect-ratio: 1; }
.villa-photo-grid figure:last-child img { object-position: center 63%; }
.villa-photo-expand {
  position: absolute;
  inset: auto .55rem .55rem auto;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--green);
  font-weight: 700;
}
.villa-photo-link:hover .villa-photo-expand { background: var(--green); color: white; }
.villa-viewer {
  width: min(100% - 1.5rem, 62rem);
  max-height: 95dvh;
  padding: .8rem;
  border: 1px solid #576e5e;
  border-radius: .9rem;
  background: #1d3027;
  color: #fffdf2;
}
.villa-viewer::backdrop { background: #14201de0; }
.villa-viewer form { display: flex; justify-content: flex-end; margin-bottom: .45rem; }
.villa-viewer img { width: 100%; max-height: 66dvh; object-fit: contain; aspect-ratio: auto; border: 0; box-shadow: none; }
.villa-viewer figcaption { color: #fffdf2; text-align: center; border: 0; }
.villa-viewer-controls { display: flex; justify-content: center; gap: .55rem; margin-top: .55rem; }
.villa-viewer button {
  min-width: 44px;
  min-height: 44px;
  padding: .2rem .7rem;
  border: 1px solid #e6cfaa;
  border-radius: 2rem;
  background: var(--surface);
  color: var(--green);
  cursor: pointer;
  font: 700 1.15rem/1 system-ui,sans-serif;
}
.villa-viewer button:focus-visible { outline: 2px solid #e6cfaa; outline-offset: 2px; }
@media (max-width: 760px) {
  .villa-gallery > .villa-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .villa-photo-grid figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .villa-photo-grid figure:first-child img { aspect-ratio: 2; }
}
@media (max-width: 540px) {
  .villa-gallery-hint span { display: inline; }
  .villa-gallery > .villa-photo-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 81%;
    overflow-x: auto;
    padding: .3rem .3rem .8rem;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: .3rem;
  }
  .villa-photo-grid figure { scroll-snap-align: start; }
  .villa-photo-grid figure:first-child { grid-column: auto; }
  .villa-photo-grid figure:first-child img { aspect-ratio: 3 / 2; }
}

.secondary-masthead .desktop-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
