/*
 * Spark Together Cleaning, v2 (2026-10-18)
 *
 * Layout taken from ten GPT mockups (five free brief, five blank slate): split hero
 * with a photo bleeding off the right edge, spaced-caps eyebrows, rounded cards with
 * tinted icon circles, a full-width call-to-action band, deep teal footer.
 * Colors are sampled from Howard's logo (brand/logo-howard.png).
 *
 * Contrast (measured): --st-teal-text 5.0:1 on white, 4.6:1 on --st-tint.
 * --st-teal (#31C5C4) is the logo color and fails as text: fills and shapes only.
 * Yellow is a fill behind navy text (5.6:1), never text on white.
 *
 * Tokens map 1:1 to theme.json for the WordPress version (../wordpress-migration.md).
 */
:root {
  --st-navy: #014F62;
  --st-teal: #31C5C4;
  --st-teal-text: #0A7C7B;
  --st-yellow: #F9C23F;
  --st-ink: #12303A;
  --st-soft: #4A5A62;
  --st-tint: #EEF8F8;
  --st-line: #DCEBEB;
  --st-white: #FFFFFF;
  --st-deep: #013B4A;
  --st-radius: 20px;
  --st-head: "Outfit", system-ui, sans-serif;
  --st-body: "Inter", system-ui, sans-serif;
  --st-script: "Caveat", cursive;
  --st-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--st-white); color: var(--st-ink); font: 400 1.0625rem/1.65 var(--st-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--st-head); color: var(--st-navy); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--st-navy); }
svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.st-wrap { max-width: var(--st-max); margin: 0 auto; padding: 0 28px; }
.st-skip { position: absolute; left: -999px; top: 8px; background: var(--st-navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.st-skip:focus { left: 8px; }

/* Header */
.st-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--st-line); }
.st-header-row { display: flex; align-items: center; gap: 28px; min-height: 82px; }
.st-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.st-brand img { width: 52px; height: 52px; }
.st-brand-name { font: 800 1.35rem/1 var(--st-head); color: var(--st-navy); letter-spacing: -.01em; }
.st-brand-name small { display: block; font: 700 .7rem/1.4 var(--st-head); letter-spacing: .32em; text-transform: uppercase; color: var(--st-teal-text); margin-top: 4px; }
.st-nav { display: flex; gap: 30px; }
.st-nav a { text-decoration: none; font-weight: 500; color: var(--st-ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.st-nav a:hover, .st-nav a[aria-current="page"] { color: var(--st-teal-text); border-bottom-color: var(--st-teal); }

/* Buttons */
.st-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--st-yellow); color: var(--st-navy); font: 700 1.05rem/1 var(--st-head); padding: 17px 28px; border-radius: 999px; text-decoration: none; border: 2px solid var(--st-yellow); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.st-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(1, 79, 98, .16); }
.st-btn-ghost { background: var(--st-white); border-color: var(--st-line); }
.st-btn-sm { padding: 12px 20px; font-size: .98rem; }
a:focus-visible, .st-btn:focus-visible { outline: 3px solid var(--st-teal-text); outline-offset: 3px; }

/* Hero: copy on the left, the photo bleeds off the right edge and fades into white */
.st-hero { position: relative; overflow: hidden; padding: 80px 0 90px; min-height: 640px; display: flex; align-items: center; }
.st-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; background: url(/img/hero-wide.jpg) 62% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
.st-hero .st-wrap { position: relative; width: 100%; }
.st-hero-copy { max-width: 600px; }
.st-eyebrow { font: 700 .8rem/1.3 var(--st-head); letter-spacing: .24em; text-transform: uppercase; color: var(--st-teal-text); margin-bottom: 16px; }
.st-accent { color: var(--st-teal-text); position: relative; white-space: nowrap; }
.st-accent::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: -.12em; height: .2em; background: var(--st-yellow); border-radius: 50%; transform: rotate(-1.2deg); z-index: -1; }
.st-hero h1 { position: relative; z-index: 0; }
.st-lede { font-size: 1.18rem; color: var(--st-soft); max-width: 33em; }
.st-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.st-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.st-trust li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--st-ink); }
.st-trust-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--st-tint); color: var(--st-teal-text); flex: none; }
.st-trust-ic svg { width: 21px; height: 21px; }
.st-script { position: absolute; right: 4%; top: 40px; z-index: 2; margin: 0; font: 600 2rem/1.05 var(--st-script); color: var(--st-navy); transform: rotate(-8deg); text-align: center;
  background: rgba(255, 255, 255, .82); padding: 12px 18px; border-radius: 14px; }

