/**
 * Madam — Editorial layout
 * High-end magazine treatment for detail pages.
 * Light cream-grey canvas, big typography, hairline rules, lots of whitespace.
 * Activated via body.ma-editorial.
 */

/* ============== Token override: anthracite canvas ============== */
.ma-editorial {
  --ma-bg:        #18181b;     /* warm anthracite */
  --ma-text:      #f3ede2;
  --ma-text-2:    rgba(243, 237, 226, .55);
  --ma-text-3:    rgba(243, 237, 226, .32);
  --ma-border:    rgba(243, 237, 226, .12);
  background: var(--ma-bg);
  color: var(--ma-text);
}
.ma-editorial body { background: var(--ma-bg); }

/* Hamburger lines + crosshairs already use var(--ma-text) — work on dark */

/* Hide top + bottom strips on scrolling detail pages — content would scroll through them */
.ma-detail .ma-strip--top,
.ma-detail .ma-strip--bottom { display: none; }

/* ============== Home / panels — anthracite frame ============== */
.ma-editorial.ma-home,
.ma-editorial .ma-deck { background: var(--ma-bg); }

/* Panel canvas: frame inherits the anthracite from --ma-bg */
.ma-editorial .ma-panel { --frame-bg: var(--ma-bg); }

/* ============== Inner container ============== */
.ma-ed__inner {
  max-width: 1280px;
  margin-inline: auto;
  /* Floor at frame-width so content clears the vertical side labels */
  padding-inline: max(clamp(1.25rem, 4vw, 3rem), var(--frame-w-h));
}

/* ============== Hero photo (~50vh, no overlay) ============== */
.ma-ed__hero {
  margin-top: clamp(5rem, 9vh, 7rem);     /* clear topbar */
  padding-inline: max(clamp(.5rem, 3vw, 1.5rem), var(--frame-w-h));
}
.ma-ed__hero img {
  width: 100%;
  height: 50vh;
  min-height: 320px;
  max-height: 660px;
  object-fit: cover;
  display: block;
  border-radius: 0 14px 0 14px;
}

/* ============== Slideshow — zoom crossfade + diagonal accent sweep ============== */
.ma-slideshow {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 320px;
  max-height: 660px;
  border-radius: 0 14px 0 14px;
  overflow: hidden;
  isolation: isolate;
}
.ma-slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ma-ease-2, ease);
  pointer-events: none;
}
.ma-slideshow__slide.is-active { opacity: 1; z-index: 1; }

.ma-slideshow__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  min-height: 0;
  max-height: none;
  /* Inactive: scale up slightly so transition into active can settle to scale 1.04 + zoom further */
  transform: scale(1.10);
  transition: transform 1.4s var(--ma-ease-2, ease);
}
.ma-slideshow__slide.is-active img {
  /* Active: slow Ken Burns zoom from 1.0 to 1.08 over 6s */
  transform: scale(1.0);
  animation: ma-kb-zoom 6.5s var(--ma-ease-2, ease) forwards;
}
@keyframes ma-kb-zoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .ma-slideshow__slide img { animation: none; transform: none; transition: none; }
}

/* ============== Title block ============== */
.ma-ed__title {
  padding: clamp(3rem, 7vh, 5rem) 0 clamp(2rem, 5vh, 3.5rem);
}
.ma-ed__eyebrow {
  font-family: var(--ma-font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: var(--ma-ls-label, .22em);
  text-transform: uppercase;
  color: #fff;
  background: var(--ma-accent);
  padding: .35em .6em;
  display: inline-block;
  margin-bottom: 1.4rem;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.ma-ed__h1 {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: .92;
  letter-spacing: -.05em;
  margin: 0 0 1.2rem;
}
/* Title as brand logo (By Night) instead of set type */
.ma-ed__h1--logo img {
  display: block;
  width: clamp(280px, 46vw, 580px);
  height: auto;
}
.ma-ed__tagline {
  font-family: var(--ma-font-body);
  font-weight: 500;
  font-size: clamp(.9rem, 1.1vw, 1rem);
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--ma-text-2);
  margin: 0;
}

/* ============== Intro + facts (2-col) ============== */
.ma-ed__intro {
  padding: clamp(3rem, 7vh, 5rem) 0 clamp(4rem, 9vh, 7rem);
  border-top: 1px solid var(--ma-border);
}
.ma-ed__intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .ma-ed__intro-grid { grid-template-columns: 7fr 4fr; }
}
/* Body copy reads as Inter; only the FIRST lead paragraph keeps the bold
   editorial voice — long bold display text is fatiguing on phones */
