/* Wash It Wash It. Layout and type from imperialpressurecleaning.com, colors from Mario's flyer. Tokens in NOTES.md. */

:root {
  --navy: #0a1633;
  --navy-2: #13224a;
  --ink: #26305a;
  --cream: #f2f1ed;
  --sky: #cfe3f3;
  --lime: #dcf04e;
  --lime-dark: #c5da2f;
  --blue: #56a6ef;
  --white: #ffffff;

  --head: "Archivo Black", "Arial Black", sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --w-wide: 1500px;
  --w-main: 1374px;
  --w-narrow: 1311px;
  --gutter: 40px;
  --header-h: 188px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 19.6px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--navy);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 16px; top: 16px; z-index: 100;
  background: var(--lime); color: var(--navy); padding: 12px 20px; border-radius: 300px;
  font-family: var(--head); font-size: 14px; text-decoration: none;
}
.skip:not(:focus) { top: -120px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.on-light :focus-visible, .on-light:focus-visible { outline-color: var(--navy); }

.wrap { width: min(var(--w-wide), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--main { width: min(var(--w-main), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(var(--w-narrow), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  height: var(--header-h);
  transition: height .25s ease, margin-bottom .25s ease, box-shadow .25s ease;
}
/* The header shrinks, and margin-bottom gives the space back, so the page below never moves (a moving page made the toggle flicker at the top). */
.site-header.is-scrolled { height: 104px; margin-bottom: calc(var(--header-h) - 104px); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.site-header__in {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
}
.logo { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: var(--white); }
.logo__mark { width: 124px; height: 124px; flex: none; transition: width .25s, height .25s; }
.logo__word { display: flex; flex-direction: column; line-height: .92; }
.logo__word b {
  font-family: var(--head); font-weight: 400; font-style: italic;
  font-size: 54px; letter-spacing: -.5px; text-transform: uppercase;
}
.logo__word i {
  display: block; margin-top: 8px; height: 7px; width: 100%;
  background: var(--lime); transform: skewX(-24deg);
}
.site-header.is-scrolled .logo__mark { width: 64px; height: 64px; }
.site-header.is-scrolled .logo__word b { font-size: 34px; }

.nav { display: flex; align-items: center; gap: 48px; }
.nav a {
  color: #f2f1ed; text-decoration: none; font-size: 19.6px; line-height: 35px; font-weight: 500;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav .pill { border: 0; color: var(--navy); font-size: 16px; line-height: 1.2; }
.nav .pill:hover { border-bottom-color: transparent; }

.lang { display: inline-flex; border: 1px solid rgba(242, 241, 237, .45); border-radius: 300px; overflow: hidden; }
.lang button {
  font: 600 14px/1 var(--body); letter-spacing: .06em;
  color: #f2f1ed; background: transparent; border: 0; padding: 9px 13px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: #f2f1ed; color: var(--navy); }

.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: 16px; line-height: 1.2; text-transform: uppercase;
  text-decoration: none; text-align: center;
  background: var(--lime); color: var(--navy);
  border-radius: 300px; min-width: 241px; min-height: 76px; padding: 0 26.7px;
  border: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.pill:hover { background: #eaff6a; transform: translateY(-1px); }
.pill--sm { font-size: 13.7px; min-width: 0; min-height: 45px; padding: 13.7px 22.9px; }
/* Secondary: outline in the text color of its band. Lime fill is kept for the main action only. */
.pill--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.pill--line:hover { background: rgba(242, 241, 237, .1); }
.on-light .pill--line:hover { background: rgba(10, 22, 51, .06); }
.pill[aria-disabled="true"] { cursor: default; transform: none; background: transparent; }

.link { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Waves ---------- */
.wave { display: block; width: 100%; height: 48px; }
.wave--top { margin-bottom: -1px; }
.wave--bottom { margin-top: -1px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 530px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  text-align: left; color: #f2f1ed;
  padding: 64px var(--gutter) 110px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 51, .62), rgba(10, 22, 51, .72));
}
.hero > *:not(.hero__bg):not(.hero__wave) { position: relative; z-index: 1; }
.hero h1 { font-size: 70px; line-height: 86px; font-style: italic; letter-spacing: -.5px; max-width: 1000px; }
.hero__sub {
  margin: 12px 0 0; font-size: 25px; line-height: 45px; font-style: italic; font-weight: 700;
  text-transform: uppercase;
}
.hero__cta { margin-top: 28px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; height: 56px; width: 100%; }

/* ---------- Intro (navy split) ---------- */
.intro { background: var(--navy); color: #f2f1ed; padding: 106px 0 70px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.split > *, .about__row > *, .book__grid > * { min-width: 0; }
.split__media { display: flex; justify-content: center; }
.split__media > * { width: 556px; max-width: 100%; }
.intro h2 { font-size: 26.8px; line-height: 36.6px; color: var(--white); }
.intro h2::after { content: ""; display: block; width: 54px; height: 3px; background: #f2f1ed; margin: 16px 0 22px; }


/* ---------- Services (cream accordion) ---------- */
.services { background: var(--cream); color: var(--navy); padding: 80px 0 187px; }
.services h2.big { font-size: 70px; line-height: 86px; }
.services__media { margin: 0 0 0 126px; width: 493px; max-width: 100%; }
.acc { border-top: 1px solid rgba(10, 22, 51, .45); margin-top: 44px; }
.acc__item { border-bottom: 1px solid rgba(10, 22, 51, .45); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: 0; padding: 15px 0; cursor: pointer; text-align: left;
  font: 400 26.8px/36.6px var(--head); color: var(--navy);
}
.acc__btn::after { content: "+"; font-family: var(--body); font-weight: 300; font-size: 28px; line-height: 1; color: var(--ink); transition: transform .2s; }
.acc__btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.acc__panel { padding: 0 0 20px; color: var(--ink); }
.acc__panel[hidden] { display: none; }
.acc__panel p { margin: 0 0 8px; }

/* ---------- Happy customers ---------- */
.reviews { background: var(--sky); color: var(--navy); padding: 36px 0 110px; text-align: center; }
.reviews h2 { font-size: 48.4px; line-height: 87px; color: var(--ink); }
.review-card {
  background: var(--white); max-width: 720px; margin: 48px auto 0; padding: 48px 56px 52px;
  font-size: 17px; line-height: 1.75;
}
.review-card svg { width: 60px; height: 60px; margin: 0 auto 14px; }
.review-card h3 { font-size: 19.6px; line-height: 25.5px; margin-bottom: 14px; color: var(--ink); }

/* ---------- Gallery slider ---------- */
.gallery { background: var(--cream); color: var(--navy); padding: 249px 0 110px; }
.slider { position: relative; }
.slider__track {
  display: flex; gap: 167px; overflow: hidden; scroll-behavior: smooth;
  padding: 0 38px;
}
.slide { flex: 0 0 620px; text-align: center; }
.slide h3 { font-size: 19.6px; line-height: 25.5px; text-transform: uppercase; margin-top: 36px; }
.slider__btn {
  position: absolute; top: 230px; transform: translateY(-50%); z-index: 2;
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(10, 22, 51, .8); color: var(--white);
  display: grid; place-items: center;
}
.slider__btn svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 2; }
.slider__btn--prev { left: 38px; }
.slider__btn--next { right: 38px; }
.slider__btn:disabled { opacity: .25; cursor: default; }

/* ---------- Owner band ---------- */
.owner { background: var(--navy); color: #f2f1ed; padding: 96px 0 116px; }
.owner__inner { max-width: 1060px; }
.owner__eyebrow { margin: 0 0 18px; font-family: var(--head); font-size: 16px; line-height: 24px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.owner__eyebrow::after { content: ""; display: block; width: 54px; height: 3px; background: var(--lime); margin-top: 14px; }
.owner__inner h2 { font-size: 30px; line-height: 42px; color: var(--white); max-width: 996px; }
.owner__btns { display: flex; flex-wrap: wrap; gap: 11px; margin: 32px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #f2f1ed; position: relative; overflow: hidden; }
.site-footer__in { position: relative; padding: 98px 0 60px; display: grid; grid-template-columns: 441px 252px 1fr; }
.site-footer h2 { font-family: var(--body); font-weight: 600; font-size: 25px; line-height: 45px; margin-bottom: 16px; }
.site-footer p { margin: 0 0 16px; line-height: 35px; }
.site-footer a { text-underline-offset: 4px; }
.site-footer__art {
  position: absolute; right: 60px; bottom: -40px; width: 420px; height: 420px;
  stroke: var(--lime); stroke-width: 3; fill: none; opacity: .5; pointer-events: none;
}
.site-footer__base {
  position: relative; border-top: 1px solid rgba(242, 241, 237, .15);
  padding: 22px 0 30px; font-size: 14px; line-height: 1.6;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; color: rgba(242, 241, 237, .8);
}
.site-footer__base a { display: inline-block; padding: 4px 0; }

/* ---------- Inner pages ---------- */
.page-top { padding: 87px 0 261px; }
.page-top .split__media > * { width: 100%; }
.page-top h1 { font-size: 48.4px; line-height: 63px; color: var(--navy); margin-bottom: 22px; }
.bg-cream { background: var(--cream); color: var(--ink); }
.bg-sky { background: var(--sky); color: var(--ink); }
.bg-white { background: var(--white); color: var(--ink); }
.page-top .split { gap: 12px 75px; grid-template-columns: 681px 1fr; }

.cards-head { padding: 86px 0 158px; }
.cards-head h2 { font-size: 70px; line-height: 86px; color: var(--navy); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 128px; }
.card { background: var(--navy); color: var(--white); padding: 40px 26px 40px; min-height: 558px; }
.card svg { width: 230px; max-width: 100%; height: 200px; margin: 0 auto 40px; stroke: var(--lime); fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.card h3 { font-size: 19.6px; line-height: 25.5px; margin-bottom: 20px; }
.card p { font-size: 17px; line-height: 1.75; margin: 0 0 14px; }
.card a { font-size: 17px; display: inline-block; }

/* About */
.about { padding: 127px 0 110px; }
.about .wrap--narrow { width: min(1248px, 100% - 2 * var(--gutter)); }
.about + .wave { background: var(--sky); }
.about h1 { font-size: 48.4px; line-height: 63px; color: var(--ink); text-align: center; margin-bottom: 24px; }
.about__row { display: grid; grid-template-columns: 430px 1fr; gap: 74px; align-items: start; margin-top: 0; }
.about__row--flip { grid-template-columns: 1fr 556px; gap: 16px; margin-top: 54px; }
.about__row img { width: 100%; height: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 80px; text-align: left; }
.step { border-top: 3px solid var(--navy); padding-top: 22px; }
.step b { display: block; font-family: var(--head); font-weight: 400; font-size: 19.6px; color: var(--navy); margin-bottom: 8px; }

/* Book */
.book { padding: 80px 0 120px; }
.book h1 { font-size: 48.4px; line-height: 63px; color: var(--navy); margin-bottom: 14px; }
.book__grid { display: grid; grid-template-columns: 1fr 440px; gap: 40px; align-items: start; margin-top: 40px; }
.tile {
  background: var(--navy); color: #f2f1ed; padding: 44px 38px; text-align: center;
}
.tile h2 { font-size: 44px; line-height: 1.02; text-transform: uppercase; color: #f2f1ed; margin-bottom: 20px; }
.tile .pill { width: 100%; min-width: 0; margin-top: 12px; }
.tile p { font-size: 17px; line-height: 1.7; }
.form { background: var(--white); padding: 44px 44px 40px; }
.form h2 { font-size: 26.8px; line-height: 36.6px; color: var(--navy); margin-bottom: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { display: flex; flex-direction: column; margin-top: 20px; }
.field label, .field legend { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 7px; padding: 0; }
.field input, .field select, .field textarea {
  font: 500 17px/1.4 var(--body); color: var(--navy);
  border: 1px solid #b9c0cf; border-radius: 6px; padding: 13px 14px; background: #fbfbfa; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--navy); }
fieldset.field { border: 0; margin: 20px 0 0; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks label { font-weight: 500; font-size: 17px; display: flex; gap: 10px; align-items: center; margin: 0; color: var(--ink); }
.checks input { width: 20px; height: 20px; accent-color: var(--navy); }
.form .pill { margin-top: 28px; }
.form__note { font-size: 16px; line-height: 1.6; margin-top: 16px; color: var(--ink); }
.form__status { margin-top: 16px; font-weight: 700; color: var(--navy); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.prose { max-width: 820px; padding: 90px 0 120px; }
.prose h1 { font-size: 48.4px; line-height: 63px; color: var(--navy); margin-bottom: 26px; }
.prose h2 { font-size: 22px; line-height: 1.4; color: var(--navy); margin: 34px 0 10px; }
.prose p, .prose li { font-size: 18px; line-height: 1.8; }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  :root { --header-h: 150px; }
  .logo__mark { width: 76px; height: 76px; }
  .logo__word b { font-size: 38px; }
  .nav { gap: 34px; }
  .services__media { margin-left: 60px; }
  .slider__track { gap: 60px; }
  .site-footer__art { width: 340px; height: 340px; }
}
@media (max-width: 1280px) {
  .nav { gap: 26px; }
  .nav a { font-size: 18px; }
  .page-top .split { grid-template-columns: 1fr 1fr; gap: 12px 48px; }
  .cards-head h2, .services h2.big { font-size: 58px; line-height: 70px; }
  .site-footer__in { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (max-width: 1080px) {
  :root { --header-h: 96px; --gutter: 24px; }
  .site-header.is-scrolled { height: 84px; margin-bottom: calc(var(--header-h) - 84px); }
  .site-header__in { padding: 0 24px; }
  .logo__mark, .site-header.is-scrolled .logo__mark { width: 54px; height: 54px; }
  .logo__word b, .site-header.is-scrolled .logo__word b { font-size: 26px; }
  .logo__word i { height: 5px; margin-top: 5px; }
  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 48px; height: 48px; padding: 0 11px; background: none; border: 1px solid rgba(242, 241, 237, .4);
    border-radius: 8px; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: #f2f1ed; border-radius: 2px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 24px 28px; border-top: 1px solid rgba(242, 241, 237, .12);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(242, 241, 237, .12); font-size: 20px; }
  .nav a[aria-current="page"] { border-bottom-color: rgba(242, 241, 237, .12); color: var(--lime); }
  .nav .lang { align-self: flex-start; margin-top: 20px; }
  .nav .pill { margin-top: 18px; border-bottom: 0; padding: 14px 20px; }

  .hero { min-height: 440px; padding: 60px var(--gutter) 90px; }
  .hero h1 { font-size: 52px; line-height: 1.1; }
  .hero__sub { font-size: 20px; line-height: 1.6; }
  .split, .page-top .split { grid-template-columns: 1fr; gap: 40px; }
  .intro { padding: 50px 0 90px; }
  .split__media { justify-content: flex-start; }
  .services__media { margin: 0; }
  .services { padding-bottom: 110px; }
  .reviews h2 { line-height: 1.3; }
  .gallery { padding: 110px 0 90px; }
  .slider__track { gap: 24px; padding: 0; }
  .slider__btn--prev { left: 8px; }
  .slider__btn--next { right: 8px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card { min-height: 0; }
  .page-top { padding-bottom: 110px; }
  .cards-head { padding-bottom: 70px; }
  .about__row, .about__row--flip { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .book__grid { grid-template-columns: 1fr; }
  .site-footer__in { grid-template-columns: 1fr 1fr; gap: 10px 30px; padding-top: 70px; }
  .site-footer__art { width: 260px; height: 260px; right: -30px; opacity: .25; }
  /* Photo placeholders crowd small screens; real photos will show at every width. */
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .logo { gap: 10px; }
  .logo__mark, .site-header.is-scrolled .logo__mark { width: 44px; height: 44px; }
  .logo__word b, .site-header.is-scrolled .logo__word b { font-size: 21px; }
  .hero h1 { font-size: 40px; }
  .hero__sub { font-size: 16px; }
  .intro h2, .owner__inner h2 { font-size: 22px; line-height: 1.45; }
  .services h2.big, .cards-head h2 { font-size: 44px; line-height: 1.15; }
  .acc__btn { font-size: 21px; line-height: 1.4; }
  .reviews h2, .page-top h1, .about h1, .book h1, .prose h1 { font-size: 34px; line-height: 1.2; }
  .review-card { padding: 36px 22px; }
  .slide { flex-basis: 100%; }
  .pill { min-width: 0; width: 100%; min-height: 64px; }
  .pill--sm { width: auto; min-height: 45px; }
  .owner__btns { flex-direction: column; }
  .cards { grid-template-columns: 1fr; }
  .cards-head { padding: 60px 0 50px; }
  .card { min-height: 0; }
  .page-top { padding-bottom: 80px; }
  .page-top { padding: 56px 0 80px; }
  .about { padding: 70px 0 90px; }
  .form { padding: 30px 20px; }
  .form__row, .checks { grid-template-columns: 1fr; }
  .tile { padding: 34px 22px; }
  .tile h2 { font-size: 34px; }
  .site-footer__in { grid-template-columns: 1fr; }
  .site-footer__art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav .pill[aria-current="page"] { box-shadow: 0 0 0 3px rgba(220, 240, 78, .35); }

/* Before and after pairs: real job photos, labels in the page so they translate */
.ba { position: relative; margin: 0; background: var(--white); }
.ba img { width: 100%; height: auto; }
.ba__tag {
  position: absolute; bottom: 12px; padding: 4px 12px; border-radius: 300px;
  background: var(--navy); color: var(--white);
  font: 700 16px/1.4 var(--body); letter-spacing: .02em;
}
.ba__tag--b { left: 12px; }
.ba__tag--a { left: calc(50% + 12px); }
.slide .ba { border: 8px solid var(--white); }
.slider.is-static .slider__track { justify-content: center; }
.slider.is-static .slider__btn { display: none; }
@media (max-width: 1080px) { .slide { flex-basis: 520px; } .slider__btn { top: 181px; } }
@media (max-width: 600px) { .slide { flex-basis: 100%; } .slider__btn { top: 124px; width: 48px; height: 48px; } .ba__tag { font-size: 13px; bottom: 8px; } }

/* Services photo follows the open accordion item (home). Desktop: left column. Phones: inside the open panel. */
.svc-fig { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.svc-fig.is-on { opacity: 1; transform: none; }
.svc-fig[hidden] { display: none; }
.acc__fig { display: none; margin: 4px 0 16px; }
@media (max-width: 1080px) {
  .services__media { display: none; }
  .acc__fig { display: block; }
}
@media (prefers-reduced-motion: reduce) { .svc-fig { transition: none; transform: none; } }
