/* ==========================================================================
   Mashtal theme
   Loaded LAST in app/layout.tsx so it wins over the legacy template CSS
   (bootstrap / common_style / style), which is unlayered and would
   otherwise override Tailwind utilities.

   Brand colours come from the logo and the original site:
     purple #8455A3 (flowers) · aqua #93D7E4 (bowl) · blue #12679D (base)
   Type: Cormorant Garamond (display) + Montserrat (body)
   ========================================================================== */

:root {
  --m-purple: #8455A3;
  --m-purple-deep: #5B3478;
  --m-ink: #2B1E3A;
  --m-text: #4D4458;
  --m-muted: #6F6679;
  --m-aqua: #93D7E4;
  --m-aqua-soft: #E6F6F9;
  --m-blue: #12679D;
  --m-lavender: #F5EFFA;
  --m-bg: #FDFBFE;
  --m-line: #E7DDF0;
  --m-field: #CBBEDA;
  --m-photo: #EEE6F5;

  --m-serif: var(--font-cormorant), Georgia, serif;
  --m-sans: var(--font-montserrat), system-ui, sans-serif;

  --m-radius: 16px;
  --m-radius-sm: 10px;
  --m-shadow: 0 1px 2px rgba(43, 30, 58, 0.04), 0 8px 24px color-mix(in srgb, var(--m-purple-deep) 8%, transparent);
  --m-shadow-lg: 0 2px 4px rgba(43, 30, 58, 0.05), 0 18px 40px color-mix(in srgb, var(--m-purple-deep) 14%, transparent);
  --m-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Legacy template variables → Mashtal brand ---------- */
html:root {
  --primary-color: #8455A3;
  --primary-black-color: #2B1E3A;
  --gray-color: #F5EFFA;
  --main-gray: #F5EFFA;
  --heading-color: #2B1E3A;
  --text-color: #4D4458;
  --border-color: #E7DDF0;
  --heading-font: var(--font-cormorant), Georgia, serif;
  --body-font: var(--font-montserrat), system-ui, sans-serif;
}

html body {
  background: var(--m-bg);
  color: var(--m-text);
  font-family: var(--m-sans);
  /* Cormorant defaults to old-style figures; dates and prices read better lining. */
  font-variant-numeric: lining-nums;
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6 {
  font-weight: 600;
}

::selection {
  background: var(--m-aqua);
  color: var(--m-ink);
}
::-webkit-scrollbar-track {
  background: var(--m-lavender);
}
::-webkit-scrollbar-thumb {
  background-color: var(--m-purple);
}

/* Visible keyboard focus everywhere (the template removes outlines). */
.m-page :focus-visible,
.m-header :focus-visible,
.m-footer :focus-visible {
  outline: 2px solid var(--m-purple) !important;
  outline-offset: 3px;
  border-radius: 6px;
}
.m-footer :focus-visible {
  outline-color: var(--m-aqua) !important;
}

/* Legacy template helpers recoloured */
.sub-heading {
  background-color: var(--m-aqua-soft) !important;
  color: var(--m-blue) !important;
  border-radius: 999px;
}
.theme-btn,
.theme-btn.style-one {
  background-color: var(--m-purple) !important;
  color: #fff !important;
  border-radius: 999px !important;
}
.theme-btn:hover {
  background-color: var(--m-purple-deep) !important;
}

/* ==========================================================================
   Building blocks (prefix m-)
   ========================================================================== */

.m-page {
  background: var(--m-bg);
  color: var(--m-text);
  font-family: var(--m-sans);
  font-size: 16px;
  line-height: 1.65;
}

.m-wrap {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.m-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.m-section--tint {
  background: var(--m-lavender);
}
.m-section--deep {
  background: linear-gradient(135deg, var(--m-purple-deep) 0%, #6E3F8F 100%);
  color: #fff;
}

/* ---------- Type ---------- */
.m-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--m-sans);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-blue);
  margin: 0 0 16px;
}
.m-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--m-aqua);
}
.m-eyebrow--tight {
  margin-bottom: 10px;
}
.m-section--deep .m-eyebrow,
.m-footer .m-eyebrow {
  color: var(--m-aqua);
}