/* Sections */
.st-sec { padding: 92px 0; }
.st-tint { background: var(--st-tint); }
.st-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.st-sub { color: var(--st-soft); margin: 0; }

/* Service cards: four, 4 / 2 / 1 columns, four divides at every breakpoint */
.st-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.st-card { position: relative; display: flex; flex-direction: column; background: var(--st-white); border-radius: var(--st-radius); overflow: hidden; text-decoration: none; color: var(--st-ink); box-shadow: 0 1px 2px rgba(1, 79, 98, .06), 0 10px 30px rgba(1, 79, 98, .06); transition: transform .15s ease, box-shadow .15s ease; padding-bottom: 24px; }
.st-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(1, 79, 98, .12); }
.st-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.st-card-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--st-white); color: var(--st-teal-text); margin: -28px 0 10px 22px; position: relative; box-shadow: 0 4px 14px rgba(1, 79, 98, .14); }
.st-card h3, .st-card p { padding: 0 22px; }
.st-card p { color: var(--st-soft); font-size: .97rem; flex: 1; }
.st-more { padding: 0 22px; font-weight: 600; color: var(--st-teal-text); }

/* Prices: five tiles, 5 / 3+2 / 2+2+1 / 1 */
.st-prices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: stretch; }
.st-price { position: relative; background: var(--st-white); border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 30px 22px 26px; text-align: center; }
.st-price h3 { font-size: 1.08rem; margin-bottom: 14px; }
.st-amt { font: 800 2.6rem/1 var(--st-head); color: var(--st-navy); margin-bottom: 10px; }
.st-amt span { display: block; font: 600 1rem/1.4 var(--st-body); color: var(--st-soft); margin-top: 4px; }
.st-amt .st-from { display: block; margin: 0 0 4px; }
.st-time { color: var(--st-soft); font-size: .9rem; margin: 0; padding-top: 12px; border-top: 1px solid var(--st-line); }
.st-price-pop { border: 2px solid var(--st-teal); box-shadow: 0 14px 34px rgba(49, 197, 196, .22); }
.st-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--st-yellow); color: var(--st-navy); font: 700 .78rem/1 var(--st-head); letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; white-space: nowrap; margin: 0; }
.st-recur { font-weight: 600; color: var(--st-teal-text); font-size: .92rem; margin: 0; padding-top: 12px; border-top: 1px solid var(--st-line); }
.st-center { text-align: center; margin: 26px 0 0; }

/* Pricing page */
.st-page-head { padding: 72px 0 64px; text-align: center; }
.st-page-head .st-lede { margin: 0 auto; }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-table-wrap { max-width: 920px; margin: 0 auto; background: var(--st-white); border-radius: var(--st-radius); box-shadow: 0 10px 30px rgba(1, 79, 98, .08); overflow: hidden; }
.st-table { width: 100%; border-collapse: collapse; text-align: center; }
.st-table th, .st-table td { padding: 16px 14px; border-bottom: 1px solid var(--st-line); }
.st-table tbody tr:last-child th, .st-table tbody tr:last-child td { border-bottom: 0; }
.st-table thead th { font: 700 1rem/1.2 var(--st-head); color: var(--st-navy); background: var(--st-white); vertical-align: bottom; padding-top: 22px; }
.st-table thead th span { display: block; font: 600 .8rem/1.4 var(--st-body); color: var(--st-teal-text); margin-top: 4px; }
.st-table tbody th { text-align: left; font-weight: 600; color: var(--st-ink); padding-left: 24px; }
.st-table thead th:first-child { text-align: left; padding-left: 24px; }
.st-table td { font: 700 1.15rem/1 var(--st-head); color: var(--st-navy); }
.st-table .st-hl { background: #FFF6DC; }
.st-table thead .st-hl { background: var(--st-yellow); }
.st-table thead .st-hl span { color: var(--st-navy); }
.st-addons { background: var(--st-tint); border-radius: var(--st-radius); padding: 30px; }
.st-addons p { color: var(--st-soft); }

.st-note { text-align: center; color: var(--st-soft); margin: 34px auto 0; max-width: 680px; }
.st-note strong { color: var(--st-navy); }

/* Steps */
.st-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.st-steps li { background: var(--st-white); border-radius: var(--st-radius); padding: 32px 28px; text-align: center; box-shadow: 0 10px 30px rgba(1, 79, 98, .06); }
.st-step-ic { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--st-tint); color: var(--st-teal-text); margin-bottom: 14px; }
.st-step-ic svg { width: 32px; height: 32px; }
.st-step-n { font: 700 .78rem/1 var(--st-head); letter-spacing: .2em; text-transform: uppercase; color: var(--st-teal-text); margin-bottom: 10px; }
.st-steps p:last-child { color: var(--st-soft); margin: 0; }

