/* ============================================================================
   YOUR LAUNDRY THEME
   ----------------------------------------------------------------------------
   yourlaundry.ae's own layer. Brand ROLES (colour, ink, line, identity mark,
   the pattern form) are defined once in assets/css/sdeira-tokens.css under
   html[data-brand="laundry"]; this file changes the things a token cannot say
   - which artwork a mark draws, how big the supplied lockup is, what the
   fixed controls look like - and nothing else.

   WHY THIS FILE EXISTS AT ALL, given the token mode above it. A brand mode can
   swap a COLOUR. It cannot swap an IMAGE: the group's corner marks and ground
   textures are `url(...)` declarations written directly into
   sdeira-sections.css and sdeira-subpage.css, and no custom property sits
   between them and the file. That is the whole reason Khadamat has a theme
   sheet with the same shape, and this one follows it.

   LOAD ORDER. scripts/generate_pages.py::head() links this immediately after
   the shared section library and before search/assistant/nav-controls, so a
   plain `html[data-brand="laundry"]` selector here beats the shared sheet on
   specificity and a plain selector beats it on source order too. No
   !important anywhere in this file, and none is needed.

   THE SHAPE LANGUAGE, IN ONE PARAGRAPH. Your Laundry's guide has no diagonal
   in it. Its pattern page (p.32) derives everything from the emblem's flowing
   band, and asks for that pattern "along the edges or base of a layout". So
   wherever the group draws its 45 degree p.43 line board - a photo's corner, a
   card's corner, a section's ground - this site draws the wave instead. One
   file carries all of it: images/patterns/your-laundry-wave.svg.
   ========================================================================== */

/* ---- 1. Focus ------------------------------------------------------------ */
/* The brand's deep tone on light ground; Linen on the dark surfaces, where
   Deep Tide sinks into the background it is meant to stand out from. */
html[data-brand="laundry"] body :focus-visible {
  outline-color: var(--laundry-focus-on-light);
}
html[data-brand="laundry"] body :is(footer, .cta-band) :focus-visible {
  outline-color: var(--laundry-focus-on-dark);
}

/* ---- 2. The group's own emblem does not appear on this brand's pages ---- */
/* `.kicker::before` draws the Sdeira mark as a plain asset, and the two
   sub-page hero pseudo-elements draw the group's diagonal band pair. None of
   the three is this brand's artwork and none of them can be recoloured into
   it, because they are not colours. Removed rather than re-tinted - the same
   thing Zoad's theme does, for the same reason. */
main section:not(.hero) .kicker::before {
  content: none;
}

/* ---- 3. Header ----------------------------------------------------------- */
/* THE SUPPLIED LOCKUP, AT ITS OWN RATIO AND IN ONE STATE. The bar is white at
   rest and white once scrolled, so the full-colour lockup is correct in both
   and data-logo-dark points at the same file (see the partial).
   THE LOGO'S HEIGHT IS NOT SET HERE. It was, and it was inert:
   sdeira-nav-controls.css sets `#hd { --logo-h: ... }` and `#hd #navLogo
   { height: var(--logo-h) }` and loads AFTER this file at a higher specificity
   (two ids against one), so the group's clamp won and this brand's height never
   reached the DOM - measured 54px at rest and 38px scrolled, the group's values
   exactly, with both tokens at sdeira-tokens.css dead. Zoad and Eskan carry the
   same dead pair. The height lives in assets/css/laundry-chrome.css, which
   loads last, and the brand's tokens stay where they are, read from there. */
#hd.scrolled .nav::before {
  background: var(--surface-base);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.foot-brand .logo {
  inline-size: var(--laundry-footer-logo-width);
  aspect-ratio: var(--laundry-logo-ratio);
}
.foot-brand .logo img {
  height: 100%;
  width: 100%;
}

/* ---- 4. The grounds: the brand's band along the base -------------------- */
/* The three ground modifiers paint solid-a.svg in the shared sheet as
   `no-repeat center / cover`. This brand's pattern is not a field to be
   covered: it is ONE ROW OF WAVES ALONG A LAYOUT'S BASE, which is what page 32
   of the guide draws and what its text asks for ("preferably along the edges
   or base of a layout"). So the box, the size and the repeat are all restated,
   and the reason is the shape change rather than a preference. */
