/* Chief Window Cleaning — the site's one stylesheet.
   Palette from the logo: its royal blue and red feather, on deep navy and warm white. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0b1a33;
  --navy-2: #12264a;
  --blue: #2b56b3;        /* the logo's blue */
  --blue-ink: #1f418c;
  --red: #d8392b;         /* the feather tips — used sparingly */
  --ink: #0f1a2c;
  --ink-2: #4a566b;
  --line: #e4e0d8;
  --paper: #fbfaf7;
  --cream: #f4f1ea;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 26, 51, .05), 0 12px 32px -12px rgba(11, 26, 51, .18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-ink); }
p { margin: 0 0 1em; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.eyebrow { font: 600 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow-light { color: #a9c1f0; }
.h1 { font: 500 clamp(36px, 5.6vw, 64px)/1.06 var(--serif); letter-spacing: -.02em; margin: 0 0 22px; font-variation-settings: "opsz" 144; }
.h2 { font: 500 clamp(30px, 3.8vw, 46px)/1.12 var(--serif); letter-spacing: -.015em; margin: 0 0 36px; font-variation-settings: "opsz" 144; }
.h3, h3 { font: 600 21px/1.3 var(--serif); margin: 0 0 10px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .82); max-width: 40em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -10px rgba(43, 86, 179, .7); }
.btn-primary:hover { background: var(--blue-ink); }
.btn-light { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255, 255, 255, .16); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(11, 26, 51, .07); }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand img { width: 136px; height: auto; }
.nav { display: none; gap: 30px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav a:hover { color: var(--blue); }
.head-cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.phone-link { display: none; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; }
@media (min-width: 980px) {
  .nav { display: flex; }
  .head-cta { margin-left: 12px; }
  .phone-link { display: inline-flex; }
  .brand img { width: 150px; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: var(--white); background: radial-gradient(1200px 600px at 85% -10%, #1d3b75 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent); }
.hero-grid { display: grid; gap: 40px; padding: 56px 20px 64px; }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 40%; border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.hero-media::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(169, 193, 240, .28); border-radius: 28px; pointer-events: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.trust { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: 14.5px; color: rgba(255, 255, 255, .86); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .ico { color: #a9c1f0; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; padding: 96px 20px 104px; }
  .trust { grid-template-columns: repeat(2, max-content); column-gap: 40px; }
}

.hero-sub { min-height: 460px; display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-sub::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 26, 51, .55) 0%, rgba(11, 26, 51, .92) 75%); }
.hero-sub-copy { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 56px; }
.hero-sub .hero-cta { margin-bottom: 0; }

.page-head { color: var(--white); background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); padding: 72px 0 56px; }
.page-head-tall { padding: 120px 0 110px; }
.page-head .lede { margin: 0; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section + .section { padding-top: 0; }
.services, .reviews { background: var(--paper); }
.promises { background: var(--cream); padding-top: 88px !important; }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); }
.badge { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(145deg, #eef3fd, #dfe8fa); color: var(--blue); margin-bottom: 20px; }
.badge .ico { width: 24px; height: 24px; }
.service, .promise { transition: transform .2s ease, box-shadow .2s ease; }
.service:hover, .promise:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(11, 26, 51, .05), 0 22px 40px -16px rgba(11, 26, 51, .25); }

.split { display: grid; gap: 40px; align-items: center; }
.split-media { margin: 0; }
.split-media img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.split-copy p { color: var(--ink-2); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }

.about { padding-top: 88px !important; }
.pure { background: var(--navy); color: var(--white); padding-top: 88px !important; }
.pure .split-copy p { color: rgba(255, 255, 255, .78); }
.pure .split-media img { aspect-ratio: 1 / 1; max-width: 520px; }

/* reviews */
.reviews { padding-top: 88px !important; }
.review blockquote { margin: 14px 0 18px; font: 400 18px/1.55 var(--serif); color: var(--ink); }
.review figcaption { font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.stars { color: #e0a526; letter-spacing: 2px; }
.review-todo { border: 2px dashed #c9b98f; background: #fffaf0; color: #7a5b12; border-radius: var(--radius); padding: 28px; font-weight: 500; }

/* areas */
.areas { background: var(--cream); padding-top: 88px !important; }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 26px; }
.area { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.area span { display: flex; align-items: center; gap: 10px; font: 600 18px/1.2 var(--serif); }
.area .ico { color: var(--red); }
.area small { color: var(--ink-2); padding-left: 28px; font-size: 13.5px; }
.area:hover { border-color: var(--blue); transform: translateY(-2px); }

/* faq */
.faq { display: grid; gap: 12px; margin-bottom: 28px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font: 600 18px/1.35 var(--serif); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { color: var(--ink-2); padding-bottom: 22px; margin: 0; }

/* quote */
.quote { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding-top: 88px !important; }
.quote-grid { display: grid; gap: 36px; }
.quote-copy p { color: rgba(255, 255, 255, .8); }
.quote-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; color: rgba(255, 255, 255, .86); }
.quote-points li { display: flex; gap: 12px; align-items: center; }
.quote-points .ico { color: #a9c1f0; }
.quote-points a { color: var(--white); font-weight: 600; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; } }

.form { color: var(--ink); display: grid; gap: 18px; padding: 32px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; margin: 0; }
.field > span, .field legend { font-weight: 600; font-size: 14.5px; }
.field em { font-style: normal; color: var(--ink-2); font-weight: 400; }
input, textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 86, 179, .14); background: var(--white); }
.invalid { border-color: var(--red) !important; }
.choice { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choice legend { margin-bottom: 8px; width: 100%; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; background: var(--paper); }
.choice input:checked + span { border-color: var(--blue); background: #eef3fd; color: var(--blue-ink); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(43, 86, 179, .2); }
.photo-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.previews { display: flex; gap: 10px; flex-wrap: wrap; }
.preview { position: relative; margin: 0; }
.preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.preview-remove { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink); color: var(--white); cursor: pointer; line-height: 1; }
.hint { color: var(--ink-2); font-size: 13.5px; }
.hp { position: absolute; left: -5000px; }
.form-error { background: #fdecea; color: #9b1c12; border-radius: 12px; padding: 12px 16px; margin: 0; }
.fine { font-size: 13px; color: var(--ink-2); margin: 0; text-align: center; }
.suggest-wrap { position: relative; }
.suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; list-style: none; margin: 6px 0 0; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.suggest li { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: #eef3fd; }
.suggest mark { background: none; color: var(--blue); font-weight: 700; }

/* contact + prose */
.contact-cards { padding-top: 0; }
.contact-card { text-decoration: none; color: var(--ink); }
.contact-card p { font-size: 18px; color: var(--ink); }
.prose h2 { margin-top: 36px; }
.prose p { color: var(--ink-2); }

/* ---------- footer ---------- */
.site-foot { background: #070f1f; color: rgba(255, 255, 255, .72); padding: 72px 0 110px; font-size: 15px; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.6fr 1fr .8fr; } .site-foot { padding-bottom: 40px; } }
.foot-logo { width: 150px; background: var(--white); padding: 12px 14px; border-radius: 12px; margin-bottom: 18px; box-sizing: content-box; }
.foot-lede { max-width: 26em; }
.foot-h { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin: 0 0 18px; }
.foot-list, .foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-list li { display: flex; gap: 10px; align-items: center; }
.foot-list .ico { color: #a9c1f0; }
.site-foot a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-foot a:hover { color: var(--white); }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; font-size: 13.5px; color: rgba(255, 255, 255, .5); }

/* ---------- phone bottom bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mobile-bar .btn { min-height: 48px; }
@media (min-width: 820px) { .mobile-bar { display: none; } }
@media (max-width: 979px) { .head-cta .btn { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .service, .promise, .area { transition: none; } }

/* Phones: the shirt photo leads, shorter, without the offset frame. */
@media (max-width: 899px) {
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero-media::before { display: none; }
  .hero-grid { gap: 28px; padding-top: 24px; }
}

/* ================= motion (2026-09-24) =================
   Everything here is decoration: with JavaScript off, or "reduce motion" on,
   the page shows complete and still. */
@media (prefers-reduced-motion: no-preference) {
  /* scroll reveals — app.js adds .in when an element comes into view */
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal-media { transform: translateY(26px) scale(.985); }
  .js .reveal-media.in { transform: none; }

  /* hero: copy rises in turn */
  .js .hero-copy > *, .js .hero-sub-copy > * { opacity: 0; transform: translateY(22px); animation: rise 1s cubic-bezier(.2, .7, .2, 1) forwards; }
  .js .hero-copy > :nth-child(1), .js .hero-sub-copy > :nth-child(1) { animation-delay: .15s; }
  .js .hero-copy > :nth-child(2), .js .hero-sub-copy > :nth-child(2) { animation-delay: .28s; }
  .js .hero-copy > :nth-child(3), .js .hero-sub-copy > :nth-child(3) { animation-delay: .42s; }
  .js .hero-copy > :nth-child(4), .js .hero-sub-copy > :nth-child(4) { animation-delay: .56s; }
  .js .hero-copy > :nth-child(5) { animation-delay: .7s; }
  @keyframes rise { to { opacity: 1; transform: none; } }

  /* hero photo: wiped into view like a squeegee pass, then settles */
  .js .hero-media img { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); animation: squeegee 1.5s cubic-bezier(.65, 0, .25, 1) .35s forwards, settle 2.4s cubic-bezier(.2, .7, .2, 1) .35s both; }
  @keyframes squeegee {
    0% { clip-path: polygon(0 0, 0 0, -20% 100%, -20% 100%); }
    100% { clip-path: polygon(0 0, 120% 0, 100% 100%, 0 100%); }
  }
  @keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
  .js .hero-media::before { opacity: 0; animation: fadein 1.2s ease 1.4s forwards; }
  @keyframes fadein { to { opacity: 1; } }

  /* glass shine: a soft streak of light across the photo, every few seconds */
  .shine { position: absolute; inset: 0; z-index: 2; border-radius: 24px; overflow: hidden; pointer-events: none; }
  .shine::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 34%; left: -60%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38) 45%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, .38) 55%, transparent); animation: shine 7s ease-in-out 2.2s infinite; }
  @keyframes shine { 0% { left: -60%; } 22% { left: 130%; } 100% { left: 130%; } }

  /* primary buttons: a light sweep on hover */
  .btn-primary { position: relative; overflow: hidden; }
  .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transition: left .7s ease; }
  .btn-primary:hover::after { left: 130%; }

  /* header settles once the page scrolls */
  .site-head { transition: box-shadow .35s ease, background .35s ease; }
  .head-row { transition: min-height .35s ease; }
  .site-head.scrolled { box-shadow: 0 10px 30px -18px rgba(11, 26, 51, .35); background: rgba(255, 255, 255, .97); }
  .site-head.scrolled .head-row { min-height: 64px; }

  /* sub-page hero photo drifts slowly */
  .hero-bg img { animation: drift 24s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.1) translateX(-2%); } }

  /* FAQ answers ease open */
  .faq-item[open] p { animation: rise .45s ease both; }
}
.shine { display: block; }
@media (prefers-reduced-motion: reduce) { .shine { display: none; } }

