/* ===========================================================
   Le Féminin — static site styles (mobile first)
   Palette taken from the flyer artwork.
   =========================================================== */

:root {
  --cream: #FCECDD;
  --cream-light: #FFF7EE;
  /* Vlak van de kaarten. Moet duidelijk lichter zijn dan --cream: een vleugje
     verschil valt op een deel van de schermen gewoon weg. */
  --panel: #FFFAF3;
  --panel-edge: rgba(186, 121, 53, .45);
  --maroon: #660B1D;
  --maroon-soft: #7A2232;
  --teal: #244E4D;
  --gold: #BA7935;
  --gold-light: #D9B281;
  --rose: #C85F79;
  --ink: #3A2A26;

  --font-display: "Cinzel", "Trajan Pro", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  /* Flat paper tone — the exact cream the flyer artwork was cut from, so the
     alpha-cut decorations blend in without any visible edge. */
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--maroon); }

:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- bottom watercolour border ----------------------------- */
.wave {
  display: block;
  width: 100%;
  height: auto;
  margin-top: clamp(-1.5rem, -3vw, -.8rem);
  user-select: none;
}

/* --- hero --------------------------------------------------- */
/* The two halves of the flyer's painted frame are placed side by side and
   meet exactly where they were cut (source x 504 of 520), so the arc reads
   as one continuous sweep at every width. */
.hero {
  --dw: 52%;                                  /* width of one half */
  text-align: center;
  position: relative;
  isolation: isolate;
  padding: clamp(2.6rem, 11vw, 7rem) 1.1rem clamp(1.6rem, 5vw, 2.6rem);
}

.hero__deco {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  pointer-events: none;
}
.deco {
  position: absolute;
  top: 0;
  width: var(--dw);
  height: auto;
  max-width: none;
}
.deco--left  { left: calc(50% - 0.9846 * var(--dw)); }
.deco--right { right: calc(50% - 0.9846 * var(--dw)); }

/* Wide screens: cap the artwork so it stays sharp, and dissolve its outer
   ends into the paper instead of cutting them off. */
@media (min-width: 1200px) {
  .hero { --dw: 640px; padding-top: 7rem; }
  .deco--left {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 14%);
    mask-image: linear-gradient(to right, transparent, #000 14%);
  }
  .deco--right {
    -webkit-mask-image: linear-gradient(to left, transparent, #000 14%);
    mask-image: linear-gradient(to left, transparent, #000 14%);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--maroon);
  margin: 0;
  font-size: clamp(2.6rem, 13vw, 7rem);
  line-height: .95;
  letter-spacing: .01em;
}

.hero__swash {
  display: block;
  width: clamp(190px, 46vw, 440px);
  height: clamp(10px, 2.4vw, 22px);
  margin: .35rem auto clamp(.9rem, 3vw, 1.4rem);
  fill: var(--gold);
  opacity: .9;
}

.hero__tagline {
  font-size: clamp(.74rem, 2.9vw, 1.05rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  margin: 0 auto .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
}

/* from small-landscape up: one line, flyer-style with gold separators */
@media (min-width: 520px) {
  .hero__tagline {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 .7em;
  }
  .hero__tagline span:not(:last-child)::after {
    content: "|";
    color: var(--gold);
    margin-left: .7em;
  }
}

/* --- generic section --------------------------------------- */
.section {
  width: min(100% - 2.2rem, var(--wrap));
  margin-inline: auto;
  padding-block: clamp(1.8rem, 6vw, 3.4rem);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--maroon);
  font-size: clamp(1.35rem, 5.2vw, 2.1rem);
  letter-spacing: .06em;
  text-align: center;
  margin: 0 0 clamp(1.2rem, 4vw, 2rem);
}
.section__title::after {
  content: "";
  display: block;
  width: 70px;
  height: 1px;
  margin: .7rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* --- artists ------------------------------------------------ */
.artists {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2rem);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .artists { grid-template-columns: repeat(3, 1fr); }
}

.artist {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 4px;
  padding: .85rem .85rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(102, 11, 29, .07);
}

/* De foto's van de doeken zijn op 3:4 bijgesneden; `cover` vangt op als er
   later een werk met een andere verhouding voor in de plaats komt. */
.artist__work {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}

.artist__name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--maroon);
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  letter-spacing: .04em;
  margin: .9rem 0 .5rem;
}

.artist__themes {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.artist__themes li { padding: .1rem 0; }

.artist__links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

/* --- pills / buttons ---------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--maroon);
  border: 1px solid rgba(102, 11, 29, .4);
  border-radius: 999px;
  padding: .55rem .95rem;
  background: transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pill:hover { background: var(--maroon); color: var(--cream-light); border-color: var(--maroon); }
.pill--solid { background: var(--maroon); color: var(--cream-light); border-color: var(--maroon); }
.pill--solid:hover { background: var(--maroon-soft); border-color: var(--maroon-soft); }

/* Paint (fill/stroke/width) lives on the <symbol>s in the sprite; these rules
   only size and colour them. */
.sprite { position: absolute; overflow: hidden; }

.ico {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  color: inherit;
}

/* --- group photo -------------------------------------------- */
.photo {
  margin: 0;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.photo img {
  width: 100%;
  border-radius: 3px;
  border: 1px solid rgba(186, 121, 53, .4);
  box-shadow: 0 14px 34px rgba(102, 11, 29, .12);
}
.photo figcaption {
  margin-top: .9rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}

/* --- lopende tentoonstellingen ------------------------------ */
/* Card with a second, inset hairline frame — the museum wall-label look. */
.expo-card {
  max-width: 780px;
  margin-inline: auto;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 4px;
  padding: clamp(.7rem, 2.6vw, 1.1rem);
  box-shadow: 0 10px 28px rgba(102, 11, 29, .09);
}

.expo-card__inset {
  border: 1px solid rgba(186, 121, 53, .38);
  border-radius: 2px;
  padding: clamp(1.6rem, 6vw, 2.8rem) clamp(1.2rem, 5vw, 2.6rem);
  text-align: center;
}

/* titel + data naast de openingscirkel */
.expo-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.4rem, 5vw, 2.2rem);
}

/* Pas naast elkaar als de titelkolom breed genoeg is om de naam op één regel
   te houden; daaronder blijft de kaart gestapeld. */
@media (min-width: 860px) {
  .expo-card__head {
    flex-direction: row;
    justify-content: center;
    gap: clamp(2rem, 5vw, 3.5rem);
  }
}

.expo__kicker {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--maroon);
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  letter-spacing: .06em;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}
.expo__kicker::before,
.expo__kicker::after {
  content: "—";
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .35em;
  vertical-align: middle;
  margin: 0 .35em;
}

