/* House Cleaning Stratford - linen & emerald */
:root {
  --emerald: #157a52;
  --emerald-dark: #0e5a3c;
  --mint: #e6f4ed;
  --mint-2: #cfeadc;
  --linen: #f7faf8;
  --fog: #eef3f1;
  --pine: #14231d;
  --pine-2: #1d3229;
  --text: #1d2a25;
  --text-soft: #4f5e58;
  --line: #d5e0db;
  --sun: #f2c94c;
  --white: #fff;
  --serif-face: "Bookman Old Style", "Iowan Old Style", Charter, "Bitstream Charter", "URW Bookman", serif;
  --sans-face: Gadugi, Seravek, Ubuntu, Cantarell, "Liberation Sans", sans-serif;
  --room: 1160px;
  --curve: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--linen); color: var(--text); font: 17px/1.6 var(--sans-face); }
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--emerald-dark); text-underline-offset: 3px; }
a:hover { color: var(--emerald); }
h1, h2, h3 { font-family: var(--serif-face); font-weight: 700; color: var(--pine); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.hop-in { position: absolute; left: 12px; top: -60px; background: var(--pine); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 60; }
.hop-in:focus { top: 12px; color: #fff; }
.frame-in { width: 100%; max-width: var(--room); margin: 0 auto; padding: 0 22px; }

/* header */
.tidybar { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px rgba(20, 35, 29, .05); }
.tidybar .frame-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.homemark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pine); flex-shrink: 0; }
.homemark svg { width: 42px; height: 42px; }
.homemark-words { display: flex; flex-direction: column; line-height: 1.05; }
.homemark-words b { font-family: var(--serif-face); font-size: 1.12rem; }
.homemark-words small { font-variant: small-caps; letter-spacing: .04em; color: var(--text-soft); font-size: .84rem; }
.roomnav { margin-left: auto; }
.roomnav-open { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font: inherit; color: var(--pine); cursor: pointer; }
#roomnav-items { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
#roomnav-items > li { position: relative; }
#roomnav-items > li > a, .nest-flip { display: block; padding: 10px 12px; text-decoration: none; color: var(--pine); font: inherit; font-size: .96rem; background: none; border: 0; cursor: pointer; position: relative; white-space: nowrap; text-align: left; }
#roomnav-items > li > a[aria-current="page"]::after, .nest-flip.here::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--mint-2); }
.nest-flip::before { content: ""; float: right; margin: 9px 0 0 7px; border: 5px solid transparent; border-top-color: var(--emerald); }
.drop-list { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px; list-style: none; margin: 0; box-shadow: 0 14px 30px rgba(20, 35, 29, .12); }
.drop-list a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--text); }
.drop-list a:hover { background: var(--mint); }
li.dropped > .drop-list { display: block; }
.dial-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--mint); color: var(--emerald-dark); text-decoration: none; border-radius: 999px; padding: 8px 14px; font-weight: 600; white-space: nowrap; }
.dial-pill svg { width: 16px; height: 16px; }