/* Area */
.st-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.st-split-top { align-items: start; }
.st-checks { list-style: none; padding: 0; margin: 20px 0 0; }
.st-checks li { position: relative; padding-left: 34px; margin-bottom: 12px; font-weight: 500; }
.st-checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--st-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.st-map { border-radius: var(--st-radius); overflow: hidden; box-shadow: 0 10px 30px rgba(1, 79, 98, .1); background: var(--st-tint); }
.st-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Call-to-action band */
.st-band { background: linear-gradient(110deg, var(--st-navy), #027384); color: #fff; padding: 46px 0; }
.st-band-row { display: flex; align-items: center; gap: 26px; }
.st-band img { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 6px; flex: none; }
.st-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 4px; }
.st-band p { margin: 0; color: #D6F1F1; }
.st-band .st-btn { margin-left: auto; }

/* Contact */
.st-placeholder { font-weight: 600; border-left: 4px solid var(--st-yellow); padding-left: 14px; }
.st-form { background: var(--st-white); border-radius: var(--st-radius); padding: 30px; box-shadow: 0 10px 30px rgba(1, 79, 98, .08); }
.st-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.st-form fieldset[disabled] { opacity: .6; }
.st-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.st-form input, .st-form select, .st-form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--st-line); border-radius: 12px; background: var(--st-tint); width: 100%; }
.st-form .st-btn { justify-content: center; }
.st-form-note { margin: 16px 0 0; font-size: .92rem; color: var(--st-soft); }