/* Owner, 11 Oct 2026: the wave is for cards only, so the large grounds carry no pattern. */
.pad--sunken::before,
.pad--edge::before,
.pad--field::before {
  background: none;
}
/* ---- 4b. The closing band is a PHOTOGRAPH, like every other site's ---------- */
/* THE PANEL WAS HERE AND THE SITE OWNER MOVED IT OFF THIS SURFACE. It was applied
   first as this band's ground - the pattern's own #7BB2D4 field with its crests
   along the base, which is page 32's reversed variation and page 53's screen -
   and his answer, 18 Sep 2026: "you applied the blue background to the section
   before the footer bar; no, that is not what is wanted. I want it on sections
   inside the site, like the image. The section before the footer should have a
   photograph for its background, like the other sites, and there is no need for
   the corner in it there."

   So the band is back to the shared treatment, which is what the four sibling
   sites already do: their own photograph behind a dark scrim, with the copy in
   the shared glass block. Every record on this site now carries a `media` on its
   band for that, rendered as the shared native-lazy `.band-photo` image. The
   band is the photograph and the glass panel, and nothing else.

   NO MARK AT ALL HERE, and that is the owner's own call for this one surface. On
   every other host the group's p.43 board is suppressed and this brand's wave
   takes its place; on the band there is no mark, so the band mark tokens of the Your
   Laundry block of sdeira-tokens.css are `none`. */

/* ---- 5. The hero wave, a low band along the base ------------------------ */
/* Owner decision, 6 Oct 2026 (guide pp.32 and 52: the pattern as a soft accent
   along the base of a banner): the photo hero takes ONE low wave along its
   base, 64px high, never mirrored in Arabic, through the shared hero mark
   tokens (the Your Laundry block of sdeira-tokens.css). It stays low enough
   not to reach the heading, which an earlier 120px band did. The photograph's
   own figure carries no mark. */
.split-media::after {
  content: none;
}

/* ---- 5b. The flat surfaces that DO carry the band ----------------------- */
/* Every card family draws the band through the shared card-mark tokens (the
   Your Laundry block of sdeira-tokens.css): the project and news cards on the
   copy panel, and the FAQ, person, amenity and corner-mark icon cards on their
   own box. This sheet restates no geometry, anchor, repeat, mirror or Arabic
   branch for any of them. */
/* The group's pattern also grounds the related block of a news article. No
   Your Laundry page carries one today; it is covered so the day one does, it
   cannot arrive wearing the group's line board. */
:is(.article-related)::before {
  background: none;
}

/* ---- 5c. The footer carries NO pattern ----------------------------------- */
/* It did, and it was faithful: page 47 draws this site's own footer panel with
   the band along its foot. The site owner removed it on 18 Sep 2026 - "delete
   the pattern from the bottom bar, there is no need to add a pattern to it" -
   and the guide's own instruction allows it: page 32 says where the pattern goes
   is a judgement ("positioned thoughtfully ... along the edges or base of a
   layout"), not a requirement on every panel. The footer is the one surface that
   is already dense with columns and legal lines, and the band read as artwork
   under the link text rather than as a base.

   Nothing is left to suppress here, either: no shared sheet paints a mark on the
   footer, so removing the wave leaves a plain panel rather than the group's p.43
   line board. --laundry-footer-band-opacity is gone with the rule. */

/* ---- 6. The news list's action link ------------------------------------ */
/* NOTHING HERE ON PURPOSE. A card's action link takes its resting ink from
   `--card-action-ink` (set for this brand in sdeira-tokens.css) and turns white
   over the fill through the shared card rule in sdeira-sections.css, for every
   card family, `.news-item--wipe` and `.news-item--project` alike. This section
   used to restate both colours for `.news-list--cols .news-item`, and its hover
   colour, --link-hover, is Deep Tide, the same as the fill, so the "Read more"
   link vanished on the service cards of every sector page. Do not restate a
   card's link colour in a theme sheet. */

/* ---- 7. The mobile drawer's band ---------------------------------------- */
/* The shared rule draws the p.43 line board in the drawer's bottom corner
   through a custom property, 160px wide at the p.43 ratio. The brand's element
   is a band along a base, so the artwork AND the box change: full width, the
   drawer's own band height, and the artwork's own repeat. */
.menu::after {
  content: none;
}

/* ---- 8. The assistant launcher ----------------------------------------- */
/* NO RULES HERE, DELIBERATELY, AND THE TWO THAT USED TO BE HERE WERE A BUG.
   This block set `.ai-star-field::before` and `.ai-message-avatar::before` to
   a flat `--accent-strong`, which paints a solid Deep Tide SQUARE where the
   mark goes. It looked harmless because assets/css/laundry-chrome.css gives
   both elements the company's emblem, and that file loads AFTER this one - but
   these selectors carry a `[data-brand]` attribute and its do not, so on
   specificity this file won and the square is what rendered. Caught in the
   first browser pass on the home page.
   The launcher and the panel head are the chrome sheet's job: it is the layer
   that loads after sdeira-assistant.css, which is exactly why it exists. See
   assets/css/laundry-chrome.css. */

