/* Delegated Services. System fonts only: nothing to download, nothing to block. */
:root {
  /* Delegated Services brand palette (Monday board: DS Assets, Color Palette) */
  --ink: #150c3f;        /* Secondary 3 "Black" (deep indigo) */
  --ink-2: #1c1057;      /* Primary 1 Dark Blue */
  --paper: #f7f7f7;      /* Secondary 2 Off Grey */
  --white: #ffffff;      /* Primary 2 White */
  --teal: #3a54fd;       /* Secondary 4 Royal Blue (accent) */
  --teal-dark: #1c1057;  /* Dark Blue for bands and hover */
  --mint: #e7edfa;       /* Secondary 5 Powder Blue */
  --sun: #ffcc00;        /* Secondary 1 Yellow */
  --text: #1d1a33;
  --muted: #55566e;
  --line: #dde1ee;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.15; color: var(--ink); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--ink); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.9rem; }

/* Buttons */
.btn { display: inline-block; padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; line-height: 1.2; transition: transform 0.12s ease, background 0.12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffd83d; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); color: var(--white); }
.btn-small { padding: 0.55rem 1.05rem; font-size: 0.95rem; background: var(--ink); color: var(--white); }
.btn-small:hover { background: var(--teal); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand img { width: 178px; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--teal); }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 999px; padding: 0.45rem 1rem; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 0.5rem 1.25rem 1.25rem; gap: 0.75rem; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .btn { text-align: center; padding: 0.85rem; }
}

/* Heroes */
.hero, .page-hero { background: var(--ink); color: #dcdcf2; }
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0; background: radial-gradient(900px 500px at 85% 10%, #2a1a80 0%, var(--ink) 60%); }
.page-hero { padding: clamp(2.5rem, 6vw, 4.25rem) 0; }
.hero h1, .page-hero h1 { color: var(--white); }
.hero h1 { font-size: clamp(2.5rem, 6.5vw, 4.4rem); letter-spacing: -0.025em; }
.hero h1 > span { display: block; margin-top: 0.9rem; font-size: clamp(1.15rem, 2.3vw, 1.5rem); font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--mint); }
.page-hero h1 { max-width: 21ch; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--sun); }
.lead { font-size: 1.15rem; max-width: 60ch; color: #cfd0ea; margin: 1.1rem 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.trust { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.95rem; color: #c3c4e2; }
.trust li::before, .checks li::before, .checklist-card li::before { content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-right: 0.55em; vertical-align: -0.15em; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

.checklist-card { background: var(--white); color: var(--text); border-radius: 18px; padding: 1.5rem 1.6rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); transform: rotate(1.2deg); }
.checklist-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 800; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 0.7rem; margin-bottom: 0.4rem; }
.checklist-title span { font-size: 0.78rem; font-weight: 700; color: var(--teal); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.checklist-card ul { list-style: none; margin: 0; padding: 0; }
.checklist-card li { padding: 0.62rem 0; border-bottom: 1px dashed var(--line); font-size: 0.98rem; }
.checklist-card em { font-style: normal; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--mint); color: var(--ink-2); padding: 0.15rem 0.5rem; border-radius: 999px; margin-left: 0.35rem; }
.checklist-foot { margin: 1rem 0 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .checklist-card { transform: none; }
}

/* Breadcrumbs */
.crumbs { padding: 0.8rem 0; font-size: 0.88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: #a9abc4; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.tint { background: #edf1fc; }
.section-lead { max-width: 65ch; color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }
.after-grid { margin: 2rem 0 0; max-width: 70ch; }
.grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 980px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid.two, .grid.three, .grid.four, .split { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card p { color: var(--muted); margin: 0; }
.link-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease; }
.link-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(21, 12, 63, 0.4); color: inherit; }
.link-card .more { margin-top: auto; padding-top: 1.1rem; font-weight: 700; color: var(--teal); }
.link-card .more::after { content: " \2192"; }

.checks, .link-list { list-style: none; padding: 0; margin: 1.1rem 0 1.4rem; }
.checks li { padding: 0.45rem 0 0.45rem 1.75em; text-indent: -1.75em; }
.checks li::before { text-indent: 0; margin-right: 0.7em; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: block; padding: 0.75rem 0; font-weight: 700; text-decoration: none; }
.link-list a::after { content: " \2192"; }

