/* Shared visual language for the studio's own navigation and actions. */
:root {
  --action-ink: #310d14;
  --action-paper: #f5f0df;
  --action-line: #aa7d8b;
  --action-hover: #e7e5ce;
  --forest-surface: #4d1420;
  --forest-edge: #83948b;
  --forest-text: #fffaf0;
}

:root body .action-chip,
:root body .menu-toggle,
:root body details > summary {
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 16px;
  border: 1px solid var(--action-line);
  border-radius: 12px;
  background: var(--action-paper);
  color: var(--action-ink);
  font: 600 15px/1.35 'Inter', sans-serif;
  letter-spacing: normal;
  text-decoration: none;
  cursor: pointer;
}
:root body .action-chip:not(.header-instagram) {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .8em;
}
:root body footer:not(.route-footer) {
  --action-paper: var(--forest-surface);
  --action-ink: #fffaf0;
  --action-line: var(--forest-edge);
  --action-hover: #4d1420;
}
:root body :is(.action-chip, .menu-toggle, details > summary):hover {
  color: var(--action-ink);
  background: var(--action-hover);
  border-color: var(--action-ink);
}
:root body .is-selected .activity-choice,
:root body .activity-choice[aria-pressed="true"] {
  background: #310d14;
  color: white;
  border-color: #f3f0d9;
}
:root body :is(a[href], button, summary, select, input, textarea):focus-visible {
  outline: 3px solid #a54732;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px white;
}
:root body .action-chip:disabled { opacity: .6; cursor: default; }

.route-header .wordmark, footer .footer-wordmark {
  border: 1px solid var(--action-line);
  border-radius: 12px;
}
.route-header .wordmark, footer .footer-wordmark {
  display: inline-block;
  min-height: 44px;
  align-content: center;
  padding: 2px 12px;
}
.route-header .wordmark:hover, footer .footer-wordmark:hover {
  border-color: currentColor;
}
/* The footer's forest and cream surfaces, scaled for the header and content. */
:root .site-header .header-instagram, :root .site-header nav .action-chip,
:root .site-header nav .nav-cta {
  border-radius: 12px;
  padding: 10px 13px;
  min-height: 46px;
  font: 600 14px/1.3 'Inter', sans-serif;
}
:root .site-header nav a, :root .site-header .header-instagram { gap: .7em; }
:root body .site-header nav a.action-chip,
:root body .button.dark, :root body .occasion-link {
  color: var(--forest-text);
  background: var(--forest-surface);
  border: 1px solid var(--forest-edge);
}
:root body .site-header nav .nav-cta {
  justify-content: space-between;
  background: var(--action-paper);
  color: var(--action-ink);
  border: 1px solid var(--action-line);
}
:root body .site-header nav a:hover, :root body .button.dark:hover {
  background: #310d14;
  color: #fffaf0;
  border-color: #310d14;
}
/* Scale the padded logo with its link so the lettering never clips on mobile. */
:root .site-header .brand {
  width: 150px;
  height: auto;
  aspect-ratio: 150 / 74;
  flex: none;
  border: 0;
  border-radius: 0;
  background: transparent;
}
:root .site-header .brand img {
  width: 133.333333%;
  height: auto;
  left: -16.666667%;
  top: 50%;
  transform: translateY(-50%);
}
:root body .nav-arrow {
  flex: none;
  margin: 0;
  font: 400 1.2em/1 'Inter', sans-serif;
}
:root body :is(.atelier-actions, .sc-actions, .kids-actions, .adult-hero-actions) {
  gap: 10px;
  flex-wrap: wrap;
}
:root body :is(.atelier-actions, .sc-actions, .kids-actions, .adult-hero-actions) > a,
:root body .occasion-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 12px;
  font: 600 16px/1.3 'Inter', sans-serif;
}
:root .site-header #main-nav { gap: 7px; }
:root .site-header .nav-cta, :root .button, :root .sc-mobile-cta { border-radius: 12px; min-height: 44px; }