.m-display,
.m-h1,
.m-h2,
.m-h3,
.m-h4 {
  font-family: var(--m-serif);
  font-weight: 600;
  color: var(--m-ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.m-display {
  font-size: 64px;
  line-height: 1.02;
}
.m-display em,
.m-h1 em,
.m-h2 em {
  font-style: italic;
  color: var(--m-purple);
}
.m-h1 {
  font-size: 54px;
  line-height: 1.05;
}
.m-h1--form {
  font-size: 46px;
  line-height: 1.08;
}
.m-h2 {
  font-size: 42px;
  line-height: 1.1;
}
.m-h3 {
  font-size: 27px;
  line-height: 1.2;
}
.m-h4 {
  font-size: 22px;
  line-height: 1.25;
}
.m-on-dark {
  color: #fff;
}

.m-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--m-text);
  margin: 0;
}
.m-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--m-text);
  margin: 0;
}
.m-small {
  font-size: 13px;
  line-height: 1.55;
  color: var(--m-muted);
}

.m-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--m-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--m-blue);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s, gap 0.2s var(--m-ease);
}
.m-link:hover {
  color: var(--m-purple-deep);
  gap: 9px;
}
.m-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.m-link--light {
  color: var(--m-aqua);
}
.m-link--light:hover {
  color: #fff;
}

/* ---------- Buttons (pill) ---------- */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  font-family: var(--m-sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  border: 1.5px solid var(--m-purple);
  background: var(--m-purple);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--m-purple) 25%, transparent);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--m-ease);
}
.m-btn:hover {
  background: var(--m-purple-deep);
  border-color: var(--m-purple-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--m-purple-deep) 30%, transparent);
}
.m-btn:active {
  transform: translateY(0);
}
.m-btn:disabled,
.m-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.m-btn--outline {
  background: transparent;
  color: var(--m-purple);
  box-shadow: none;
}
.m-btn--outline:hover {
  background: var(--m-lavender);
  color: var(--m-purple-deep);
  border-color: var(--m-purple-deep);
  box-shadow: none;
}
.m-btn--accent {
  background: var(--m-aqua);
  border-color: var(--m-aqua);
  color: var(--m-ink);
  box-shadow: 0 6px 16px rgba(147, 215, 228, 0.35);
}
.m-btn--accent:hover {
  background: #fff;
  border-color: #fff;
  color: var(--m-purple-deep);
}
.m-btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--m-purple-deep);
  box-shadow: none;
}
.m-btn--light:hover {
  background: var(--m-aqua-soft);
  border-color: var(--m-aqua-soft);
  color: var(--m-purple-deep);
}
.m-btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  box-shadow: none;
}
.m-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.m-btn--wide {
  min-width: 200px;
}
.m-btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.m-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--m-line);
  font-family: var(--m-sans);
}
.m-header__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}
.m-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.m-logo img {
  height: 50px;
  width: auto;
  display: block;
}
.m-header__spacer {
  flex: 1;
}
.m-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.m-nav__link {
  position: relative;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  color: var(--m-ink);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.m-nav__link:hover {
  background: var(--m-lavender);
  color: var(--m-purple-deep);
}
.m-nav__link.is-active {
  color: var(--m-purple);
  font-weight: 600;
}
.m-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--m-aqua);
}
.m-nav__user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.m-nav__avatar {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--m-lavender);
  color: var(--m-purple-deep);
  font-size: 12px;
  font-weight: 700;
}
.m-nav__divider {
  width: 1px;
  height: 22px;
  margin: 0 8px;
  background: var(--m-line);
}
.m-nav__cta {
  min-height: 42px;
  padding: 9px 22px;
  font-size: 13.5px;
  box-shadow: none;
}

.m-switch {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  background: var(--m-lavender);
  border-radius: 999px;
}
.m-switch__opt {
  min-height: 38px;
  padding: 8px 18px;
  font-family: var(--m-sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  color: var(--m-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: background 0.25s var(--m-ease), color 0.2s, box-shadow 0.25s;
}
.m-switch__opt:hover {
  color: var(--m-purple-deep);
}
.m-switch__opt.is-active {
  background: #fff;
  color: var(--m-purple);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--m-purple-deep) 15%, transparent);
}

.m-burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--m-lavender);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
.m-burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--m-purple-deep);
}

.m-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0 16px;
}
.m-mobile-menu a,
.m-mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  font-weight: 500;
  font-size: 15px;
  color: var(--m-ink);
  background: none;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
.m-mobile-menu a:hover,
.m-mobile-menu button:hover {
  background: var(--m-lavender);
}

