/* /stone-oak, the neighborhood page for 78258 and 78260 (November 2026). Loads after landing.css and
 * keeps the home page's franchise register: heavy italic Montserrat, the cyan-to-ocean family, green
 * for the one action, the gold guarantee seal. Its signature is the Stone Oak map, a sketch of the
 * real roads with a pin for every kind of place we clean. Colours come from the --ld-* tokens; the four
 * place kinds each take one brand colour so a pin, its filter and its card always match. */

.so-body { overflow-x: hidden; --so-home: var(--ld-ocean); --so-apt: var(--ld-gold); --so-office: var(--ld-teal-900); --so-park: var(--ld-green-deep); --so-land: #F4F8EF; }
.so-body ::selection { background: #BFE3EC; color: var(--ld-navy); }
.so-body a:focus-visible, .so-body button:focus-visible, .so-body summary:focus-visible {
  outline: 3px solid var(--ld-ocean); outline-offset: 3px; border-radius: 10px;
}

/* ------------------------------------------------------------------ first viewport */
.so-hero { position: relative; padding: 64px 0 84px; background: linear-gradient(170deg, #EAF6FA 0%, #F7FCFD 55%, #FFFFFF 100%); overflow: hidden; }
.so-hero::before { content: ""; position: absolute; top: -160px; right: -120px; width: 760px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(90,179,201,0.24) 0%, rgba(90,179,201,0) 68%); pointer-events: none; }
.so-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.so-hero h1 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 900; line-height: 1.03; margin-bottom: 22px; text-wrap: balance; }
.so-hero h1 em { font-style: italic; color: var(--ld-ocean-text); }
.so-lede { font-size: 18px; line-height: 1.66; color: var(--ld-ink-soft); max-width: 34em; margin: 0 0 28px; }
.so-cta { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-bottom: 26px; }
.so-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.so-trust li { position: relative; padding-left: 26px; font-size: 14.5px; font-weight: 600; color: var(--ld-navy); }
.so-trust li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--ld-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310250F' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.so-trust b { font-weight: 800; }
.so-hero-art { position: relative; margin: 0; }
.so-hero-art img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--ld-shadow-lg); transform: rotate(-0.6deg); }
.so-badge { top: -28px; right: -26px; left: auto; }
.so-hero-jump {
  position: absolute; left: 18px; bottom: -22px; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 14px; background: #FFFFFF; box-shadow: var(--ld-shadow-md);
  font: 800 15px/1.2 'Montserrat', sans-serif; color: var(--ld-navy); text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.so-hero-jump svg { width: 15px; height: 15px; color: var(--ld-ocean-text); }
.so-hero-jump:hover { transform: translateY(-2px); box-shadow: var(--ld-shadow-lg); }

/* ------------------------------------------------------------------ sections */
.so-section { padding: 92px 0; }
.so-section-soft { background: var(--ld-soft); }
.so-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.so-head h2, .so-story h2, .so-split-copy h2, .so-band h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; font-style: italic; line-height: 1.12; margin-bottom: 14px; text-wrap: balance; }
.so-head p { margin: 0; font-size: 17px; color: var(--ld-ink-soft); }
.so-head a { color: var(--ld-ocean-text); font-weight: 700; }
.so-narrow { max-width: 820px; }
.so-center { display: flex; justify-content: center; margin-top: 40px; }