/* ---- 9. The roles that are ink for a SOLID fill, on a light ground ------ */
/* THE ONE CLASS OF DEFECT THIS BRAND KEEPS RE-INTRODUCING, so it is answered
   once here rather than case by case.

   --accent-text on this brand is White, because that is what it is: the ink
   that sits ON a solid --accent-fill. Four shared rules reach for it where the
   surface is NOT a solid fill but a LIGHT one - the pale --accent-wash, a white
   card, Linen - and every one of them paints white on near-white. Measured on
   the live pages before this block existed:

     .faq-item[open] > summary          white on the opened card      1.00:1
     .site-search-results .row-item-meta white on Linen               1.27:1
     #hd.scrolled .nav-search:hov/focus  white on the 12% wash        1.09:1

   All three take --accent-strong instead, which is the token this repo already
   uses for exactly this pair - khadamat-theme.css reaches for it four times for
   the same reason, and assets/css/laundry-chrome.css does the same for the
   drawer's close control. The selectors are written out one by one, and each is
   long enough to beat the rule it corrects: the search one sits behind an id,
   so `#hd` is repeated here rather than left to source order.

   THE FOOTER HEADINGS ARE THE SAME MISTAKE IN ANOTHER ROLE. --accent-on-dark is
   Fresh Mist, which is right for a MARK on a dark ground and wrong for 20px
   text: the footer paints at rgba(65,64,66,.9), measured #545455, where Fresh
   Mist is 3.40:1 and fails AA. Linen - the guide's own 50% neutral, used here
   because a heading IS text and this is the brand's text-weight light tone - is
   5.96:1. The accent keeps the marks. */
html[data-brand="laundry"] .faq-item[open] > summary {
  color: var(--accent-strong);
}
html[data-brand="laundry"] .site-search-results .row-item-meta,
html[data-brand="laundry"] .search-results .row-item-meta {
  color: var(--accent-strong);
}
html[data-brand="laundry"] #hd.scrolled .nav-search:is(:hover, :focus-visible) {
  color: var(--accent-strong);
  background: var(--accent-wash);
}
/* NO SECOND COLOUR ON A FILLED BUTTON. Site owner, 22 Sep 2026: a filled
   button keeps its resting fill on hover. --accent-deep is what the shared
   drawer rule fills this control with; on this brand it is Clean Current, the
   button's own blue (Deep Tide is never a fill, see sdeira-tokens.css), so
   this restates the fill the drawer rule set and the hover is the trailing
   glyph's shift. */
html[data-brand="laundry"] .menu.open .menu-contact:is(:hover, :focus-visible) {
  background: var(--accent-deep);
  color: var(--on-action);
}
footer :is(.foot-col h3, .foot-col h4, .foot-legal-heading) {
  color: var(--laundry-footer-heading);
}

/* ---- 9b. The focus rings the shared sheets hardcode in the group's accent -- */
/* Four shared rules name --brand-razeen as a focus outline, and one of them
   (.menu .nav-submenu a) is (0,3,1), which BEATS the brand's own ring at
   (0,2,2) in section 1 - so the ring on a drawer submenu link was the group's
   orange on this site. Measured by keyboard walk: 92 Razeen steps across the
   23 pages, and 4 more on the home page's project-card actions.
   The ring is not a colour this brand can inherit: a brand may not redefine a
   --brand-* primitive, and the two shared rules that matter here are more
   specific than a plain override. So each is named, and the tone follows the
   ground the control sits on - the same split section 1 already makes. */
html[data-brand="laundry"] .menu .nav-submenu a:focus-visible,
html[data-brand="laundry"] .project-card-base .project-card-action:focus-visible,
html[data-brand="laundry"] .project-card-base .action-link:focus-visible,
html[data-brand="laundry"] .nav-disclosure > summary:focus-visible,
html[data-brand="laundry"] :is(.btn, .nav-cta, .cta-action, .action-link, .more,
    .sector-card-action, .section-view-all):focus-visible {
  outline-color: var(--laundry-focus-on-light);
}
html[data-brand="laundry"] footer .foot-socials a:focus-visible,
html[data-brand="laundry"] .cta-band :is(.btn, .action-link):focus-visible {
  outline-color: var(--laundry-focus-on-dark);
}

/* THE WAVE BAND SITS BELOW THE COPY, NOT BEHIND THE ACTION LINK (owner, 19 Oct
   2026). The panel's bottom padding was shorter than the band, so the link's
   underline ran across the wave. The copy now stops one band's height above
   the panel's base, and the band is flush with the bottom edge (the host's
   90% height cap is lifted in the brand block, so it reaches the base). */
html[data-brand="laundry"] .business-needs-routes .needs-route-copy {
  padding-block-end: calc(var(--laundry-card-band-height) + 18px);
}
