/* ============================================================
   SILENT MOVIE WEEK — MoMA
   Constructivist type system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@400;500;600;700&family=Archivo+Narrow:wght@400;600;700&display=swap');

:root{
  --ink:      #121110;
  --red:      #E1251B;
  --bone:     #EDE7D9;
  --paper:    #F7F3E9;
  --gold:     #F0B323;
  --rule:     #121110;

  --display:  'Archivo Black', 'Helvetica Neue', Impact, sans-serif;
  --narrow:   'Archivo Narrow', 'Helvetica Neue', Arial, sans-serif;
  --text:     'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --gutter:   clamp(18px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.45;
  overflow-x: hidden;
}

a { color: inherit; }

/* ---------- MASTHEAD ---------------------------------------- */

.masthead{
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--ink);
  color: var(--bone);
  border-bottom: 4px solid var(--red);
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
}

.masthead a{ text-decoration: none; }

.mast-left, .mast-right{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px var(--gutter);
}

.mast-mark{
  background: var(--red);
  color: var(--bone);
  padding: 12px 16px;
  letter-spacing: .22em;
}

.mast-right span{ opacity: .65; }

.mast-back{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color .12s;
}
.mast-back:hover{ color: var(--red); }

/* ---------- HERO -------------------------------------------- */

.hero{
  position: relative;
  overflow: hidden;
  background: var(--bone);
  border-bottom: 4px solid var(--ink);
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
}

