/* ==========================================================================
   Where to meet us - the B2B trade programme.
   The calendar is the hero: the season drawn to scale on one line, then the
   fairs as rows led by their dates. Site palette and type only (Open Sans).
   ========================================================================== */

.meet-us {
    --mu-paper: #f9f7f4;
    --mu-ink: #000000;
    --mu-text: #333333;
    --mu-muted: #666666;
    --mu-rule: #e5e5e5;
    --mu-accent: #7d7161;        /* confirmed dates, the next stop */
    --mu-accent-soft: #cfc7bb;   /* expected dates */
    --mu-wrap: 1180px;
}

.mu {
    width: min(var(--mu-wrap), 100% - 2 * var(--container-padding, 20px));
    margin-inline: auto;
    color: var(--mu-text);
    font-family: var(--font-primary, 'Open Sans', sans-serif);
    font-weight: 300;
    font-size: 1.0625rem;
    line-height: 1.6;
}
.mu p { margin: 0; }

/* --- header -------------------------------------------------------------- */
.mu-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); max-width: 62ch; }
.mu-label {
    font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--mu-muted); margin-bottom: 1.25rem;
}
.mu-title {
    font-weight: 300;
    font-size: clamp(2rem, 4.6vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -.01em;
    color: var(--mu-ink);
    margin: 0 0 1.25rem;
}
.mu-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; }

/* --- headings shared by sections ---------------------------------------- */
.mu-h2 {
    font-weight: 400; font-size: 1.05rem; letter-spacing: .02em;
    color: var(--mu-ink); margin: 0;
}

/* --- the season strip ---------------------------------------------------- */
.mu-season { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--mu-rule); }
.mu-season-head {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.mu-legend { display: flex; gap: 1.5rem; font-size: .8125rem; color: var(--mu-muted); }
.mu-key { display: inline-flex; align-items: center; gap: .55rem; }
.mu-key::before { content: ''; width: 26px; height: 0; }
.mu-key--confirmed::before { border-top: 10px solid var(--mu-accent); }
.mu-key--expected::before  { border-top: 2px dashed var(--mu-accent-soft); }

.mu-strip { position: relative; }
.mu-axis {
    position: relative; height: 1.75rem; border-bottom: 1px solid var(--mu-rule);
    font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mu-muted);
}
.mu-tick { position: absolute; top: 0; padding-left: .4rem; border-left: 1px solid var(--mu-rule); height: 100%; }

.mu-lanes { list-style: none; margin: 0; padding: 0; position: relative; }
.mu-lane { position: relative; }
.mu-band {
    position: absolute; left: var(--l); width: var(--w);
    display: block; text-decoration: none; color: var(--mu-text);
    outline-offset: 4px;
}
.mu-band-bar { display: block; height: 44px; background: var(--mu-accent); transform-origin: left; }
.is-expected .mu-band-bar { height: 40px; background: none; border: 2px dashed var(--mu-accent-soft); }
.mu-band-tag { display: block; padding-top: .6rem; white-space: nowrap; line-height: 1.35; }
.mu-band-city { display: block; font-size: .8125rem; font-weight: 600; color: var(--mu-ink); }
.mu-band-when { display: block; font-size: .75rem; color: var(--mu-muted); }
.is-expected .mu-band-city { color: var(--mu-muted); font-weight: 400; }
.mu-band:hover .mu-band-city, .mu-band:focus-visible .mu-band-city { text-decoration: underline; text-underline-offset: 3px; }
.is-next .mu-band-bar { background: var(--mu-ink); }

/* desktop: every lane on the same line, labels alternate below / above the
   bar so neighbouring fairs (Rome and Paris are a week apart) do not collide */
@media (min-width: 760px) {
    .mu-lanes { height: 230px; }
    .mu-lane { position: absolute; inset: 0; pointer-events: none; }
    .mu-band { top: 88px; pointer-events: auto; }
    .mu-lane:nth-child(even) .mu-band-tag {
        position: absolute; bottom: 100%; left: 0; padding: 0 0 .5rem;
    }
}
/* phones: one lane per fair, the same axis proportions, the label beneath */
@media (max-width: 759.98px) {
    .mu-lane { padding: .6rem 0; border-bottom: 1px dotted var(--mu-rule); }
    .mu-band { position: static; width: auto; }
    .mu-band-bar { margin-left: var(--l); width: var(--w); min-width: 6px; height: 22px; }
    .is-expected .mu-band-bar { height: 20px; }
    .mu-band-tag { display: flex; gap: .6rem; align-items: baseline; padding-top: .4rem; white-space: normal; }
}