/* buttons */
.btn-fresh, .btn-outline-em, .btn-white, .btn-white-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn-fresh { background: var(--emerald); color: #fff; }
.btn-fresh:hover { color: #fff; background: var(--emerald-dark); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(21, 122, 82, .25); }
.btn-outline-em { border-color: var(--emerald); color: var(--emerald-dark); background: transparent; }
.btn-outline-em:hover { background: var(--mint); }
.btn-white { background: #fff; color: var(--emerald-dark); }
.btn-white-line { border-color: #fff; color: #fff; }
.btn-white-line:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-lineup { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* home hero */
.front-door { padding: 54px 0 46px; }
.front-door .frame-in { display: grid; grid-template-columns: 52fr 48fr; gap: 46px; align-items: center; }
.overline { display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--emerald); font-weight: 700; margin: 0 0 12px; }
.overline::before { content: ""; width: 18px; height: 2px; background: var(--emerald); }
.front-lead { font-size: 1.12rem; color: var(--text-soft); }
.hero-ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.hero-ticks li { position: relative; padding-left: 32px; margin-bottom: 8px; }
.hero-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 5px; background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.front-photo { position: relative; }
.front-photo img { border-radius: 24px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.mini-list { position: absolute; left: -26px; bottom: -22px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 16px 34px rgba(20, 35, 29, .16); font-size: .92rem; min-width: 190px; }
.mini-list span { display: flex; justify-content: space-between; gap: 18px; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.mini-list span:last-child { border-bottom: 0; }
.mini-list i { font-style: normal; color: var(--emerald); font-weight: 700; }

/* inner hero */
.room-top { background: var(--mint); padding: 34px 0 40px; text-align: center; }
.crumb-path { font-size: .88rem; color: var(--text-soft); margin: 0 0 14px; }
.crumb-path ol { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.crumb-path li + li::before { content: "/"; margin-right: 6px; color: var(--emerald); }
.room-top .overline { justify-content: center; }
.room-top .top-sub { max-width: 720px; margin: 0 auto; color: var(--text-soft); font-size: 1.08rem; }
.room-top .rule { width: 60px; height: 3px; background: var(--emerald); border-radius: 3px; margin: 18px auto 0; }
.room-top .btn-lineup { justify-content: center; }

/* sections */
.stripe { padding: 56px 0; }
.stripe.tint { background: var(--fog); }
.band-narrow { max-width: 820px; }
.stripe h2 { max-width: 820px; }
.price-band { background: var(--mint); padding: 56px 0; }
.price-band .frame-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }

/* cards */
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 10px; }
.room-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--emerald); border-radius: var(--curve); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.room-card .icon-box { width: 40px; height: 40px; border-radius: 10px; background: var(--mint); display: grid; place-items: center; }
.room-card .icon-box svg { width: 22px; height: 22px; }
.room-card h3 { margin: 4px 0 0; }
.room-card p { margin: 0; color: var(--text-soft); }
.room-card .go { margin-top: auto; font-weight: 600; }
.badge-sun { align-self: flex-start; background: var(--sun); color: var(--pine); font-size: .76rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.trust-line { margin-top: 22px; padding: 14px 18px; border-left: 4px solid var(--emerald); background: var(--mint); border-radius: 0 10px 10px 0; font-weight: 600; }

/* room-by-room */
.table-slide { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--curve); background: #fff; }
.room-by-room, .tidy-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.room-by-room th, .room-by-room td, .tidy-table th, .tidy-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.room-by-room thead th, .tidy-table thead th { background: var(--pine); color: #fff; font-weight: 600; font-size: .94rem; }
.room-by-room tbody th { position: sticky; left: 0; background: #fff; font-weight: 600; min-width: 210px; }
.room-by-room td { text-align: center; }
.room-by-room tr:last-child > *, .tidy-table tr:last-child > * { border-bottom: 0; }
.yes-mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mint-2); }
.yes-mark svg { width: 14px; height: 14px; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .8rem; background: var(--fog); border: 1px solid var(--line); color: var(--text-soft); white-space: nowrap; }
.dash { color: #9aa8a2; }
.small-note { font-size: .93rem; color: var(--text-soft); margin-top: 14px; }

/* price slip */
.slip-pair { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 30px; align-items: start; }
.price-slip { background: #fff; padding: 22px 22px 34px; border-radius: 12px 12px 0 0; box-shadow: 0 10px 24px rgba(20, 35, 29, .08); position: relative; -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 12px repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 12px repeat-x; }
.slip-head { font-family: var(--serif-face); font-weight: 700; color: var(--pine); border-bottom: 2px solid var(--pine); padding-bottom: 8px; margin-bottom: 8px; }
.slip-line { display: grid; grid-template-columns: auto 1fr auto; column-gap: 8px; align-items: baseline; padding: 7px 0; font-size: .95rem; }
.slip-line b { grid-row: 1; }
.slip-line .leader { grid-row: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 20px; }
.slip-line::after { content: "\2713"; grid-row: 1; grid-column: 3; color: var(--emerald); font-weight: 700; }
.slip-line em { grid-column: 1 / -1; grid-row: 2; font-style: normal; color: var(--text-soft); font-size: .86rem; }
.slip-total { margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--pine); font-weight: 700; color: var(--emerald-dark); }
.range-disclaimer { background: #fff; border: 1px dashed var(--emerald); border-radius: 12px; padding: 16px 18px; margin-top: 18px; }
.range-disclaimer .btn-fresh { margin-top: 10px; }

/* reset-keep */
.reset-keep { max-width: 760px; }
.rk-band { border-radius: var(--curve); padding: 20px 22px; border: 1px solid var(--line); }
.rk-band.first { background: var(--mint); border-color: var(--mint-2); }
.rk-band.after { background: #fff; }
.rk-band b { display: block; font-family: var(--serif-face); color: var(--pine); font-size: 1.1rem; margin-bottom: 4px; }
.rk-band p { margin: 0; }
.rk-arrow { display: grid; place-items: center; height: 44px; }
.rk-arrow svg { width: 26px; height: 26px; }
.reset-keep + p, .reset-keep ~ p { margin-top: 18px; max-width: 760px; }

/* good fit */
.good-fit { list-style: none; padding: 0; display: grid; gap: 10px; max-width: 820px; }
.good-fit li { position: relative; padding: 12px 14px 12px 50px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.good-fit li svg { position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; }

/* yes-mark steps */
.tick-steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.tick-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; border-top: 2px dotted var(--mint-2); z-index: 0; }
.tick-steps li { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.tick-steps .box { width: 32px; height: 32px; border: 2px solid var(--emerald); border-radius: 7px; display: grid; place-items: center; background: #fff; margin-bottom: 10px; }
.tick-steps .box svg { width: 18px; height: 18px; }
.tick-steps b { display: block; color: var(--pine); margin-bottom: 4px; }
.tick-steps span { color: var(--text-soft); font-size: .95rem; }

/* qa */
.answers-stack { max-width: 860px; display: grid; gap: 10px; }
.answers-stack details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.answers-stack summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; font-family: var(--serif-face); font-weight: 700; color: var(--pine); font-size: 1.05rem; }
.answers-stack summary::-webkit-details-marker { display: none; }
.answers-stack summary::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 3px; border: 2px solid var(--emerald); border-radius: 5px; background: #fff; }
.answers-stack details[open] { background: var(--mint); border-color: var(--mint-2); }
.answers-stack details[open] summary::before { background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.answers-stack .qa-reply { padding: 0 18px 16px 52px; }
.answers-stack .qa-reply p:last-child { margin: 0; }
.qa-group + .qa-group { margin-top: 34px; }

/* image stripe */
.snap { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: end; margin: 0; }
.snap img { border-radius: var(--curve); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.snap figcaption { font-size: .92rem; color: var(--text-soft); border-left: 3px solid var(--emerald); padding-left: 12px; }
.snap-band { padding: 30px 0; }

/* local pointer */
.local-pointer { display: flex; gap: 14px; max-width: 820px; background: var(--mint); border: 1px solid var(--mint-2); border-radius: var(--curve); padding: 18px 20px; }
.local-pointer svg { flex: 0 0 26px; width: 26px; height: 26px; }
.local-pointer p { margin: 0; }
.local-pointer b { display: block; color: var(--pine); }

/* which clean */
.which-clean { display: grid; gap: 10px; max-width: 900px; }
.which-clean a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); }
.which-clean a:hover { border-color: var(--emerald); }
.which-clean q { font-style: italic; }
.which-clean strong { color: var(--emerald-dark); white-space: nowrap; }

/* town links */
.town-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0; }
.town-pills a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.town-pills a:hover { border-color: var(--emerald); }
.see-more { font-weight: 600; }
.related-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.link-label { font-family: var(--serif-face); font-weight: 700; color: var(--pine); margin: 0 0 6px; }
.related-cols ul { list-style: none; padding: 0; margin: 0; }
.related-cols li { padding: 4px 0; }

/* forms */
.price-form { background: #fff; border-radius: var(--curve); padding: 24px; box-shadow: 0 12px 28px rgba(20, 35, 29, .08); }
.price-form label { display: block; font-weight: 600; font-size: .94rem; margin: 0 0 5px; color: var(--pine); }
.price-form .need { color: var(--emerald); }
.price-form input, .price-form select, .price-form textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b9c8c1; border-radius: 8px; background: #fff; color: var(--text); margin-bottom: 14px; }
.price-form textarea { min-height: 110px; resize: vertical; }
.price-form input:focus, .price-form select:focus, .price-form textarea:focus { border-color: var(--emerald); outline: 2px solid var(--mint-2); }
.price-form .btn-fresh { width: 100%; }
.form-under { font-size: .92rem; color: var(--text-soft); margin: 12px 0 0; text-align: center; }
.send-msg { margin: 12px 0 0; font-weight: 600; }
.send-msg.send-bad { color: #9b2c1f; }
.pot-field { display: none; }
.after-send ol { padding-left: 1.2em; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--curve); padding: 20px 22px; max-width: 640px; }

/* footer */
.closing { background: var(--pine); color: #d9e5df; margin-top: 0; }
.closing a { color: #fff; }
.closing a.btn-white, .closing a.btn-white:hover { color: var(--emerald-dark); }
.closing-call { background: var(--emerald); color: #fff; }
.closing-call .frame-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.closing-call p { margin: 0; font-size: 1.1rem; max-width: 620px; }
.closing-call .btn-lineup { margin: 0; }
.closing-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr .9fr; gap: 30px; padding: 44px 0 30px; }
.closing-label { font-family: var(--serif-face); font-weight: 700; color: #fff; margin: 0 0 10px; font-size: 1.05rem; }
.closing ul { list-style: none; padding: 0; margin: 0; }
.closing li { padding: 3px 0; }
.closing li a { text-decoration: none; }
.closing li a:hover { text-decoration: underline; }
.two-up { columns: 2; column-gap: 18px; }
.closing-brand p { font-size: .95rem; }
.legal-row { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 16px 0; border-top: 1px solid var(--pine-2); font-size: .9rem; }
.legal-row a { text-decoration: none; display: inline-flex; align-items: center; gap: 16px; }
.legal-row a + a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint-2); margin-right: 0; }
.closing-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 0 26px; font-size: .86rem; color: #b8c9c1; border-top: 1px solid var(--pine-2); }
.closing-base details { max-width: 560px; }
.closing-base summary { cursor: pointer; }
.closing-base ul { margin-top: 6px; }

/* mobile call bar */
.reach-bar { display: none; }

@media (max-width: 1120px) {
  .roomnav-open { display: inline-block; }
  #roomnav-items { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 22px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(20, 35, 29, .1); max-height: calc(100vh - 72px); overflow-y: auto; }
  .tidybar.menu-on #roomnav-items { display: flex; }
  .drop-list { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .tidybar .frame-in { position: relative; }
  .dial-pill span { display: none; }
  .closing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .front-door .frame-in, .price-band .frame-in, .slip-pair { grid-template-columns: 1fr; }
  .front-photo { order: -1; }
  .front-photo img { aspect-ratio: 4 / 3; }
  .mini-list { display: none; }
  .tick-steps { grid-template-columns: 1fr 1fr; }
  .tick-steps::before { display: none; }
  .snap { grid-template-columns: 1fr; }
  .snap figcaption { order: 2; }
}
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .frame-in { padding: 0 16px; }
  .tidybar .btn-fresh { display: none; }
  .reach-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; padding: 8px 10px; box-shadow: 0 -6px 16px rgba(20, 35, 29, .12); }
  .reach-bar a { padding: 11px 8px; }
  .stripe, .price-band { padding: 42px 0; }
  .front-door { padding: 26px 0 34px; }
  .tick-steps { grid-template-columns: 1fr; }
  .closing-grid { grid-template-columns: 1fr; }
  .homemark-words small { display: none; }
  .which-clean a { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.sr-note { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