/* ============ scroll-linked motion (2026-09-24, Marco: "change the size of
   the objects as you scroll") ============
   app.js writes --p (0 → 1) on each [data-scroll] element as it travels up
   the screen, and --s (0 → 1) on the hero as it scrolls away. The `scale`
   and `translate` properties are used so they stack on the reveal transforms. */
@media (prefers-reduced-motion: no-preference) {
  /* cards, tiles, the form: grow from 86% to full size as they rise */
  .js [data-scroll="grow"] { scale: calc(.86 + .14 * var(--p, 1)); }

  /* photos: the frame grows while the picture inside zooms out to rest */
  .js [data-scroll="media"] { scale: calc(.8 + .2 * var(--p, 1)); overflow: hidden; border-radius: 22px; }
  .js [data-scroll="media"] img { scale: calc(1.28 - .28 * var(--p, 1)); transform-origin: 50% 50%; }

  /* section headings swell in from the left */
  .js [data-scroll="type"] { scale: calc(.9 + .1 * var(--p, 1)); transform-origin: 0 50%; }
  .js .center[data-scroll="type"], .js .narrow > [data-scroll="type"] { transform-origin: 50% 50%; }

  /* the navy panels open from an inset, rounded window to full width */
  .js [data-scroll="panel"] { clip-path: inset(0 calc((1 - var(--p, 1)) * 5vw) round calc((1 - var(--p, 1)) * 40px)); }

  /* hero: as it scrolls away the photo grows and the words lift and fade */
  .js [data-scroll="hero"] .hero-media { scale: calc(1 + .14 * var(--s, 0)); translate: 0 calc(var(--s, 0) * 40px); }
  .js [data-scroll="hero"] .hero-copy,
  .js [data-scroll="hero"] .hero-sub-copy { translate: 0 calc(var(--s, 0) * -70px); opacity: calc(1 - .75 * var(--s, 0)); }
  .js [data-scroll="hero"] .hero-bg { scale: calc(1 + .18 * var(--s, 0)); }
}

/* The suburb pages stay linked from every page, quietly (2026-09-24). */
.foot-areas { margin-top: 40px; font-size: 13px; color: rgba(255, 255, 255, .42); line-height: 1.9; }
.site-foot .foot-areas a { color: rgba(255, 255, 255, .55); }
.site-foot .foot-areas a:hover { color: var(--white); }
