/* The TattooHive: the admin login grown into a site. White sheets on her olive paper. */
body { background: var(--olive); }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: var(--olive) var(--texture) center / cover no-repeat; }

.sheet { background: var(--paper); box-shadow: var(--shadow); }

/* Header: a floating sheet, like the login card */
.hdr { top: 12px; margin: 12px var(--gutter) 0; box-shadow: var(--shadow); transition: box-shadow .3s; }
.hdr.scrolled { box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
@media (max-width: 1180px) {
  .hdr { top: 10px; margin: 10px 10px 0; padding: 0 16px; }
  .hdr-nav { inset: calc(var(--hdr-h) + 18px) 10px 10px 10px; box-shadow: var(--shadow-lg); }
}

.a-wrap { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 72px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.a-wrap > * { min-width: 0; }
@media (max-width: 700px) { .a-wrap { padding: 14px 10px 48px; gap: 14px; } }

.a-h2 { font-size: clamp(28px, 4.2vw, 42px); margin-bottom: 22px; }
.a-rule { width: 54px; height: 0; border: 0; border-top: 2px solid var(--ink); margin: 24px auto; }
.a-sec { padding: clamp(24px, 5vw, 64px); }

/* Hero: photo sheet with the login-style card laid over it */
.a-hero { display: grid; grid-template-columns: 7fr 5fr; align-items: center; min-height: min(64vh, 620px); }
.a-hero-photo { grid-column: 1 / 2; grid-row: 1; height: 100%; min-height: 460px; }
.a-hero-card { grid-column: 2 / 3; grid-row: 1; margin-left: -18%; padding: clamp(28px, 4vw, 52px); text-align: center; position: relative; z-index: 2; animation: aCardIn 1s var(--ease) .1s both; }
@keyframes aCardIn { from { opacity: 0; transform: translateY(30px); } }
.a-hero-logo { width: min(340px, 100%); margin: 0 auto; }
.a-hero-line { font: 400 clamp(17px, 1.6vw, 20px)/1.5 var(--body); margin-bottom: 28px; }
.a-ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 24px; }
.a-hero-card .social { justify-content: center; }
/* Phones: no overlap. The photo is cut off where the card begins and both form one sheet on the same layer. */
@media (max-width: 860px) {
  .a-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; box-shadow: var(--shadow); }
  .a-hero > * { min-width: 0; }
  .a-hero-photo { grid-column: 1; grid-row: 1; min-height: 0; height: auto; aspect-ratio: 7 / 3; box-shadow: none; }
  .a-hero-card { grid-column: 1; grid-row: 2; margin: 0; padding: 34px 22px 28px; box-shadow: none; animation: none; }
  .a-hero-logo { width: min(280px, 100%); }
  .a-rule { margin: 22px auto; }
  .a-hero-line { font-size: 17px; margin-bottom: 24px; }
  .a-ctas { flex-direction: column; gap: 10px; }
  .a-ctas .btn { width: 100%; }
}