:root .location-note .action-chip { min-height: 44px; padding: 6px 14px; }
:root .location-note { padding-block: 3px; }
:root .experience h3 .action-chip { font: inherit; text-align: left; }
:root .artist-row > .action-chip { width: 44px; padding: 0; font-size: 22px; }
:root .schedule-row .action-chip, :root .sc-session .action-chip { white-space: normal; text-align: center; }
:root .kids-breadcrumb { align-items: center; }
:root .circle-link { min-width: 44px; min-height: 44px; }
:root :is(.consent-actions, .invite-secondary, .schedule-filters, .examples, .map-controls) button {
  min-height: 44px;
  border-radius: 12px;
}
:root .studio-invitation > button.action-chip,
:root .analytics-preferences header button.action-chip { width: 44px; padding: 0; font-size: 24px; }
:root .studio-invitation > div { gap: 8px; }
:root .studio-invitation h2 { padding-right: 22px; }
:root .site-header .menu-toggle { flex-shrink: 0; }

/* Keep the whole artwork/card clickable, with a visible action on the image. */
:root .piece-label, :root .pt-artwork-open,
:root .proof-grid small, :root .occasion-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  border: 1px solid #795e66;
  border-radius: 10px;
  padding: 7px 11px;
  color: #310d14;
  background: #f5f0df;
  font: 600 13px/1.3 'Inter', sans-serif;
  letter-spacing: normal;
}
:root .piece-label { inset: auto auto 8px 8px; max-width: calc(100% - 16px); }
:root .proof-grid small { align-self: flex-start; }
:root .occasion-link { min-height: 44px; }
:root :is(.atelier-piece, .pt-artwork-image, .proof-grid > a, .occasion-card):hover :is(.piece-label, .pt-artwork-open, small, .occasion-link) {
  color: #fffdf7;
  background: #310d14;
}

:root body details > summary {
  display: block;
  position: relative;
  margin-block: 6px;
  padding: 13px 48px 13px 16px;
  text-align: left;
  list-style: none;
}
:root body details > summary::-webkit-details-marker { display: none; }
:root body details > summary::after {
  content: '+';
  position: absolute;
  inset: 50% 15px auto auto;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
}
:root body details[open] > summary::after { content: '−'; }
:root body details[open] > summary { background: #edddd7; }

:root footer .footer-discover {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
:root body .footer-discover .action-chip { min-height: 56px; justify-content: flex-start; }
:root body .footer-company .action-chip { white-space: normal; }
:root .footer-main { flex-wrap: wrap; }
:root .analytics-preferences p .action-chip, :root .consent-details,
:root .privacy-note .action-chip { font-size: 12px; }
:root .mobile-enquiry-bar { gap: 5px; }
:root .mobile-enquiry-bar a { border: 1px solid #aa7d8b; border-radius: 24px; }

@media (min-width: 761px) {
  :root body .site-header #main-nav a {
    white-space: nowrap;
    gap: 8px;
    padding: 9px 11px;
    font-size: 13px;
  }
}
@media (min-width: 761px) and (max-width: 1240px) {
  :root .site-header .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 8px; }
  :root .site-header:has(.menu-toggle:not([hidden])) #main-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    padding: 16px 32px;
    background: var(--paper);
    border-bottom: 1px solid var(--action-line);
  }
  :root .site-header:has(.menu-toggle:not([hidden])) #main-nav.is-open { display: flex; }
  :root .site-header .header-inner .header-instagram { display: inline-flex; margin-left: auto; }
  :root body .site-header #main-nav a { min-height: 48px; padding-inline: 16px; }
  :root .header-inner { gap: 12px; }
}
@media (max-width: 900px) {
  :root footer .footer-discover { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root .site-header .brand { width: clamp(104px, 31vw, 135px); }
  :root .site-header nav.is-open { max-height: calc(100dvh - 88px); overflow-y: auto; }
  :root body .site-header nav a { justify-content: space-between; min-height: 50px; padding: 10px 16px; font-size: 15px; }
  :root .site-header .header-inner { gap: 8px; }
  :root body .site-header .header-instagram,
  :root body .site-header .menu-toggle { padding-inline: 8px; gap: 6px; font-size: 13px; }
  :root .atelier-actions, :root .sc-actions, :root .kids-actions, :root .adult-hero-actions { flex-wrap: wrap; }
  :root .footer-main { gap: 16px; }
  :root .footer-bottom { gap: 8px; }
}
@media (max-width: 580px) {
  :root body :is(.atelier-actions, .sc-actions, .kids-actions, .adult-hero-actions) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  :root body :is(.atelier-actions, .sc-actions, .kids-actions, .adult-hero-actions) > a { width: 100%; }

  :root footer .footer-discover { grid-template-columns: 1fr; }
  :root .piece-label { font-size: 11px; padding-inline: 8px; }
}