.ma-ed__lead {
  font-family: var(--ma-font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  max-width: 60ch;
  color: var(--ma-text);
}
.ma-ed__lead > p:first-child {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  line-height: 1.45;
  letter-spacing: -.012em;
}
.ma-ed__lead p { margin: 0; }
.ma-ed__lead p + p { margin-top: 1.1em; }
/* Emphasis inside body copy: no faux italics (display family has no italic face) */
.ma-ed__lead em,
.ma-ed__intro-line em {
  font-style: normal;
  font-weight: 600;
}

.ma-ed__facts {
  display: grid;
  gap: 0;
}
/* Fact rows — small label on top, value below, left-aligned
   (same pattern as the restaurant menukaart: easier to scan than right-aligned) */
.ma-ed__fact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ma-border);
}
.ma-ed__fact:last-child { border-bottom: 1px solid var(--ma-border); }
.ma-ed__fact-label {
  font-family: var(--ma-font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: var(--ma-ls-label, .22em);
  text-transform: uppercase;
  color: var(--ma-text-2);
  flex: 0 0 auto;
}
.ma-ed__fact-value {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(.95rem, 1.1vw, 1.1rem);
  line-height: 1.3;
  letter-spacing: -.005em;
  text-align: left;
  color: var(--ma-text);
}
/* Optional small accent link under a fact (e.g. "LOOKOUT tickets ↗") */
.ma-ed__fact-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .15rem;
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: .88rem;
  color: var(--ma-accent);
  transition: color .3s ease;
}
.ma-ed__fact-link:hover { color: var(--ma-text); }

/* Scroll/ticket button inside the facts column — full-width to pair with the chat
   button directly below it (outline on top, filled chat button underneath). */
.ma-ed__facts-cta {
  display: flex;
  align-items: center;
  width: 100%;
  gap: .7rem;
  margin-top: 1.15rem;
  padding: 1rem 1.2rem;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
}
.ma-ed__facts-cta .ma-ed__facts-cta-label { flex: 1 1 auto; text-align: left; }
.ma-ed__facts-cta .ma-arrow { flex: 0 0 auto; }

/* Chat button — sits directly under the facts column on every page */
.ma-chat-btn {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  margin-top: 1.15rem;
  padding: 1rem 1.2rem;
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  letter-spacing: -.005em;
  text-align: left;
  color: #fff;
  background: var(--ma-accent);
  border: 0;
  border-radius: 0 14px 0 14px;
  cursor: pointer;
  transition: background .3s ease, transform .4s var(--ma-ease-2, ease);
}
.ma-chat-btn:hover {
  background: var(--ma-accent-deep, #d6003c);
  transform: translate(2px, -2px);
}
.ma-chat-btn:active { transform: translate(0, 0); }
.ma-chat-btn__icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
}
.ma-chat-btn__label { flex: 1 1 auto; }
.ma-chat-btn .ma-arrow { flex: 0 0 auto; opacity: .85; }

/* ============== Programme section ============== */
.ma-ed__prog {
  padding: clamp(4rem, 9vh, 7rem) 0;
  border-top: 1px solid var(--ma-border);
}
.ma-ed__sechead {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}
.ma-ed__sec-index {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ma-accent);
}
.ma-ed__sec-rule {
  flex: 1;
  height: 1px;
  background: var(--ma-text);
  opacity: .15;
}
.ma-ed__sec-label {
  font-family: var(--ma-font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: var(--ma-ls-label, .22em);
  text-transform: uppercase;
  color: var(--ma-text-2);
  flex: 0 0 auto;
}
.ma-ed__h2 {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -.04em;
  line-height: 1;
  margin: 0 0 clamp(1.5rem, 3vh, 2.5rem);
  max-width: 22ch;
}
.ma-ed__intro-line {
  font-family: var(--ma-font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: var(--ma-text-2);
  max-width: 56ch;
  margin: 0 0 clamp(1.5rem, 3vh, 2.5rem);
}
/* CTA button — accent fill, used on Restaurant reserve action */
.ma-ed__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--ma-accent);
  color: #fff;
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  letter-spacing: -.005em;
  padding: .9rem 1.4rem;
  text-decoration: none;
  border-radius: 0 14px 0 14px;
  transition: transform .35s var(--ma-ease-2, ease), background .3s ease;
}
.ma-ed__cta:hover { transform: translate(2px, -2px); background: var(--ma-accent-deep); }