/* ---------- Footer ---------- */
.m-footer {
  background: var(--m-ink);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--m-sans);
}
.m-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.4fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 40px;
}
.m-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.m-footer__col a {
  color: #fff;
}
.m-footer__col a:hover {
  color: var(--m-aqua);
}
.m-footer__logo img {
  height: 72px;
  width: auto;
  display: block;
}
.m-footer__fine {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.m-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
}
.m-footer__links a {
  color: rgba(255, 255, 255, 0.7);
}
.m-footer__links a:hover {
  color: #fff;
}
.m-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  padding-bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.m-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.m-social svg {
  flex-shrink: 0;
  color: var(--m-aqua);
}
.m-subscribe {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
.m-subscribe input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.m-subscribe input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.m-subscribe input:focus {
  outline: none;
}
.m-subscribe:focus-within {
  border-color: var(--m-aqua);
}
.m-subscribe .m-btn {
  min-height: 42px;
  padding: 9px 22px;
  font-size: 13px;
  box-shadow: none;
}

/* ---------- Home hero ---------- */
.m-hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 80px;
  background:
    radial-gradient(600px 400px at 92% 10%, rgba(147, 215, 228, 0.35), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, color-mix(in srgb, var(--m-purple) 12%, transparent), transparent 70%),
    var(--m-bg);
}
.m-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.m-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.m-hero .m-eyebrow {
  margin: 0;
}
.m-hero .m-lede {
  max-width: 30em;
}
.m-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
/* Small trust note under the hero buttons */
.m-hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--m-muted);
}
.m-hero__trust strong {
  color: var(--m-ink);
  font-weight: 600;
}
.m-hero__trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--m-aqua-soft);
  color: var(--m-blue);
}

/* ---------- Hero image slider ----------
   Every photo is shown in full (contain) over a blurred copy of itself, so
   nothing is cropped and there are no empty bars at any screen size. */
.m-slider {
  position: relative;
  width: 100%;
  min-width: 0;
  justify-self: end;
  max-width: 600px;
}
.m-slider::before {
  /* soft aqua halo behind the frame */
  content: "";
  position: absolute;
  top: -36px;
  right: -36px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 215, 228, 0.55), transparent 70%);
  pointer-events: none;
}
.m-slider__frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 3 / 2;
  background: var(--m-lavender);
  box-shadow: var(--m-shadow-lg);
  border: 6px solid #fff;
}
.m-slider__swiper,
.m-slider__swiper .swiper-wrapper,
.m-slider__slide {
  width: 100%;
  height: 100%;
}
.m-slider__slide {
  position: relative;
  overflow: hidden;
  background: var(--m-lavender);
}
.m-slider__backdrop {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.15);
  opacity: 0.55;
  transform: scale(1.1);
}
.m-slider__media {
  position: absolute;
  inset: 10px 10px 44px;
}
.m-slider__media img {
  border-radius: 12px;
  filter: drop-shadow(0 8px 20px rgba(43, 30, 58, 0.18));
}
/* gentle "Ken Burns" zoom on the photo that is showing */
.m-slider__media.is-animated {
  transform: scale(1);
  transition: transform 5.5s ease-out;
}
.swiper-slide-active .m-slider__media.is-animated {
  transform: scale(1.05);
}
.m-slider__caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  font-family: var(--m-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--m-purple-deep);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.25s, transform 0.5s var(--m-ease) 0.25s;
}
.swiper-slide-active .m-slider__caption {
  opacity: 1;
  transform: translateY(0);
}

.m-slider__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.m-slider__btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--m-line);
  background: #fff;
  color: var(--m-purple);
  cursor: pointer;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--m-purple-deep) 8%, transparent);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.m-slider__btn:hover:not(:disabled) {
  background: var(--m-purple);
  border-color: var(--m-purple);
  color: #fff;
}
.m-slider__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.m-slider__btn--play {
  margin-left: 4px;
}
.m-slider__dots {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}
/* 44px tap target around a small visible dot */
.m-slider__dot {
  width: 32px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.m-slider__dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--m-field);
  transition: width 0.3s var(--m-ease), background 0.3s;
}
.m-slider__dot:hover span {
  background: var(--m-purple);
}
.m-slider__dot.is-active span {
  width: 24px;
  background: var(--m-purple);
}
.m-slider__count {
  min-width: 44px;
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  color: var(--m-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- Grids & cards ---------- */
.m-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.m-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.m-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.m-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.m-section-head .m-h2 {
  max-width: 18em;
}

.m-card {
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--m-shadow);
  transition: transform 0.25s var(--m-ease), box-shadow 0.25s, border-color 0.25s;
}
.m-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--m-shadow-lg);
  border-color: #d9c8e8;
}
.m-card .m-link {
  margin-top: auto;
}
.m-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--m-text);
}
.m-icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--m-aqua-soft);
  color: var(--m-blue);
  margin-bottom: 4px;
}
.m-icon-tile--purple {
  background: var(--m-lavender);
  color: var(--m-purple);
}

