/* "Choose Your Look" on the eight service pages: a dark mosaic of full-bleed, borderless tiles.
   Owner brief 2026-11-04: bold, imposing, a brand-palette bento board (one tall lead tile, a grid of smaller tiles
   beside it) in the restrained language of the home reviews frame: ink field, smoked-glass labels, Playfair for the
   voice, small tracked caps for data, orange only as a small accent. No icons, no outlined buttons, no centred card copy.

   Two bands share the one grid language and mirror each other:
     1. Flake blends: every tile is filled with the real flake texture; the lead blend is the tall tile on the left.
     2. Finished floors: full-bleed photographs; one tall photograph on the right.
   Each band holds exactly one tile that is a link ("View colors" -> ../flakes/, "View gallery" -> ../gallery/).

   Rules this file keeps:
   - Photos and textures are <img> (counted by the one-photo-per-page test); alt text is untouched; no captions from alt.
   - The flake textures are the manufacturer's full-resolution top-down swatches (img/flakes-hi/), which carry no printed
     frame or name, so they fill the tile edge to edge with no crop or scale.
   - Only the link tiles are interactive, so only they get a hover state. Hover changes colour/width only (no transform).
   - Reduced motion: no transitions at all; the page's shared reveal already resolves instantly.
   - Sizes follow the container (cqw), so the board keeps its proportions from 960px to the 1280px wrap.
   Rows/columns: >=960px 12 columns, 640-959px 4 columns, <640px 2 columns (lead tile full width). */

.service-looks .look-bento {
  container-type: inline-size;
  display: grid;
  gap: clamp(8px, .94cqw, 12px);
  margin-top: 8px;
  --lb-ink: #141414;
  --lb-panel: #1b1b1a;
  --lb-glass: rgba(14, 14, 14, .70);
  --lb-serif: var(--font-body);
}
.service-looks .look-bento .lb-band {
  --lb-gap: clamp(8px, .94cqw, 12px);
  display: grid;
  gap: var(--lb-gap);
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(var(--lb-rows), 20cqw);
}
.service-looks .look-bento .lb-band--flakes { --lb-rows: 16; }
.service-looks .look-bento .lb-band--photos { --lb-rows: 15; }

/* ---------- tile base ---------- */
.service-looks .look-bento .lb-tile {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  border-radius: var(--r-s);
  background: var(--lb-panel);
  isolation: isolate;
  min-width: 0;
  min-height: 0;
}
.service-looks .look-bento .lb-tile picture { display: contents; }
.service-looks .look-bento .lb-tile img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