/* Accent-outline variant — same shape as the filled CTA but a pink outline that
   fills on hover. Reads as clearly clickable yet distinct from the solid button. */
.ma-ed__cta--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--ma-accent);
}
.ma-ed__cta--outline:hover {
  background: var(--ma-accent);
  color: #fff;
  transform: translate(2px, -2px);
}
/* Center-aligned CTA row (used by the CTA + scroll-button blocks) */
.ma-ed__cta-row--center { justify-content: center; }
/* Anchor targets clear the fixed topbar when scrolled to */
#tickets { scroll-margin-top: clamp(72px, 12vh, 104px); }

/* Quick action row — used on home Visit slide */
.ma-ed__quick-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.5rem, 1vw, .8rem);
  margin-top: clamp(1.2rem, 2.5vw, 2rem);
}
.ma-ed__quick-row .ma-ed__cta {
  width: 100%;
  justify-content: space-between;
  padding: .8rem 1rem;
  font-size: .9rem;
}
@media (max-width: 900px) {
  .ma-ed__quick-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .ma-ed__quick-row { gap: .4rem; margin-top: .9rem; }
  .ma-ed__quick-row .ma-ed__cta {
    padding: .55rem .7rem;
    font-size: .75rem;
    line-height: 1.05;
    gap: .35rem;
  }
  .ma-ed__quick-row .ma-ed__icon { width: .9em; height: .9em; }
  .ma-ed__quick-row .ma-ed__cta-arrow { font-size: .85em; }
}

/* ============== Editorial slide (compact, fits inside scroll-snap panel) ============== */
.ma-ed--slide {
  position: absolute;
  inset: var(--frame-w);
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  overflow: auto;
  scrollbar-width: none;
}
.ma-ed--slide::-webkit-scrollbar { display: none; }
.ma-ed--slide .ma-ed__inner { width: 100%; }
.ma-ed__slide-head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "eyebrow more"
    "title   .";
  align-items: start;
  column-gap: 1rem;
  row-gap: .5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.ma-ed__slide-head .ma-ed__eyebrow { grid-area: eyebrow; margin-bottom: 0; }
.ma-ed__slide-head .ma-ed__h2     { grid-area: title; margin-bottom: 0; }
.ma-ed__slide-head .ma-ed__cta    { grid-area: more; align-self: start; justify-self: end; }

/* Slide variant: brighter + larger for legibility against the panel backdrop */
.ma-ed--slide .ma-ed__lead,
.ma-ed--slide .ma-ed__lead > p:first-child {
  font-family: var(--ma-font-body);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--ma-text);
}
/* Slide lead: first paragraph stays large; any following paragraph reads as body
   copy — same size/weight as the content-page body (.ma-ed__rich). */
.ma-ed--slide .ma-ed__lead p + p {
  font-family: var(--ma-font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  margin-top: 1em;
}
.ma-ed--slide .ma-ed__fact-label {
  font-size: .74rem;
  color: rgba(243, 237, 226, .78);
}
.ma-ed--slide .ma-ed__fact-value {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--ma-text);
}
.ma-ed--slide .ma-ed__fact {
  border-top-color: rgba(243, 237, 226, .22);
}
.ma-ed--slide .ma-ed__fact:last-child {
  border-bottom-color: rgba(243, 237, 226, .22);
}

@media (max-width: 700px) {
  .ma-ed--slide                       { padding: 0; }
  .ma-ed__slide-head                  { margin-bottom: clamp(1.4rem, 4vw, 2rem); row-gap: .8rem; }
  .ma-ed__slide-head .ma-ed__eyebrow  { font-size: .82rem; padding: .5em .8em; }
  .ma-ed__slide-head .ma-ed__h2       { font-size: clamp(2.2rem, 9vw, 3rem); line-height: .95; }
  .ma-ed__slide-head .ma-ed__cta      { padding: .7rem 1rem; font-size: .78rem; }
  .ma-ed--slide .ma-ed__intro-grid    { gap: 1.4rem; }
  .ma-ed--slide .ma-ed__lead          { font-size: 1.15rem; line-height: 1.5; }
  .ma-ed--slide .ma-ed__lead p        { margin-bottom: 0; }
  .ma-ed--slide .ma-ed__fact          { padding: .85rem 0; }
  .ma-ed--slide .ma-ed__fact-label    { font-size: .78rem; }
  .ma-ed--slide .ma-ed__fact-value    { font-size: 1.05rem; }
}

