
/* --- showcase layer -------------------------------------------------------
   The first six concepts were one skeleton recoloured: band, band, band, no
   imagery, a 30px hero and a CTA the size of a tag. These primitives exist so
   each concept can have its own structure — full-bleed heroes, asymmetric
   grids, overlapping cards, image slots with real aspect ratios — rather than
   the same stack in a different palette. */
/* The concept has to paint its own background. Without this the palette
   only reaches the cards and the borders, so a dark concept renders as
   dark text on the host page's white. The salon hid it for weeks,
   because beige on white looks deliberate. */
.sx{--pad:26px;background:var(--c-bg);color:var(--c-ink)}
.sx-nav{display:flex;align-items:center;gap:16px;padding:14px var(--pad);
  position:relative;z-index:3}
.sx-nav .sx-logo{font-size:15px;font-weight:700;letter-spacing:.01em}
.sx-nav .sx-links{display:flex;gap:16px;margin-left:auto;font-size:11.5px;opacity:.85}
.sx-nav .sx-links .on{opacity:1;font-weight:700}
.sx-cta{display:inline-flex;align-items:center;justify-content:center;
  background:var(--c-accent);color:var(--c-on-accent);font-weight:800;
  padding:11px 18px;border-radius:999px;font-size:12px;letter-spacing:.01em;
  box-shadow:0 6px 18px rgba(0,0,0,.18)}
.sx-cta.big{padding:15px 26px;font-size:14px}
.sx-cta.ghost{background:transparent;color:inherit;border:1.5px solid currentColor;
  box-shadow:none;opacity:.9}

/* an image slot: an aspect ratio with a label, so the layout reads as designed
   before the photograph exists and swapping one in changes nothing else */
/* A slot has to look like a decision, not like a broken image. Tinted in the
   concept's own accent, hatched, and labelled with what belongs there and at
   what ratio, so the layout reads as finished before the photograph exists. */
.sx-img{position:relative;border-radius:10px;overflow:hidden;display:grid;
  place-items:center;color:var(--c-accent);
  background:
    repeating-linear-gradient(135deg, transparent 0 9px,
      color-mix(in srgb, var(--c-accent) 9%, transparent) 9px 10px),
    color-mix(in srgb, var(--c-accent) 8%, var(--c-bg));
  border:1.5px dashed color-mix(in srgb, var(--c-accent) 38%, transparent)}
.sx-img::after{content:attr(data-label);position:absolute;left:10px;right:10px;
  bottom:10px;font-size:9px;line-height:13px;letter-spacing:.09em;font-weight:700;
  text-transform:uppercase;text-align:center;pointer-events:none;
  color:color-mix(in srgb, var(--c-accent) 78%, var(--c-ink))}
.sx-img svg{width:26px;height:26px;opacity:.55;margin-bottom:14px}
.sx-img.filled{border-style:solid}
.sx-img.filled::after{display:none}
/* a photograph that cannot be reached falls back to the designed slot */
.sx-img.failed{border-style:dashed}
.sx-img.failed::after{display:block}
.sx-img.failed img{display:none}
.sx-img img{width:100%;height:100%;object-fit:cover;display:block}

.sx-hero{position:relative;padding:0 0 var(--pad)}
.sx-hero-media{position:relative;height:270px;border-radius:0}
.sx-hero-in{position:relative;margin:-92px var(--pad) 0;z-index:2;
  background:var(--c-bg);border-radius:12px;padding:22px 22px 20px;
  box-shadow:0 20px 50px rgba(0,0,0,.22);max-width:62%}
.sx-eyebrow{font-size:10px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--c-accent);font-weight:800}
.sx-h1{font-size:40px;line-height:1.02;letter-spacing:-.02em;margin:10px 0 0;font-weight:800}
.sx-sub{font-size:12.5px;line-height:19px;opacity:.8;margin:10px 0 0;max-width:42ch}
.sx-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;align-items:center}
.sx-avail{font-size:10.5px;opacity:.75;margin-top:10px}
/* The differentiator on an appointment site is real availability, and it was
   rendered at 10px. These make it the thing you see. */