.hero-shapes{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape{ position: absolute; }

.shape-disc{
  width: min(58vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  right: -14vw;
  top: -18vw;
}

.shape-wedge{
  width: min(46vw, 520px);
  aspect-ratio: 1;
  background: var(--red);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  right: -6vw;
  bottom: -8vw;
}

.shape-bar{
  width: 130vw;
  height: clamp(10px, 1.6vw, 22px);
  background: var(--ink);
  left: -15vw;
  top: 22%;
  transform: rotate(-11deg);
}

.shape-bar-2{
  width: 130vw;
  height: clamp(4px, .5vw, 7px);
  background: var(--red);
  left: -15vw;
  top: 26.5%;
  transform: rotate(-11deg);
}

.shape-ring{
  width: min(26vw, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(8px, 1.4vw, 18px) solid var(--gold);
  left: 4vw;
  bottom: -8vw;
}

.hero-inner{
  position: relative;
  z-index: 2;
  padding: clamp(56px, 9vw, 130px) var(--gutter);
  width: 100%;
}

.hero-kicker{
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: clamp(10px, 1.1vw, 13px);
  margin-bottom: clamp(18px, 3vw, 34px);
  display: inline-block;
  background: var(--ink);
  color: var(--bone);
  padding: 8px 14px;
}

.hero-title{
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(58px, 15.5vw, 230px);
  line-height: .82;
  letter-spacing: -.035em;
}

.hero-title span{ display: block; }

.ht-1{ color: var(--ink); }

.ht-2{
  color: transparent;
  -webkit-text-stroke: clamp(2px, .35vw, 5px) var(--ink);
  padding-left: clamp(20px, 6vw, 110px);
}

.ht-3{
  color: var(--red);
  padding-left: clamp(40px, 12vw, 220px);
}

.hero-dates{
  margin-top: clamp(28px, 5vw, 58px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(12px, 3vw, 34px);
  font-family: var(--narrow);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .14em;
  font-size: clamp(12px, 1.5vw, 17px);
}

.hero-dates .big{
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 66px);
  letter-spacing: -.02em;
  line-height: 1;
}

.hero-dates .thin{ font-weight: 400; letter-spacing: .18em; opacity: .8; }

/* ---------- MARQUEE BAND ------------------------------------ */

.band{
  background: var(--red);
  color: var(--bone);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(15px, 2.2vw, 30px);
  letter-spacing: .02em;
}

.band-track{
  display: inline-block;
  animation: slide 34s linear infinite;
}
.band-track span{ padding: 0 26px; }
.band-track .dot{ color: var(--ink); }

@keyframes slide{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .band-track{ animation: none; }
}

/* ---------- SECTION HEAD ------------------------------------ */

.section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: clamp(40px, 6vw, 84px) var(--gutter) clamp(16px, 2.5vw, 28px);
}

.section-head h2{
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(28px, 5.5vw, 74px);
  line-height: .9;
  letter-spacing: -.03em;
}

.section-head p{
  margin: 0;
  max-width: 44ch;
  font-family: var(--narrow);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 600;
  opacity: .7;
}

/* ---------- PROGRAM INDEX ----------------------------------- */

.index{
  border-top: 4px solid var(--ink);
  margin: 0 var(--gutter) clamp(50px, 8vw, 110px);
}

.row{
  display: grid;
  grid-template-columns: 4.5rem 8.5rem minmax(0,1fr) auto 3rem;
  align-items: center;
  gap: clamp(10px, 2vw, 30px);
  padding: clamp(16px, 2.2vw, 26px) clamp(8px, 1.4vw, 18px);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: background .13s ease, color .13s ease, padding-left .13s ease;
}

.row:hover, .row:focus-visible{
  background: var(--ink);
  color: var(--bone);
  padding-left: clamp(16px, 2.6vw, 34px);
  outline: none;
}
.row:hover .row-num, .row:focus-visible .row-num{ color: var(--red); }
.row:hover .row-meta, .row:focus-visible .row-meta{ opacity: .85; }
.row:hover .row-arrow, .row:focus-visible .row-arrow{ transform: translateX(6px); color: var(--red); }

.row-num{
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1;
  color: var(--red);
  transition: color .13s;
}

.row-date{
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(11px, 1.2vw, 14px);
  line-height: 1.3;
}
.row-date b{ display: block; font-size: 1.35em; letter-spacing: .04em; }

.row-title{
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(20px, 3.6vw, 46px);
  line-height: .95;
  letter-spacing: -.025em;
}

.row-meta{
  font-family: var(--narrow);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 600;
  text-align: right;
  opacity: .6;
  max-width: 22ch;
}

.row-arrow{
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 28px);
  text-align: right;
  transition: transform .13s, color .13s;
}

.tag{
  display: inline-block;
  background: var(--red);
  color: var(--bone);
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  padding: 3px 7px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- FILM PAGE --------------------------------------- */

.film{
  display: grid;
  grid-template-columns: minmax(240px, 30%) minmax(0, 1fr);
  min-height: calc(100vh - 46px);
  align-items: stretch;
}

.film-side{
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
  padding: clamp(30px, 4vw, 60px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 4px solid var(--red);
}

.side-disc{
  position: absolute;
  width: 130%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  left: -40%;
  bottom: -55%;
  opacity: .96;
}

.side-top, .side-bottom{ position: relative; z-index: 2; }

.side-num{
  font-family: var(--display);
  font-size: clamp(90px, 13vw, 200px);
  line-height: .78;
  letter-spacing: -.05em;
  color: var(--bone);
}

.side-day{
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 36px);
  letter-spacing: -.01em;
  color: var(--gold);
  margin-top: 6px;
}

.side-month{
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: 13px;
  margin-top: 10px;
  opacity: .75;
}

.side-venue{
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 40px;
}
.side-venue em{ font-style: normal; display: block; opacity: .6; letter-spacing: .22em; font-size: 10px; }

.film-main{
  padding: clamp(34px, 5vw, 78px) var(--gutter) clamp(50px, 7vw, 100px);
  background: var(--paper);
}

.film-index{
  font-family: var(--display);
  color: var(--red);
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.film-title{
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(38px, 7.5vw, 108px);
  line-height: .84;
  letter-spacing: -.04em;
}

.film-sub{
  margin: clamp(16px, 2.4vw, 28px) 0 0;
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: clamp(12px, 1.4vw, 16px);
  padding-bottom: clamp(20px, 3vw, 34px);
  border-bottom: 4px solid var(--ink);
}

/* credit table */

.credits{
  margin: clamp(26px, 4vw, 46px) 0 0;
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
}

.credits dt{
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  padding: 14px 20px 14px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  opacity: .55;
}

.credits dd{
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
}

.credits dd cite{ font-style: italic; }

/* notice blocks */

.notices{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 48px);
}

.notice{
  flex: 1 1 260px;
  padding: 20px 22px 24px;
  border: 3px solid var(--ink);
  background: var(--bone);
}

.notice.is-red{ background: var(--red); border-color: var(--red); color: var(--bone); }
.notice.is-ink{ background: var(--ink); border-color: var(--ink); color: var(--bone); }

.notice h3{
  margin: 0 0 10px;
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 10px;
  opacity: .7;
}

.notice p{
  margin: 0;
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(14px, 1.5vw, 19px);
  line-height: 1.25;
  letter-spacing: .01em;
}

/* multi-film program */

.subfilm{
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 22px;
  border-top: 4px solid var(--ink);
}

.subfilm h2{
  margin: 0 0 6px;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(24px, 3.8vw, 46px);
  line-height: .9;
  letter-spacing: -.03em;
}

.subfilm .film-sub{
  border-bottom: 1px solid var(--rule);
  padding-bottom: 16px;
  font-size: clamp(11px, 1.2vw, 14px);
}

.subfilm .credits{ margin-top: 0; }

/* prev / next */

.pager{
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 4px solid var(--ink);
  margin-top: clamp(46px, 6vw, 80px);
}

.pager a{
  padding: clamp(20px, 3vw, 34px) clamp(14px, 2vw, 26px);
  text-decoration: none;
  transition: background .13s, color .13s;
}
.pager a:hover{ background: var(--ink); color: var(--bone); }
.pager a + a{ border-left: 1px solid var(--rule); text-align: right; }
.pager span{
  display: block;
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 10px;
  opacity: .55;
  margin-bottom: 8px;
}
.pager strong{
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(15px, 2vw, 26px);
  line-height: 1;
  letter-spacing: -.02em;
  font-weight: normal;
}
.pager .empty{ background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(18,17,16,.09) 8px 16px); }

/* ---------- TICKET CTA -------------------------------------- */

.cta{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 44px);
  background: var(--ink);
  color: var(--bone);
  text-decoration: none;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(15px, 1.8vw, 22px);
  letter-spacing: .02em;
  padding: 18px 26px;
  border: 3px solid var(--ink);
  transition: background .13s, color .13s;
}
.cta:hover{ background: var(--red); border-color: var(--red); }
.cta .arrow{ color: var(--red); transition: color .13s, transform .13s; }
.cta:hover .arrow{ color: var(--bone); transform: translateX(5px); }