.m-quote {
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--m-shadow);
  margin: 0;
}
.m-quote__mark {
  color: var(--m-purple);
}
.m-quote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--m-text);
}
.m-quote__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--m-ink);
}
.m-quote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--m-lavender);
  color: var(--m-purple);
  font-size: 18px;
}

.m-photo {
  background: var(--m-photo);
  border-radius: var(--m-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--m-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m-muted);
}
.m-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.m-photo--square {
  aspect-ratio: 1;
}
.m-photo--4x3 {
  aspect-ratio: 4 / 3;
}
.m-photo__fallback {
  text-transform: uppercase;
  font-family: var(--m-serif);
  font-size: 46px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--m-purple);
}

/* ---------- Next exhibition band ---------- */
.m-band {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--m-purple-deep) 0%, var(--m-purple) 70%, #9C73B8 100%);
  display: flex;
  color: #fff;
  box-shadow: var(--m-shadow-lg);
}
.m-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(147, 215, 228, 0.25);
  pointer-events: none;
}
.m-band__date {
  width: 250px;
  flex-shrink: 0;
  padding: 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.m-band__big {
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 46px;
  line-height: 1;
  color: #fff;
}
.m-band__label {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-aqua);
}
.m-band__body {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.m-band__info {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.m-band__title {
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  color: #fff;
}
.m-band__meta {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Split (text + photo) ---------- */
.m-split {
  display: flex;
  gap: 56px;
  align-items: center;
}
.m-split--top {
  align-items: flex-start;
}
.m-split__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.m-split__photo {
  width: 460px;
  height: 340px;
  flex-shrink: 0;
  border-radius: 24px;
  box-shadow: var(--m-shadow-lg);
}
.m-split__photo--lg {
  height: 360px;
}

/* ---------- Directory ---------- */
.m-filterbar {
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  box-shadow: var(--m-shadow);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.m-chip {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--m-line);
  background: #fff;
  color: var(--m-text);
  font-family: var(--m-sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.m-chip:hover {
  border-color: var(--m-purple);
  color: var(--m-purple);
}
.m-chip.is-active {
  background: var(--m-purple);
  border-color: var(--m-purple);
  color: #fff;
}
.m-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.m-select,
.m-input,
.m-textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--m-field);
  background: #fff;
  color: var(--m-ink);
  font-family: var(--m-sans);
  font-size: 15px;
  line-height: 1.4;
  border-radius: var(--m-radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.m-select:hover,
.m-input:hover,
.m-textarea:hover {
  border-color: #b8a5cc;
}
.m-select:focus,
.m-input:focus,
.m-textarea:focus {
  border-color: var(--m-purple);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--m-purple) 15%, transparent);
}
.m-input::placeholder,
.m-textarea::placeholder {
  color: #9A90A5;
}
.m-textarea {
  min-height: 110px;
  resize: vertical;
}
.m-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238455A3' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.m-select--compact {
  width: auto;
  min-width: 160px;
  min-height: 42px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  border-radius: 999px;
}
.m-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.m-search-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--m-muted);
  pointer-events: none;
}
.m-search {
  min-width: 220px;
  width: auto;
  min-height: 42px;
  padding: 8px 16px 8px 40px;
  font-size: 14px;
  border-radius: 999px;
}

.m-brand-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  padding: 10px 10px 16px;
  box-shadow: var(--m-shadow);
  transition: transform 0.25s var(--m-ease), box-shadow 0.25s;
}
.m-brand-card:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: var(--m-shadow-lg);
}
.m-brand-card .m-photo {
  border-radius: 12px;
  margin-bottom: 10px;
}
.m-brand-card .m-photo img {
  transition: transform 0.5s var(--m-ease);
}
.m-brand-card:hover .m-photo img {
  transform: scale(1.04);
}
.m-brand-card__name {
  padding: 0 6px;
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--m-ink);
}
.m-brand-card:hover .m-brand-card__name {
  color: var(--m-purple);
}
.m-brand-card__meta {
  padding: 0 6px;
  font-size: 13px;
  color: var(--m-muted);
}
.m-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--m-aqua-soft);
  color: var(--m-blue);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.m-tag--purple {
  background: var(--m-lavender);
  color: var(--m-purple-deep);
}