/* Safespace */
.a-safe { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.a-safe-pic { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: #ddd; }
.a-safe-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.a-safe:hover .a-safe-pic img { transform: scale(1.03); }
.a-safe-txt .btn { margin-top: 14px; }
@media (max-width: 860px) { .a-safe { grid-template-columns: 1fr; } .a-safe-pic { aspect-ratio: 4 / 3; } }

/* Gallery */
.a-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.a-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: #e6e6e2; }
.a-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.a-grid a:hover img { transform: scale(1.06); }
@media (max-width: 700px) { .a-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; } .a-grid li:nth-child(n+19) { display: none; } }

/* Custom & Flash: text on top, a tidy grid of flash sheets below. Nothing half visible, nothing to slide. */
.a-flash-txt { max-width: 760px; margin-bottom: 28px; }
.a-flash-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.a-flash-grid a { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #e6e2da; }
.a-flash-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.a-flash-grid a:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .a-flash-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .a-flash-grid li:nth-child(n+10) { display: none; } }
@media (max-width: 560px) { .a-flash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .a-flash-grid li:nth-child(n+7) { display: none; } }

/* Artists: one sheet, cards inside it, button at the bottom like MEER INFO */
.a-foot { margin-top: 28px; }
.a-artists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.a-artist { display: flex; flex-direction: column; border: 1px solid var(--line); }
.a-artist-pic { display: block; aspect-ratio: 1; overflow: hidden; background: #ddd; }
.a-artist-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .8s var(--ease); }
.a-artist:hover .a-artist-pic img { transform: scale(1.04); }
.a-artist-body { position: relative; padding: 18px 64px 20px 20px; }
.a-artist h3 { font-size: 17px; margin-bottom: 6px; }
.a-artist p { font-size: 13px; color: var(--muted); }
.a-ig { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.a-ig:hover { background: var(--ink); color: #fff; }
.a-ig svg { width: 18px; height: 18px; }
/* Phones: compact rows, small square photo left, name and style right, Instagram at the end */
@media (max-width: 860px) {
  .a-artists { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .a-artist { flex-direction: row; align-items: stretch; }
  .a-artist-pic { width: 96px; flex: none; aspect-ratio: auto; min-height: 96px; }
  .a-artist-body { flex: 1; min-width: 0; padding: 12px 14px; }
  .a-artist h3 { font-size: 15px; margin-bottom: 4px; }
  .a-artist p { font-size: 12.5px; }
  .a-ig { position: static; transform: none; width: 34px; height: 34px; margin-top: 8px; }
  .a-ig svg { width: 16px; height: 16px; }
}

/* Locations: one sheet with both studios */
.a-locs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.a-loc { padding: 28px 28px 28px 32px; position: relative; border: 1px solid var(--line); }
.a-loc::before { content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--sage); }
.a-loc.is-closed::before { background: #c9c9c2; }
.a-loc h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.a-loc .eyebrow { margin-bottom: 8px; }
.a-closed { display: inline-block; font: 400 13px/1 var(--body); padding: 7px 10px; background: var(--bg); margin-bottom: 12px; }
@media (max-width: 700px) { .a-locs-grid { grid-template-columns: 1fr; gap: 14px; } .a-loc { padding: 22px 20px 22px 24px; } }

/* Trust list */
.a-trust { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: stretch; }
.a-trust-pic { min-height: 420px; }
.a-acc { align-self: center; }
@media (max-width: 860px) { .a-trust { grid-template-columns: 1fr; } .a-trust-pic { min-height: 0; aspect-ratio: 16 / 10; } }

/* Booking: the login card */
.a-book { max-width: 780px; width: 100%; margin: 12px auto 0; padding: clamp(28px, 5vw, 56px); text-align: left; }
.a-book-intro { font-size: 14px; color: #333; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.a-book .rich p { margin-bottom: .8em; }

/* Footer as a sheet */
.ftr { margin: 0 auto; width: calc(min(100vw, var(--max)) - 2 * var(--gutter)); box-shadow: var(--shadow); border: 0; }
@media (max-width: 700px) { .ftr { width: calc(100% - 20px); } }
.ftr-bottom { padding-bottom: 22px; }
body.hive { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.hive .ftr-bottom { padding-bottom: 22px; }

/* ================= Other pages ================= */
/* Page titles in Staatliches, like her own page titles; everything else as on the home page. */
.pg-title { font: 400 clamp(30px, 9vw, 64px)/1 'Staatliches', 'Poppins', sans-serif; text-transform: none; letter-spacing: 0.01em; margin: 0 0 18px; }
.pg-head .pg-intro { max-width: 760px; }
.pg-head .ig-btn { margin-top: 18px; }
.ig-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); color: var(--ink); transition: background .2s, color .2s; }
.ig-btn:hover { background: var(--ink); color: #fff; }
.ig-btn svg { width: 20px; height: 20px; }

/* Layered opening (Artiesten): same as the home hero, text card left-aligned */
.pg-photo { background: #ddd center / cover no-repeat; }
.a-hero-card.left { text-align: left; }
.a-hero-card.left .ig-btn { margin-top: 18px; }

/* Image grids: info slides, portfolio, aftercare. Whole images, never cropped. */
.pg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.pg-grid a[data-lb] { display: block; overflow: hidden; border: 1px solid var(--line); background: #f4f4f1; }
.pg-grid img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.pg-grid a:hover img { transform: scale(1.02); }
.care-grid { --cols: 2; max-width: 980px; }
/* Portfolio: the artist's name sits on the photo, like on her old site */
.pf-item { position: relative; }
.pf-name { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); min-width: 150px; max-width: calc(100% - 32px);
  background: rgba(167, 173, 143, .72); border-color: transparent; box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.pf-item:hover .pf-name, .pf-name:hover, .pf-name:focus-visible { background: var(--sage); border-color: var(--sage); transform: translate(-50%, -50%); }
@media (max-width: 860px) { .pg-grid { --cols: 2; gap: 12px; } }
@media (max-width: 560px) { .pg-grid { --cols: 1; } }

/* Artist sheets */
.ar { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.ar-pic { aspect-ratio: 4 / 5; overflow: hidden; background: #ddd; }
.ar-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ar .a-h2 { margin-bottom: 10px; }
.ar-since { font-style: italic; color: var(--muted); }
.ar-block { margin-top: 18px; }
.ar-block strong { display: block; font-weight: 600; margin-bottom: 4px; }
.ar-block ul { list-style: disc; margin: 0; padding-left: 1.2em; }
.ar-block li { padding: 1px 0; font-size: 14.5px; }
.ar-block li::marker { color: var(--muted); }
.ar-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.ar-ig { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.ar-ig p { margin: 0; font-size: 14px; }
.ar-ig .ig-btn { flex: none; }
.ar-video { display: grid; place-items: center; }
.ar-video img, .ar-video video { width: min(360px, 100%); height: auto; }
@media (max-width: 860px) {
  .ar { grid-template-columns: minmax(0, 1fr); }
  .ar-pic { aspect-ratio: 4 / 3; }
}

/* Prices: folding headings on phones (first open), everything open on bigger screens */
.pr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px clamp(28px, 5vw, 64px); align-items: start; }
.pr-group summary { list-style: none; display: flex; align-items: center; gap: 16px; cursor: default; }
.pr-group summary::-webkit-details-marker { display: none; }
.pr-group summary .a-h2 { flex: 1; margin: 0 0 14px; font-size: clamp(24px, 3vw, 32px); }
.pr-group .pm { display: none; }
.pr-list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.pr-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.pr-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pr-row h3 { font: 600 15px/1.4 var(--body); text-transform: none; letter-spacing: 0; }
.pr-price { flex: none; font-weight: 600; white-space: nowrap; }
.pr-desc { margin-top: 6px; font-size: 14px; color: #444; }
@media (max-width: 860px) {
  .pr { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pr-group { border-bottom: 1px solid var(--line); }
  .pr-group:first-child { border-top: 1px solid var(--line); }
  .pr-group summary { cursor: pointer; padding: 16px 0; }
  .pr-group summary .a-h2 { margin: 0; font-size: 24px; }
  .pr-group .pm { display: block; position: relative; width: 14px; height: 14px; flex: none; }
  .pr-group .pm::before, .pr-group .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .pr-group .pm::after { transform: rotate(90deg); }
  .pr-group[open] .pm::after { transform: none; }
  .pr-list { margin: 0 0 12px; border-top: 0; }
  .pr-list li:last-child { border-bottom: 0; }
  .pr-group[open] .pr-list { animation: accIn .4s var(--ease); }
}
/* Aanbetalingen + Andere artiesten: compact text, side by side on wide screens */
.pr-more { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pr-more .a-h2 { margin-bottom: 14px; }
.pr-text { font-size: 14px; line-height: 1.55; }
.pr-text p { margin: 0 0 .6em; }
.pr-text p:last-child { margin-bottom: 0; }
/* The photo closes the page, a wide strip like the home hero */
.pr-pic { aspect-ratio: 5 / 2; overflow: hidden; background: #ddd; padding: 0; }
.pr-pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .pr-more { grid-template-columns: minmax(0, 1fr); gap: 32px; } .pr-pic { aspect-ratio: 3 / 2; } }

/* Afspraak boeken */
.bk .pg-title { margin-bottom: 16px; }
.bk-notice { font-style: italic; color: var(--muted); }
.bk-where-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: stretch; }
.bk-map { min-height: 340px; border: 1px solid var(--line); overflow: hidden; background: #eee; }
.bk-map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.85) contrast(1.05); }
/* Locations as plain text next to the map, no boxes */
.bk-locs { display: grid; gap: 26px; align-content: start; }
.bk-loc h3 { font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 4px; }
.bk-loc p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.bk-loc .bk-loc-est { color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
.bk-loc .bk-loc-walk { color: var(--muted); }
.bk-loc.is-closed h3 { color: var(--muted); }
.bk-loc .a-closed { display: inline; padding: 0; margin: 0; background: none; font: inherit; color: var(--ink); }

/* Slider for the info slides and aftercare pages: whole images only, never a half one peeking in.
   --per images per view (set on .sl), the arrows and counter sit inside the sheet. */
.sl { --per: 3; --gap: 16px; }
.sl-track { list-style: none; margin: 0; padding: 0; gap: var(--gap); grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); }
.sl-track a { display: block; border: 1px solid var(--line); background: #f4f4f1; }
.sl-track img { width: 100%; height: auto; }
.sl-ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.sl-ctl[hidden] { display: none; }
.sl-ctl .btn { width: 46px; padding: 0; }
.sl-ctl .btn svg { width: 18px; height: 18px; }
.sl-ctl .btn:last-child svg { transform: rotate(180deg); }
.sl-ctl .btn:disabled { opacity: .35; cursor: default; transform: none; box-shadow: none; }
.sl-count { font: 500 14px/1 var(--body); color: var(--muted); font-variant-numeric: tabular-nums; }
.sl-care { --per: 2; max-width: 980px; }
@media (max-width: 860px) { .sl { --per: 2; --gap: 12px; } }
@media (max-width: 560px) { .sl, .sl-care { --per: 1; } }
@media (max-width: 860px) { .bk-where-grid { grid-template-columns: minmax(0, 1fr); } .bk-map, .bk-map iframe { min-height: 260px; } }

/* ---------- Videos in photo spots ---------- */
.fader > .fs > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.a-grid video, .a-flash-grid video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.a-grid a:hover video { transform: scale(1.06); }
.a-flash-grid a:hover video { transform: scale(1.04); }
.a-safe-pic video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-track video, .pg-grid video, .pf-item video { width: 100%; height: auto; display: block; }
.lb video { max-height: 100%; max-width: 100%; width: auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #000; }
.lb img[hidden], .lb video[hidden] { display: none; }

/* ---------- Her own questions on the booking forms ---------- */
.cf-qhint { margin: 6px 0 0; }
.cf-tick .tick-line { display: flex; gap: 10px; align-items: flex-start; margin: 0; font: 400 13px/1.5 var(--small); cursor: pointer; }
.cf-tick input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--sage-deep); }

/* ---------- ✎ buttons and the admin bar, only for whoever is logged in ---------- */
.eds { display: none; }
body.editing .ed-host:not(dialog) { position: relative; }
body.editing .eds { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; position: absolute; top: 10px; right: 10px; z-index: 30; max-width: calc(100% - 20px); }
body.editing .promo-bar .eds { top: 50%; right: auto; left: 10px; transform: translateY(-50%); }
body.editing .a-hero-photo .eds { right: auto; left: 10px; justify-content: flex-start; }
.ed { background: #463939; color: #fff; font: 600 12.5px/1 var(--body); padding: 8px 11px; text-decoration: none; box-shadow: 0 3px 10px rgba(0,0,0,.25); white-space: nowrap; }
.ed:hover, .ed:focus-visible { background: #000; color: #fff; }
@media (hover: hover) { body.editing .ed-host:hover { outline: 2px dashed rgba(70, 57, 57, .45); outline-offset: -2px; } }
.adminbar { position: fixed; left: 12px; bottom: 12px; z-index: 90; display: flex; flex-wrap: wrap; gap: 2px; box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.adminbar a, .adminbar button { background: #463939; color: #fff; border: 0; font: 600 13px/1 var(--body); padding: 10px 12px; text-decoration: none; cursor: pointer; }
.adminbar a:hover, .adminbar button:hover { background: #000; }
.adminbar [aria-pressed=false] { background: #8a8079; }

/* Merch (test): a client's private merch page */
.mp-draft { background: var(--sage); color: #fff; font-weight: 600; padding: 10px 16px; }
.mp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mp-pic { display: block; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); aspect-ratio: 3 / 4; }
.mp-pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mp-name { font: 600 16px/1.3 var(--body); text-transform: none; letter-spacing: 0; margin: 14px 0 2px; }
.mp-price { margin: 0 0 14px; color: var(--muted); }
.mp-note { margin: 28px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 520px) { .mp-grid { grid-template-columns: minmax(0, 1fr); } }
