:root {
  color-scheme: light;
  --ink: #172226;
  --muted: #35585d;
  --paper: #eafffb;
  --panel: rgba(250, 255, 252, 0.9);
  --line: rgba(23, 34, 38, 0.46);
  --cyan: #2bc8ce;
  --cyan-deep: #19aeb8;
  --cyan-soft: #c7f8f7;
  --cyan-veil: #edfffb;
  --sage: #4e7e76;
  --lilac: #b9b0df;
  --lemon: #f1e78a;
  --pink: #f35d93;
  --pink-soft: rgba(243, 93, 147, 0.28);
  --shadow: 0 28px 80px rgba(12, 93, 99, 0.28);
  --flake-ink-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23f35d93' stroke-width='2.4' stroke-linecap='round' stroke-opacity='.78'%3E%3Cpath d='M24,6V42M6,24H42M11,11L37,37M37,11L11,37'/%3E%3Cpath d='M24,11L20,15M24,11L28,15M24,37L20,33M24,37L28,33M11,24L15,20M11,24L15,28M37,24L33,20M37,24L33,28'/%3E%3C/g%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 8%, rgba(255, 255, 255, 0.24) 0 10rem, transparent 10.2rem),
    radial-gradient(circle at 8% 72%, rgba(241, 231, 138, 0.2) 0 13rem, transparent 13.2rem),
    repeating-linear-gradient(90deg, rgba(23, 34, 38, 0.1) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg, rgba(23, 34, 38, 0.075) 0 1px, transparent 1px 36px),
    linear-gradient(180deg, var(--cyan) 0%, var(--cyan-deep) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

body::selection {
  background: var(--pink);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.88fr) minmax(20rem, 1.12fr);
  min-height: min(86svh, 820px);
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
  background:
    linear-gradient(118deg, rgba(234, 255, 251, 0.78) 0 38%, rgba(234, 255, 251, 0) 38%),
    radial-gradient(circle at 16% 22%, rgba(241, 231, 138, 0.34) 0 8rem, transparent 8.2rem),
    radial-gradient(circle at 6% 78%, rgba(185, 176, 223, 0.22) 0 12rem, transparent 12.2rem),
    repeating-linear-gradient(90deg, rgba(23, 34, 38, 0.11) 0 1px, transparent 1px 28px),
    var(--cyan);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 1.1rem;
  content: "";
  border: 3px solid rgba(32, 35, 39, 0.82);
  pointer-events: none;
}

.hero::after {
  content: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  max-width: 38rem;
  padding: 6.5rem clamp(1.25rem, 5vw, 5.5rem);
}

.hero__copy::after {
  display: block;
  width: min(22rem, 100%);
  height: 0.7rem;
  margin-top: 1.55rem;
  border-radius: 999px;
  content: "";
  background: repeating-linear-gradient(90deg, var(--pink) 0 0.8rem, transparent 0.8rem 1.25rem);
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0 0 0.85rem;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(23, 34, 38, 0.42);
  border-radius: 999px;
  background: rgba(234, 255, 251, 0.32);
  padding: 0.22rem 0.62rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .tagline::after {
  width: 1rem;
  height: 1rem;
  content: "";
  background: var(--flake-ink-svg) center / contain no-repeat;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 8.5ch;
  margin-bottom: 1.25rem;
  padding: 0;
  font-size: 5.65rem;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow:
    0.045em 0.045em 0 rgba(234, 255, 251, 0.72),
    0.09em 0.09em 0 var(--pink-soft),
    0.13em 0.13em 0 rgba(23, 34, 38, 0.12);
  text-wrap: balance;
  transform: rotate(-1.2deg);
}

h1::after {
  content: none;
}

h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  margin-bottom: 0;
  font-size: 2rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0;
}

h2::after {
  width: 1.25rem;
  height: 1.25rem;
  content: "";
  background: var(--flake-ink-svg) center / contain no-repeat;
  transform: rotate(10deg);
}

h3 {
  margin-bottom: 0.1rem;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.lead {
  max-width: 29rem;
  margin-bottom: 0;
  border-left: 4px solid rgba(23, 34, 38, 0.62);
  background: rgba(234, 255, 251, 0.36);
  padding: 0.7rem 0 0.7rem 0.95rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 750;
  box-shadow: none;
}

.hero__art {
  position: absolute;
  z-index: 0;
  right: -13rem;
  bottom: -13rem;
  width: min(78rem, 84vw);
  margin: 0;
  opacity: 0.64;
  pointer-events: none;
  transform: rotate(-5deg);
}

.hero__art::before {
  content: none;
}

.hero__art img {
  display: block;
  width: 100%;
  height: auto;
  filter: contrast(1.08) saturate(0.95);
  mix-blend-mode: multiply;
}

.section {
  width: min(64rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.25rem) 0;
}

.section__heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.35rem;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 0.95rem;
  box-shadow: 0 0.38rem 0 var(--pink-soft);
}

.section__heading .tagline {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0.15rem;
  background: var(--cyan-veil);
}

.contact {
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  position: relative;
  display: grid;
  min-height: 9.6rem;
  align-content: space-between;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: rgba(234, 255, 251, 0.82);
  padding: 1rem;
  box-shadow: 0.45rem 0.45rem 0 rgba(32, 35, 39, 0.92);
}

.contact-list li:nth-child(1) a {
  background: rgba(199, 248, 247, 0.9);
  transform: rotate(-0.7deg);
}

.contact-list li:nth-child(2) a {
  background: rgba(255, 241, 248, 0.9);
  transform: rotate(0.45deg);
}

.contact-list li:nth-child(3) a {
  background: rgba(241, 231, 138, 0.58);
  transform: rotate(-0.35deg);
}

.contact-list a::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 42% 58% 47% 53%;
  content: "";
  background: var(--pink-soft);
  transform: rotate(-10deg);
}