.sx-slots{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.sx-slot{display:inline-flex;flex-direction:column;gap:1px;padding:7px 11px;border-radius:8px;
  background:var(--c-tile,rgba(255,255,255,.07));
  border:1px solid var(--c-rule,rgba(255,255,255,.14));min-width:74px}
.sx-slot b{font-size:11.5px;font-weight:800;line-height:15px}
.sx-slot span{font-size:9.5px;opacity:.62;line-height:13px}
.sx-slot.gone{opacity:.42}
.sx-slot.gone b{text-decoration:line-through}
.sx-rating{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:11px}
.sx-stars{color:var(--c-accent);letter-spacing:1px;font-size:12px}
.sx-rating b{font-weight:800}
.sx-rating span{opacity:.65}
.sx-reassure{margin-top:12px;font-size:10.5px;line-height:16px;opacity:.72;max-width:44ch}
.sx-reassure b{color:var(--c-accent);font-weight:700}
.sx-work{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}
.sx-work .sx-img{aspect-ratio:4/5}
.sx-work figcaption{font-size:10px;opacity:.65;margin-top:6px}
.sx-team{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}
.sx-tm{padding:13px;border-radius:9px;border:1px solid var(--c-rule,rgba(255,255,255,.12))}
.sx-tm b{font-size:12.5px;display:block}
.sx-tm span{font-size:10.5px;opacity:.68;display:block;margin-top:2px}
.sx-tm em{font-style:normal;font-size:10.5px;font-weight:700;color:var(--c-accent);
  display:block;margin-top:7px}
@media(max-width:720px){.sx-work,.sx-team{grid-template-columns:1fr}}
.sx-avail b{color:var(--c-accent)}

.sx-trust{display:flex;flex-wrap:wrap;gap:0 22px;padding:12px var(--pad);
  border-top:1px solid var(--c-rule,rgba(255,255,255,.12));
  border-bottom:1px solid var(--c-rule,rgba(255,255,255,.12));font-size:10.5px;opacity:.8}
.sx-trust span{display:inline-flex;align-items:center;gap:6px}
.sx-trust span::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--c-accent)}

.sx-sec{padding:26px var(--pad)}
.sx-sec h2{font-size:22px;line-height:1.1;letter-spacing:-.015em;margin:0;font-weight:800}
.sx-sec .sx-lede{font-size:12px;line-height:18px;opacity:.75;margin:8px 0 0;max-width:48ch}
.sx-feature{display:grid;grid-template-columns:1.35fr 1fr;gap:14px;margin-top:16px}
.sx-feature .sx-col{display:grid;gap:14px;grid-template-rows:max-content max-content;align-content:start}
.sx-card{border-radius:10px;padding:16px;background:var(--c-tile,rgba(255,255,255,.06));
  border:1px solid var(--c-rule,rgba(255,255,255,.1));display:grid;gap:8px;align-content:start}
.sx-card h3{margin:0;font-size:14px;font-weight:800}
.sx-card p{margin:0;font-size:11px;line-height:17px;opacity:.75}
.sx-price{font-size:19px;font-weight:800;color:var(--c-accent);letter-spacing:-.01em}
.sx-price small{font-size:10.5px;font-weight:600;opacity:.7;color:inherit;margin-left:6px}

.sx-split{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:start}
.sx-list{display:grid;gap:0;margin-top:12px}
.sx-li{display:grid;grid-template-columns:1fr auto;gap:12px;padding:9px 0;
  border-bottom:1px solid var(--c-rule,rgba(255,255,255,.1));align-items:baseline}