/* Footer */
.st-footer { background: var(--st-deep); color: #CFE6E9; padding: 60px 0 0; }
.st-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.st-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.st-footer nav { display: flex; flex-direction: column; gap: 8px; }
.st-footer a { color: #CFE6E9; text-decoration: none; }
.st-footer a:hover { color: #fff; }
.st-brand-light { margin-bottom: 14px; }
.st-brand-light img { background: #fff; border-radius: 50%; padding: 4px; }
.st-brand-light .st-brand-name { color: #fff; }
.st-brand-light .st-brand-name small { color: var(--st-teal); }
.st-footer-base { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 18px; font-size: .88rem; }
.st-footer-base p { margin: 0; }

@media (max-width: 1100px) {
  .st-prices { grid-template-columns: repeat(6, 1fr); }
  .st-price { grid-column: span 2; }
  .st-price:nth-child(4) { grid-column: 2 / span 2; }
  .st-script { display: none; }
}
@media (max-width: 980px) {
  .st-nav { gap: 20px; }
  .st-cards { grid-template-columns: repeat(2, 1fr); }
  .st-split { grid-template-columns: 1fr; gap: 36px; }
  .st-hero { flex-direction: column; align-items: stretch; padding: 48px 0 0; min-height: 0; }
  .st-hero-photo { position: relative; width: auto; height: 340px; order: 2; margin-top: 40px; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 860px) {
  /* Five short items fit one row on any phone, so the nav moves under the brand instead of hiding behind a menu button. */
  .st-header-row { flex-wrap: wrap; row-gap: 0; padding-top: 8px; }
  .st-nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; border-top: 1px solid var(--st-line); }
  .st-nav a { font-size: .93rem; padding: 10px 0; }
  html { scroll-padding-top: 130px; }
  .st-prices { grid-template-columns: repeat(2, 1fr); }
  .st-price, .st-price:nth-child(4) { grid-column: auto; }
  .st-price:last-child { grid-column: 1 / -1; }
  .st-steps { grid-template-columns: 1fr; }
  .st-band-row { flex-wrap: wrap; }
  .st-band .st-btn { margin-left: 0; }
  .st-footer-grid { grid-template-columns: 1fr 1fr; }
  .st-footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .st-wrap { padding: 0 16px; }
  .st-header-row { min-height: 70px; gap: 12px; }
  .st-brand img { width: 42px; height: 42px; }
  .st-brand-name { font-size: 1.1rem; }
  .st-header-cta { padding: 10px 14px; font-size: .9rem; }
  .st-cards { grid-template-columns: 1fr; }
  .st-prices { grid-template-columns: 1fr; }
  .st-sec { padding: 64px 0; }
  .st-hero-photo { height: 260px; }
  .st-map iframe { height: 320px; }
  .st-footer-grid { grid-template-columns: 1fr; }
  /* The plan table becomes one card per home size, each price labeled with its plan. */
  .st-table thead { display: none; }
  .st-table, .st-table tbody, .st-table tr { display: block; }
  .st-table tr { padding: 18px 20px; border-bottom: 1px solid var(--st-line); }
  .st-table tbody th { display: block; padding: 0 0 10px; border: 0; font-family: var(--st-head); font-size: 1.1rem; color: var(--st-navy); }
  .st-table td { display: flex; justify-content: space-between; padding: 9px 12px; border: 0; border-radius: 10px; font-size: 1.05rem; }
  .st-table td::before { content: attr(data-label); font: 500 .95rem/1 var(--st-body); color: var(--st-soft); }
  .st-table td.st-hl::before { color: var(--st-navy); font-weight: 600; }
  .st-page-head { padding: 48px 0 44px; }
  .st-accent { white-space: normal; }
}
@media (max-width: 380px) {
  .st-header-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .st-btn, .st-card { transition: none; }
}

/* Promotion: rendered by build.py from prices.json "promo". Turn it off there, not here. */
.st-promo-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 9px 16px; background: var(--st-navy); color: #fff; text-decoration: none; font-size: .95rem; text-align: center; }
.st-promo-bar strong { font-family: var(--st-head); font-weight: 700; }
.st-promo-pill { background: var(--st-yellow); color: var(--st-navy); font: 800 .72rem/1 var(--st-head); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.st-promo-go { color: var(--st-yellow); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.st-promo-bar:hover .st-promo-go { color: #fff; }
.st-promo { background: var(--st-yellow); padding: 34px 0; position: relative; overflow: hidden; }
.st-promo::before, .st-promo::after { content: ""; position: absolute; width: 90px; height: 90px; background: rgba(255, 255, 255, .45);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.st-promo::before { right: 6%; top: -18px; }
.st-promo::after { right: 14%; bottom: -30px; width: 60px; height: 60px; }
.st-promo-row { display: flex; align-items: center; gap: 28px; position: relative; }
.st-promo-badge { flex: none; display: grid; place-items: center; align-content: center; width: 116px; height: 116px; border-radius: 50%; background: var(--st-navy); color: #fff;
  font: 800 1rem/1 var(--st-head); letter-spacing: .14em; transform: rotate(-8deg); box-shadow: 0 10px 24px rgba(1, 79, 98, .25); }
.st-promo-badge span { display: block; font-size: 2.6rem; letter-spacing: -.02em; color: var(--st-yellow); margin-bottom: 2px; }
.st-promo-label { font: 800 .8rem/1 var(--st-head); letter-spacing: .2em; text-transform: uppercase; color: var(--st-navy); margin-bottom: 8px; }
.st-promo h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 6px; }
.st-promo-copy p:last-child { margin: 0; color: var(--st-ink); }
.st-promo .st-btn { margin-left: auto; }
.st-btn-navy { background: var(--st-navy); border-color: var(--st-navy); color: #fff; }
@media (max-width: 860px) {
  .st-promo-row { flex-wrap: wrap; gap: 18px; }
  .st-promo .st-btn { margin-left: 0; }
  .st-promo-badge { width: 92px; height: 92px; }
  .st-promo-badge span { font-size: 2rem; }
}
@media (max-width: 600px) {
  .st-promo-bar { font-size: .88rem; }
  .st-promo-go { display: none; }
}

/* Legal page */
.st-legal { max-width: 760px; }
.st-legal h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.st-legal h2:first-of-type { margin-top: 1.2em; }
.st-legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.st-legal li { margin-bottom: .5em; }
.st-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Text-me contact block (number comes from prices.json "business") */
.st-textme { background: var(--st-white); border-radius: var(--st-radius); padding: 28px; box-shadow: 0 10px 30px rgba(1, 79, 98, .08); border-top: 5px solid var(--st-yellow); margin-top: 8px; }
.st-textme-label { font: 800 .8rem/1 var(--st-head); letter-spacing: .2em; text-transform: uppercase; color: var(--st-teal-text); margin-bottom: 10px; }
.st-textme-num { display: block; font: 800 clamp(1.9rem, 4vw, 2.6rem)/1.1 var(--st-head); color: var(--st-navy); text-decoration: none; margin-bottom: 12px; }
.st-textme p:not(.st-textme-label) { color: var(--st-soft); }
