/*
 * Shared by every concept site under /concepts/: a reset, and the ribbon that says, above
 * everything else, that the business is fictional and the page a design by SilentPixel. The
 * ribbon is part of the page on purpose (README.md, "Website concepts"): a concept must never be
 * mistaken for a real business or a real client. The screenshots on silentpixel.net leave it out
 * (scripts/capture-concepts.mjs), because the site labels each one itself.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
/* The width and height on an <img> reserve its space; its CSS sets the size it is shown at. */
img {
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The ribbon stays at the top while the page scrolls, with a shadow under it, so it reads as
   SilentPixel's bar over the concept rather than the concept's own header (2026-11-18, at the
   owners' request). No concept has a sticky header of its own; one that gains one sits below
   this. Jump links stop below it too (`scroll-padding-top`, measured by eye at each width). */
html:has(.concept-ribbon) {
  scroll-padding-top: 6rem;
}
.concept-ribbon {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow:
    0 1px 0 #2a2e33,
    0 6px 18px rgb(0 0 0 / 0.28);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding: 0.375rem 1.25rem;
  background: #0b0c0e;
  color: #c9ced4;
  font:
    500 0.8125rem/1.4 'Segoe UI',
    system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: 0.01em;
}
.concept-ribbon strong {
  color: #fff;
  font-weight: 600;
}
/* Its own class name, `.tag`, is also a concept's (Warmtewerf labels its photo with them), so
   everything a concept's `.tag` may set is put back here. */
.concept-ribbon .tag {
  position: static;
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.125rem 0.4rem;
  border: 1px solid #5a5f66;
  color: inherit;
  font: inherit;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-shadow: none;
  text-transform: uppercase;
}
.concept-ribbon .tag::before,
.concept-ribbon .tag::after {
  content: none;
}
.concept-ribbon a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Previous and next walk through the five concepts in the order of the cards, round in a
   circle, so a visitor can compare them without going back to the site each time. */
.concept-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}
.concept-ribbon .concept-nav a {
  gap: 0.375rem;
}
/* Previous and next: the underline runs under the words only, not under the arrow and the gap
   beside it, where it broke into pieces. */
.concept-ribbon .concept-nav a:has(> [aria-hidden]) {
  text-decoration: none;
}
.concept-ribbon .concept-nav a:has(> [aria-hidden]) > span:not([aria-hidden]) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* On a phone the ribbon stays in view, so it is kept to about a tenth of the screen: "Vorige"
   and "Volgende" lose the concept's name, which a screen reader still reads, so the three links
   fit one row. Its one sentence is Dutch, as the page is; the footer adds the English. */
@media (max-width: 39.99rem) {
  .concept-ribbon {
    padding-block: 0.25rem;
    gap: 0;
  }
  .concept-ribbon .concept-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .concept-nav {
    gap: 0 1rem;
  }
  html:has(.concept-ribbon) {
    scroll-padding-top: 7rem;
  }
}

/* The footer repeats the ribbon's line, with the English on a line of its own. */
footer [lang='en'] {
  display: block;
}

/* On a phone the header keeps the logo and the one button that matters; the sections follow on
   the same page, so nothing is out of reach. */
@media (max-width: 39.99rem) {
  body .top {
    flex-wrap: nowrap;
  }
  body .top nav a:not(.btn) {
    display: none;
  }
}

/*
 * The booking step: what a visitor would pick on the real site (a day, a time, a bouquet),
 * shown as choices that work, so a demo button no longer leads back to the top of the page.
 * Nothing here is a form: the inputs sit in no <form>, ask for nothing personal and send
 * nothing, and the button only reveals a line (`:target`) saying the concept stops there.
 * Each site colours it through the custom properties below; the chosen option also gains a tick,
 * so the choice never rests on colour alone.
 */
.picker {
  --pick-ink: inherit;
  --pick-line: currentColor;
  --pick-on-bg: currentColor;
  --pick-on-ink: #fff;
  --pick-radius: 0;
  display: grid;
  gap: 1.25rem;
  color: var(--pick-ink);
}
.picker fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.picker legend {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
}
.picker label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--pick-line);
  border-radius: var(--pick-radius);
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.picker label:has(input:checked) {
  border-color: var(--pick-on-bg);
  background: var(--pick-on-bg);
  color: var(--pick-on-ink);
}
.picker label:has(input:checked)::before {
  content: '✓';
}
.picker label:has(input:focus-visible) {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.picker label:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}
.picked {
  display: none;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--pick-line);
  border-radius: var(--pick-radius);
}
.picked:target {
  display: block;
}