.sx-li b{font-size:12px;font-weight:700}
.sx-li i{font-style:normal;display:block;font-size:10px;opacity:.6;margin-top:2px}
.sx-li em{font-style:normal;font-weight:800;font-size:12.5px;color:var(--c-accent)}

.sx-people{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}
.sx-person{display:grid;gap:8px}
.sx-person .sx-img{aspect-ratio:4/5}
.sx-person b{font-size:12.5px}
.sx-person span{font-size:10.5px;opacity:.7;display:block;margin-top:2px}

.sx-quote{padding:30px var(--pad);text-align:center}
.sx-quote p{font-size:22px;line-height:1.25;letter-spacing:-.015em;margin:0 auto;max-width:26ch;font-weight:600}
.sx-quote footer{font-size:10.5px;opacity:.65;margin-top:12px}

.sx-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:0 var(--pad) 26px}
.sx-strip .sx-img{aspect-ratio:1}

.sx-close{padding:34px var(--pad);text-align:center;background:var(--c-accent);
  color:var(--c-on-accent)}
.sx-close h2{font-size:28px;line-height:1.05;letter-spacing:-.02em;margin:0 auto;max-width:18ch;font-weight:800}
.sx-close .sx-cta{background:var(--c-on-accent);color:var(--c-accent);margin-top:16px}
.sx-close p{font-size:11.5px;opacity:.85;margin:10px 0 0}

.sx-foot{display:flex;flex-wrap:wrap;gap:6px 20px;padding:16px var(--pad);
  font-size:10.5px;opacity:.7;border-top:1px solid var(--c-rule,rgba(255,255,255,.12))}
.sx-bar{display:none}

@media(max-width:720px){
  .sx{--pad:16px}
  .sx-nav .sx-links{display:none}
  .sx-hero-media{height:200px}
  .sx-hero-in{max-width:none;margin-top:-60px}
  .sx-h1{font-size:30px}
  .sx-feature,.sx-split{grid-template-columns:1fr}
  .sx-people{grid-template-columns:1fr 1fr}
  .sx-strip{grid-template-columns:repeat(3,1fr)}
  .sx-bar{display:flex;gap:8px;padding:10px 16px;position:sticky;bottom:0;
    background:var(--c-bg);border-top:1px solid var(--c-rule,rgba(255,255,255,.14));z-index:5}
  .sx-bar .sx-cta{flex:1}
}

/* --- concept-specific primitives ------------------------------------------
   Six concepts built on one set of bands is the criticism that started this.
   These exist so each trade gets the shape its own customer needs: an
   emergency plumber is a phone number and a response time, a landlord wants a
   certificate and a price, a cafe is open or it is not, and a first session is
   frightening until somebody writes down what happens in it. */

/* a live state: open, answering, next available. The single most useful thing
   on a trade or hospitality homepage and usually absent from both. */
.sx-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;
  padding:9px var(--pad);font-size:11px;font-weight:600;
  background:var(--c-tile,rgba(255,255,255,.07));
  border-bottom:1px solid var(--c-rule,rgba(255,255,255,.12))}