.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0; }
.pill-list a { display: block; padding: 0.6rem 1.1rem; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 650; background: var(--white); }
.pill-list a:hover { background: var(--ink); color: var(--white); }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; padding: 0; margin: 1.75rem 0 0; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: "0" counter(step); display: block; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 0.5rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Testimonial */
.quote-band { background: linear-gradient(135deg, #3a54fd 0%, #1c1057 100%); color: #dfe3fb; }
.quote-band h2 { color: var(--white); }
.quote-band .eyebrow { color: var(--sun); }
.quote-band .btn-ink { background: var(--sun); color: var(--ink); }
.quote-band .carousel-nav button { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.quote-band .carousel-nav button:hover { background: var(--white); color: var(--ink); }
blockquote { margin: 0 0 1.5rem; text-align: center; }
blockquote p { font-size: clamp(1.2rem, 2.6vw, 1.6rem); line-height: 1.4; font-weight: 600; color: var(--ink); }
blockquote p::before { content: "\201C"; }
blockquote p::after { content: "\201D"; }
blockquote footer { font-weight: 700; color: var(--ink-2); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.05rem 2rem 1.05rem 0; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.4rem; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-right: 2rem; }

/* CTA band */
.cta { background: var(--teal-dark); color: #d9dcf5; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta h2 { color: var(--white); }
.cta p { margin: 0; max-width: 52ch; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* About photo */
.photo { margin: 0; }
.photo img { border-radius: var(--radius); width: 100%; }
.photo figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-line { margin-bottom: 1.1rem; font-size: 1.15rem; font-weight: 650; }
.contact-line span { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-line a { text-decoration: none; }
.contact-side h3 { margin-top: 2rem; }
.mini-steps { padding-left: 1.2rem; color: var(--muted); }
.mini-steps li { margin-bottom: 0.4rem; }
.form-frame iframe { width: 100%; height: 980px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.form-fallback { font-size: 0.92rem; color: var(--muted); margin-top: 0.75rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.prose h2 { font-size: 1.3rem; margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--ink); color: #b9badb; padding: 3.5rem 0 5.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { width: 190px; margin-bottom: 1.1rem; }
.site-footer h2 { color: var(--white); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #e1e2f5; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #2c2166; font-size: 0.85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Phone-only call bar */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar { display: grid; grid-template-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.18); }
  .call-bar a { padding: 0.95rem 0.5rem; text-align: center; font-weight: 800; text-decoration: none; background: var(--ink); color: var(--white); font-size: 0.98rem; }
  .call-bar .call-bar-primary { background: var(--sun); color: var(--ink); }
}

/* Hero phone line, trust links */
.hero-call { margin: 1rem 0 0; color: #c3c4e2; font-size: 0.98rem; }
.hero-call a, .trust a { color: var(--sun); font-weight: 700; text-decoration: none; }
.hero-call a:hover, .trust a:hover { text-decoration: underline; }
.page-hero .lead a { color: var(--sun); }
.card-more { margin-top: 0.7rem !important; }
.card strong { color: var(--ink); }

/* Sample checklist sheet */
.sheet { border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 24px 50px -30px rgba(21, 12, 63, 0.55); }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; background: var(--ink); color: var(--white); padding: 1rem 1.4rem; }
.sheet-head span { color: #c3c4e2; font-size: 0.9rem; }
.sheet-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.sheet-block { padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.sheet-block:nth-child(odd) { border-right: 1px solid var(--line); }
.sheet-block h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; }
.sheet-block ul { list-style: none; margin: 0; padding: 0; }
.sheet-block li { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.38rem 0; border-bottom: 1px dashed var(--line); font-size: 0.97rem; }
.sheet-block li:last-child { border-bottom: 0; }
.sheet-block .box { flex: none; width: 0.95em; height: 0.95em; border: 2px solid var(--ink); border-radius: 3px; transform: translateY(0.12em); }
.sheet-block em { margin-left: auto; flex: none; font-style: normal; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.sheet-foot { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; padding: 1rem 1.4rem; background: var(--paper); font-size: 0.9rem; color: var(--muted); }
@media (max-width: 760px) { .sheet-grid { grid-template-columns: 1fr; } .sheet-block:nth-child(odd) { border-right: 0; } }

/* Work photos and review cards */
.photos figure { margin: 0; }
.photos img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.photos figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.55rem; }
blockquote.review { text-align: left; background: var(--white); border-radius: var(--radius); padding: 1.5rem; margin: 0; display: flex; flex-direction: column; }
blockquote.review p { font-size: 1.05rem; font-weight: 500; line-height: 1.5; }
blockquote.review footer { margin-top: auto; }
.quote-band .center { margin-top: 2rem; }

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.ba figure { margin: 0; position: relative; }
.ba img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.ba figcaption { position: absolute; left: 0.7rem; bottom: 0.7rem; background: var(--ink); color: var(--white); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; }
.ba figure:last-child figcaption { background: var(--sun); color: var(--ink); }

.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.25rem; }
.carousel-head h2 { margin: 0; }
.carousel-nav { display: flex; gap: 0.5rem; }
.carousel-nav button { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font-size: 1.15rem; font-weight: 700; cursor: pointer; }
.carousel-nav button:hover { background: var(--ink); color: var(--white); }
.carousel { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; scrollbar-width: thin; }
.carousel .review { flex: 0 0 min(360px, 85%); scroll-snap-align: start; }
.stars { color: #e5a700; letter-spacing: 0.15em; margin-bottom: 0.6rem; }
blockquote.review p::before, blockquote.review p::after { content: none; }
blockquote.review footer span { display: block; font-weight: 500; font-size: 0.88rem; color: var(--muted); margin-top: 0.15rem; }

/* Social links */
.social-list { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.social-list li { border-bottom: 1px solid var(--line); }
.social-list a { display: block; padding: 0.6rem 0; font-weight: 650; text-decoration: none; }
.site-footer h2.follow { margin-top: 1.6rem; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.social-row li { margin: 0; }
.social-row a { display: block; padding: 0.35rem 0.8rem; border: 1px solid #3a2f7a; border-radius: 999px; font-size: 0.88rem; }
.social-row a:hover { border-color: var(--sun); }

/* Walkthrough pop-up */
.modal { width: min(760px, 100% - 1.5rem); height: min(820px, 100% - 2rem); padding: 0; border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45); }
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop { background: rgba(21, 12, 63, 0.72); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.2rem; background: var(--ink); color: var(--white); }
.modal-close { background: var(--sun); color: var(--ink); border: 0; border-radius: 999px; padding: 0.45rem 1rem; font: inherit; font-weight: 700; cursor: pointer; }
.modal iframe { flex: 1; width: 100%; border: 0; background: var(--white); }
.modal-foot { margin: 0; padding: 0.7rem 1.2rem; font-size: 0.9rem; background: var(--paper); color: var(--muted); }
.btn-small { background: var(--sun) !important; color: var(--ink) !important; }
.btn-small:hover { background: #ffd83d !important; }

/* Hero photo */
.hero-photo { background: linear-gradient(100deg, rgba(21, 12, 63, 0.94) 0%, rgba(21, 12, 63, 0.8) 45%, rgba(28, 16, 87, 0.35) 100%), url("/img/work-pool-deck.jpg") center 35% / cover no-repeat; }
.card.has-img { padding: 0; overflow: hidden; }
.card.has-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.5s ease; }
.card.has-img:hover img { transform: scale(1.05); }
.card.has-img h3 { margin: 1.2rem 1.5rem 0.5rem; }
.card.has-img p { margin: 0 1.5rem; }
.card.has-img .more { margin: auto 1.5rem 1.4rem; }

/* The headline starts out a mess, and a floor scrubber cleans it up. */
.scrub-line { display: block; position: relative; font-weight: inherit; }
.scrub-line .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scrub-line .ltr { display: inline-block; white-space: pre; transition: transform 0.45s cubic-bezier(0.2, 1.4, 0.4, 1), filter 0.45s ease, color 0.45s ease, opacity 0.45s ease; }
.scrub-line.dirty .ltr:not(.clean) { transform: translate(var(--x), var(--y)) rotate(var(--r)); filter: blur(1.4px); color: #9d9478; opacity: 0.75; }
.scrub-line .ltr.clean { text-shadow: 0 0 18px rgba(255, 204, 0, 0); animation: gleam 0.7s ease; }
@keyframes gleam { 30% { text-shadow: 0 0 22px rgba(255, 204, 0, 0.9); color: #fff6c9; } }
.scrubber { position: absolute; top: 50%; left: 0; width: 150px; margin-top: -62px; pointer-events: none; z-index: 5; will-change: transform; }
.scrubber img, .patrol img { width: 100%; height: auto; display: block; animation: rumble 0.32s ease-in-out infinite; transform-origin: 50% 90%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.3)); }
@keyframes rumble { 0%, 100% { transform: rotate(-1.4deg) translateY(0); } 50% { transform: rotate(1.4deg) translateY(-2px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.bubble { position: absolute; border-radius: 50%; background: rgba(231, 237, 250, 0.85); pointer-events: none; animation: pop 0.9s ease-out forwards; }
@keyframes pop { to { transform: translateY(-26px) scale(0.2); opacity: 0; } }

/* Checklist ticks itself off, and you can tick it too. */
.js .checklist-card li { cursor: pointer; user-select: none; transition: opacity 0.25s ease; }
.js .checklist-card li::before { transition: background-color 0.25s ease, transform 0.25s cubic-bezier(0.2, 1.6, 0.4, 1); }
.js .checklist-card li.todo { opacity: 0.55; }
.js .checklist-card li.todo::before { background-image: none; background-color: transparent; box-shadow: inset 0 0 0 2px var(--line); transform: scale(0.85); }
.checklist-card.all-done { animation: nod 0.6s ease; }
@keyframes nod { 30% { transform: rotate(-1.5deg) scale(1.03); } 60% { transform: rotate(2deg) scale(1.03); } }

/* Sections ease in as you scroll. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* The scrubber that crosses the page now and then, and the mop Easter egg. */
.patrol { position: fixed; left: 0; bottom: 62px; width: 124px; z-index: 70; pointer-events: none; animation: patrol 7s linear forwards; }
@keyframes patrol { from { transform: translateX(-140px); } to { transform: translateX(calc(100vw + 20px)); } }
.shine { position: fixed; left: 0; bottom: 64px; height: 5px; width: 100vw; z-index: 69; pointer-events: none; transform-origin: left; background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.75), rgba(231, 237, 250, 0.9), transparent); animation: shine 7s linear forwards; }
@keyframes shine { 0% { transform: scaleX(0); opacity: 1; } 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.mop { position: fixed; top: -30vh; left: 0; width: 150px; height: 150vh; z-index: 90; pointer-events: none; animation: mop 2.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.mop::before { content: ""; position: absolute; left: 68px; top: 0; width: 12px; height: 100%; background: #c9a36b; border-radius: 6px; }
.mop::after { content: ""; position: absolute; left: 0; bottom: 6vh; width: 150px; height: 90px; border-radius: 16px 16px 60px 60px; background: repeating-linear-gradient(90deg, var(--mint) 0 10px, #c9d4f0 10px 20px); box-shadow: 0 0 60px 30px rgba(231, 237, 250, 0.5); }
@keyframes mop { from { transform: translateX(-200px) rotate(14deg); } to { transform: translateX(calc(100vw + 200px)) rotate(-14deg); } }
.sparkle { position: fixed; z-index: 91; pointer-events: none; font-size: 1.6rem; animation: sparkle 1.3s ease-out forwards; }
@keyframes sparkle { 0% { transform: scale(0) rotate(0); opacity: 0; } 30% { transform: scale(1.3) rotate(40deg); opacity: 1; } 100% { transform: scale(0.4) rotate(120deg) translateY(-30px); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); z-index: 95; background: var(--ink); color: var(--white); font-weight: 700; padding: 0.8rem 1.4rem; border-radius: 999px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); animation: toast 3.2s ease forwards; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 12px); } 12%, 82% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -8px); } }

/* ------------------------------------------------ Color bands
   The page alternates white, powder blue, deep indigo, yellow and royal blue
   so it never reads as one long white sheet. */
.stat-strip { background: var(--sun); color: var(--ink); }
.stat-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.4rem; }
.stat-strip strong { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.stat-strip span { font-size: 0.9rem; font-weight: 600; opacity: 0.82; }
@media (max-width: 760px) { .stat-strip .wrap { grid-template-columns: repeat(2, 1fr); } }

.section.dark { background: radial-gradient(800px 420px at 12% 0%, #2a1a80 0%, var(--ink) 62%); color: #d5d6ee; clip-path: polygon(0 26px, 100% 0, 100% calc(100% - 26px), 0 100%); margin-block: -26px; padding-block: calc(clamp(3rem, 7vw, 5rem) + 26px); position: relative; z-index: 1; }
.section.dark h2 { color: var(--white); }
.section.dark .eyebrow { color: var(--sun); }
.section.dark .section-lead { color: #c3c4e2; }
.section.dark .card { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); border-top-color: var(--sun); }
.section.dark .card h3 { color: var(--white); }
.section.dark .card p { color: #cbcce8; }
.section.dark a:not(.btn) { color: var(--sun); }

.section.sun { background: #fff4c2; }
.section.sun .eyebrow { color: var(--ink-2); }
.section.sun .steps li { border-top-color: var(--ink); }
.section.sun .steps li::before { color: var(--ink); background: var(--sun); display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; }
.section.sun .steps p { color: #4a4530; }

/* Cards get a colored top edge. */
.card:not(.has-img):not(.review) { border-top: 4px solid var(--teal); }
.section.dark .card:not(.has-img):not(.review) { border-top-color: var(--sun); }
.tint .card, .tint .sheet { box-shadow: 0 10px 26px -18px rgba(21, 12, 63, 0.35); }

/* FAQ sits on powder blue as a stack of white cards. */
.section.faq { background: #edf1fc; }
.faq details { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 10px; margin-bottom: 0.6rem; padding: 0 1.2rem; }
.faq summary { padding-right: 2rem; }
.faq summary::after { right: 0; }
.faq details[open] { border-left-color: var(--sun); }

/* Checklists and link lists inside tinted halves read as panels. */
.split > div > .checks, .split > div > .link-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 1.2rem; }
.section:not(.tint) .split > div > .checks, .section:not(.tint) .split > div > .link-list { background: #f4f6fd; border-color: transparent; }

.facts { margin: 1.2rem 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { background: #f4f6fd; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-weight: 800; color: var(--ink); }
.facts dd { margin: 0; }
@media (max-width: 600px) { .facts > div { grid-template-columns: 1fr; gap: 0.2rem; } }

.roster-title { margin: 1.8rem 0 0.7rem; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.roster { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.roster a, .roster span { display: block; padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.95rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.roster a { border-color: #c5cdf5; }
.roster a::after { content: " \2197"; color: var(--teal); font-weight: 700; }
.roster a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.roster a:hover::after { color: var(--sun); }
.roster span { color: var(--muted); }

/* Text, lists and buttons inside the dark band. */
.section.dark p, .section.dark .after-grid { color: #d5d6ee; }
.section.dark h3 { color: var(--white); }
.section.dark .split > div > .checks, .section.dark .split > div > .link-list { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); }
.section.dark .checks li { color: #e6e7f7; }
.section.dark .btn-ink { background: var(--sun); color: var(--ink); }
.section.dark .sheet { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7); border-color: var(--sun); }
.section.dark .sheet p, .section.dark .sheet li { color: var(--text); }
.section.dark .sheet h3 { color: var(--teal); }
.section.dark .ba figcaption { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
.section.sun p { color: #3d3920; }
.section.sun a:not(.btn) { color: var(--ink-2); font-weight: 700; }
.card .checks { margin: 0.6rem 0 0; }
.card .checks li { color: var(--text); }
.narrow > .checks { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .scrub-line.dirty .ltr:not(.clean) { transform: none; filter: none; color: inherit; opacity: 1; }
  .patrol, .shine, .mop, .sparkle, .scrubber { display: none; }
  html { scroll-behavior: auto; }
  .btn, .link-card { transition: none; }
}

/* Home video: click to play, with sound, in place. */
.video-band { background: var(--ink); color: #d5d6ee; padding: clamp(2.5rem, 6vw, 4rem) 0; text-align: center; }
.video-band .eyebrow { color: var(--sun); }
.video-band h2 { color: var(--white); margin-bottom: 1.4rem; }
.video-frame { position: relative; max-width: 960px; margin-inline: auto; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); background: #000; aspect-ratio: 16 / 9; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; width: 100%; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(21, 12, 63, 0.05) 0%, rgba(21, 12, 63, 0.55) 100%); color: var(--white); font: 700 1.05rem var(--font); letter-spacing: 0.02em; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.video-play span { width: 84px; height: 84px; border-radius: 50%; background: var(--sun); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); position: relative; transition: transform 0.15s ease; }
.video-play span::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--ink); }
.video-play:hover span, .video-play:focus-visible span { transform: scale(1.08); }
.video-play:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; }
.video-frame.is-playing .video-play { display: none; }
.video-transcript { max-width: 960px; margin: 1rem auto 0; text-align: left; font-size: 0.95rem; }
.video-transcript summary { cursor: pointer; color: var(--sun); font-weight: 700; }
.video-transcript p { margin-top: 0.6rem; color: #c3c4e2; }
@media (max-width: 520px) { .video-play span { width: 64px; height: 64px; } .video-play span::after { left: 26px; top: 20px; border-width: 12px 0 12px 20px; } }

/* Contact page: the polite "no sales calls" note. */
.no-pitch { margin-top: 1.6rem; padding: 0.9rem 1rem; border-left: 4px solid var(--sun); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.92rem; color: var(--muted); }
.no-pitch strong { color: var(--ink); }