/* ------------------------------------------------------------------ the map */
.so-mapsec { padding: 96px 0 92px; }
.so-k-home { --k: var(--so-home); --k-ink: #FFFFFF; --k-text: var(--ld-ocean-text); }
.so-k-apt { --k: var(--so-apt); --k-ink: var(--ld-navy); --k-text: #8A5A00; }
.so-k-office { --k: var(--so-office); --k-ink: #FFFFFF; --k-text: var(--so-office); }
.so-k-park { --k: var(--so-park); --k-ink: #FFFFFF; --k-text: #3F7F27; }

.so-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 26px; }
.so-filter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 10px; border-radius: 999px;
  border: 1.5px solid var(--ld-line); background: #FFFFFF; cursor: pointer;
  font: 800 14px/1 'Montserrat', sans-serif; color: var(--ld-ink-soft); transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.so-filter[data-filter="all"] { padding-left: 16px; }
.so-filter:hover { border-color: #A9CCD8; color: var(--ld-navy); }
.so-filter[aria-pressed="true"] { border-color: var(--ld-navy); background: var(--ld-navy); color: #FFFFFF; }
.so-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--k); color: var(--k-ink); flex: none; }
.so-dot svg { width: 15px; height: 15px; }

.so-atlas { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 28px; align-items: start; }
.so-map { position: relative; aspect-ratio: 720 / 560; max-width: 100%; border-radius: 22px; overflow: hidden; box-shadow: var(--ld-shadow-md); background: var(--so-land); }
.so-map-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.so-land { fill: var(--so-land); }
.so-contours ellipse { fill: none; stroke: #D9E6CC; stroke-width: 1.5; }
.so-creek { fill: none; stroke: #9FD3E2; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 7; }
.so-road { fill: none; stroke: #FFFFFF; stroke-width: 9; stroke-linecap: round; filter: drop-shadow(0 1px 0 #C9D9C0); }
.so-road-major { stroke: #FFE7A3; stroke-width: 14; filter: drop-shadow(0 1px 0 #E3C774); }
.so-roadnames text { font: 800 12.5px 'Montserrat', sans-serif; fill: #5E7466; text-anchor: middle; letter-spacing: 0.02em; }
.so-compass path { fill: var(--ld-navy); }
.so-compass text { font: 900 12px 'Montserrat', sans-serif; fill: var(--ld-navy); text-anchor: middle; }
.so-map-note-out { display: none; }
.so-map-note { position: absolute; left: 14px; bottom: 10px; margin: 0; font-size: 11.5px; font-weight: 600; color: #5E7466; }

.so-pin {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; padding: 0; display: grid; place-items: center;
  border: 3px solid #FFFFFF; border-radius: 50%; background: var(--k); color: var(--k-ink); cursor: pointer;
  box-shadow: 0 6px 14px rgba(30, 84, 100, 0.28);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, box-shadow 0.22s ease;
}
.so-pin svg { width: 19px; height: 19px; }
.so-pin:hover { transform: scale(1.12); }
.so-pin[aria-pressed="true"] { transform: scale(1.24); box-shadow: 0 0 0 6px color-mix(in srgb, var(--k) 26%, transparent), 0 10px 22px rgba(30, 84, 100, 0.35); z-index: 2; }
.so-pin.is-dim { opacity: 0.22; transform: scale(0.8); }
html.so-js .so-pin.is-hidden { display: none; }

.so-cards { min-width: 0; position: sticky; top: 100px; }
.so-card { padding: 24px 24px 22px; border-radius: 18px; background: #FFFFFF; box-shadow: var(--ld-shadow-sm), inset 0 0 0 1px var(--ld-line); }
.so-card + .so-card { margin-top: 14px; }
html.so-js .so-card { display: none; margin: 0; }
html.so-js .so-card.is-on { display: block; animation: soIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes soIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.so-card-kind { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 800 13px/1 'Montserrat', sans-serif; color: var(--k-text); }
.so-card h3 { font-size: 24px; font-weight: 900; font-style: italic; line-height: 1.15; margin-bottom: 10px; text-wrap: balance; }
.so-card p:not(.so-card-kind) { margin: 0 0 16px; font-size: 15.5px; line-height: 1.62; color: var(--ld-ink); }
.so-card-link { display: inline-flex; align-items: center; gap: 6px; font: 800 15px/1.2 'Montserrat', sans-serif; color: var(--ld-ocean-text); text-decoration: none; }
.so-card-link svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.so-card-link:hover svg { transform: translateX(3px); }
.so-stepper { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.so-step { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--ld-line); background: #FFFFFF; color: var(--ld-navy); cursor: pointer; display: grid; place-items: center; }
.so-step svg { width: 18px; height: 18px; }
.so-step:hover { border-color: #A9CCD8; }
.so-step-count { font: 800 13.5px/1 'Montserrat', sans-serif; color: var(--ld-ink-soft); font-variant-numeric: tabular-nums; }

/* One drawing pass: the inner roads draw in, then the pins land, the first time the map is seen. */
html.so-anim .so-map:not(.is-drawn) .so-road-draw { stroke-dasharray: 900; stroke-dashoffset: 900; }
html.so-anim .so-road-draw { transition: stroke-dashoffset 1.3s cubic-bezier(0.16, 1, 0.3, 1); }
html.so-anim .so-map:not(.is-drawn) .so-pin { opacity: 0; transform: translateY(-14px) scale(0.6); }
html.so-anim .so-map.is-drawn .so-pin { transition-delay: calc(0.5s + var(--i, 0) * 0.06s); }
html.so-anim .so-map.is-settled .so-pin { transition-delay: 0s; }

/* ------------------------------------------------------------------ the story */
.so-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.so-story-lede { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: var(--ld-ink-soft); max-width: 34em; }
.so-years { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 18px; }
.so-years::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--ld-cyan), var(--ld-ocean)); border-radius: 2px; }
.so-years li { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding-left: 30px; }
.so-years li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 4px var(--ld-ocean); }
.so-years li:last-child::before { background: var(--ld-gold); box-shadow: inset 0 0 0 4px var(--ld-teal-900); }
.so-years b { font: italic 900 18px/1.3 'Montserrat', sans-serif; color: var(--ld-navy); }
.so-years span { font-size: 15.5px; line-height: 1.6; color: var(--ld-ink); }
.so-story-photo { margin: 0; position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--ld-shadow-lg); transform: rotate(0.8deg); }
.so-story-photo img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.so-story-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 12px; font-size: 12.5px; color: #FFFFFF; background: linear-gradient(transparent, rgba(10, 30, 38, 0.74)); }
.so-story-photo figcaption a { color: #FFFFFF; }

/* ------------------------------------------------------------------ field notes */
.so-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ld-navy); }
.so-note { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--ld-line); }
.so-note:nth-child(even) { padding: 28px 0 30px 28px; border-left: 1px solid var(--ld-line); }
.so-note h3 { font-size: 26px; font-weight: 900; font-style: italic; line-height: 1.15; margin-bottom: 16px; color: var(--ld-navy); }
.so-note dl { margin: 0; display: grid; gap: 12px; }
.so-note dl div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; }
.so-note dt { font: 800 13px/1.5 'Montserrat', sans-serif; color: var(--ld-ocean-text); }
.so-note dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ld-ink); }
.so-note dl div:last-child dd { color: var(--ld-navy); font-weight: 600; }

/* ------------------------------------------------------------------ renters */
.so-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.so-split-copy > p { font-size: 17px; line-height: 1.65; color: var(--ld-ink-soft); max-width: 34em; margin: 0 0 18px; }
.so-split-copy .so-small { font-size: 15.5px; margin-bottom: 26px; }
.so-sheet { position: relative; padding: 26px 26px 20px; border-radius: 16px; background: #FFFFFF; box-shadow: var(--ld-shadow-lg); transform: rotate(1.2deg); }
.so-sheet::before { content: ""; position: absolute; top: -12px; left: 50%; width: 96px; height: 24px; margin-left: -48px; border-radius: 8px; background: var(--ld-teal-900); box-shadow: 0 4px 10px rgba(30, 84, 100, 0.25); }
.so-sheet-head { padding-bottom: 14px; margin-bottom: 6px; border-bottom: 2px solid var(--ld-navy); }
.so-sheet-title { margin: 0; font: italic 900 22px/1.2 'Montserrat', sans-serif; color: var(--ld-navy); }
.so-sheet-sub { margin: 4px 0 0; font-size: 13.5px; color: var(--ld-ink-soft); }
.so-sheet-rows { list-style: none; margin: 0; padding: 0; }
.so-sheet-rows li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--ld-line); font-size: 15px; color: var(--ld-ink); }
.so-sheet-rows b {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 8px;
  background: #E7F5DF; color: #2E6B1C; font: 800 12.5px/1 'Montserrat', sans-serif;
}
.so-sheet-rows b::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E6B1C' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.so-sheet-foot { margin: 14px 0 0; font-size: 12.5px; color: var(--ld-ink-soft); }
html.so-anim .so-sheet:not(.is-in) .so-sheet-rows b { opacity: 0; transform: scale(1.6) rotate(-8deg); }
html.so-anim .so-sheet-rows b { transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
html.so-anim .so-sheet.is-in .so-sheet-rows li:nth-child(n) b { transition-delay: calc(var(--i, 0) * 0.12s); }

/* ------------------------------------------------------------------ offices */
.so-band { padding: 92px 0; background: linear-gradient(160deg, var(--ld-teal-900) 0%, #123A46 100%); color: #FFFFFF; }
.so-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.so-band h2 { color: #FFFFFF; }
.so-band p { font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, 0.86); margin: 0 0 18px; max-width: 34em; }
.so-band .so-cta { margin: 26px 0 0; }
.so-band-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 64px rgba(0, 0, 0, 0.3); transform: rotate(-0.6deg); }
.so-band-photo img { width: 100%; height: auto; display: block; }

/* ------------------------------------------------------------------ reviews */
.so-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.so-quote { margin: 0; padding: 24px 24px 20px; border-radius: 16px; background: #FFFFFF; box-shadow: var(--ld-shadow-sm), inset 0 0 0 1px var(--ld-line); display: flex; flex-direction: column; }
.so-stars { display: flex; gap: 2px; color: var(--ld-gold); margin-bottom: 12px; }
.so-stars svg { width: 16px; height: 16px; }
.so-quote blockquote { margin: 0 0 16px; font-size: 15.5px; line-height: 1.6; color: var(--ld-ink); flex: 1; }
.so-quote figcaption b { display: block; font: 800 15px/1.3 'Montserrat', sans-serif; color: var(--ld-navy); }
.so-quote figcaption span { font-size: 13px; color: var(--ld-ink-soft); }

/* ------------------------------------------------------------------ FAQ */
.so-faq { display: flex; flex-direction: column; gap: 10px; }
.so-faq details { border: 1px solid var(--ld-line); border-radius: 16px; background: #FFFFFF; transition: box-shadow 0.2s ease; }
.so-faq details[open] { box-shadow: var(--ld-shadow-sm); border-color: #BFE3EC; }
.so-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font: 800 16px/1.35 'Montserrat', sans-serif; color: var(--ld-navy); }
.so-faq summary::-webkit-details-marker { display: none; }
.so-faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--ld-soft); color: var(--ld-ocean-text); display: grid; place-items: center; font-size: 18px; transition: transform 0.2s ease; }
.so-faq details[open] summary::after { transform: rotate(45deg); }
.so-faq p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.65; color: var(--ld-ink-soft); }
.so-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 34px 0 0; }
.so-more span { font: 800 13.5px/1 'Montserrat', sans-serif; color: var(--ld-ink-soft); margin-right: 4px; }
.so-more a { padding: 9px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--ld-line); font: 700 13.5px/1 'Montserrat', sans-serif; color: var(--ld-ocean-text); text-decoration: none; }
.so-more a:hover { border-color: var(--ld-ocean); }
.so-note-small { margin: 22px 0 0; font-size: 13px; line-height: 1.6; color: var(--ld-ink-soft); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .so-hero-jump, .so-pin, .so-filter, .so-card-link svg { transition: none; }
  html.so-js .so-card.is-on { animation: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .so-hero-inner, .so-atlas, .so-story, .so-split, .so-band-inner { grid-template-columns: minmax(0, 1fr); }
  .so-hero { padding: 40px 0 70px; }
  .so-hero-art { max-width: 640px; }
  .so-cards { position: static; }
  .so-section, .so-band, .so-mapsec { padding: 68px 0; }
  .so-quotes { grid-template-columns: minmax(0, 1fr); }
  .so-story-photo img { aspect-ratio: 16 / 10; }
  .so-sheet { max-width: 520px; }
}
@media (max-width: 720px) {
  .so-notes { grid-template-columns: minmax(0, 1fr); }
  .so-note, .so-note:nth-child(even) { padding: 24px 0 26px; border-left: 0; }
}
@media (max-width: 620px) {
  .so-hero h1 { font-size: 36px; }
  .so-lede { font-size: 16.5px; }
  .so-cta .ld-btn { width: 100%; }
  .so-badge { width: 96px; height: 96px; top: -18px; right: -6px; }
  .so-badge .ld-badge-num { font-size: 26px; }
  .so-badge .ld-badge-label, .so-badge .ld-badge-unit { font-size: 9px; }
  .so-hero-jump { position: static; margin-top: 14px; width: 100%; justify-content: center; }
  .so-filters { gap: 6px; }
  .so-filter { font-size: 13px; padding: 6px 12px 6px 8px; min-height: 40px; }
  .so-pin { width: 32px; height: 32px; margin: -16px 0 0 -16px; border-width: 2px; }
  .so-pin svg { width: 15px; height: 15px; }
  .so-roadnames text { font-size: 19px; }
  .so-map-note { display: none; }
  .so-map-note-out { display: block; margin: -16px 0 0; font-size: 12px; font-weight: 600; color: #5E7466; text-align: center; }
  .so-years li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .so-note dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .so-card { padding: 20px 18px; }
  .so-sheet { padding: 22px 18px 16px; }
  .so-sheet-rows li { font-size: 14px; }
}