.expo__range {
  font-family: var(--font-display);
  color: var(--maroon);
  font-size: clamp(1.15rem, 5vw, 1.9rem);
  line-height: 1.3;
  margin: .7rem 0 0;
  letter-spacing: .02em;
}
.expo__tm { font-size: .6em; color: var(--gold); }

/* locatie: hoort bij de tentoonstelling, dus binnen dezelfde kaart */
.venue {
  margin-top: clamp(1.6rem, 5vw, 2.4rem);
  padding-top: clamp(1.5rem, 5vw, 2.2rem);
  border-top: 1px solid rgba(186, 121, 53, .3);
}

/* De cirkel krijgt een expliciete hoogte in plaats van `aspect-ratio`: WebKit
   leidt een aspect-ratio niet betrouwbaar af voor een flex-item, waardoor de
   cirkel op sommige iPhones tot een platte ovaal inzakte. `flex: none` houdt
   hem bovendien rond als de rij krap wordt. */
.opening {
  --disc: clamp(190px, 58vw, 250px);
  width: var(--disc);
  height: var(--disc);
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, var(--maroon-soft), var(--maroon) 75%);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 1rem;
  box-shadow: 0 14px 32px rgba(102, 11, 29, .22);
}

.opening__label {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.opening__when {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 4.4vw, 1.3rem);
  line-height: 1.35;
  letter-spacing: .03em;
}

.opening__heart {
  width: 1.9rem;
  height: 1.9rem;
  color: var(--gold-light);
}

.venue__name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal);
  font-size: clamp(1.4rem, 6vw, 2.1rem);
  letter-spacing: .05em;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.ico--pin { width: .95em; height: .95em; color: var(--gold); }

.venue__address {
  font-style: normal;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: .5rem;
}

.venue__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin: 1.4rem 0 0;
}

.perks {
  list-style: none;
  margin: clamp(1.8rem, 6vw, 2.6rem) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.perks li {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.perk-ico {
  width: clamp(1.5rem, 4.6vw, 1.8rem);
  height: clamp(1.5rem, 4.6vw, 1.8rem);
  color: var(--gold);
}

/* one row with hairline dividers once there is room */
@media (min-width: 620px) {
  .perks { flex-direction: row; justify-content: center; gap: 0; }
  .perks li { padding: 0 clamp(1rem, 3vw, 1.8rem); }
  .perks li + li { border-left: 1px solid rgba(186, 121, 53, .5); }
}

/* --- footer -------------------------------------------------- */
.footer {
  text-align: center;
  padding: clamp(1.8rem, 6vw, 3rem) 1.1rem clamp(1.4rem, 5vw, 2.2rem);
  font-size: .78rem;
  letter-spacing: .08em;
}
.footer__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--maroon);
  font-size: clamp(1.2rem, 5vw, 1.6rem);
  letter-spacing: .08em;
  margin: 0 0 .6rem;
}
.footer p { margin: .25rem 0; }
.footer__fine { color: rgba(58, 42, 38, .7); font-size: .72rem; }

/* --- painted flower, in the gutter beside the card ------------ */
/* Only once the page is wide enough that it clears the card entirely. */
@media (min-width: 1200px) {
  #expositie {
    position: relative;
  }
  #expositie::before {
    content: "";
    position: absolute;
    left: calc((100vw - 100%) / -2 - 2rem);   /* bleeds off the page edge */
    bottom: -2rem;
    width: 232px;
    height: 345px;
    background: url("../images/deco-flower.webp") center / contain no-repeat;
    opacity: .95;
    pointer-events: none;
    z-index: -1;
  }
}