.m-empty {
  padding: 56px 24px;
  text-align: center;
  background: var(--m-lavender);
  border-radius: var(--m-radius);
  color: var(--m-text);
}

.m-crumbs {
  font-size: 13px;
  color: var(--m-muted);
}
.m-crumbs a {
  color: var(--m-blue);
}
.m-crumbs a:hover {
  color: var(--m-purple-deep);
}

.m-contact-band {
  background: linear-gradient(135deg, var(--m-lavender), var(--m-aqua-soft));
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.m-contact-band .m-btn {
  min-height: 46px;
  padding: 10px 22px;
  font-size: 13.5px;
}

.m-footer-nav {
  border-top: 1px solid var(--m-line);
  padding-top: 24px;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* ---------- Steps / values ---------- */
.m-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--m-sans);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  background: var(--m-purple);
  box-shadow: 0 0 0 6px var(--m-lavender);
  margin-bottom: 8px;
}
.m-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-col p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--m-text);
}
.m-section--deep .m-col p,
.m-section--deep .m-card p {
  color: rgba(255, 255, 255, 0.85);
}
.m-section--deep .m-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.m-section--deep .m-card:hover {
  border-color: rgba(147, 215, 228, 0.6);
}
.m-section--deep .m-icon-tile {
  background: rgba(147, 215, 228, 0.18);
  color: var(--m-aqua);
}

/* ---------- Stall table ---------- */
.m-table-card {
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  box-shadow: var(--m-shadow);
  padding: 26px;
}
.m-stall-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.m-stall-table th {
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--m-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--m-line);
}
.m-stall-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--m-line);
  color: var(--m-ink);
  vertical-align: top;
}
.m-stall-table tr:last-child td {
  border-bottom: 0;
}

/* ---------- Forms ---------- */
.m-form {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.m-form--wide {
  max-width: 800px;
}
.m-fieldset {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--m-line);
  border-radius: 20px;
  background: #fff;
  margin: 0;
  padding: 28px;
  min-width: 0;
  box-shadow: var(--m-shadow);
}
.m-legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--m-ink);
  margin: 0 0 4px;
  padding: 0;
}
.m-legend + * {
  clear: both;
}
.m-legend__num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--m-sans);
  font-size: 14px;
  font-weight: 700;
  background: var(--m-lavender);
  color: var(--m-purple);
}
.m-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.m-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.m-label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--m-ink);
  margin: 0;
}
.m-label em {
  font-style: normal;
  font-weight: 400;
  color: var(--m-muted);
}
.m-hint {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--m-muted);
}

.m-radio {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--m-line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.45;
  color: var(--m-text);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
  text-align: left;
}
.m-radio:hover {
  border-color: #c9b3dc;
}
.m-radio.is-active {
  border-color: var(--m-purple);
  background: #FBF8FD;
  color: var(--m-ink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--m-purple) 10%, transparent);
}
.m-radio[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.m-radio__dot {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--m-field);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.m-radio.is-active .m-radio__dot {
  border-color: var(--m-purple);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--m-purple);
}
.m-radio__main {
  flex: 1;
  min-width: 0;
}
.m-radio__side {
  font-size: 13px;
  color: var(--m-muted);
  white-space: nowrap;
}

.m-seg {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--m-field);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.m-seg button {
  width: 48px;
  height: 46px;
  background: transparent;
  border: 0;
  color: var(--m-purple);
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
}
.m-seg button:hover:not(:disabled) {
  background: var(--m-lavender);
}
.m-seg button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.m-seg span {
  min-width: 44px;
  text-align: center;
  font-weight: 700;
  color: var(--m-ink);
}

.m-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #b9e3ec;
  background: var(--m-aqua-soft);
  color: #0E4F78;
  font-size: 14px;
  line-height: 1.55;
}
.m-alert--error {
  border-color: #f2c2a8;
  background: #FFF4EE;
  color: #9A3412;
}
.m-alert strong {
  font-weight: 600;
}

.m-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--m-text);
  cursor: pointer;
}
.m-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--m-purple);
  flex-shrink: 0;
}
.m-check a {
  color: var(--m-blue);
  text-decoration: underline;
}

