@font-face {
  font-family: "Cartel";
  src: url("./headline.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: "Cartel";
  src: url("./headline-italic.woff2") format("woff2");
  font-weight: 600 800;
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #faf7ef;
  --ink: #302334;
  --plum: #4b2e5f;
  --violet: #775493;
  --muted: #625b5e;
  --border: #dcd5ca;
  --lavender: #e9def3;
  --serif: "DM Serif Text", "Cartel", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "DejaVu Sans Mono", monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background: var(--paper) url('./paper.png'); color: var(--ink); font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #986312; outline-offset: 5px; }
.skip { position: fixed; padding: 12px; top: -80px; left: 12px; background: white; z-index: 5; }
.skip:focus { top: 8px; }
.masthead { border-bottom: 1px solid var(--border); }
.navbar,.footer-inner { max-width: 1360px; padding-inline: clamp(24px,6vw,92px); margin-inline: auto; }
.navbar { min-height: 73px; display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: inline-flex; align-items: center; gap: .24em; white-space: nowrap;
  font-family: var(--sans); font-weight: 740; line-height: 1; letter-spacing: -.065em;
}
.masthead .brand { font-size: 19px; gap: 8px; color: var(--muted); font-weight: 650; }
.masthead .brand b { color: inherit; }
.masthead .brand img { width: 24px; opacity: .78; }
.intro .hero-brand { font-size: clamp(38px, 7.2vw, 98px); }
.brand img { width: .96em; height: auto; flex: none; }
.brand b { color: var(--violet); font-weight: inherit; }
nav { display: flex; gap: 32px; align-items: center; }
nav a { font-size: 14px; font-weight: 600; position: relative; padding-block: 12px; }
nav a[aria-current]::after,nav a:hover::after { content: ''; position: absolute; bottom: 6px; left: 0; right: 0; height: 2px; background: var(--violet); }
main { flex: 1; }
.garland { display: block; overflow: hidden; padding-top: 13px; }
.garland img { display: block; width: 100%; height: auto; max-height: 224px; object-fit: fill; }
@keyframes flag-wave {
  0%, 100% { transform: scaleX(1.025) skewX(-2.1deg) rotate(-.45deg); }
  35% { transform: scaleX(1.025) skewX(1.5deg) rotate(.3deg) scaleY(.985); }
  70% { transform: scaleX(1.025) skewX(-.6deg) rotate(-.15deg) scaleY(1.012); }
}
.garland img { transform-origin: 50% 0; animation: flag-wave 7s ease-in-out infinite; will-change: transform; }
.home-wrap { width: min(984px,calc(100% - 96px)); margin: 0 auto; }
.intro { text-align: center; padding: 22px 0 0; }
h1,h2,h3,p { margin: 0; }

.intro p { color: var(--muted); font-size: 17px; line-height: 1.55; margin-top: 14px; letter-spacing: -.012em; }

.ticket {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr) 235px;
  margin-top: 37px; isolation: isolate;
  filter: drop-shadow(0 5px 0 #33203b13);
}
.ticket-body,.stub { position: relative; }
.ticket-body {
  background: var(--plum) url('./paper.png'); color: var(--paper);
  border-radius: 15px 0 0 15px; overflow: hidden;
  padding: 36px 40px 37px; min-height: 235px;
}
.ticket-body::before {
  content: ""; position: absolute; right: -89px; bottom: -146px;
  width: 337px; height: 337px; background: url("./rosette.svg") center/contain no-repeat; opacity: .57; transform: rotate(8deg); pointer-events: none;
}
.ticket-content { position: relative; }
.ticket-kicker { font: 650 12px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .115em; display: flex; align-items: center; gap: 10px; color: #f1ddfc; }
.ticket-kicker span { width: 9px; height: 9px; border-radius: 50%; background: #f1ad6c; }
.ticket h2 { font: 700 clamp(42px,4.2vw,65px)/1.07 var(--serif); letter-spacing: -.068em; margin: 16px 0 24px; }
.venue { display: flex; align-items: flex-start; gap: 11px; }
.venue svg { margin-top: 2px; flex: none; color: #e1caec; }
.venue strong { font-size: 19px; font-weight: 650; letter-spacing: -.024em; }
.venue p { font-size: 15px; line-height: 1.45; margin-top: 3px; color: #e7dced; }
.stub {
  background: var(--lavender) url('./paper.png'); border-radius: 0 15px 15px 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 20px;
}
.stub::before { content: ''; position: absolute; inset: 10px auto 10px -1px; width: 2px; background: repeating-linear-gradient(to bottom,#ad8bbe 0 5px,transparent 5px 10px); }
.ticket::before,.ticket::after { position: absolute; content: ''; right: 225px; width: 20px; height: 11px; z-index: 1; background: var(--paper) url('./paper.png'); }
.ticket::before { top: 0; border-radius: 0 0 12px 12px; }
.ticket::after { bottom: 0; border-radius: 12px 12px 0 0; }
.qr-link { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qr-frame { width: 115px; height: 115px; border-radius: 8px; background: #fffcf8; display: grid; place-items: center; box-shadow: 0 1px 2px #36214112; }
.qr-frame svg,.qr-frame img { width: 100%; height: 100%; }
.luma-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; letter-spacing: -.016em; }
.qr-link:hover .luma-link,.back:hover { text-decoration: underline; text-underline-offset: 4px; }
.demo,.list-link small { font: 11px/1.5 var(--mono); color: #615368; margin-top: 4px; }
.all-meetups { text-align: center; padding: 28px 0 46px; }
.pill-link { display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-weight: 650; font-size: 14px; border-radius: 30px; border: 1px solid #b9a9bc; padding: 12px 19px; min-height: 43px; background: var(--paper); transition: background .15s, border-color .15s; }
.pill-link:hover { background: #efe6f3; border-color: var(--violet); }
footer { border-top: 1px solid var(--border); }
.footer-inner,.footer-brand,.footer-location { display: flex; align-items: center; }
.footer-inner { min-height: 71px; justify-content: space-between; gap: 16px; }
.footer-brand { gap: 8px; font-size: 13px; font-weight: 650; color: #625669; }
.footer-location { gap: 7px; color: var(--muted); font-size: 12px; }
.meetup-list { width: min(950px,calc(100% - 80px)); margin: 25px auto 70px; }
.back { display: inline-flex; gap: 7px; align-items: center; min-height: 40px; font-size: 14px; color: var(--muted); }
.meetup-list h1 { font: 700 clamp(62px,6.5vw,91px)/1 var(--serif); letter-spacing: -.083em; margin: 14px 0 38px; }
.meetup-list h2 { font-size: 20px; letter-spacing: -.03em; }
.meetup-list ul { list-style: none; padding: 0; margin: 16px 0 0; }
.meetup-list li { display: flex; align-items: center; gap: 23px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 25px 0; }
.cal { display: grid; background: var(--lavender); border-radius: 8px; color: var(--plum); place-items: center; width: 73px; padding: 9px 0 3px; flex: none; }
.cal span { font: 650 11px var(--mono); letter-spacing: .14em; }
.cal b { font: 700 36px var(--serif); letter-spacing: -.08em; }
.list-info time { font: 12px var(--mono); color: var(--muted); }
.list-info h3 { font: 700 clamp(24px,3vw,33px)/1.25 var(--serif); letter-spacing: -.055em; margin: 6px 0 3px; }
.list-info p { display: flex; gap: 5px; align-items: center; color: var(--muted); font-size: 14px; }
.list-link { margin-left: auto; display: grid; justify-items: center; }
@media(min-width: 1600px) {
  .garland img { max-height: none; }
}
@media(max-width: 900px) {
  .home-wrap { width: calc(100% - 64px); }
  .ticket { grid-template-columns: minmax(0,1fr) 185px; }
  .ticket::before,.ticket::after { right: 175px; }
  .ticket-body { padding: 31px; min-height: 218px; }

  .intro { padding-top: 34px; }
  .ticket-body::before { right: -131px; }
}
@media(max-width: 640px) {
  .navbar { min-height: 62px; }
  .navbar,.footer-inner { padding-inline: 20px; }
  .masthead .brand { font-size: 17px; gap: 6px; }
  .masthead .brand img { width: 21px; }
  .intro .hero-brand { font-size: clamp(34px, 9.8vw, 58px); }
  nav { gap: 19px; }
  nav a { font-size: 13px; }
  .garland { padding-top: 8px; }
  .home-wrap { width: calc(100% - 36px); }
  .intro { padding-top: 32px; }
  .intro p { font-size: 15px; line-height: 1.5; max-width: 370px; margin: 14px auto 0; }

  .ticket { display: flex; flex-direction: column; margin-top: 26px; }
  .ticket-body { border-radius: 12px 12px 0 0; padding: 25px 25px 27px; min-height: 0; }
  .ticket-body::before { width: 245px; height: 245px; right: -103px; bottom: -108px; opacity: .43; }
  .ticket h2 { font-size: clamp(35px,9vw,50px); margin: 13px 0 21px; }
  .ticket-kicker { font-size: 10.5px; }
  .venue strong { font-size: 17px; }
  .venue p { font-size: 14px; }
  .venue svg { width: 20px; }
  .stub { padding: 16px 25px; align-items: flex-start; border-radius: 0 0 12px 12px; min-height: 102px; }
  .qr-link { flex-direction: row; gap: 15px; }
  .qr-frame { width: 74px; height: 74px; border-radius: 6px; }
  .luma-link { padding-bottom: 13px; }
  .demo { position: absolute; left: 114px; top: calc(50% + 4px); }
  .stub::before { inset: 0 10px auto; width: auto; height: 2px; background: repeating-linear-gradient(to right,#ad8bbe 0 5px,transparent 5px 10px); }
  .ticket::before,.ticket::after { display: none; }
  .stub::after { content: ''; position: absolute; inset: -9px 0 auto; height: 18px; background: radial-gradient(circle at left,var(--paper) 8px,transparent 8.8px),radial-gradient(circle at right,var(--paper) 8px,transparent 8.8px); pointer-events: none; }
  .all-meetups { padding: 23px 0 31px; }
  .footer-inner { min-height: 60px; }
  .meetup-list { width: calc(100% - 40px); margin-top: 18px; }
  .meetup-list h1 { margin: 12px 0 26px; }
  .meetup-list li { display: grid; grid-template-columns: 50px 1fr; gap: 16px 14px; }
  .cal { width: 50px; }
  .cal b { font-size: 28px; }
  .list-link { grid-column: 2; margin: 0; justify-items: start; }
  .list-info time { font-size: 11px; }
}
@media(prefers-reduced-motion: reduce) { *,*::before,*::after { transition: none !important; }
  .garland img { animation: none; transform: none; will-change: auto; } }
