/* proartsproductions.com: the entrance (index.html), "the stage and three tickets".
   The stage photograph keeps its own shape on the right, the line "Bringing music to life, one stage at a time" stands on
   black on the left, and the three sites lie along the bottom as tickets in their own colours: orange (ProArts
   Productions), white (ProArts Hub), lime (Concerts on Connolly). On phones and tablets the photograph is a block at the
   top and the tickets are stacked under the words.
   Loaded after family.css. No scripts. */

@font-face { font-family: "League Spartan"; src: url("../fonts/leaguespartan-var-latin.woff2?v=00a36799f1") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

.gate { --lime: #dadd4c; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: #000; color: #fff; --accent: var(--orange); --focus: 0 0 0 3px #000, 0 0 0 6px var(--orange); }

/* ---------- top line ---------- */
.g-head { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.g-mark { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.g-mark img { width: 62px; height: 62px; flex: none; }
.g-mark b { display: block; font-weight: 850; font-stretch: 62%; font-size: 34px; line-height: .9; letter-spacing: -.005em; }
.g-mark small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--orange); }
.g-top { display: flex; align-items: center; gap: 4px 26px; font-size: 15.5px; font-weight: 600; }
.g-top a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; color: #e8e8e8; text-decoration: none; white-space: nowrap; }
.g-top .ic { width: 18px; height: 18px; color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .g-top a:hover { color: var(--orange); } }

/* ---------- the stage: photograph, words ---------- */
.g-stage { --hh: 102px; position: relative; flex: 1; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.g-photo { position: absolute; z-index: -2; top: 0; right: 0; width: 60%; height: 100%; object-fit: cover; object-position: 50% 44%; }
/* the photograph fades into black on its left edge (where the words are), at the bottom (under the tickets) and at the top */
.g-stage::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #000 0%, #000 40%, rgba(0, 0, 0, .8) 49%, rgba(0, 0, 0, .34) 62%, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, .4) 100%), linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .6) 20%, rgba(0, 0, 0, 0) 44%), linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, 0) 20%); }
.g-words { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(14px, 3.4vh, 44px) 0 clamp(24px, 4.6vh, 52px); }
.gate h1 { max-width: 12.5em; font-weight: 850; font-stretch: 62%; font-size: clamp(48px, min(7.6vw, 12.2vh), 118px); line-height: .88; letter-spacing: -.012em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.g-lead { margin-top: clamp(14px, 2.4vh, 24px); max-width: 30em; font-size: clamp(17px, 1.42vw, 20.5px); color: #ededed; text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
.g-lead b { display: block; margin-top: 6px; font-weight: 700; color: #fff; white-space: nowrap; }

/* ---------- the three sites, as tickets ---------- */
.g-tix { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; margin: 0 auto; padding: 0 0 clamp(14px, 2.6vh, 26px); list-style: none; }
.g-tix li { display: flex; }
.tix { --c: var(--orange); position: relative; isolation: isolate; flex: 1; display: flex; border-radius: 18px; color: #000; text-decoration: none; transition: transform .32s cubic-bezier(.2, .8, .25, 1); }
.tix-hub { --c: #fff; }
.tix-con { --c: var(--lime); }
/* a soft shadow on the ground under each ticket (kept narrower than the ticket, so it never falls on its neighbour) */
.tix::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -8px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .7); filter: blur(12px); }
/* the ticket itself: one piece of colour with a bite out of the top and bottom edge where the stub tears off */
.tix-in { --stub: 92px; --bite: 11px; position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub); min-height: clamp(168px, 24vh, 214px); border-radius: 16px; background: var(--c);
  -webkit-mask-image: radial-gradient(circle var(--bite) at calc(100% - var(--stub)) 0, transparent 96%, #000 100%), radial-gradient(circle var(--bite) at calc(100% - var(--stub)) 100%, transparent 96%, #000 100%); -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle var(--bite) at calc(100% - var(--stub)) 0, transparent 96%, #000 100%), radial-gradient(circle var(--bite) at calc(100% - var(--stub)) 100%, transparent 96%, #000 100%); mask-composite: intersect; }
.tix-in::after { content: ""; position: absolute; top: 18px; bottom: 18px; left: calc(100% - var(--stub) - 1px); border-left: 2px dashed rgba(0, 0, 0, .34); }
.tix-body { display: flex; flex-direction: column; min-width: 0; padding: 22px 20px 18px 24px; }
.tix-name { font-weight: 850; font-stretch: 62%; font-size: clamp(30px, 2.75vw, 41px); line-height: .9; letter-spacing: -.01em; }
.tix-con .tix-name { display: flex; align-items: center; gap: 12px; font-family: "League Spartan", "Archivo", sans-serif; font-stretch: normal; font-weight: 800; font-size: clamp(23px, 2.1vw, 31px); line-height: .96; letter-spacing: -.02em; }
.tix-con .tix-name img { flex: none; width: 52px; height: 52px; }
.tix-kind { margin-top: 9px; font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.tix-now { margin-top: auto; padding-top: 14px; font-size: 14.5px; line-height: 1.4; }
.tix-now i { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: #000; }
.tix-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 12px 6px; }
.tix-disc { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #000; color: var(--c); transition: transform .28s cubic-bezier(.3, .8, .2, 1); }
.tix-disc .ic { width: 24px; height: 24px; }
.tix-go { font-size: 14px; font-weight: 750; line-height: 1; }
.tix:focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .tix:hover { transform: translateY(-10px) rotate(-1.1deg); }
  .g-tix li:nth-child(2) .tix:hover { transform: translateY(-10px) rotate(.9deg); }
  .g-tix li:nth-child(3) .tix:hover { transform: translateY(-10px) rotate(-.7deg); }
  .tix:hover .tix-disc { transform: scale(1.1); }
}

/* ---------- foot ---------- */
.g-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 24px; padding: 6px 0 10px; font-size: 14px; color: #a8a8a8; }
.g-foot nav { display: flex; gap: 20px; }
.g-foot a { display: inline-block; padding: 10px 0; color: #d6d6d6; }
.g-foot > span { padding: 10px 0; }

/* ---------- small laptops, and tablets on their side: the three tickets stay in a row, a little tighter ---------- */
@media (min-width: 901px) and (max-width: 1180px) {
  .tix-in { --stub: 70px; --bite: 10px; }
  .tix-body { padding: 16px 12px 14px 18px; }
  .tix-name { font-size: clamp(26px, 2.9vw, 34px); }
  .tix-con .tix-name { gap: 10px; font-size: 21px; }
  .tix-con .tix-name img { width: 42px; height: 42px; }
  .tix-kind { margin-top: 7px; font-size: 13.5px; }
  .tix-now { font-size: 13px; }
  .tix-more, .tix-go { display: none; }
  .tix-disc { width: 46px; height: 46px; }
  .tix-disc .ic { width: 21px; height: 21px; }
}

/* ---------- tablets and phones: the photograph is a block at the top, the words start on its lower part,
              and the tickets are stacked on black ---------- */
@media (max-width: 900px) {
  .g-stage { --ph: min(100vw, 60vh); }
  .g-photo { left: 0; right: auto; width: 100%; height: var(--ph); object-position: 50% 40%; }
  .g-stage::before { inset: 0 0 auto 0; height: var(--ph); background: linear-gradient(180deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .74) 72%, #000 100%); }
  .g-words { flex: none; justify-content: flex-start; padding-top: calc(var(--ph) * .57 - var(--hh)); padding-bottom: 20px; }
  .g-tix { grid-template-columns: 1fr; gap: 16px; }
  .tix-in { --stub: 76px; --bite: 8px; min-height: 98px; }
  .tix-body { justify-content: center; padding: 14px 14px 14px 18px; }
  .tix-name { font-size: 34px; }
  .tix-con .tix-name { font-size: 24px; }
  .tix-con .tix-name img { width: 44px; height: 44px; }
  .tix-kind { margin-top: 6px; font-size: 15px; }
  .tix-now { display: none; margin-top: 0; padding-top: 8px; font-size: 14px; }
  .tix-pro .tix-now { display: block; }
  .tix-more, .tix-go, .tix::before { display: none; }
  .tix-disc { width: 46px; height: 46px; }
  .tix-disc .ic { width: 21px; height: 21px; }
}
/* phones: the three tickets have to sit above Safari's bottom toolbar on the first screen, so the photograph takes at most
   about half of the visible height (svh: the height with the browser's bars showing) and the tickets are a little slimmer */
@media (max-width: 640px) {
  .g-stage { --hh: 78px; --ph: min(100vw, 48vh); }
  .g-head { padding: 14px 0; }
  .g-words { padding-top: max(16px, calc(var(--ph) * .57 - var(--hh))); padding-bottom: 16px; }
  .g-lead { margin-top: 12px; }
  .g-tix { gap: 12px; }
  .tix-in { min-height: 86px; }
  .tix-body { padding-top: 11px; padding-bottom: 11px; }
  .tix-pro .tix-now { padding-top: 5px; }
  .g-mark img { width: 50px; height: 50px; }
  .g-mark b { font-size: 28px; }
  .g-mark small, .g-top .hide-sm, .g-lead-a { display: none; }
  .g-top .g-mail { min-height: 44px; padding: 0 16px 0 13px; border: 1.5px solid rgba(255, 255, 255, .42); border-radius: 999px; }
  .gate h1 { font-size: clamp(42px, 12.6vw, 52px); }
  .g-lead b { margin-top: 0; }
}
@supports (height: 1svh) { @media (max-width: 640px) { .g-stage { --ph: min(100vw, 48svh); } } }
@media (max-width: 380px) {
  .tix-in { --stub: 68px; }
  .tix-body { padding-left: 16px; padding-right: 10px; }
  .tix-name { font-size: 30px; }
  .tix-con .tix-name { font-size: 22px; }
  .tix-kind, .tix-now { font-size: 13.5px; }
}

/* ---------- arriving: the words, then the three tickets one after another (once, and only if motion is welcome) ---------- */
@keyframes g-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .gate h1 { animation: g-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .g-lead { animation: g-rise .7s cubic-bezier(.2, .8, .2, 1) .08s both; }
  .g-tix li { animation: g-rise .7s cubic-bezier(.2, .8, .2, 1) .16s both; }
  .g-tix li:nth-child(2) { animation-delay: .24s; }
  .g-tix li:nth-child(3) { animation-delay: .32s; }
}
@media (prefers-reduced-motion: reduce) { .tix, .tix-disc { transition: none !important; } }