/* ---------- FOOTER ------------------------------------------ */

.foot{
  background: var(--ink);
  color: var(--bone);
  border-top: 4px solid var(--red);
  padding: clamp(40px, 6vw, 78px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.foot-big{
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(26px, 5vw, 62px);
  line-height: .88;
  letter-spacing: -.03em;
  max-width: 12ch;
}
.foot-big em{ font-style: normal; color: var(--red); }

.foot-col{
  font-family: var(--narrow);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 600;
  line-height: 2;
}
.foot-col a{ text-decoration: none; border-bottom: 2px solid var(--red); }
.foot-col a:hover{ color: var(--red); }
.foot-col .muted{ opacity: .5; letter-spacing: .2em; font-size: 10px; }

/* ---------- RESPONSIVE -------------------------------------- */

@media (max-width: 900px){
  .film{ grid-template-columns: 1fr; }
  .film-side{
    border-right: none;
    border-bottom: 4px solid var(--red);
    min-height: 260px;
  }
  .side-disc{ width: 70%; left: auto; right: -18%; bottom: -30%; }
  .side-venue{ margin-top: 26px; }

  .row{
    grid-template-columns: 3rem minmax(0,1fr);
    grid-template-areas:
      "num  date"
      "num  title"
      "num  meta";
    gap: 4px clamp(12px, 3vw, 20px);
    row-gap: 8px;
  }
  .row-num{ grid-area: num; align-self: start; }
  .row-date{ grid-area: date; color: var(--red); }
  .row:hover .row-date{ color: var(--gold); }
  .row-title{ grid-area: title; }
  .row-meta{ grid-area: meta; text-align: left; max-width: none; }
  .row-arrow{ display: none; }

  .credits{ grid-template-columns: 1fr; }
  .credits dt{ padding-bottom: 0; border-top: 1px solid var(--rule); }
  .credits dd{ border-top: none; padding-top: 4px; }

  .masthead{ font-size: 10px; letter-spacing: .12em; }
  .mast-left, .mast-right{ padding: 10px var(--gutter); }
  .mast-right span{ display: none; }
}

@media (max-width: 560px){
  .hero{ min-height: 0; }
  .ht-2{ padding-left: 12px; }
  .ht-3{ padding-left: 24px; }
  .foot{ gap: 26px; }
}
