/* The starters (editor/starters.js): the gallery of starter sites, the one looked at, and the choices as chips. Each
   card draws a small site from the starter's palette, font and layout, so a tap on a choice shows at once. Mobile
   first: one column of cards on a phone, a grid on a laptop; chips and cards at least 44 pixels. */
.starters { max-width: 64rem; scroll-margin-top: 80px; }
.starter-intro, .starter-head { display: flex; gap: 16px; align-items: center; margin: 0 0 18px; }
.starter-intro h1, .starter-head h1 { margin: 0 0 4px; }
.starter-intro p, .starter-head p { margin: 0; }

/* Zakelijk or Privé: a segmented switch, as on mybitbuddy.nl. Its buttons and the chips are 46 pixels, so the 44 of the
   rule holds also when the layout rounds a subpixel down (a run measured 43.99). */
.segmented { display: inline-flex; padding: 4px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.segmented button { min-height: 46px; min-width: 46px; padding: 6px 18px; border: 0; border-radius: 999px; background: none; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.starter-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.starter-card { display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 44px; padding: 12px; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); font: inherit; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.starter-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lift); }
@media (prefers-reduced-motion: no-preference) { .starter-card:hover { transform: translateY(-2px); } }
.starter-name { color: var(--ink); font-size: 17px; font-weight: 800; margin-top: 6px; }
.starter-text { font-size: 14px; }
.starter-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: var(--radius-small); background: var(--mist); }

/* The small site: the starter's own colours (--mini-primary, --mini-accent, --mini-background, --mini-text, set
   from its palette), its header, the big part in its layout, and three services as cards or as a list. */
.mini-site { --mini-primary: #4e4e4e; --mini-accent: #ff914d; --mini-background: #ffffff; --mini-text: #2f2f2f;
  display: flex; flex-direction: column; gap: 8px; aspect-ratio: 16 / 10; padding: 8px; overflow: hidden; border-radius: var(--radius-small); border: 1px solid var(--line);
  background: var(--mini-background); color: var(--mini-text); transition: background-color .25s; }
.mini-head { display: flex; gap: 6px; align-items: center; }
.mini-logo { width: 18px; height: 10px; border-radius: 3px; background: var(--mini-primary); margin-right: auto; }
.mini-nav { width: 16px; height: 4px; border-radius: 2px; background: var(--mini-text); opacity: .35; }
.mini-hero { flex: 1; display: grid; gap: 8px; min-height: 0; }
.mini-photo { border-radius: 6px; background: linear-gradient(135deg, var(--mini-accent), var(--mini-primary)); min-height: 0; }
.mini-words { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.mini-title { font-size: 12px; font-weight: 800; line-height: 1.15; color: var(--mini-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-line { height: 4px; border-radius: 2px; background: var(--mini-text); opacity: .3; }
.mini-line-short { width: 60%; }
.mini-button { width: 34px; height: 9px; border-radius: 5px; background: var(--mini-accent); margin-top: 2px; }
/* The big part: a photo with the words over it, words alone, or photo and words side by side. */
.mini-site.hero-beeld .mini-hero { grid-template-areas: 'stack'; }
.mini-site.hero-beeld .mini-photo, .mini-site.hero-beeld .mini-words { grid-area: stack; }
.mini-site.hero-beeld .mini-words { padding: 8px; }
.mini-site.hero-beeld .mini-title { color: #ffffff; }
.mini-site.hero-beeld .mini-line { background: #ffffff; opacity: .7; }
.mini-site.hero-tekst .mini-photo { display: none; }
.mini-site.hero-tekst .mini-words { align-items: center; text-align: center; }
.mini-site.hero-tekst .mini-line { width: 70%; }
.mini-site.hero-tekst .mini-line-short { width: 45%; }
/* Gesplitst: the text with the photo on its right, as on the site (site.css); Foto links: the photo on the left; Grote
   foto, schuin: the text on a panel that reaches over the edge of a wide photo on its right. */
.mini-site.hero-gesplitst .mini-hero { grid-template-columns: 1fr 1fr; }
.mini-site.hero-gesplitst .mini-photo { order: 1; }
.mini-site.hero-beeld_links .mini-hero { grid-template-columns: 1fr 1fr; }
.mini-site.hero-beeld_links .mini-photo { order: -1; }
.mini-site.hero-asymmetrisch .mini-hero { grid-template-columns: 1fr 1.6fr; gap: 0; }
.mini-site.hero-asymmetrisch .mini-photo { order: 1; }
.mini-site.hero-asymmetrisch .mini-words { position: relative; z-index: 1; margin-right: -12px; padding: 6px; border-radius: 4px; background: var(--mini-background); }
.mini-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-item { height: 18px; border-radius: 4px; background: var(--mini-primary); opacity: .18; }
.mini-site.list-lijst .mini-list { grid-template-columns: 1fr; gap: 3px; }
.mini-site.list-lijst .mini-item { height: 4px; opacity: .3; }
/* The font: the heading's kind of letter. */
/* The heading in the font pair's letter (--mini-heading, set by editor/starters.js from editor/fonts.js). */
.mini-site .mini-title { font-family: var(--mini-heading, var(--brand-font)); }

/* One starter: the drawn site and the real preview side by side on a laptop, the choices under them. */
.starter-look { display: grid; gap: 16px; margin: 0 0 12px; }
.starter-drawn .mini-site { max-width: 34rem; }
.starter-preview:empty { display: none; }
.starter-frame { height: 60vh; }
@media (min-width: 1100px) { .starter-look:has(.starter-preview:not(:empty)) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; padding: 0; border: 0; }
.chips legend { width: 100%; padding: 0; margin: 0 0 6px; color: var(--ink); font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; transition: border-color .15s, background-color .15s; }
.chip:hover { border-color: var(--orange); }
.chip[aria-pressed="true"] { border: 2px solid var(--orange); background: var(--orange-soft); color: var(--ink); }
.swatch { display: inline-grid; grid-template-columns: repeat(4, 10px); gap: 2px; }
.swatch span { width: 10px; height: 18px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.starter-actions { margin: 16px 0; }
.starter-chosen-head { display: grid; gap: 14px; align-items: center; }
.starter-chosen-head h2 { margin: 0 0 4px; }
@media (min-width: 700px) { .starter-chosen-head { grid-template-columns: 220px minmax(0, 1fr); } }