/* ============== Packages (groups page) ============== */
.ma-ed__packages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(1rem, 2.5vw, 2rem);
}
@media (min-width: 720px) {
  .ma-ed__packages { grid-template-columns: 1fr 1fr; gap: 0; }
}
.ma-ed__pkg {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: clamp(1rem, 2vw, 1.6rem);
  padding: clamp(1.4rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--ma-border);
}
@media (min-width: 720px) {
  .ma-ed__pkg:nth-child(2n) { border-left: 1px solid var(--ma-border); }
}
.ma-ed__pkg:last-child,
.ma-ed__pkg:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--ma-border); }
.ma-ed__pkg-index {
  grid-row: 1 / span 2;
  font-family: var(--ma-font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ma-accent);
  padding-top: .35em;
}
.ma-ed__pkg-title {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1;
  margin: 0 0 .65rem;
}
.ma-ed__pkg-body {
  font-family: var(--ma-font-body);
  font-weight: 400;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  color: var(--ma-text-2);
}
.ma-ed__pkg-body strong {
  display: inline-block;
  background: var(--ma-accent);
  color: #fff;
  padding: .1em .35em;
  margin-right: .35em;
  font-weight: 700;
}

/* ============== PHOTO MOSAIC — mood strip (all world pages) ==============
   Mobile: horizontal swipe strip, edge-to-edge. Desktop: tight 3-col grid. */
.ma-rest__mood { margin: clamp(2.5rem, 6vh, 4.5rem) 0; }

/* Mobile-first: horizontal swipe strip, edge-to-edge */
.ma-rest__strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-inline: 26px;             /* first/last card aligns with the text gutter */
}
.ma-rest__strip::-webkit-scrollbar { display: none; }

.ma-rest__card {
  position: relative;
  flex: 0 0 78vw;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  scroll-snap-align: center;
  overflow: hidden;
  border-radius: 0 14px 0 14px;
  margin: 0;
  background: var(--ma-bg-2);
}
.ma-rest__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.2s var(--ma-ease-2, ease);
}
.ma-rest__card:hover img { transform: scale(1.08); }
.ma-rest__cap {
  position: absolute;
  left: .9rem;
  bottom: .8rem;
  font-family: var(--ma-font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}

/* Swipe dots — mobile only (the strip is a carousel there). Same visual language
   as the home pager: 24px tap target, 6px dot, accent + scale when active. */
.ma-strip-dots {
  display: flex;
  justify-content: center;
  gap: .1rem;
  margin-top: .35rem;
}
.ma-strip-dots__dot {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
}
.ma-strip-dots__dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(243, 237, 226, .3);
  transition: background .3s ease, transform .35s var(--ma-ease-2, ease);
}
.ma-strip-dots__dot.is-active::before {
  background: var(--ma-accent);
  transform: scale(1.4);
}

/* Desktop: tight grid — uniform cards, no gaps between rows */
@media (min-width: 900px) {
  .ma-strip-dots { display: none; }   /* geen carrousel op desktop */
  .ma-rest__strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(.8rem, 1.4vw, 1.2rem);
    overflow: visible;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: max(clamp(1.25rem, 4vw, 3rem), var(--frame-w-h));
  }
  .ma-rest__card {
    flex: none;
    max-width: none;
    aspect-ratio: 4 / 3;
  }
}


/* ============== Ferry journey scene (visit page) ==============
   Cinematic side view: CS quay → the IJ → A'DAM Toren.
   The pont is double-ended (like the real F3) so it crosses and
   returns without turning. All motion in CSS; SVG holds geometry. */
