@import url('assets/paint-fonts.css');

/* Brush lettering and dry-paint transitions inspired by the 2018 Ingá layout. */
:root{--display:'Knewave','Barlow Condensed',sans-serif;--hand:'Kalam',cursive}
/* Ink stays behind the navigation and is clipped to the floating header. */
.header-paint{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;z-index:0}
.site-header .nav-wrap,.site-header .mobile-nav{position:relative;z-index:1}
.header-paint:before,.header-paint:after{content:'';position:absolute;pointer-events:none;-webkit-mask:url('assets/paint-splatter.svg') center/contain no-repeat;mask:url('assets/paint-splatter.svg') center/contain no-repeat}
.header-paint:before{left:18%;top:-106px;width:300px;height:260px;background:var(--blue);opacity:.23;transform:rotate(-24deg)}
.header-paint:after{right:-40px;bottom:-100px;width:280px;height:230px;background:var(--yellow);opacity:.65;transform:rotate(28deg)}
@media(max-width:760px){.header-paint:before{left:92px;top:-78px;width:190px;height:160px;opacity:.18}.header-paint:after{right:-60px;bottom:-80px;width:160px;height:150px;opacity:.5}}
h1,h2,h3{font-weight:400;letter-spacing:-.025em;line-height:1.19}
.hero h1{font-size:clamp(54px,5.25vw,84px);line-height:1.23;letter-spacing:-.03em;padding-right:9px}
.hero-copy{padding-top:178px;padding-bottom:158px;width:55%}
.hero-location{margin-bottom:23px}
.hero-description{font-size:15px;margin-top:27px;max-width:41ch}
.hero-actions{margin-top:27px}
.hero-foot{margin-top:32px}
.since b{font-size:33px}
.section-kicker{font-family:var(--hand);font-size:20px;font-weight:700;margin-bottom:16px}
.story-copy h2,.section-heading h2,.location h2,.faq h2{font-size:clamp(35px,3.5vw,50px);line-height:1.24}
.rhythm h2{font-size:clamp(36px,3.6vw,52px);line-height:1.24}
.class-info h3{font-size:37px;line-height:1.24}
.instrument-description h3{font-size:31px;line-height:1.2}
.schedule strong{font-size:29px;font-weight:400}
.story-date b{font-family:var(--hand);font-weight:700;font-size:28px;line-height:1.04}
.culture-ribbon span{font-family:var(--hand);font-weight:700;font-size:33px}
.final-cta h2{font-size:clamp(43px,4.4vw,65px);line-height:1.25}
.cta-art>span:last-child{font-family:var(--hand);font-size:63px;line-height:.95}
.google-rating>b{font-size:39px}
.hero-sticker,.photo-credit{display:none}
.hero-photo img{filter:grayscale(1) contrast(1.04);opacity:.68}
.hero-visual:after{background:linear-gradient(90deg,var(--deep),#103b709e 32%,#103b701a 78%),linear-gradient(0deg,#103b7080,transparent 38%,transparent 80%,#103b7030)}
.hero:after{background-image:url('assets/blue-paper.svg'),url('assets/blue-grain.svg');background-size:720px 600px,180px;opacity:.24}
.hero:before{
  content:'';
  position:absolute;
  bottom:-2px;
  left:0;
  width:100%;
  height:100px;
  z-index:4;
  background:var(--yellow);
  -webkit-mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;
  mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;
  transform:scaleY(-1);
  pointer-events:none;
}
.bridge-players{z-index:16}
.bridge-players>img{
  position:absolute;
  top:0;
  right:max(8px,calc((100vw - 1510px)/2));
  width:min(65vw,920px);
  max-width:none;
  height:auto;
  transform:translateY(calc(-100% + 109px));
  filter:drop-shadow(6px 9px 6px #102d431c);
}
.bridge-hero>img{width:114px;top:8px;right:44px;opacity:.85}
.culture-ribbon{position:relative;z-index:10;overflow:visible;padding:20px 0;background:var(--yellow)}
.culture-ribbon>.ribbon-viewport{display:block;overflow:hidden;padding:0;max-width:100%;min-width:0;width:100%;will-change:auto}
.ribbon-track{display:flex;width:max-content;animation:ribbon-loop 50s linear infinite;will-change:transform}
.ribbon-group{display:flex;align-items:center;justify-content:space-around;flex:0 0 auto;min-width:100vw;gap:38px;padding:0 19px}
.ribbon-group>span,.ribbon-group>i{flex:none}
@keyframes ribbon-loop{to{transform:translateX(-50%)}}
.motion-paused .ribbon-track{animation-play-state:paused}
.culture-ribbon:after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-46px;
  height:65px;
  background:var(--yellow);
  -webkit-mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;
  mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;
  pointer-events:none;
}
.story.section-space{padding-top:140px}
.story:before,.story:after,.faq:before{
  content:'';
  position:absolute;
  pointer-events:none;
  width:360px;
  height:420px;
  background:var(--blue);
  -webkit-mask:url('assets/paint-splatter.svg') center/contain no-repeat;
  mask:url('assets/paint-splatter.svg') center/contain no-repeat;
  opacity:.075;
  z-index:0;
}
.story:before{left:-110px;top:170px;transform:rotate(-15deg)}
.story:after{right:48px;bottom:-125px;width:230px;height:270px;background:#c8a900;opacity:.12;transform:rotate(17deg)}
.story-layout{position:relative;z-index:1}
.classes{position:relative;z-index:2}
.classes:before{
  content:'';
  position:absolute;
  left:0;right:0;top:-1px;height:85px;
  background:white;
  -webkit-mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;
  mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;
  transform:none;
  pointer-events:none;
}
.rhythm{position:relative;z-index:3;overflow-x:clip;overflow-y:visible}
.rhythm-paint-edge{position:absolute;left:0;right:0;top:-66px;height:96px;background:var(--deep);-webkit-mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;transform:scaleY(-1);pointer-events:none;z-index:1}
.rhythm .container{position:relative;z-index:2}
.rhythm:after{
  content:'';
  position:absolute;
  left:0;right:0;bottom:-68px;height:101px;
  background:var(--deep);
  -webkit-mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;
  mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;
  pointer-events:none;
}
.rhythm:before{opacity:.25}
.bridge-memory{z-index:13}
.bridge-memory figure{
  left:max(56px,calc((100vw - 1264px)/2));
  top:-171px;
  width:355px;
  height:auto;
  padding:0;
  background:none;
  border-radius:0;
  box-shadow:none;
  transform:rotate(-4deg);
}
.bridge-memory figure img{height:auto;object-fit:contain;width:100%}
.bridge-memory>span{font-family:var(--hand);left:max(453px,calc((100vw - 470px)/2));top:26px;font-size:30px;line-height:1.05;transform:rotate(-4deg)}
.gallery.section-space{padding-top:187px}
.faq{position:relative;isolation:isolate}
.faq:before{right:0;bottom:0;width:250px;height:290px;background:#caaf11;opacity:.1;z-index:-1}
.final-cta:before,.final-cta:after{
  content:'';
  position:absolute;
  left:0;right:0;
  height:90px;
  background:var(--yellow);
  -webkit-mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;
  mask:url('assets/paint-edge.svg') center/100% 100% no-repeat;
  pointer-events:none;
}
.final-cta:before{top:-66px;transform:scaleY(-1)}
.final-cta:after{bottom:-65px}
.cta-layout{position:relative;z-index:1}
.site-footer{padding-top:88px}
.footer-bottom .footer-credit{display:inline-flex;flex-wrap:wrap;gap:0 4px;font-size:11px;line-height:1.6;color:#637487}
.footer-credit a{font-weight:700;color:var(--deep);text-decoration:underline;text-underline-offset:3px}
.footer-credit a:hover{color:var(--blue)}

@media(min-width:1600px){
  .hero-copy{padding-top:190px;padding-bottom:170px}
  .hero h1{font-size:85px}
  .bridge-players>img{width:900px;right:calc((100vw - 1530px)/2)}
}
@media(max-width:1200px){
  .hero h1{font-size:5.3vw}
  .hero-copy{padding-top:170px;padding-bottom:155px}
  .hero-description{font-size:14px;max-width:38ch}
  .bridge-players>img{width:67vw;right:0}
  .class-info h3{font-size:32px}
  .section-kicker{font-size:18px}
  .bridge-memory figure{width:320px;top:-150px;left:40px}
  .bridge-memory>span{left:395px;font-size:27px}
  .final-cta h2{font-size:4.5vw}
}
@media(max-width:960px){
  .hero h1{font-size:5.25vw}
  .hero-copy{padding-top:157px;padding-bottom:160px}
  .hero-description{font-size:12px;max-width:36ch}
  .bridge-players>img{width:68vw;right:0;transform:translateY(calc(-100% + 98px))}
  .culture-ribbon span{font-size:29px}
  .story-copy h2,.section-heading h2,.location h2,.faq h2{font-size:35px}
  .rhythm h2{font-size:36px}
  .class-info h3{font-size:29px}
  .bridge-memory figure{width:295px;top:-143px;left:35px}
  .bridge-memory>span{left:360px;font-size:25px}
  .final-cta h2{font-size:43px}
}
@media(max-width:760px){
  .hero-copy{padding:126px 0 330px;width:100%}
  .hero h1{font-size:10.7vw;line-height:1.28;letter-spacing:-.035em}
  .hero-description{font-size:13px;margin-top:21px;max-width:39ch}
  .hero-actions{margin-top:23px}
  .hero-foot{margin-top:28px;gap:17px}
  .hero-location{font-size:10px;margin-bottom:22px}
  .since b{font-size:27px}
  .hero:before{height:72px}
  .hero-visual{height:350px;left:10%;width:90%}
  .hero-photo img{opacity:.48}
  .hero-visual:after{background:linear-gradient(180deg,var(--deep),#103b7073 18%,transparent 55%),linear-gradient(90deg,var(--deep),#103b704d 32%,transparent 80%)}
  .bridge-players>img{width:min(100vw,760px);right:0;transform:translateY(calc(-100% + 81px))}
  .bridge-hero>img{width:76px;right:20px;top:33px;opacity:.75}
  .culture-ribbon{padding:18px 0}
  .ribbon-group{gap:24px;padding:0 12px}
  .culture-ribbon span{font-size:27px}
  .culture-ribbon:after{height:53px;bottom:-39px}
  .story.section-space{padding-top:126px}
  .section-kicker{font-size:18px;margin-bottom:18px}
  .story-copy h2,.section-heading h2,.location h2,.faq h2{font-size:34px;line-height:1.27}
  .story-copy h2{margin-bottom:23px}
  .story:before{width:230px;height:300px;left:-85px;top:400px}
  .story:after{right:32px;bottom:-110px;width:170px;height:210px}
  .class-info h3{font-size:32px}
  .class-image>span{font-family:var(--hand);font-size:28px;font-weight:700}
  .schedule strong{font-size:28px}
  .rhythm h2{font-size:34px;line-height:1.28}
  .rhythm-paint-edge{top:-48px;height:72px}
  .rhythm:after{height:75px;bottom:-50px}
  .instrument-description h3{font-size:29px}
  .bridge-memory figure{width:240px;left:16px;top:-100px;transform:rotate(-5deg)}
  .bridge-memory>span{left:auto;right:15px;top:75px;font-size:20px;line-height:1.05}
  .gallery.section-space{padding-top:173px}
  .gallery .section-heading h2{font-size:34px;max-width:13ch}
  .final-cta h2{font-size:37px;line-height:1.3}
  .cta-art>span:last-child{font-size:59px}
  .final-cta:before,.final-cta:after{height:70px}
  .final-cta:before{top:-50px}
  .final-cta:after{bottom:-50px}
  .site-footer{padding-top:92px}
}
@media(max-width:380px){
  .hero h1{font-size:10.4vw}
  .hero-copy{padding-top:124px;padding-bottom:292px}
  .hero-actions .button{font-size:10px;gap:12px}
  .hero-foot{gap:12px}
  .since{gap:8px}
  .since b{font-size:25px}
  .since span,.hero-foot p{font-size:8px}
  .bridge-players>img{width:100vw;right:0;transform:translateY(calc(-100% + 76px))}
  .story-copy h2,.section-heading h2,.location h2,.faq h2,.rhythm h2,.gallery .section-heading h2{font-size:30px}
  .class-info h3{font-size:29px}
  .final-cta h2{font-size:34px}
  .bridge-memory figure{width:220px;left:13px;top:-94px}
  .bridge-memory>span{font-size:18px;right:15px;top:74px}
}