.m-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.m-thumb {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--m-line);
}
.m-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-thumb button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 30, 58, 0.8);
  color: #fff;
  border: 0;
  cursor: pointer;
}

.m-upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1.5px dashed var(--m-field);
  border-radius: 14px;
  background: #FBF8FD;
  font-size: 14.5px;
  color: var(--m-muted);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.m-upload:hover {
  border-color: var(--m-purple);
  background: var(--m-lavender);
}
.m-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.m-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--m-lavender);
}
.m-total__value {
  font-family: var(--m-serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--m-purple-deep);
}

.m-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Page header band ---------- */
.m-pagehead {
  background:
    radial-gradient(500px 300px at 95% 0%, rgba(147, 215, 228, 0.35), transparent 70%),
    var(--m-lavender);
  padding-top: 56px;
  padding-bottom: 48px;
}

/* ---------- Loading ---------- */
.m-loading {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m-muted);
  font-size: 15px;
}
.m-skeleton {
  border-radius: var(--m-radius);
  background: linear-gradient(90deg, var(--m-lavender) 0%, #fff 50%, var(--m-lavender) 100%);
  background-size: 200% 100%;
  animation: m-shimmer 1.4s ease-in-out infinite;
}
@keyframes m-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .m-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .m-split__photo,
  .m-split__photo--lg {
    width: 380px;
    height: 300px;
  }
  .m-display {
    font-size: 54px;
  }
}

@media (max-width: 980px) {
  .m-header .m-nav,
  .m-header .m-header__spacer,
  .m-header .m-switch--desktop {
    display: none;
  }
  .m-burger {
    display: flex;
    margin-left: auto;
  }
  .m-mobile-menu.is-open {
    display: flex;
  }
  .m-switch--mobile {
    display: flex;
    margin-bottom: 12px;
  }
  .m-switch--mobile .m-switch__opt {
    flex: 1;
  }
  .m-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .m-slider {
    justify-self: center;
    max-width: 680px;
  }
  .m-band {
    flex-direction: column;
  }
  .m-band__date {
    width: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .m-split {
    flex-direction: column;
    align-items: stretch;
  }
  .m-split--reverse {
    flex-direction: column-reverse;
  }
  .m-split__photo,
  .m-split__photo--lg {
    width: 100%;
    height: 300px;
  }
  .m-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .m-footer__grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 981px) {
  .m-switch--mobile,
  .m-mobile-menu {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .m-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .m-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .m-header__bar {
    min-height: 66px;
  }
  .m-logo img {
    height: 40px;
  }
  .m-hero {
    padding-top: 40px;
    padding-bottom: 52px;
  }
  .m-display {
    font-size: 42px;
    line-height: 1.05;
  }
  .m-h1,
  .m-h1--form {
    font-size: 38px;
    line-height: 1.08;
  }
  .m-h2 {
    font-size: 32px;
  }
  .m-h3 {
    font-size: 24px;
  }
  .m-lede {
    font-size: 16px;
  }
  .m-hero__ctas {
    flex-direction: column;
    width: 100%;
  }
  .m-hero__ctas .m-btn {
    width: 100%;
  }
  .m-hero__grid {
    gap: 28px;
  }
  .m-hero__copy {
    gap: 16px;
  }
  .m-slider::before {
    width: 160px;
    height: 160px;
    top: -20px;
    right: -10px;
  }
  .m-slider__frame {
    border-radius: 18px;
    border-width: 4px;
    aspect-ratio: 4 / 3;
  }
  .m-slider__media {
    inset: 6px 6px 40px;
  }
  .m-slider__caption {
    font-size: 12px;
    bottom: 8px;
  }
  .m-slider__controls {
    margin-top: 10px;
    gap: 4px;
  }
  .m-slider__dot {
    width: 26px;
  }
  .m-hero__trust {
    font-size: 13px;
  }
  .m-grid-2,
  .m-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .m-grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .m-card,
  .m-quote {
    padding: 22px;
  }
  .m-brand-card {
    padding: 8px 8px 12px;
  }
  .m-brand-card__name {
    font-size: 18px;
    padding: 0 4px;
  }
  .m-brand-card__meta {
    font-size: 12px;
    padding: 0 4px;
  }
  .m-band {
    border-radius: 20px;
  }
  .m-band__date,
  .m-band__body {
    padding: 26px 22px;
  }
  .m-band__big {
    font-size: 38px;
  }
  .m-band__body .m-btn {
    width: 100%;
  }
  .m-filterbar {
    padding: 12px;
  }
  .m-filterbar .m-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .m-filterbar .m-chips::-webkit-scrollbar {
    display: none;
  }
  .m-filterbar .m-search-wrap,
  .m-filterbar .m-search {
    width: 100%;
    min-width: 0;
  }
  .m-filterbar .m-select--compact {
    flex: 1 1 140px;
    min-width: 0;
  }
  .m-field-grid {
    grid-template-columns: 1fr;
  }
  .m-fieldset {
    padding: 22px 18px;
  }
  .m-contact-band {
    padding: 24px 20px;
  }
  .m-contact-band .m-btn {
    flex: 1 1 100%;
  }
  .m-footer-nav {
    flex-direction: column;
  }
  .m-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .m-table-card {
    padding: 14px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .m-page *,
  .m-header *,
  .m-footer * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .m-btn:hover,
  .m-card:hover,
  .m-brand-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Two experiences: Shopping vs Exhibiting
   Both sides use the same Mashtal brand colours and components; the switch
   changes the content, pages and header menu, not the colours.
   ========================================================================== */

/* ==========================================================================
   Home - Shopping
   ========================================================================== */
.shop-hero {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 72px;
  background:
    radial-gradient(520px 360px at 95% 0%, rgba(147, 215, 228, 0.4), transparent 70%),
    radial-gradient(620px 460px at 0% 100%, color-mix(in srgb, var(--m-purple) 14%, transparent), transparent 70%),
    var(--m-bg);
}
.shop-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  padding: 6px 6px 6px 18px;
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: 999px;
  box-shadow: var(--m-shadow);
}
.shop-search:focus-within {
  border-color: var(--m-purple);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--m-purple) 15%, transparent);
}
.shop-search svg {
  color: var(--m-muted);
  flex-shrink: 0;
}
.shop-search input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--m-ink);
  outline: none;
}
.shop-search .m-btn {
  min-height: 44px;
  padding: 10px 22px;
  box-shadow: none;
}
.shop-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--m-muted);
}
.shop-quick a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--m-line);
  color: var(--m-text);
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.shop-quick a:hover {
  border-color: var(--m-purple);
  color: var(--m-purple);
}