.ma-ed__map {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  background: rgba(243, 237, 226, .03);
  border: 1px solid var(--ma-border);
  border-radius: 0 14px 0 14px;
  padding: clamp(.8rem, 2vw, 1.4rem);
  overflow: hidden;
}
.ma-scene { padding: 0; }                 /* scene paints its own sky to the edges */
.ma-scene__svg {
  width: 100%;
  height: auto;
  max-height: clamp(380px, 62vh, 620px);
  display: block;
}

/* Typography in the scene */
.ma-scene__place {
  font-family: var(--ma-font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 4px;
  fill: rgba(243, 237, 226, .55);
}
.ma-scene__madam-label {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2.5px;
  fill: #f3ede2;
}
.ma-scene__f3 {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  fill: #fff;
}

/* Facts strip under the scene — HTML, dus altijd leesbaar (ook mobiel) */
.ma-scene__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem clamp(.8rem, 2vw, 1.4rem);
  padding: clamp(.9rem, 2vw, 1.3rem) 1rem;
  background: rgba(0, 0, 0, .35);
  border-top: 1px solid var(--ma-border);
}
.ma-scene__fact {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: -.01em;
  color: var(--ma-text);
  white-space: nowrap;
}
.ma-scene__fact-chip {
  display: inline-block;
  font-size: .85em;
  line-height: 1;
  background: var(--ma-accent);
  color: #fff;
  padding: .3em .5em;
  border-radius: 5px;
}
.ma-scene__fact-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ma-accent);
  flex: 0 0 auto;
}

/* --- The crossing: dock → overkant → terug (double-ended pont) --- */
.ma-scene__pont {
  animation: ma-pont-cross 22s cubic-bezier(.45, .05, .55, .95) infinite;
}
@keyframes ma-pont-cross {
  0%, 7%    { transform: translateX(0); }       /* boarding at CS */
  43%, 57%  { transform: translateX(680px); }   /* docked at Buiksloterweg */
  93%, 100% { transform: translateX(0); }       /* back at CS */
}