.sx-dot{width:8px;height:8px;border-radius:50%;background:var(--c-live,#35c46b);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--c-live,#35c46b) 28%, transparent);flex:0 0 8px}
.sx-status b{font-weight:800}
.sx-status .sx-sep{opacity:.45;font-weight:400}

/* the phone number as the primary action, at the size an emergency deserves */
.sx-tel{text-decoration:none;display:inline-flex;flex-direction:column;gap:2px;padding:13px 20px;border-radius:12px;
  background:var(--c-accent);color:var(--c-on-accent);box-shadow:0 10px 26px rgba(0,0,0,.28)}
.sx-tel span{font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;opacity:.82}
.sx-tel b{font-size:23px;font-weight:800;letter-spacing:-.02em;line-height:1.05}

/* people search a plumber by symptom, not by service name */
.sx-triage{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}
.sx-sym{padding:11px 13px;border-radius:9px;display:grid;gap:3px;
  background:var(--c-tile,rgba(255,255,255,.06));
  border:1px solid var(--c-rule,rgba(255,255,255,.12))}
.sx-sym b{font-size:11.5px;font-weight:700;line-height:16px}
.sx-sym span{font-size:10px;line-height:14px;opacity:.62}
.sx-sym em{font-style:normal;font-size:10.5px;font-weight:800;color:var(--c-accent)}

/* three different customers, three different pages, chosen by the reader */
.sx-seg{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.sx-seg span{padding:8px 14px;border-radius:999px;font-size:11px;font-weight:700;
  border:1px solid var(--c-rule,rgba(255,255,255,.18));opacity:.72}
.sx-seg span.on{background:var(--c-accent);color:var(--c-on-accent);border-color:transparent;opacity:1}

/* registration numbers settle an argument that words cannot */
.sx-creds{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;
  margin:16px 0 0;padding:0 var(--pad) 6px}
.sx-cred{padding:11px 12px;border-radius:9px;text-align:center;
  border:1px solid var(--c-rule,rgba(255,255,255,.14))}
.sx-cred b{display:block;font-size:11px;font-weight:800;letter-spacing:.02em}
.sx-cred span{display:block;font-size:9.5px;opacity:.6;margin-top:3px;
  font-variant-numeric:tabular-nums}

/* dated, located, specific. Specificity is the cheapest credibility there is */
.sx-log{display:grid;gap:0;margin-top:14px}
.sx-jb{display:grid;grid-template-columns:62px 1fr auto;gap:12px;align-items:baseline;
  padding:9px 0;border-bottom:1px solid var(--c-rule,rgba(255,255,255,.1))}
.sx-jb time{font-size:10px;opacity:.55;font-variant-numeric:tabular-nums}
.sx-jb b{font-size:11.5px;font-weight:700}
.sx-jb i{font-style:normal;display:block;font-size:10px;opacity:.6;margin-top:2px}
.sx-jb em{font-style:normal;font-size:10.5px;font-weight:800;color:var(--c-accent);white-space:nowrap}

/* what came out of the oven this morning, dated so it is obviously real */
.sx-board{border-radius:12px;padding:16px 18px;margin-top:16px;
  background:var(--c-tile,rgba(255,255,255,.07));
  border:1px solid var(--c-rule,rgba(255,255,255,.14))}
.sx-board h3{margin:0;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  color:var(--c-accent)}
.sx-board ul{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:7px}
.sx-board li{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:baseline;font-size:12px}
.sx-board li span{opacity:.62;font-size:10.5px}
.sx-board li.out{opacity:.4}
.sx-board li.out b{text-decoration:line-through}
.sx-board li b{font-weight:700}

/* the first session is the sale, and the fear is not knowing what happens */
.sx-time{display:grid;gap:0;margin-top:16px;position:relative}
.sx-tstep{display:grid;grid-template-columns:54px 1fr;gap:14px;padding:11px 0;
  border-bottom:1px solid var(--c-rule,rgba(255,255,255,.1))}
.sx-tstep time{font-size:11px;font-weight:800;color:var(--c-accent);font-variant-numeric:tabular-nums}
.sx-tstep b{font-size:12px;font-weight:700;display:block}
.sx-tstep p{margin:3px 0 0;font-size:10.5px;line-height:15px;opacity:.7}

/* a price ladder with the middle rung marked, because most people take it */
.sx-ladder{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px;align-items:start}
.sx-rung{border-radius:12px;padding:16px;display:grid;gap:7px;align-content:start;
  border:1px solid var(--c-rule,rgba(255,255,255,.14));
  background:var(--c-tile,rgba(255,255,255,.05))}
.sx-rung.pick{border-color:var(--c-accent);border-width:2px;padding:15px;
  box-shadow:0 14px 34px rgba(0,0,0,.24)}
.sx-rung h3{margin:0;font-size:13px;font-weight:800}
.sx-rung .sx-price{font-size:22px}
.sx-rung ul{list-style:none;margin:2px 0 0;padding:0;display:grid;gap:5px}
.sx-rung li{font-size:10.5px;line-height:15px;opacity:.75;padding-left:14px;position:relative}
.sx-rung li::before{content:"";position:absolute;left:0;top:6px;width:5px;height:5px;
  border-radius:50%;background:var(--c-accent)}
.sx-tag{position:absolute;margin-top:-28px;font-size:9px;font-weight:800;letter-spacing:.1em;
  text-transform:uppercase;background:var(--c-accent);color:var(--c-on-accent);
  padding:4px 9px;border-radius:999px}

/* a number is proof in a way that a paragraph is not */
.sx-nums{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}
.sx-num{padding:15px;border-radius:11px;border:1px solid var(--c-rule,rgba(255,255,255,.14))}
.sx-num b{display:block;font-size:26px;font-weight:800;letter-spacing:-.02em;color:var(--c-accent);
  line-height:1.05}
.sx-num span{display:block;font-size:10.5px;line-height:15px;opacity:.72;margin-top:6px}

/* which towns you will actually drive to, written out, so the wrong bookings
   stop arriving and the right ones stop wondering */
.sx-cover{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:16px;align-items:start}
.sx-towns{display:flex;flex-wrap:wrap;gap:6px}
.sx-towns span{font-size:11px;padding:6px 11px;border-radius:999px;
  background:var(--c-tile,rgba(255,255,255,.07));
  border:1px solid var(--c-rule,rgba(255,255,255,.12))}
.sx-towns span.hub{background:var(--c-accent);color:var(--c-on-accent);border-color:transparent;
  font-weight:700}

@media(max-width:720px){
  .sx-triage,.sx-creds,.sx-nums,.sx-ladder{grid-template-columns:1fr}
  .sx-cover{grid-template-columns:1fr}
  .sx-jb{grid-template-columns:52px 1fr;row-gap:2px}
  .sx-jb em{grid-column:2}
  .sx-tel b{font-size:21px}
  .sx-tag{position:static;margin:0 0 2px;justify-self:start;display:inline-block}
}

/* hero variants. One hero shape across six trades was the reason they all
   looked like the same site. */
.sx-hero2{display:grid;grid-template-columns:1.08fr .92fr;gap:26px;
  padding:26px var(--pad) 22px;align-items:center}
.sx-hero2.rev>div:first-child{order:2}
.sx-hero2 .sx-h1{font-size:36px}
.sx-heroU{display:grid;grid-template-columns:1.12fr .88fr;gap:28px;
  padding:32px var(--pad) 24px;align-items:start}
.sx-panel{border-radius:14px;padding:18px;background:var(--c-tile,rgba(255,255,255,.06));
  border:1px solid var(--c-rule,rgba(255,255,255,.14))}
.sx-panel h3{margin:0 0 4px;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--c-accent);font-weight:800}
.sx-panel .sx-li:last-child{border-bottom:0}
.sx-heroU .sx-h1{font-size:46px;max-width:14ch}
.sx-heroC{padding:44px var(--pad) 26px;text-align:center}
.sx-heroC .sx-h1{font-size:42px;max-width:17ch;margin-left:auto;margin-right:auto}
.sx-heroC .sx-sub,.sx-heroC .sx-eyebrow{margin-left:auto;margin-right:auto}
.sx-heroC .sx-actions,.sx-heroC .sx-slots{justify-content:center}
.sx-band{padding:0 var(--pad) 24px}
@media(max-width:720px){
  .sx-hero2,.sx-heroU{grid-template-columns:1fr;gap:18px}
  .sx-hero2.rev>div:first-child{order:0}
  .sx-hero2 .sx-h1,.sx-heroU .sx-h1,.sx-heroC .sx-h1{font-size:30px}
}