.contact-list li:nth-child(2) a::after {
  background: rgba(243, 93, 147, 0.34);
}

.contact-list li:nth-child(3) a::after {
  background: rgba(185, 176, 223, 0.45);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  border-color: var(--ink);
  box-shadow: 0.2rem 0.2rem 0 rgba(32, 35, 39, 0.92);
  transform: translate(0.25rem, 0.25rem) rotate(0deg);
}

.contact-list span {
  position: relative;
  z-index: 1;
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list strong {
  position: relative;
  z-index: 1;
  overflow-wrap: anywhere;
  font-size: 1.2rem;
  line-height: 1.32;
}

.events {
  padding-top: 2.5rem;
}

.event-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: rgba(234, 255, 251, 0.84);
  box-shadow: 0.45rem 0.45rem 0 rgba(32, 35, 39, 0.92);
  list-style: none;
  overflow: hidden;
}

.event-list--planned {
  margin-top: 0;
}

.event-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.4rem 0 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 241, 248, 0.92);
  padding: 0.24rem 0.72rem;
  box-shadow: 0.22rem 0.22rem 0 rgba(23, 34, 38, 0.9);
}

.section__heading + .event-subtitle {
  margin-top: 0;
}

.event-subtitle::before {
  width: 1rem;
  height: 1rem;
  content: "";
  background: var(--flake-ink-svg) center / contain no-repeat;
}

.event-item {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  border-top: 2px solid var(--ink);
}

.event-item:first-child {
  border-top: 0;
}

.event-date,
.event-item time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 100%;
  border-right: 2px solid var(--ink);
  background: var(--cyan);
  padding: 1rem;
  color: var(--ink);
  font-weight: 850;
}

.event-date::before,
.event-item time::before {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  content: "";
  background: var(--flake-ink-svg) center / contain no-repeat;
}

.event-item div {
  padding: 1rem 1rem 1rem 0;
}

.event-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.event-item p + p {
  margin-top: 0.25rem;
}

.event-circle {
  margin-top: 0.12rem;
  color: rgba(23, 34, 38, 0.42);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.site-footer {
  width: min(64rem, calc(100% - 2rem));
  margin: 0 auto;
  border-top: 2px solid var(--ink);
  padding: 1.25rem 0 1.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 760px;
  }

  .hero::before {
    inset: 0.8rem;
  }

  .hero::after {
    right: -7rem;
    bottom: 6rem;
    width: 27rem;
  }

  .hero__copy {
    padding: 4.5rem 1.25rem 18rem;
  }

  h1 {
    max-width: 9ch;
    font-size: 3.25rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero__art {
    right: -16rem;
    bottom: -7rem;
    width: min(54rem, 145vw);
    margin: 0;
    opacity: 0.56;
    transform: rotate(-6deg);
  }

  .section__heading {
    grid-template-columns: 1fr;
  }

  .section__heading .tagline {
    grid-column: auto;
    grid-row: auto;
    order: -1;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-list a {
    min-height: 6.8rem;
  }

  .event-item {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .event-date,
  .event-item time {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .event-item div {
    padding: 1rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.75rem;
  }

  .hero__art {
    right: -18rem;
    bottom: -5rem;
    width: min(45rem, 168vw);
    opacity: 0.52;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .contact-list a {
    transition:
      border-color 160ms ease,
      box-shadow 160ms ease,
      transform 160ms ease;
  }
}