/* Gentle bobbing + sway */
.ma-scene__bob {
  animation: ma-pont-bob 3.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes ma-pont-bob {
  0%, 100% { transform: translateY(0) rotate(.5deg); }
  50%      { transform: translateY(-3px) rotate(-.5deg); }
}

/* Wake — expanding ripples under the hull */
.ma-scene__wake {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: ma-wake 2s linear infinite;
}
.ma-scene__wake--2 { animation-delay: 1s; }
@keyframes ma-wake {
  0%   { transform: scale(.45); opacity: .55; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Wave layers drift at different speeds (path repeats every 120/160/200px) */
.ma-scene__wave--1 { animation: ma-wave-drift-1 7s  linear infinite; }
.ma-scene__wave--2 { animation: ma-wave-drift-2 11s linear infinite; }
.ma-scene__wave--3 { animation: ma-wave-drift-3 15s linear infinite; }
@keyframes ma-wave-drift-1 { to { transform: translateX(-120px); } }
@keyframes ma-wave-drift-2 { to { transform: translateX(-160px); } }
@keyframes ma-wave-drift-3 { to { transform: translateX(-200px); } }

/* Stars twinkle */
.ma-scene__stars circle {
  opacity: .25;
  animation: ma-star 3.6s ease-in-out infinite;
}
.ma-scene__stars circle:nth-child(2n)  { animation-delay: -1.2s; }
.ma-scene__stars circle:nth-child(3n)  { animation-delay: -2.1s; }
.ma-scene__stars circle:nth-child(5n)  { animation-delay: -2.9s; }
@keyframes ma-star {
  0%, 100% { opacity: .2; }
  50%      { opacity: .85; }
}

/* Clouds drift slowly */
.ma-scene__cloud--1 { animation: ma-cloud 30s ease-in-out infinite alternate; }
.ma-scene__cloud--2 { animation: ma-cloud 42s ease-in-out infinite alternate-reverse; }
@keyframes ma-cloud {
  from { transform: translateX(-22px); }
  to   { transform: translateX(26px); }
}

/* Birds glide across the full scene */
.ma-scene__bird { animation: ma-bird 34s linear infinite; }
@keyframes ma-bird {
  from { transform: translateX(-40px); }
  to   { transform: translateX(1080px); }
}

/* Madam floor glow + crown beacon */
.ma-scene__madam-glow { animation: ma-madam-glow 3s ease-in-out infinite; }
@keyframes ma-madam-glow {
  0%, 100% { opacity: .45; }
  50%      { opacity: 1; }
}
.ma-scene__madam-band { filter: drop-shadow(0 0 6px var(--ma-accent)); }
.ma-scene__beacon { animation: ma-beacon 2.2s ease-in-out infinite; }
@keyframes ma-beacon {
  0%, 100% { opacity: 1; }
  50%      { opacity: .15; }
}

/* Window flicker + reflection shimmer */
.ma-scene__win rect { animation: ma-win 5.5s ease-in-out infinite; }
.ma-scene__win rect:nth-child(2n) { animation-delay: -2.4s; }
.ma-scene__win rect:nth-child(3n) { animation-delay: -4.1s; }
.ma-scene__win-c { animation: ma-win 6.2s ease-in-out -1.5s infinite; }
@keyframes ma-win {
  0%, 100% { opacity: 1; }
  50%      { opacity: .55; }
}
.ma-scene__refl {
  transform-box: fill-box;
  transform-origin: top;
  animation: ma-refl 4.5s ease-in-out infinite;
}
.ma-scene__refl--madam { animation-duration: 3.2s; }
@keyframes ma-refl {
  0%, 100% { transform: scaleY(1);    opacity: 1; }
  50%      { transform: scaleY(1.18); opacity: .65; }
}

@media (prefers-reduced-motion: reduce) {
  .ma-scene__pont    { animation: none; transform: translateX(340px); }  /* rest mid-IJ */
  .ma-scene__bob,
  .ma-scene__wake,
  .ma-scene__wave--1, .ma-scene__wave--2, .ma-scene__wave--3,
  .ma-scene__stars circle,
  .ma-scene__cloud--1, .ma-scene__cloud--2,
  .ma-scene__bird,
  .ma-scene__madam-glow,
  .ma-scene__beacon,
  .ma-scene__win rect,
  .ma-scene__win-c,
  .ma-scene__refl    { animation: none; }
  .ma-scene__wake    { opacity: .25; transform: scale(1); }
}

@media (max-width: 700px) {
  /* Scene full-bleed on phones — break out of the 26px gutter */
  .ma-scene {
    margin-inline: -26px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .ma-scene__place       { font-size: 15px; letter-spacing: 3px; }
  .ma-scene__madam-label { font-size: 19px; }
  .ma-scene__f3          { font-size: 16px; }
  .ma-scene__fact        { font-size: 1.05rem; }
}
.ma-ed__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.ma-ed__cta--ghost {
  background: transparent;
  color: var(--ma-text);
  border: 1px solid var(--ma-border);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s ease, border-color .3s ease, transform .35s var(--ma-ease-2, ease);
}
.ma-ed__cta--ghost::before {
  /* Accent slides in from left on hover */
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ma-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ma-ease-2, ease);
  z-index: -1;
}
.ma-ed__cta--ghost:hover {
  color: #fff;
  border-color: var(--ma-accent);
  transform: none;
}
.ma-ed__cta--ghost:hover::before { transform: scaleX(1); }

/* Icon inside CTA */
.ma-ed__icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  stroke-width: 1.5;
}
.ma-ed__cta-label  { flex: 1; text-align: left; }
.ma-ed__cta-arrow  { flex: 0 0 auto; opacity: .7; transition: transform .35s var(--ma-ease-2, ease); }
.ma-ed__cta:hover .ma-ed__cta-arrow { transform: translate(2px, -2px); opacity: 1; }

.ma-ed__iframe-wrap {
  background: rgba(243, 237, 226, .03);
  border: 1px solid var(--ma-border);
  border-radius: 0 14px 0 14px;
  padding: clamp(.8rem, 2vw, 1.4rem);
  min-height: 540px;
}
@media (max-width: 700px) {
  /* Iframe events full-bleed on phones — break out of the 26px text gutter */
  .ma-ed__iframe-wrap {
    margin-inline: -26px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: .6rem 0;
  }
}

/* By Night uses the Fourvenues "events" embed, which sits flush to its container
   (Skybar's "calendar" embed has its own margins). Give By Night a little side room. */
.ma-detail--night .ma-ed__iframe-wrap {
  padding-inline: clamp(1.2rem, 3vw, 2.4rem);
}
@media (max-width: 700px) {
  .ma-detail--night .ma-ed__iframe-wrap {
    margin-inline: -20px;     /* less aggressive break-out */
    padding-inline: 12px;     /* breathing room left + right */
  }
}

/* ============== Footer (editorial) ============== */
.ma-ed__footer {
  padding: clamp(3rem, 6vh, 4rem) 0 clamp(4rem, 8vh, 6rem);
  border-top: 1px solid var(--ma-border);
}
.ma-ed__footer .ma-ed__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ma-ed__footnav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.7rem, 2vw, 1.5rem);
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(.85rem, 1vw, 1rem);
  letter-spacing: -.01em;
}
.ma-ed__footnav a { color: var(--ma-text); text-decoration: none; transition: color .3s ease; }
.ma-ed__footnav a:hover { color: var(--ma-accent); }
.ma-ed__legal {
  font-family: var(--ma-font-body);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ma-text-2);
  margin: 0;
}