.shop-cats {
  display: grid;
  /* stretch to fill the row however many categories exist */
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.shop-cat--all {
  background: var(--m-purple) !important;
  color: #fff !important;
}
.shop-cat--all .shop-cat__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.shop-cat--all .shop-cat__count {
  color: rgba(255, 255, 255, 0.8);
}
.shop-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 150px;
  padding: 22px;
  border-radius: 22px;
  color: var(--m-ink);
  overflow: hidden;
  transition: transform 0.25s var(--m-ease), box-shadow 0.25s;
}
.shop-cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--m-shadow-lg);
  color: var(--m-ink);
}
.shop-cat:nth-child(4n + 1) { background: #F1E8F8; }
.shop-cat:nth-child(4n + 2) { background: #E2F4F8; }
.shop-cat:nth-child(4n + 3) { background: #FBEFE6; }
.shop-cat:nth-child(4n + 4) { background: #E8EEF8; }
.shop-cat__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  color: var(--m-purple);
}
.shop-cat__name {
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
}
.shop-cat__count {
  font-size: 13px;
  color: var(--m-muted);
}

.shop-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.shop-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--m-line);
}
.shop-step__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--m-purple), #A47BC0);
  color: #fff;
}
.shop-step h3 {
  margin: 0 0 4px;
}
.shop-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--m-text);
}

/* ==========================================================================
   Home - Exhibiting
   ========================================================================== */
.ex-hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 80px;
  background:
    radial-gradient(520px 360px at 95% 0%, rgba(147, 215, 228, 0.4), transparent 70%),
    radial-gradient(620px 460px at 0% 100%, color-mix(in srgb, var(--m-purple) 14%, transparent), transparent 70%),
    var(--m-bg);
}
.ex-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.ex-hero .m-eyebrow {
  margin: 0;
}
.ex-hero .m-lede {
  max-width: 32em;
}
.ex-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.ex-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.ex-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--m-text);
}
.ex-facts svg {
  color: var(--m-purple);
  flex-shrink: 0;
}

