/* ProArts family: shared base for proartsproductions.com (Productions, Hub) and concertsonconnolly.ca.
   One typeface, three widths: Productions is condensed (tour posters), Hub is regular, Connolly is expanded. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2?v=91dcd51393") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #000000;          /* ProArts black */
  --ink-2: #4d4d4d;        /* secondary text */
  --ink-3: #6b6b6b;        /* muted text */
  --line: #e6e6e6;
  --mist: #f5f5f5;
  --orange: #ff7f30;       /* ProArts orange, taken from the logo file: black text on it */
  --orange-deep: #c2410c;  /* orange text and links on white */
  --orange-soft: #fff0e6;
  --cobalt: #2340cc;       /* Productions */
  --cobalt-deep: #18299a;
  --bole: #cc3a22;         /* tickets, the one hot colour (Iznik "bole" red) */
  --bole-deep: #a92c17;
  --turq: #0b7f78;         /* Hub */
  --turq-deep: #0b6f69;
  --turq-soft: #e3f3f1;
  --sun: #f5be3a;          /* Connolly */
  --grass: #1e6a3b;
  --grass-deep: #173b26;
  --accent: var(--orange-deep);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--accent);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus { outline: none; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 8px;
  font-size: 16px; font-weight: 650; line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-orange { background: var(--orange); color: #000; }
@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: var(--orange); color: #000; }
  .btn-orange:hover { background: #000; color: var(--orange); }
}
.btn-light { border-color: #fff; color: #fff; background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn-light:hover { background: #fff; color: #000; } }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn-line:hover { background: var(--ink); color: #fff; } }

/* A ticket button looks like a ticket stub: notches on both sides and a perforation before the word.
   The stub shape is a masked layer behind the label, so the focus ring is never clipped. */
.btn-ticket {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 22px 0 18px;
  color: #000; font-weight: 750; font-size: 16px; line-height: 1.1; text-decoration: none; white-space: nowrap;
  border-radius: 6px; transition: transform .15s, color .15s;
}
.btn-ticket::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 6px; background: var(--orange);
  -webkit-mask: radial-gradient(circle 7px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 7px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
  transition: background-color .15s;
}
.btn-ticket .stub { display: flex; align-items: center; padding-right: 12px; border-right: 2px dashed rgba(0, 0, 0, .45); }
@media (hover: hover) and (pointer: fine) {
  .btn-ticket:hover::before { background: #000; }
  .btn-ticket:hover { color: var(--orange); transform: translateY(-1px); }
  .btn-ticket:hover .stub { border-color: rgba(255, 127, 48, .6); }
}
.btn-ticket[aria-disabled="true"] { pointer-events: none; color: var(--ink-2); }
.btn-ticket[aria-disabled="true"]::before { background: var(--mist); }
.btn-ticket[aria-disabled="true"] .stub { border-color: #c9cee0; }

/* ---------- small status pill ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; background: var(--mist); color: var(--ink-2); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-sale { background: #e6f4ea; color: #1d6b37; }
.pill-few { background: #fff1d6; color: #8a5300; }
.pill-out { background: #f6e3e0; color: #9b2c1a; }
.pill-soon { background: var(--mist); color: var(--ink-2); }

/* ---------- the family band (footer of every page): the three platforms, always one click away ---------- */
.family { border-top: 1px solid var(--line); padding: 34px 0 26px; }
.family-title { font-size: 14px; font-weight: 650; color: var(--ink-3); margin-bottom: 14px; }
.family-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.family-link { display: grid; gap: 4px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, background-color .15s; }
.family-link:hover { border-color: currentColor; }
.family-link b { font-size: 21px; font-weight: 800; line-height: 1.05; letter-spacing: -.005em; }
.family-link span { font-size: 14px; color: var(--ink-2); }
.family-link[aria-current="true"] { background: var(--mist); }
.family-dark { border-top-color: #2a2a2a; }
.family-dark .family-title { color: #a6a6a6; }
.family-dark .family-link { border-color: #333; }
.family-dark .family-link:hover { border-color: var(--orange); }
.family-dark .family-link span { color: #bfbfbf; }
.family-dark .family-link[aria-current="true"] { background: #1a1a1a; }
.family-dark .fam-pro b { color: var(--orange); }
.family-dark .fam-hub b { color: #fff; }
.family-dark .fam-con b { color: #dadd4c; }
.fam-pro b { font-stretch: 66%; color: var(--orange-deep); font-size: 24px; }
.fam-hub b { font-stretch: 66%; color: var(--ink); font-size: 24px; }
.fam-con b { font-stretch: 100%; font-weight: 750; letter-spacing: -.01em; color: var(--ink); font-size: 20px; }
.family-link .ext { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 760px) { .family-list { grid-template-columns: 1fr; } }

.legal { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding: 18px 0 30px; font-size: 14px; color: var(--ink-3); }
.legal a { display: inline-block; padding: 9px 0; color: var(--ink-2); }
.legal > span { padding: 9px 0; }

/* While a concert is ahead the pages offer it (.tour-only). When its last night has passed they show what comes after
   (.after-only): tools/build.py sets the class on <html> at build time, assets/js/now.js on the day itself. */
html:not(.tour-over) .after-only { display: none !important; }
html.tour-over .tour-only { display: none !important; }
/* Two or more concerts ahead: each one's parts go on the day its own last night has passed. tools/build.py numbers the
   concerts in the order their last nights come (1 ends first); assets/js/now.js adds .over-1, .over-2 ... to <html>. */
html.over-1 .tour-only-1, html.over-2 .tour-only-2, html.over-3 .tour-only-3, html.over-4 .tour-only-4,
html.over-5 .tour-only-5, html.over-6 .tour-only-6, html.over-7 .tour-only-7, html.over-8 .tour-only-8,
html:not(.over-1) .after-only-1, html:not(.over-2) .after-only-2, html:not(.over-3) .after-only-3, html:not(.over-4) .after-only-4,
html:not(.over-5) .after-only-5, html:not(.over-6) .after-only-6, html:not(.over-7) .after-only-7, html:not(.over-8) .after-only-8 { display: none !important; }

/* links to a section land below the sticky header */
main [id], footer[id] { scroll-margin-top: 88px; }

/* ======================================================================
   PHONE MENU (shared by ProArts, ProArts Hub and Concerts on Connolly; assets/js/site.js)
   ====================================================================== */
/* the menu button: three lines */
.menu-btn { display: none; position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #000; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, transform .15s; }
.menu-btn:active { transform: scale(.95); }
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger i { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transform-origin: left center; transition: transform .3s cubic-bezier(.3, .8, .2, 1); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; transform: scaleX(.65); }
.burger i:nth-child(3) { top: 12px; }
@media (hover: hover) and (pointer: fine) { .menu-btn:hover .burger i:nth-child(2) { transform: none; } }

/* ---------- the phone menu: a black drawer from the left, the page dimmed and blurred behind it ---------- */
.menu-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .46); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s; }
.menu { position: fixed; top: 0; bottom: 0; left: 0; z-index: 91; display: flex; flex-direction: column; width: min(420px, 88vw); background: #000; color: #fff; outline: none;
  box-shadow: 28px 0 80px -30px rgba(0, 0, 0, .7); transform: translateX(-104%); visibility: hidden; touch-action: pan-y; overscroll-behavior: contain;
  transition: transform .32s cubic-bezier(.25, .8, .3, 1), visibility 0s linear .32s; }
html.menu-on .menu-scrim { opacity: 1; visibility: visible; transition: opacity .32s ease, visibility 0s; }
html.menu-on .menu { transform: none; visibility: visible; transition: transform .44s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
.menu.dragging { transition: none !important; }
html.menu-lock { overflow: hidden; }
html.menu-lock body { padding-right: var(--sbw, 0px); }
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid #222; }
.menu-x { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #383838; border-radius: 50%; background: #000; color: #fff; cursor: pointer; transition: border-color .2s, transform .35s cubic-bezier(.3, .8, .2, 1); }
html.menu-on .menu-x { transform: rotate(90deg); }
.menu-x:active { background: #1a1a1a; }
@media (hover: hover) and (pointer: fine) { .menu-x:hover { border-color: var(--orange); } }
.menu :focus-visible { box-shadow: 0 0 0 3px #000, 0 0 0 6px var(--orange); }
.menu:focus-visible { box-shadow: none; }
.menu-body { flex: 1; overflow-y: auto; touch-action: pan-y; padding: 6px 20px calc(28px + env(safe-area-inset-bottom)); }
.menu-links { margin: 0; padding: 6px 0 4px; list-style: none; }
.menu-links a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0 12px; border-bottom: 1px solid #1f1f1f;
  color: #fff; text-decoration: none; font-weight: 850; font-stretch: 62%; font-size: clamp(34px, 9.6vw, 42px); line-height: 1; letter-spacing: -.005em; }
.menu-links a .ic { flex: none; width: 22px; height: 22px; color: #555; transition: transform .25s cubic-bezier(.3, .8, .2, 1), color .2s; }
.menu-links a[aria-current="page"] { color: var(--orange); }
.menu-links a[aria-current="page"] .ic { color: var(--orange); }
.menu-links a:active .ic { transform: translateX(5px); color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .menu-links a:hover .ic { transform: translateX(5px); color: var(--orange); } }
.menu-feature { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 20px; padding: 12px; border-radius: 14px; background: var(--orange); color: #000; text-decoration: none; }
.mf-poster { display: flex; align-items: flex-end; aspect-ratio: 4 / 5; padding: 6px; border-radius: 7px; background: #000; color: var(--orange); font-weight: 850; font-stretch: 62%; font-size: 15px; line-height: .84; overflow: hidden; }
.mf-text { display: grid; gap: 2px; min-width: 0; }
.mf-text small { font-size: 12.5px; font-weight: 700; }
.mf-text b { font-weight: 850; font-stretch: 62%; font-size: 30px; line-height: .92; }
.mf-text > span { font-size: 13.5px; font-weight: 600; }
.mf-go { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 9px; background: #000; color: var(--orange); font-size: 14px; font-weight: 750; }
.mf-go .ic { width: 18px; height: 18px; }
.mf-donate { grid-template-columns: 52px minmax(0, 1fr); }
.mf-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #000; color: var(--orange); }
.menu-fam { margin-top: 26px; }
.menu-fam p { margin: 0 0 8px; font-size: 13px; font-weight: 650; color: #8c8c8c; }
.mfam { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 1px 14px; align-items: center; margin-top: 8px; padding: 12px 14px; border: 1px solid #2a2a2a; border-radius: 12px; color: #fff; text-decoration: none; transition: border-color .2s; }
.mfam-logo { grid-row: span 2; width: 46px; height: 46px; object-fit: contain; }
.mfam b { font-weight: 850; font-stretch: 66%; font-size: 22px; line-height: 1.05; }
.mfam span { font-size: 13.5px; color: #a8a8a8; }
.mfam b { align-self: end; } .mfam > span { align-self: start; }   /* the name and its line stay together beside the logo */
.mfam.fam-pro b { color: var(--orange); }
.mfam.fam-hub b { color: #fff; }
.mfam.fam-con b { font-stretch: 100%; font-weight: 750; font-size: 18px; color: #dadd4c; }
.mfam[aria-current="true"] { border-color: #4a4a4a; background: #121212; }
.menu-contact { display: grid; gap: 4px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #222; }
.menu-contact > a { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: #e6e6e6; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.menu-contact > a .ic { color: var(--orange); }
.menu-social { display: flex; gap: 10px; margin: 10px 0 0; }
.menu-social a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #333; border-radius: 50%; color: #fff; }
/* what's in the menu arrives one after another */
.menu-links li, .menu-feature, .menu-fam, .menu-contact { opacity: 0; transform: translateX(-22px); transition: opacity .3s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }
html.menu-on .menu-links li, html.menu-on .menu-feature, html.menu-on .menu-fam, html.menu-on .menu-contact { opacity: 1; transform: none; }
html.menu-on .menu-links li:nth-child(1) { transition-delay: .07s; } html.menu-on .menu-links li:nth-child(2) { transition-delay: .11s; }
html.menu-on .menu-links li:nth-child(3) { transition-delay: .15s; } html.menu-on .menu-links li:nth-child(4) { transition-delay: .19s; }
html.menu-on .menu-links li:nth-child(5) { transition-delay: .23s; } html.menu-on .menu-links li:nth-child(6) { transition-delay: .27s; }
html.menu-on .menu-links li:nth-child(n+7) { transition-delay: .31s; }
html.menu-on .menu-feature { transition-delay: .3s; } html.menu-on .menu-fam { transition-delay: .36s; } html.menu-on .menu-contact { transition-delay: .42s; }
html.menu-closing .menu-links li, html.menu-closing .menu-feature, html.menu-closing .menu-fam, html.menu-closing .menu-contact { transition-delay: 0s !important; transition-duration: .18s; }
@media (prefers-reduced-motion: reduce) {
  .menu, .menu-scrim, .menu-links li, .menu-feature, .menu-fam, .menu-contact, .menu-x, .fam-pop, .pa-ink, .burger i { transition: none !important; }
}

/* A form's own answer to the visitor (sent, not sent): one line at the end of the form, in the form's own text colour */
.form-note { grid-column: 1 / -1; flex-basis: 100%; margin: 0; padding: 12px 14px; border: 2px solid currentColor; border-radius: 8px; font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.form-note[hidden] { display: none; }
/* while a message is on its way (a few seconds when the spam check asks it to wait): the button rests */
form [type="submit"][aria-busy="true"] { opacity: .7; cursor: progress; }
/* a field people never see: a robot that fills it in is told its message went out, and nothing is sent */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* the short page the form handler shows when a form was sent without JavaScript */
.form-sent { padding: 64px 0; display: grid; gap: 14px; }