/* ============== Strip + vertical text on light bg ============== */
.ma-editorial .ma-strip,
.ma-editorial .ma-vert { color: var(--ma-text-2); }

/* ============== Mobile ============== */
@media (max-width: 700px) {
  /* Photos go edge-to-edge on mobile; text content keeps 26px gutter */
  .ma-ed__hero    { padding-inline: 0; margin-top: clamp(3.75rem, 7vh, 4.5rem); }   /* floor ≥ topbar height */
  .ma-ed__hero img,
  .ma-slideshow   { border-radius: 0; }
  .ma-ed__inner   { padding-inline: 26px; }
  .ma-ed__hero img,
  .ma-slideshow   { height: 42vh; min-height: 260px; }
  .ma-ed__title   { padding: clamp(1.5rem, 4vh, 2.5rem) 0 clamp(1.5rem, 3.5vh, 2.2rem); }
  .ma-ed__h1      { font-size: clamp(3rem, 17vw, 5rem); }
  .ma-ed__h2      { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .ma-ed__lead    { font-size: 1.05rem; }
  .ma-ed__fact    { padding: .75rem 0; }
}

/* ============== MENUKAART — moved from restaurant.css so the Menu block works site-wide ============== */
.ma-rest__menu {
  padding: clamp(2.5rem, 6vh, 4.5rem) 0;
  border-top: 1px solid var(--ma-border);
}
.ma-rest__kaart {
  margin-top: clamp(1.8rem, 4vh, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.2rem, 5vh, 3.5rem) clamp(2.5rem, 5vw, 5rem);
}
@media (min-width: 900px) {
  .ma-rest__kaart { grid-template-columns: 1fr 1fr; }
}

.ma-rest__sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--ma-warm, var(--ma-accent));
}
.ma-rest__sec-title {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -.02em;
  margin: 0;
  color: var(--ma-text);
}
.ma-rest__sec-note {
  font-family: var(--ma-font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(243, 237, 226, .62);   /* readable subdued (passes 4.5:1) */
  white-space: nowrap;
}

.ma-rest__dishes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}
.ma-rest__dish-row {
  display: flex;
  align-items: baseline;
  gap: .6rem;
}
.ma-rest__dish-name {
  font-family: var(--ma-font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  letter-spacing: -.01em;
  color: var(--ma-text);
}
.ma-rest__dish-dots {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--ma-text-3);
  transform: translateY(-.28em);
}
.ma-rest__dish-price {
  font-family: var(--ma-font-body);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ma-warm, var(--ma-accent));
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ma-rest__dish-desc {
  margin: .25rem 0 0;
  font-family: var(--ma-font-body);
  font-size: .9rem;
  line-height: 1.45;
  color: var(--ma-text-2);
  max-width: 46ch;
}
.ma-rest__dish-tag {
  display: inline-block;
  font-family: var(--ma-font-body);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ma-warm, var(--ma-accent));
  border: 1px solid var(--ma-warm, var(--ma-accent));
  border-radius: 3px;
  padding: .1em .4em;
  vertical-align: .15em;
  margin-left: .3rem;
}

.ma-rest__menu-foot {
  margin-top: clamp(2rem, 4vh, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.ma-rest__footnote {
  font-family: var(--ma-font-body);
  font-size: .85rem;
  color: rgba(243, 237, 226, .62);   /* allergen note must be readable */
  margin: 0;
  max-width: 52ch;
}