/* one load moment: the bars draw in, in order, once */
@media (prefers-reduced-motion: no-preference) {
    .mu-band-bar { animation: mu-draw .55s cubic-bezier(.2,.7,.2,1) both; }
    .mu-lane:nth-child(2) .mu-band-bar { animation-delay: .08s; }
    .mu-lane:nth-child(3) .mu-band-bar { animation-delay: .16s; }
    .mu-lane:nth-child(4) .mu-band-bar { animation-delay: .24s; }
    .mu-lane:nth-child(5) .mu-band-bar { animation-delay: .32s; }
    .mu-lane:nth-child(6) .mu-band-bar { animation-delay: .40s; }
    .mu-lane:nth-child(n+7) .mu-band-bar { animation-delay: .48s; }
}
@keyframes mu-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.mu-next {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
    margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--mu-rule);
    font-size: 1.05rem; color: var(--mu-ink);
}

/* --- buttons, in the site's register -------------------------------------- */
.mu-btn {
    display: inline-block; padding: .85rem 1.6rem;
    font: inherit; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    line-height: 1; text-decoration: none; cursor: pointer; border: 1px solid var(--mu-ink);
    transition: background-color var(--transition-speed, .3s), color var(--transition-speed, .3s);
}
.mu-btn--solid { background: var(--mu-ink); color: #fff; }
.mu-btn--solid:hover, .mu-btn--solid:focus-visible { background: #fff; color: var(--mu-ink); }
.mu-btn--line { background: transparent; color: var(--mu-ink); }
.mu-btn--line:hover, .mu-btn--line:focus-visible { background: var(--mu-ink); color: #fff; }
.mu-btn:focus-visible, .mu-band:focus-visible, .mu-link:focus-visible { outline: 2px solid var(--mu-accent); outline-offset: 3px; }
.mu-link { font-size: .875rem; color: var(--mu-muted); text-decoration: underline; text-underline-offset: 3px; }
.mu-link:hover { color: var(--mu-ink); }

/* --- the fairs, as rows ----------------------------------------------------- */
.mu-fairs { border-top: 1px solid var(--mu-rule); }
.mu-fair {
    display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) 240px;
    gap: 1.5rem 3rem; padding: clamp(2rem, 4vw, 3rem) 0;
    border-bottom: 1px solid var(--mu-rule);
    transition: background-color .3s;
}
.mu-fair.is-lit { background: var(--mu-paper); box-shadow: 0 0 0 1.25rem var(--mu-paper); }
.mu-fair:focus { outline: none; }

.mu-fair-when { display: grid; align-content: start; gap: .15rem; }
.mu-fair-big {
    font-weight: 300; font-size: clamp(3rem, 5.2vw, 4.75rem); line-height: .95; white-space: nowrap;
    letter-spacing: -.03em; color: var(--mu-ink); font-variant-numeric: tabular-nums;
}
.mu-fair-big--tbc { color: var(--mu-accent-soft); }
.mu-fair-small { font-size: 1rem; color: var(--mu-ink); margin-top: .5rem; }
.mu-fair-len { font-size: .8125rem; color: var(--mu-muted); }

.mu-fair-name { font-weight: 400; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; color: var(--mu-ink); margin: 0 0 .5rem; }
.mu-fair-place { color: var(--mu-ink); margin-bottom: 1rem; }
.mu-fair-desc { max-width: 60ch; margin-bottom: 1.25rem; }
.mu-fair-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem 2rem; margin: 0; font-size: .9375rem; }
.mu-fair-meta div { display: grid; gap: .15rem; }
.mu-fair-meta dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mu-muted); }
.mu-fair-meta dd { margin: 0; color: var(--mu-text); }
.mu-fair-note { margin-top: 1.25rem; font-size: .9375rem; color: var(--mu-muted); }
.mu-fair--expected .mu-fair-name { color: var(--mu-muted); }

.mu-fair-actions { display: grid; gap: .75rem; align-content: start; justify-items: start; }
.mu-fair-actions .mu-btn { width: 100%; text-align: center; }

@media (max-width: 1023.98px) {
    .mu-fair { grid-template-columns: minmax(150px, 180px) minmax(0, 1fr); }
    .mu-fair-actions { grid-column: 2; grid-auto-flow: row; }
    .mu-fair-actions .mu-btn { width: auto; }
}
@media (max-width: 639.98px) {
    .mu-fair { grid-template-columns: 1fr; gap: 1.25rem; }
    .mu-fair-when { grid-template-columns: auto 1fr; align-items: baseline; column-gap: 1rem; }
    .mu-fair-big { grid-row: span 2; }
    .mu-fair-small { margin-top: 0; }
    .mu-fair-actions { grid-column: 1; }
}

/* --- previous seasons: photographs as evidence ------------------------------ */
.mu-past { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--mu-rule); display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .mu-past { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } }
.mu-past-text p { margin-top: .75rem; color: var(--mu-muted); max-width: 30ch; }
.mu-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.mu-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mu-paper); }
.mu-photo figcaption { display: flex; justify-content: space-between; gap: .5rem; font-size: .8125rem; color: var(--mu-ink); padding-top: .5rem; }
.mu-photo figcaption span { color: var(--mu-muted); }

/* --- close ------------------------------------------------------------------ */
.mu-close { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); max-width: 62ch; }
.mu-close p { margin: .75rem 0 1.5rem; }