/* ---------- flake tiles ---------- */
.service-looks .look-bento .lb-flake img {
  object-position: 50% 50%;
}
.service-looks .look-bento .lb-flake::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 10, 10, .66), rgba(10, 10, 10, 0));
}
.service-looks .look-bento .lb-name {
  position: absolute;
  z-index: 2;
  top: clamp(10px, 4.2cqi, 20px);
  left: clamp(10px, 4.2cqi, 20px);
  max-width: calc(100% - 2 * clamp(10px, 4.2cqi, 20px));
  padding: .24em .52em .3em;
  border-radius: 6px;
  background: var(--lb-glass);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--lb-serif);
  font-weight: 600;
  font-size: clamp(17px, 8.4cqi, 44px);
  line-height: 1.08;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.service-looks .look-bento .lb-meta {
  position: absolute;
  z-index: 2;
  left: clamp(10px, 4.2cqi, 20px);
  right: clamp(10px, 4.2cqi, 20px);
  bottom: clamp(10px, 3.6cqi, 18px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.service-looks .look-bento .lb-meta .lb-coll { display: none; flex-basis: 100%; font-weight: 600; letter-spacing: .12em; opacity: .9; }
@container (min-width: 300px) {
  .lb-meta .lb-coll { display: block; }
}
@container (max-width: 190px) {
  .lb-meta { flex-direction: column; align-items: flex-start; }
}

/* ---------- photo tiles ---------- */
.service-looks .look-bento .lb-photo img { object-position: 50% 58%; }
.service-looks .look-bento .lb-photo img.is-port { object-position: 50% 66%; }
.service-looks .look-bento .lb-photo.lb-p1 img { object-position: 50% 54%; }

/* ---------- link tiles ---------- */
.service-looks .look-bento .lb-cta { background: var(--lb-panel); }
.service-looks .look-bento .lb-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 60%);
}
.service-looks .look-bento .lb-cta > a {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: clamp(14px, 5.2cqi, 28px);
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
}
.service-looks .look-bento .lb-cta > a,
.service-looks .look-bento .lb-cta > a:hover,
.service-looks .look-bento .lb-cta > a span { text-decoration: none; background-image: none; }
.service-looks .look-bento .lb-cta .lb-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.service-looks .look-bento .lb-cta .lb-eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  background: var(--orange);
}
.service-looks .look-bento .lb-cta .lb-lede {
  display: block;
  max-width: 15em;
  font-family: var(--lb-serif);
  font-weight: 600;
  font-size: clamp(22px, 9cqi, 42px);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: #fff;
  text-wrap: balance;
}
.service-looks .look-bento .lb-cta .lb-go {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.service-looks .look-bento .lb-cta .lb-go::after {
  content: "";
  flex: none;
  width: 40px;
  height: 10px;
  /* a thin orange rule that ends in a small head: the one orange accent on the tile */
  background:
    linear-gradient(var(--orange), var(--orange)) left 50% / 100% 2px no-repeat,
    linear-gradient(var(--orange), var(--orange)) right 1px top 0 / 2px 6px no-repeat;
  transition: width var(--dur-2) var(--ease-standard);
}
.service-looks .look-bento .lb-cta > a:focus-visible { outline: none; }
.service-looks .look-bento .lb-cta:has(> a:focus-visible) {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
@media (hover: hover) {
  .service-looks .look-bento .lb-cta { transition: background-color var(--dur-2) var(--ease-standard); }
  .service-looks .look-bento .lb-cta:hover { background: #262625; }
  .service-looks .look-bento .lb-cta:hover .lb-go::after { width: 64px; }
}

/* ---------- phone: 2 columns, lead tile full width ---------- */
.service-looks .look-bento .lb-f1 { grid-area: 1 / 1 / 5 / 3; }
.service-looks .look-bento .lb-f2 { grid-area: 5 / 1 / 8 / 2; }
.service-looks .look-bento .lb-f3 { grid-area: 5 / 2 / 8 / 3; }
.service-looks .look-bento .lb-f4 { grid-area: 8 / 1 / 11 / 2; }
.service-looks .look-bento .lb-f5 { grid-area: 8 / 2 / 11 / 3; }
.service-looks .look-bento .lb-f6 { grid-area: 11 / 1 / 14 / 3; }
.service-looks .look-bento .lb-band--flakes .lb-cta { grid-area: 14 / 1 / 17 / 3; }
.service-looks .look-bento .lb-p1 { grid-area: 1 / 1 / 7 / 3; }
.service-looks .look-bento .lb-p2 { grid-area: 7 / 1 / 10 / 3; }
.service-looks .look-bento .lb-p3 { grid-area: 10 / 1 / 13 / 2; }
.service-looks .look-bento .lb-p4 { grid-area: 10 / 2 / 13 / 3; }
.service-looks .look-bento .lb-band--photos .lb-cta { grid-area: 13 / 1 / 16 / 3; }

/* ---------- tablet: 4 columns ---------- */
@media (min-width: 640px) {
  .service-looks .look-bento .lb-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(var(--lb-rows), 11cqw);
  }
  .service-looks .look-bento .lb-band--flakes { --lb-rows: 9; }
  .service-looks .look-bento .lb-band--photos { --lb-rows: 7; }
  .service-looks .look-bento .lb-f1 { grid-area: 1 / 1 / 6 / 3; }
  .service-looks .look-bento .lb-f2 { grid-area: 1 / 3 / 3 / 5; }
  .service-looks .look-bento .lb-f3 { grid-area: 3 / 3 / 6 / 4; }
  .service-looks .look-bento .lb-f4 { grid-area: 3 / 4 / 6 / 5; }
  .service-looks .look-bento .lb-f5 { grid-area: 6 / 1 / 8 / 3; }
  .service-looks .look-bento .lb-f6 { grid-area: 6 / 3 / 8 / 5; }
  .service-looks .look-bento .lb-band--flakes .lb-cta { grid-area: 8 / 1 / 10 / 5; }
  .service-looks .look-bento .lb-p1 { grid-area: 1 / 3 / 6 / 5; }
  .service-looks .look-bento .lb-p2 { grid-area: 1 / 1 / 3 / 3; }
  .service-looks .look-bento .lb-p3 { grid-area: 3 / 1 / 6 / 3; }
  .service-looks .look-bento .lb-p4 { grid-area: 6 / 3 / 8 / 5; }
  .service-looks .look-bento .lb-band--photos .lb-cta { grid-area: 6 / 1 / 8 / 3; }
}

/* ---------- desktop: 12 columns, tall lead left (flakes) and right (photos) ---------- */
@media (min-width: 960px) {
  .service-looks .look-bento .lb-band {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(6, 6.9cqw);
  }
  .service-looks .look-bento .lb-f1 { grid-area: 1 / 1 / 7 / 5; }
  .service-looks .look-bento .lb-f2 { grid-area: 1 / 5 / 4 / 9; }
  .service-looks .look-bento .lb-f3 { grid-area: 1 / 9 / 4 / 11; }
  .service-looks .look-bento .lb-f4 { grid-area: 1 / 11 / 4 / 13; }
  .service-looks .look-bento .lb-f5 { grid-area: 4 / 5 / 7 / 7; }
  .service-looks .look-bento .lb-f6 { grid-area: 4 / 7 / 7 / 9; }
  .service-looks .look-bento .lb-band--flakes .lb-cta { grid-area: 4 / 9 / 7 / 13; }
  .service-looks .look-bento .lb-band--photos .lb-cta { grid-area: 1 / 1 / 4 / 5; }
  .service-looks .look-bento .lb-p2 { grid-area: 1 / 5 / 4 / 9; }
  .service-looks .look-bento .lb-p3 { grid-area: 4 / 1 / 7 / 5; }
  .service-looks .look-bento .lb-p4 { grid-area: 4 / 5 / 7 / 9; }
  .service-looks .look-bento .lb-p1 { grid-area: 1 / 9 / 7 / 13; }
}

@media (prefers-reduced-motion: reduce) {
  .service-looks .look-bento .lb-cta,
  .service-looks .look-bento .lb-cta .lb-go::after { transition: none; }
}