/* "Open for applications" panel in the hero */
.ex-panel {
  background: #fff;
  color: var(--m-text);
  border-radius: 20px;
  border: 1px solid var(--m-line);
  box-shadow: var(--m-shadow-lg);
  overflow: hidden;
}
.ex-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--m-line);
}
.ex-panel__title {
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--m-ink);
  margin: 0;
}
.ex-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #E7F6EC;
  color: #1C6B3A;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.ex-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2E9D57;
}
.ex-live--soon {
  background: var(--m-lavender);
  color: var(--m-purple-deep);
}
.ex-live--soon::before {
  background: var(--m-purple);
}
.ex-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ex-panel__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--m-line);
}
.ex-panel__item:last-child {
  border-bottom: 0;
}
.ex-panel__date {
  width: 54px;
  flex-shrink: 0;
  text-align: center;
  padding: 6px 0;
  border-radius: 10px;
  background: var(--m-lavender);
  color: var(--m-purple-deep);
  line-height: 1.1;
}
.ex-panel__date b {
  display: block;
  font-size: 20px;
}
.ex-panel__date span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ex-panel__info {
  flex: 1;
  min-width: 0;
}
.ex-panel__info strong {
  display: block;
  color: var(--m-ink);
  font-size: 15px;
}
.ex-panel__info span {
  display: block;
  font-size: 13px;
  color: var(--m-muted);
}
.ex-panel__empty {
  padding: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--m-text);
}
.ex-panel__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  background: var(--m-lavender);
  font-size: 13px;
  color: var(--m-muted);
}

.ex-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ex-feature {
  padding: 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--m-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ex-feature__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--m-lavender);
  color: var(--m-purple);
}
.ex-feature h3 {
  margin: 0;
  font-size: 22px;
}
.ex-feature p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--m-text);
}

/* numbered timeline */
.ex-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.ex-steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--m-purple), var(--m-aqua));
  opacity: 0.35;
}
.ex-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ex-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--m-purple);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--m-bg);
}
.ex-step h3 {
  margin: 4px 0 0;
}
.ex-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--m-text);
}

.ex-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}
.ex-faq details {
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: 12px;
}
.ex-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  font-weight: 600;
  color: var(--m-ink);
}
.ex-faq summary::-webkit-details-marker {
  display: none;
}
.ex-faq summary svg {
  flex-shrink: 0;
  color: var(--m-purple);
  transition: transform 0.25s var(--m-ease);
}
.ex-faq details[open] summary svg {
  transform: rotate(45deg);
}
.ex-faq details p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--m-text);
}

.ex-cta {
  border-radius: 18px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #fff;
  background: linear-gradient(135deg, var(--m-purple-deep) 0%, #6E3F8F 100%);
}
.ex-cta h2 {
  color: #fff;
  max-width: 18em;
}
.ex-cta p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

/* Cross-link to the other side of the site */
.mode-cross {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px dashed var(--m-field);
  background: var(--m-lavender);
  font-size: 15px;
  color: var(--m-text);
}

/* ---------- Responsive for both homes ---------- */
@media (max-width: 1100px) {
  .ex-features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 980px) {
  .ex-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .shop-cats {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-steps {
    grid-template-columns: 1fr;
  }
  .ex-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ex-steps::before {
    top: 22px;
    bottom: 22px;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--m-purple), var(--m-aqua));
  }
  .ex-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    row-gap: 4px;
  }
  .ex-step__num {
    grid-row: 1 / span 2;
  }
  .ex-step h3 {
    margin: 8px 0 0;
  }
}
@media (max-width: 760px) {
  .shop-hero,
  .ex-hero {
    padding-top: 36px;
    padding-bottom: 48px;
  }
  .shop-search {
    padding-left: 14px;
  }
  .shop-search .m-btn {
    padding: 10px 16px;
  }
  .shop-cats {
    gap: 10px;
  }
  .shop-cat {
    min-height: 124px;
    padding: 16px;
    border-radius: 18px;
    gap: 12px;
  }
  .shop-cat__icon {
    width: 40px;
    height: 40px;
  }
  .shop-cat__name {
    font-size: 19px;
  }
  .shop-step {
    padding: 18px;
  }
  .ex-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ex-feature {
    padding: 18px;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
  .ex-panel__head,
  .ex-panel__item,
  .ex-panel__foot,
  .ex-panel__empty {
    padding-left: 16px;
    padding-right: 16px;
  }
  .ex-cta {
    padding: 28px 20px;
  }
  .ex-cta .m-btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body,
  .m-header,
  .m-footer,
  .m-section--tint,
  .m-pagehead {
    transition: none;
  }
  .shop-cat:hover {
    transform: none;
  }
}
